06 2016 档案

摘要:A. Winner time limit per test 1 second memory limit per test 64 megabytes input standard input output standard output The winner of the card game popu 阅读全文
posted @ 2016-06-21 11:54 俺叫王梦涵 阅读(182) 评论(0) 推荐(0)
摘要:给出A(x0, y0) B(x1, y1) C(x2, y2) 1.求3边a,b,c 2. 先求外接圆半径。(一定存在) 海伦公式 + 正弦定理 得 R = a * b * c / (4 * S) S = sqrt(q * (q - a) * (q - b) * (q -c)); q = (a + 阅读全文
posted @ 2016-06-21 00:06 俺叫王梦涵 阅读(468) 评论(0) 推荐(0)
摘要:Problem Description Pass a year learning in Hangzhou, yifenfei arrival hometown Ningbo at finally. Leave Ningbo one year, yifenfei have many people to 阅读全文
posted @ 2016-06-07 01:45 俺叫王梦涵 阅读(236) 评论(0) 推荐(0)
摘要:#include #include using namespace std; int m,n; int cnt; char mapp[105][105]; int dir[4][2]={1,0,-1,0,0,1,0,-1}; struct node { int x; int y; }; void BFS(int x,int y) { node now,next; ... 阅读全文
posted @ 2016-06-06 22:42 俺叫王梦涵 阅读(194) 评论(0) 推荐(0)