随笔分类 -  贪心

摘要:#include#define REP(i,a,b) for(int i=a;i=0;}int solve(int k){ if(n>n,n){ REP(i,1,n) scanf("%d%d%d",&p[i].x,&p[i].y,&p[i].c); int ans=... 阅读全文
posted @ 2015-12-08 14:58 __560 阅读(322) 评论(0) 推荐(0)
摘要:codeforces#324(div2) E. Anton and Ira 贪心E. Anton and Iratime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard... 阅读全文
posted @ 2015-10-08 16:37 __560 阅读(494) 评论(0) 推荐(0)
摘要:codeforces#323(div2) C. GCD Table 贪心C. GCD Tabletime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output... 阅读全文
posted @ 2015-10-06 16:18 __560 阅读(306) 评论(0) 推荐(0)
摘要:codeforces#320(div2) D "Or" Game 贪心D. "Or" Gametime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputY... 阅读全文
posted @ 2015-09-17 02:57 __560 阅读(507) 评论(0) 推荐(0)