摘要: DescriptionWrite a program to read four lines of upper case (i.e., all CAPITAL LETTERS) text input (no more than 72 characters per line) from the inpu... 阅读全文
posted @ 2014-07-13 19:41 雨沐清枫 阅读(123) 评论(0) 推荐(0) 编辑
摘要: DescriptionIf a and d are relatively prime positive integers, the arithmetic sequence beginning witha and increasing by d, i.e., a, a + d,a + 2d, a + ... 阅读全文
posted @ 2014-07-13 18:51 雨沐清枫 阅读(145) 评论(0) 推荐(0) 编辑
摘要: DescriptionA checksum is an algorithm that scans a packet of data and returns a single number. The idea is that if the packet is changed, the checksum... 阅读全文
posted @ 2014-07-13 18:14 雨沐清枫 阅读(122) 评论(0) 推荐(0) 编辑
摘要: DescriptionFind and list all four-digit numbers in decimal notation that have the property that the sum of its four digits equals the sum of its digit... 阅读全文
posted @ 2014-07-13 17:27 雨沐清枫 阅读(149) 评论(0) 推荐(0) 编辑
摘要: DescriptionAdapted from Wikipedia, the free encyclopediaThe humidex is a measurement used by Canadian meteorologists to reflect the combined effect of... 阅读全文
posted @ 2014-07-13 16:49 雨沐清枫 阅读(124) 评论(0) 推荐(0) 编辑
摘要: DescriptionHow far can you make a stack of cards overhang a table? If you have one card, you can create a maximum overhang of half a card length. (We'... 阅读全文
posted @ 2014-07-13 15:57 雨沐清枫 阅读(132) 评论(0) 推荐(0) 编辑
摘要: DescriptionFred Mapper is considering purchasing some land in Louisiana to build his house on. In the process of investigating the land, he learned th... 阅读全文
posted @ 2014-07-13 15:27 雨沐清枫 阅读(99) 评论(0) 推荐(0) 编辑
摘要: C - Sum of Consecutive Prime Numbers(1.2.2)Time Limit:1000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionSome positive inte... 阅读全文
posted @ 2014-07-13 15:25 雨沐清枫 阅读(218) 评论(0) 推荐(0) 编辑
摘要: B - Doubles(1.2.1)Time Limit:1000MSMemory Limit:10000KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionAs part of an arithmetic competency program... 阅读全文
posted @ 2014-07-13 15:22 雨沐清枫 阅读(105) 评论(0) 推荐(0) 编辑
摘要: A - Financial Management(1.1.1)Time Limit:1000MSMemory Limit:10000KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionLarry graduated this year and ... 阅读全文
posted @ 2014-07-13 15:15 雨沐清枫 阅读(108) 评论(0) 推荐(0) 编辑