摘要:
#include#include#include#includeusing namespace std;const int maxn=5000+10;int n,m,X1,Y1,X2,Y2;int U[maxn],L[maxn];int ans[maxn];int Ans[maxn];bool fl... 阅读全文
posted @ 2015-10-31 18:24
Fighting_Heart
阅读(132)
评论(0)
推荐(0)
摘要:
简单计算几何,用叉积判断点是否在四边形内部。#include#include#include#includeusing namespace std;const int maxn=5000+10;int n,m,X1,Y1,X2,Y2;int U[maxn],L[maxn];int ans[maxn]... 阅读全文
posted @ 2015-10-31 15:58
Fighting_Heart
阅读(133)
评论(0)
推荐(0)
摘要:
水题#include#include#include#include#includeusing namespace std;vector g[30];int n,m;char s[200000+10],ans[200000+10];int k[30];char t1[5],t2[5];void in... 阅读全文
posted @ 2015-10-31 08:54
Fighting_Heart
阅读(146)
评论(0)
推荐(0)
摘要:
水题#include#include#include#includeusing namespace std;int main(){ double l,a,b; while(~scanf("%lf%lf%lf",&l,&a,&b)) { printf("%.4lf\n"... 阅读全文
posted @ 2015-10-31 08:14
Fighting_Heart
阅读(130)
评论(0)
推荐(0)

浙公网安备 33010602011771号