摘要:
简单题View Code #include <iostream>#include <cstdio>#include <cstdlib>#include <cstring>#include <cmath>using namespace std;#define maxn 10#define eps 10E-9struct Point{ double x, y;} f[maxn], g[maxn];int a, b;int dblcmp(double a, double b){ if (abs(a - b) < eps) return 阅读全文
posted @ 2011-07-31 12:30
undefined2024
阅读(166)
评论(0)
推荐(0)
摘要:
简单题View Code #include <iostream>#include <cstdio>#include <cstdlib>#include <cstring>#include <algorithm>using namespace std;#define maxn 20#define maxl 30struct Person{ int id, x;} person[maxn];char st[30];char name[maxn][maxl];int n;bool operator <(const Person &am 阅读全文
posted @ 2011-07-31 10:35
undefined2024
阅读(247)
评论(0)
推荐(0)