04 2014 档案

Codeforces Round #243 (Div. 1) A题
摘要:http://codeforces.com/contest/425/problem/A题目链接;然后拿出这道题目是很多人不会分析题目,被题目吓坏了,其中包括我自己,想出复杂度,一下就出了啊!真是弱! 直接暴力求出矩阵数值,然后枚举每一个【I,J];再O[N]判断,分配好在[I,J]区间的数和之内的数... 阅读全文

posted @ 2014-04-30 00:18 forgot93 阅读(346) 评论(2) 推荐(0)

福州大学第十一届程序设计
摘要:现在写几个自己比赛RE到死的题目,吸取教训; Problem 2169 shadowAccept: 109Submit: 322Time Limit: 1000 mSecMemory Limit : 32768 KBProblem DescriptionYL是shadow国的国王,shadow国有N... 阅读全文

posted @ 2014-04-30 00:12 forgot93 阅读(383) 评论(0) 推荐(0)

2014_GCJ_A
摘要:题目链接:http://code.google.com/codejam/contest/2984486/dashboard#s=p0 最想吐槽的是想些DFS过小数据,居然写不出来,不知道我这半年的ACM生活在干嘛?先不说直接出最有解,但是DFS这基本的还不会,真是,估计快废了!DFS过小数... 阅读全文

posted @ 2014-04-26 20:15 forgot93 阅读(180) 评论(0) 推荐(0)

Codeforces Round #242 (Div. 2) C题
摘要:题目链接:http://codeforces.com/contest/424/problem/C,想来一个小时,就是做不出,都做出来了,悲剧!分析:我们知道交换异或的顺序不影响答案!然后就是求t=a1^a2^a3^.....^an;这个直接做可以,q=(1%i)^(2%i)... ^(n^i);(1... 阅读全文

posted @ 2014-04-25 20:49 forgot93 阅读(118) 评论(0) 推荐(0)

URAL题解—不断跟新中
摘要:1014:简单题,忘了0的情况可以是10,==1219:找呀找规律,满足N*(N-1)/2+1=X;就是1 的情况了 阅读全文

posted @ 2014-04-24 00:08 forgot93 阅读(130) 评论(0) 推荐(0)

Coder-Strike 2014 - Finals (online edition, Div. 2) C题
摘要:C. Online Meetingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputNearly each project of the F com... 阅读全文

posted @ 2014-04-23 23:35 forgot93 阅读(322) 评论(0) 推荐(0)

RCC 2014 Warmup (Div. 2)
摘要:一场很很多HACK的比赛,PREtest太弱了,真的很多坑!平时练习的时候很少注意这些东西了!A:开始一直在模拟,后来发现自己的思路逻辑很乱,果然做比赛不给力! 直接在代码中解释了#include#include#include#includeusingnamespacestd;intmain(){... 阅读全文

posted @ 2014-04-18 16:19 forgot93 阅读(211) 评论(0) 推荐(0)

codeforces #240 div 2
摘要:A:语文题,估计大家都会,B题:假如答案是ans,求最大的ans,是w*a/b==(w-ans)*a/b;明显的二分,可是我的二分写的没水准,还有是直接做: #include#include#include#include#include#includeusingnamespacestd;intmain(){intn;longlonga,b;;cin>>n>>a>>b;for(inti=1;i>x;longlongw=x*a/b;coutusingnamespacestd;inta[200000];intn,k;intmain(){cin>> 阅读全文

posted @ 2014-04-07 20:59 forgot93 阅读(209) 评论(0) 推荐(0)

导航