摘要:
简单题View Code #include <iostream>#include <cstdlib>#include <cstring>#include <cstdio>using namespace std;int main(){ //freopen("D:\\t.txt", "r", stdin); int l, m; while (scanf("%d%d", &l, &m) != EOF && !(l == 0 && m == 0)) 阅读全文
posted @ 2011-05-01 12:29
undefined2024
阅读(238)
评论(0)
推荐(0)
摘要:
不高兴的津津……View Code #include <iostream>#include <cstdlib>#include <cstring>#include <cstdio>using namespace std;int main(){ //freopen("D:\\t.txt", "r", stdin); int n; while (scanf("%d", &n) != EOF && n != 0) { int ans = 0; int maxhour = 阅读全文
posted @ 2011-05-01 12:17
undefined2024
阅读(201)
评论(0)
推荐(0)
摘要:
简单题View Code #include <iostream>#include <cstdlib>#include <cstring>#include <cstdio>using namespace std;int main(){ //freopen("D:\\t.txt", "r", stdin); int t; scanf("%d", &t); while (t--) { int n; scanf("%d", &n); int sum = 0; 阅读全文
posted @ 2011-05-01 12:10
undefined2024
阅读(241)
评论(0)
推荐(0)