![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
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 · 482 阅读 · 0 评论 -
SRM144_Binary Code_550分题目
Problem StatementLet's say you have a binary string such as the following:011100011One 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 · 354 阅读 · 0 评论