Number SequenceTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 24387Accepted: 6534DescriptionA single positive integer i is given. Write a program to find the digit located in the position i in the sequence of number groups S1S2...Sk. Each
Primitive RootsTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 1533Accepted: 797DescriptionWe say that integer x, 0 < x < p, is a primitive root modulo odd prime p if and only if the set { (xi mod p) | 1 <= i <= p-1 } is equal
To the MaxTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 27900Accepted: 14460DescriptionGiven a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1*1 or greater located within the
Visible Lattice PointsTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 3889Accepted: 2144DescriptionA lattice point (x, y) in the first quadrant (x and y are integers greater than or equal to 0), other than the origin, is visible from the
C LooooopsTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 10606Accepted: 2483DescriptionA Compiler Mystery: We are given a C-language style for loop of type for (variable = A; variable != B; variable += C) statement;I.e., a loop which
RobberiesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2447 Accepted Submission(s): 933Problem DescriptionThe aspiring Roy the Robber has seen a lot of American movies, and knows that the
Find a multipleTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 3089Accepted: 1370Special JudgeDescriptionThe input contains N natural (i.e. positive integer) numbers ( N <= 10000 ). Each of that numbers is not greater than 15000. This
By:Hellis我是在Nettle和matrix67兩位大牛的基礎上修改的。把過多的廢話和例題給和諧了,剩下的都是重點和基礎。至於為什麼文中用了N多個“1314520”這就不能問我了,我是無辜的……55555。Pascal和C中的位元運算符號 下面的a和b都是整數類型,則:C語言 | Pascal語言-------+-------------a & b | a and ba | b | a or ba ^ b | a xor b ~a | not aa
Halloween treatsTime Limit: 2000MSMemory Limit: 65536KTotal Submissions: 3862Accepted: 1470Special JudgeDescriptionEvery year there is the same problem at Halloween: Each neighbour is only willing to give a certain total number of sweets on that day,
You Are All ExcellentTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1009 Accepted Submission(s): 347Problem Description本次集訓隊共有30多人蔘加,毫無疑問,你們都是很優秀的,但是由於參賽名額有限,只能選拔部分隊員參加省賽。從學校的角度,總是希望選拔出最優秀的1
題目下載:http://files.cnblogs.com/ACShiryu/%E9%A2%98%E7%9B%AE.zip即時Rank:http://202.114.46.118/JudgeOnline/contestrank.php?cid=1009代碼下載:http://files.cnblogs.com/ACShiryu/%E4%BB%A3%E7%A0%81.zip Problem A: