code for fun

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2013年5月13日

摘要: 描述Ignatius is doing his homework now. The teacher gives him some articles and asks him to tell how many times each letter appears.It's really easy, isn't it? So come on and AC ME. 输入Each article consists of just one line, and all the letters are in lowercase. You just have to count the numbe 阅读全文
posted @ 2013-05-13 18:15 xueda120 阅读(240) 评论(0) 推荐(0) 编辑

摘要: 描述Bessie's cruel second grade teacher has assigned a list of N (1 <= N <=100) positive integers I (1 <= I <=10^60) for which Bessie must determine their parity (explained in second grade as "Even... or odd?"). Bessie is overwhelmed by the size of the list and by the size of 阅读全文
posted @ 2013-05-13 16:55 xueda120 阅读(315) 评论(0) 推荐(0) 编辑