上一页 1 ··· 116 117 118 119 120 121 122 123 124 ··· 182 下一页
摘要: 简单题View Code #include <iostream>#include <cstdio>#include <cstdlib>#include <cstring>#include <cmath>#include <algorithm>using namespace std;#define maxn 705#define eps 10E-9struct Point{ int x, y;} point[maxn];struct Node{ double k; int a, b;} f[maxn * maxn];int 阅读全文
posted @ 2011-07-04 10:28 undefined2024 阅读(273) 评论(0) 推荐(0)
摘要: 简单题View Code #include <iostream>#include <cstdio>#include <cstdlib>#include <cstring>using namespace std;#define maxn 10struct Point{ int x, y;}q[maxn * maxn], stk[maxn * maxn];int map[maxn][maxn];int cost[maxn][maxn];int from[maxn][maxn];int dir[4][2] ={{ 1, 0 },{ 0, 1 },{ - 阅读全文
posted @ 2011-07-03 21:39 undefined2024 阅读(718) 评论(0) 推荐(0)
摘要: 简单题View Code #include <iostream>#include <cstdio>#include <cstdlib>#include <cstring>using namespace std;int main(){ //freopen("t.txt", "r", stdin); string st; while (getline(cin, st)) { int pos; while ((pos = st.find("you")) != string::npos) { s 阅读全文
posted @ 2011-07-03 20:06 undefined2024 阅读(165) 评论(1) 推荐(0)
摘要: 简单题 阅读全文
posted @ 2011-07-03 20:05 undefined2024 阅读(153) 评论(0) 推荐(0)
摘要: 简单题View Code #include <iostream>#include <cstdio>#include <cstdlib>#include <cstring>using namespace std;int main(){ //freopen("t.txt", "r", stdin); int a, b; while (scanf("%d%d", &a, &b)!= EOF) printf("%d\n", a % b); return 0;} 阅读全文
posted @ 2011-07-03 19:43 undefined2024 阅读(151) 评论(0) 推荐(0)
上一页 1 ··· 116 117 118 119 120 121 122 123 124 ··· 182 下一页