原创 Sicily 1129. ISBN

Time Limit: 10 secs, Memory Limit: 32 MB Description Practically every book that has been published during the past

原创 Sicily 1530. The Seven Percent Solution

Time Limit: 1 secs, Memory Limit: 32 MB Description Uniform Resource Identifiers (or URIs) are strings like http://

原创 Sicily 1325. Digit Generator

Time Limit: 1 secs, Memory Limit: 32 MB Description For a positive integer N , the digit-sum of N is defined as the

原创 Sicily 1790. Single Round Match

Time Limit: 1 secs, Memory Limit: 32 MB Description Association for Couples Match (ACM) is a non-profit organizatio

原创 Sicily 1561. PRIME

Time Limit: 1 secs, Memory Limit: 32 MB Description A prime number is a natural number which has exactly two distin

原创 Sicily 4868. 數字反轉

Time Limit: 1 secs, Memory Limit: 256 MB Description 給定一個整數,請將該數各個位上數字反轉得到一個新數。新數也應滿足整數的常見形式,即除非給定的原數爲零,否則反轉後得到的新數的

原创 Sicily 1753. 解碼

Time Limit: 1 secs, Memory Limit: 32 MB Description ZX是另一頭04級的牛,他現在在UPen。他跟LLK經常通信,但他不喜歡直接把信息發給LLK,而是把信息通過一個規則轉換後再發

原创 Sicily 1286. Pascal Library

Time Limit: 1 secs, Memory Limit: 32 MB Description Pascal University, one of the oldest in the country, needs to r

原创 Sicily 1390. Surprising Strings

Time Limit: 1 secs, Memory Limit: 32 MB Description The D-pairs of a string of letters are the ordered pairs of let

原创 Sicily 1128. DICE

Time Limit: 1 secs, Memory Limit: 32 MB Description Imagine looking at a six-sided die so two sides face east-west,

原创 Sicily 1782. Knapsack

Time Limit: 1 secs, Memory Limit: 63.9990234375 MB Description John wants to carry several items with a knapsack. E

原创 Sicily 1218. 紀念郵票

Time Limit: 1 secs, Memory Limit: 32 MB Description 郵局最近推出了一套特殊的紀念郵票,這套郵票共有N張,郵票面值各不相同,按編號順序爲1分,2分,......,N分。 小杭是個集

原创 Sicily 1190. Reduced ID Numbers 簡單哈希

Time Limit: 2 secs, Memory Limit: 32 MB Description T. Chur teaches various groups of students at university U. Eve

原创 Sicily 1209. Sequence Sum Possibi

Time Limit: 1 secs, Memory Limit: 32 MB Description Most positive integers may be written as a sum of a sequence of

原创 Sicily 1500. Prime Gap

Time Limit: 1 secs, Memory Limit: 32 MB Description The sequence of n ? 1 consecutive composite numbers (positive i