2016年7月21日

摘要: There are n boys and m girls attending a theatre club. To set a play "The Big Bang Theory", they need to choose a group containing exactly t actors co 阅读全文
posted @ 2016-07-21 22:16 见字如面 阅读(297) 评论(0) 推荐(0) 编辑
摘要: Description You have just moved from Waterloo to a big city. The people here speak an incomprehensible dialect of a foreign language. Fortunately, you 阅读全文
posted @ 2016-07-21 19:37 见字如面 阅读(171) 评论(0) 推荐(0) 编辑

2016年7月20日

摘要: Description Suppose there are 5 types of coins: 50-cent, 25-cent, 10-cent, 5-cent, and 1-cent. We want to make changes with these coins for a given am 阅读全文
posted @ 2016-07-20 22:00 见字如面 阅读(191) 评论(0) 推荐(0) 编辑
摘要: Description Given a positive integer N, you should output the most right digit of N^N. Description Given a positive integer N, you should output the m 阅读全文
posted @ 2016-07-20 21:57 见字如面 阅读(155) 评论(0) 推荐(0) 编辑
摘要: Solve It Input:standard input Output:standard output Time Limit: 1 second Memory Limit: 32 MB Solve the equation: p*e-x+q*sin(x) + r*cos(x) + s*tan(x) 阅读全文
posted @ 2016-07-20 20:44 见字如面 阅读(237) 评论(0) 推荐(0) 编辑
摘要: Description You are given an array of n elements, you must make it a co-prime array in as few moves as possible. In each move you can insert any posit 阅读全文
posted @ 2016-07-20 17:02 见字如面 阅读(228) 评论(0) 推荐(0) 编辑
摘要: Description Watchmen are in a danger and Doctor Manhattan together with his friend Daniel Dreiberg should warn them as soon as possible. There are n w 阅读全文
posted @ 2016-07-20 13:01 见字如面 阅读(249) 评论(0) 推荐(0) 编辑
摘要: Friends are going to play console. They have two joysticks and only one charger for them. Initially first joystick is charged at a1 percent and second 阅读全文
posted @ 2016-07-20 12:44 见字如面 阅读(235) 评论(0) 推荐(0) 编辑
摘要: Description There are n pictures delivered for the new exhibition. The i-th painting has beauty ai. We know that a visitor becomes happy every time he 阅读全文
posted @ 2016-07-20 11:34 见字如面 阅读(203) 评论(0) 推荐(0) 编辑

2016年7月18日

摘要: Description Consider equations having the following form: a1x1 3+ a2x2 3+ a3x3 3+ a4x4 3+ a5x5 3=0 The coefficients are given integers from the interv 阅读全文
posted @ 2016-07-18 22:37 见字如面 阅读(865) 评论(0) 推荐(1) 编辑

导航