摘要:
IntervalsTime Limit: 2000MSMemory Limit: 65536KTotal Submissions: 19359Accepted: 7308DescriptionYou are gi... 阅读全文
摘要:
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 阅读全文
摘要:
“链式前向星”是我创造的(至少Baidu上没有搜到)名词,或许这种数据结构有其他更加正规易懂的名字,但我还是没有搜到。(有一个资料称之为加上next数组前向星,但这个名字实在不好)该数据结构可能是Jason911神牛或其他神牛发明的,我只是起了个名字并写了这个课件。Malash2009年10月18日0:34:50 示例程序: 71 22 33 41 3... 阅读全文
摘要:
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... 阅读全文
摘要:
宇航员Time Limit:2000MSMemory Limit:30000KTotal Submissions:4126Accepted:1766Description问题描述: 宇航员在太空中迷失了方向,在他的起始位置现在建立一个虚拟xyz坐标系,称为绝对坐标系,宇航员正面的方向为x轴正方向,头顶方向为z轴正方向,则宇航员的初始状态如下图所示:现对六个方向分别标号,x,y,z正方向分别为0,1,2,负方向分别为3,4,5;称它们为绝对方向。宇航员在宇宙中只沿着与绝对坐标系xyz轴平行的方向行走,但是他不知道自己当前绝对坐标和自己... 阅读全文
摘要:
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 阅读全文