摘要:
Time Limit: 3000/1000MS (Java/Others) Memory Limit: 65535/65535KB (Java/Others)SubmitStatusYi Sima was one of the best counselors of Cao Cao. He like... 阅读全文
摘要:
E-pang Palace was built in Qin dynasty by Emperor Qin Shihuang in Xianyang, Shanxi Province. Itwas the largest palace ever built by human. It was so l... 阅读全文
摘要:
DescriptionThis is yet another problem dealing with regular bracket sequences.We should remind you that a bracket sequence is called regular, if by in... 阅读全文
摘要:
During the Warring States Period of ancient China(476 BC to 221 BC), there were seven kingdoms in China ---- they were Qi, Chu, Yan, Han, Zhao, Wei an... 阅读全文
摘要:
time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere is a programing contest named SnakeUp,2npe... 阅读全文
摘要:
Problem DescriptionLetLdenote the number of 1s in integerD’s binary representation. Given two integersS1andS2, we callDa WYH number ifS1≤L≤S2.With a g... 阅读全文
摘要:
Problem DescriptionNpeople numbered from 1 toNare waiting in a bank for service. They all stand in a queue, but the queue never moves. It is lunch tim... 阅读全文
摘要:
FJ and his cows enjoy playing a mental game. They write down the numbers from 1 to N (1 #include #include #include #include #include #include using na... 阅读全文