上一页 1 ··· 155 156 157 158 159 160 161 162 163 ··· 182 下一页
摘要: 简单题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)
摘要: 简单题View Code #include <iostream>#include <cstdlib>#include <cstring>#include <cstdio>using namespace std;int main(){ //freopen("D:\\t.txt", "r", stdin); int c, abc, abc2, a, b; while (scanf("%d%d%d", &c, &abc, &abc2)!= EOF) { a = (abc 阅读全文
posted @ 2011-04-30 16:51 undefined2024 阅读(153) 评论(0) 推荐(0)
摘要: 简单题View Code #include <iostream>#include <cstdlib>#include <cstring>#include <cstdio>using namespace std;int main(){ //freopen("D:\\t.txt", "r", stdin); int m, p, n, c; while (scanf("%d%d%d%d", &n, &m, &p, &c) != EOF && !( 阅读全文
posted @ 2011-04-30 16:08 undefined2024 阅读(192) 评论(0) 推荐(0)
上一页 1 ··· 155 156 157 158 159 160 161 162 163 ··· 182 下一页