摘要: 描述:根据依次输入的数字,按从大到小的排序 运行时间限制:10s 内存限制:128MByte 输入:一行正整数,其长度小于4096,整数之间用非数字隔开 输出:排序后的整数,一个空格隔开 样例输入:8 7R9T2H5 3 样例输出:9 8 7 5 3 2 分析:此题比较简单,使用字符串及排序呢算法即 阅读全文
posted @ 2016-09-06 10:30 驿外断桥 阅读(174) 评论(0) 推荐(0)
摘要: BackgroundThe digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single digit then that dig... 阅读全文
posted @ 2014-11-26 17:56 驿外断桥 阅读(168) 评论(0) 推荐(0)