摘要:
暴力题注意vector用法,erase函数返回的是删除后的下一个元素的指针。迭代器的写法是:vector< >::iterator i;View Code #include <iostream>#include <cstdlib>#include <cstring>#include <cstdio>#include <vector>using namespace std;#define maxn 100005#define eps 1e-10struct Point{ double x, y;};struct Line{ 阅读全文
posted @ 2011-09-09 10:21
undefined2024
阅读(540)
评论(0)
推荐(0)