
topcoder
蓝宇
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
SRM144_Time_200分
很水,将秒转换为时分秒的格式; int h = seconds/3600; int m = (seconds%3600)/60; int s = seconds%60; class Time { public: string whatTime(int seconds) { char ch[12];原创 2012-04-12 11:26:03 · 527 阅读 · 0 评论 -
SRM144_Binary Code_550分题目
Problem Statement Let's say you have a binary string such as the following: 011100011 One way to encrypt this string is to add to each digit the sum of its adjacent digits. For example,原创 2012-04-12 11:35:49 · 414 阅读 · 0 评论