字符串处理
相似的人适合打闹
这个作者很懒,什么都没留下…
展开
-
排序(10分) HDU - 1106
输入一行数字,如果我们把这行数字中的‘5’都看成空格,那么就得到一行用空格分割的若干非负整数(可能有些整数以‘0’开头,这些头部的‘0’应该被忽略掉,除非这个整数就是由若干个‘0’组成的,这时这个整数就是0)。 你的任务是:对这些分割得到的整数,依从小到大的顺序排序输出。 Input 输入包含多组测试用例,每组输入数据只有一行数字(数字之间没有空格),这行数字的长度不大于原创 2017-12-24 17:47:50 · 274 阅读 · 0 评论 -
The Bigger the Better FZU - 2267
Fat brother and Maze are playing a kind of special (hentai) game with two integers. All the digits of these two integers are in the range from 1 to 9. After they’ve got these two integers, they thoug...原创 2018-04-25 17:39:48 · 443 阅读 · 0 评论