上一页 1 ··· 113 114 115 116 117 118 119 120 121 ··· 182 下一页
摘要: 简单题View Code #include <iostream>#include <cstdio>#include <cstdlib>#include <cstring>using namespace std;int main(){ //freopen("t.txt", "r", stdin); int a1, a2, b1, b2, p; scanf("%d%d%d%d%d", &a1, &a2, &b1, &b2, &p); if ((a1 & 阅读全文
posted @ 2011-07-09 09:50 undefined2024 阅读(288) 评论(0) 推荐(0)
摘要: 简单题View Code #include <iostream>#include <cstdio>#include <cstdlib>#include <cstring>using namespace std;int main(){ //freopen("t.txt", "r", stdin); int t; scanf("%d", &t); while (t--) { int h, m; scanf("%d:%d", &h, &m); if 阅读全文
posted @ 2011-07-09 09:34 undefined2024 阅读(173) 评论(0) 推荐(0)
摘要: 简单题View Code #include <iostream>#include <cstdio>#include <cstdlib>#include <cstring>using namespace std;int t;char weekday[10][20] = { "Friday", "Saturday", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday 阅读全文
posted @ 2011-07-09 09:25 undefined2024 阅读(216) 评论(0) 推荐(0)
摘要: 简单题View Code #include <iostream>#include <cstdio>#include <cstdlib>#include <cstring>using namespace std;string st;int main(){ //freopen("t.txt", "r", stdin); while (getline(cin, st)) { if (st == "ENDOFINPUT") break; getline(cin, st); for (int i 阅读全文
posted @ 2011-07-07 22:13 undefined2024 阅读(233) 评论(0) 推荐(0)
摘要: 简单题View Code #include <iostream>#include <cstdio>#include <cstdlib>#include <cstring>using namespace std;int main(){ //freopen("t.txt", "r", stdin); int t; scanf("%d", &t); while (t--) { string x, y; cin >> x; cin >> y; int a = 0, 阅读全文
posted @ 2011-07-07 21:38 undefined2024 阅读(182) 评论(0) 推荐(0)
上一页 1 ··· 113 114 115 116 117 118 119 120 121 ··· 182 下一页