摘要:
Labeling BallsTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 9221Accepted: 2510DescriptionWindy has N balls of distinct weights from 1 unit to N units. Now he tries to label them with 1 to N... 阅读全文
摘要:
Sorting It All OutTime Limit:1000MSMemory Limit:10000KTotal Submissions:24591Accepted:8517DescriptionAn ascending sorted sequence of distinct values is one in which some form of a less-than operator is used to order the elements from smallest to largest. For example, the sorted sequence A, B, C, D i 阅读全文
摘要:
A. Helpful Mathstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputXenia the beginner mathematician is a third year student at elementary school. She is now learning the addition operation.The teacher has written down the sum of multiple numbers. Pu 阅读全文
摘要:
KingTime Limit:1000MSMemory Limit:10000KTotal Submissions:9004Accepted:3385DescriptionOnce, in one kingdom, there was a queen and that queen was expecting a baby. The queen prayed: ``If my child was a son and if only he was a sound king.'' After nine months her child was born, a... 阅读全文
摘要:
Football Gambling IITime Limit: 3 Seconds Memory Limit: 65536 KBThe 2010 FIFA World Cup toke place between 11 June and 11 July 2010 in South Africa. Being a non-fans, asmn likes football gamblin... 阅读全文
摘要:
Beauty ContestTime Limit:3000MSMemory Limit:65536KTotal Submissions:24738Accepted:7565DescriptionBessie, Farmer John's prize cow, has just won first place in a bovine beauty contest, earning the title 'Miss Cow World'. As a result, Bessie will make a tour of N (2 2 #include 3... 阅读全文
摘要:
154. Factorialtime limit per test: 0.5 sec.memory limit per test: 4096 KBinput: standard inputoutput: standard outputYou task is to find minimal natural number N, so that N! contains exactly Q zeroes on the trail in decimal notation. As you know N! = 1*2*...*N. For example, 5! = 120, 120 contains on 阅读全文