2017年5月23日

Investigating Div-Sum Property UVA - 11361

摘要: An integer is divisible by 3 if the sum of its digits is also divisible by 3. For example, 3702 is divisibleby 3 and 12(3+7+0+2) is also divisible by 阅读全文

posted @ 2017-05-23 17:40 九月旧约 阅读(160) 评论(0) 推荐(0)

Period UVALive - 3026

摘要: For each prefix of a given string S with N characters (each character has an ASCII code between 97 and126, inclusive), we want to know whether the pre 阅读全文

posted @ 2017-05-23 17:32 九月旧约 阅读(169) 评论(0) 推荐(0)

Numbers That Count POJ - 1016

摘要: "Kronecker's Knumbers" is a little company that manufactures plastic digits for use in signs (theater marquees, gas station price displays, and so on) 阅读全文

posted @ 2017-05-23 17:19 九月旧约 阅读(187) 评论(0) 推荐(0)

Orders POJ - 1731

摘要: The stores manager has sorted all kinds of goods in an alphabetical order of their labels. All the kinds having labels starting with the same letter a 阅读全文

posted @ 2017-05-23 17:13 九月旧约 阅读(173) 评论(0) 推荐(0)

导航