2012年2月18日

1.2.2 Rightmost Digit 28.63%(576,2012)

摘要: Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2012 Accepted Submission(s): 576Problem DescriptionGiven a positive integer N, you should output the most right digit of N^N.InputThe input contains several test cases. The first line of the input is 阅读全文
posted @ 2012-02-18 23:07 Samuel Yang 阅读(133) 评论(0) 推荐(0) 编辑

1.2.1 Text Reverse 30.53%(556,1821)

摘要: Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1821 Accepted Submission(s): 556Problem DescriptionIgnatius likes to write words in reverse way. Given a single line of text which is written by Ignatius, you should reverse all the words and then ou 阅读全文
posted @ 2012-02-18 23:03 Samuel Yang 阅读(179) 评论(0) 推荐(0) 编辑

1.1.8 A+B for Input-Output Practice (VIII) 33.43%(3182,9517)

摘要: Problem DescriptionYour task is to calculate the sum of some integers.InputInput contains an integer N in the first line, and then N lines follow. Each line starts with a integer M, and then M integers follow in the same line.OutputFor each group of input integers you should output their sum in one 阅读全文
posted @ 2012-02-18 22:58 Samuel Yang 阅读(168) 评论(0) 推荐(0) 编辑