2012年12月8日

cf 153

摘要: http://codeforces.com/contest/252A.数据小直接暴力。B.当时理解错了。c.二逼了。。。j不应该每次从0开始,否则会超时。比如4 31 2 3 41到4不超过32到4就更不会超。View Code 1 #include<stdio.h> 2 int main() 3 { 4 __int64 n; 5 __int64 d,i,j; 6 __int64 a[100010]; 7 while(~scanf("%I64d%I64d",&n,&d)) 8 { 9 for(i=0;i<n;i++)10 ... 阅读全文

posted @ 2012-12-08 11:04 仁者无敌8勇者无惧 阅读(213) 评论(0) 推荐(0) 编辑

导航