View Code #include<iostream>#include<cstdio>#include<set>#include<algorithm>#include<cmath>using namespace std;typedef long long ll;struct point{ll x,y,d;double z;}a[5],s,p;typedef set<point>::iterator setp;int n,i,j;set<point> f;setp it,it1,it2;ll cross(poi Read More
posted @ 2013-01-17 22:31 To be an ACMan Views(351) Comments(0) Diggs(0) Edit
View Code #include <iostream>#include <cstring>#include <algorithm>#include <vector>using namespace std;#define PB push_back#define ALL(c) c.begin(), c.end()#define B begin()#define E end()vector <int> a, b, c, d;vector <int>::iterator it;int main(){ int i; for(i Read More
posted @ 2013-01-17 12:48 To be an ACMan Views(179) Comments(0) Diggs(0) Edit