摘要: 以下是真坑爹题目:此题必须输出前导零,否则永远a不了I-numberTime Limit: 5000MS Memory limit: 65536K题目描述The I-number of x is defined to be an integer y, which satisfied the the conditions below:1. y>x;2. the sum of each digit of y(under base 10) is the multiple of 10;3. among all integers that satisfy the two conditions ab 阅读全文
posted @ 2013-08-10 14:27 狂盗一枝梅 阅读(364) 评论(0) 推荐(0) 编辑
摘要: 题目链接:sdut 2695Election TimeTime Limit: 1000MS Memory limit: 65536K题目描述The cows are having their first election after overthrowing the tyrannical Farmer John, and Bessie is one of N cows (1 ≤ N ≤ 50,000) running for President. Before the election actually happens, however, Bessie wants to determine w 阅读全文
posted @ 2013-08-10 13:37 狂盗一枝梅 阅读(1006) 评论(0) 推荐(0) 编辑