摘要: B. The Best Gift传送门:http://codeforces.com/problemset/problem/609/B Emily's birthday is next week and Jack has decided to buy a present for her. He kn... 阅读全文
posted @ 2015-12-20 00:26 TracerCC 阅读(287) 评论(0) 推荐(0)
摘要: Description 任意给你一个整数,这个数可能很大(最长不超过100位),你能求出它的逆转数吗? 逆转数定义如下: 1.一个末尾没有0的整数,它的逆转数就是各位数字逆序输出; 2.一个负数的逆转数仍是负数; 3.一个末尾有0的整数,它的逆转数如同下例: reverse (1200)... 阅读全文
posted @ 2015-12-19 21:05 TracerCC 阅读(1328) 评论(0) 推荐(0)