摘要:
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 阅读全文
2016年7月21日
摘要:
Description You have just moved from Waterloo to a big city. The people here speak an incomprehensible dialect of a foreign language. Fortunately, you 阅读全文
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 阅读全文
摘要:
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 阅读全文
摘要:
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) 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
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 阅读全文