zhber
有好多做过的题没写下来,如果我还能记得就补吧
上一页 1 ··· 30 31 32 33 34
摘要: DescriptionN头牛(2#include#includeusing namespace std;struct aaa{ int to,next,v;}e[5000000];int n,m,cnt,x,y,z;int head[100000];int map[1001][1001];bo... 阅读全文
posted @ 2014-05-31 22:51 zhber 阅读(191) 评论(0) 推荐(0)
摘要: DescriptionFarmer John已经决定把水灌到他的n(1#include#include#includeusing namespace std;struct node{ int x,y,c;}dat[100000];int n,cnt,sum,ans;int map[301][3... 阅读全文
posted @ 2014-05-31 22:46 zhber 阅读(202) 评论(0) 推荐(0)
摘要: Description勤奋的Farmer John想要建造一个四面的栅栏来关住牛们。他有一块长为n(4using namespace std;int n,i,f[2505];int main(){ scanf("%d",&n); if(n<4) {printf("0\n");return 0;}... 阅读全文
posted @ 2014-05-31 22:36 zhber 阅读(167) 评论(0) 推荐(0)
摘要: 某种数列问题 (jx.cpp/c/pas) 1000MS 256MB众所周知,chenzeyu97有无数的妹子(阿掉!>_#include#include#define maxn 1000001using namespace std;inline int read(){ int x=0,f=1... 阅读全文
posted @ 2014-05-31 22:28 zhber 阅读(357) 评论(1) 推荐(2)
摘要: 水灾(sliker.cpp/c/pas) 1000MS 64MB大雨应经下了几天雨,却还是没有停的样子。土豪CCY刚从外地赚完1e元回来,知道不久除了自己别墅,其他的地方都将会被洪水淹没。CCY所在的城市可以用一个N*M(N,M#includeusing namespace std;int n,m;... 阅读全文
posted @ 2014-05-31 22:17 zhber 阅读(223) 评论(0) 推荐(0)
上一页 1 ··· 30 31 32 33 34