
比赛
文章平均质量分 79
akxxsb
写写博客装装逼,存代码
展开
-
Codeforces Round #236 (Div. 2)A
A. Nutstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou have a nuts and lots of boxes. The boxes have a原创 2014-03-17 01:44:27 · 1603 阅读 · 0 评论 -
NEUOJ 1403: XL's Math Problem II
题目如图所示,由于n很大直接枚举肯定不行,所以以此枚举商x,把最左边的i和最右边的j使得满足n/i=x,n/j=x,的i,和j求出来,j-i+1就是商x的个数。#include#include#includeusing namespace std;typedef long long LL;int main(){ int n,cas,L,R,cnt=0; LL ans原创 2014-03-30 21:52:04 · 1160 阅读 · 0 评论 -
1408: The Game(博弈论)尼姆博弈
1408: The Game时间限制: 1 Sec 内存限制: 256 MB提交: 54 解决: 25[提交][状态][讨论版]题目描述John and his brother are playing a game. There are several piles of stones. At first John has to pick up some ston原创 2014-03-30 22:00:01 · 1171 阅读 · 0 评论 -
Codeforces Round #238 (Div. 2) A题
A. Gravity Fliptime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output大水题,直接排序输出Little Chris is bored during h原创 2014-03-23 01:07:31 · 1588 阅读 · 0 评论 -
Codeforces Round #236 (Div. 2)B
本题枚举第一课树的高度即可B. Trees in a Rowtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe Queen of England has n原创 2014-03-17 01:40:19 · 1625 阅读 · 0 评论 -
HDU 4932 贪心
Miaomiao's GeometryTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 191 Accepted Submission(s): 38Problem DescriptionThere are原创 2014-08-10 23:19:16 · 1393 阅读 · 4 评论 -
dp FOJ 一月月赛C ytaaa
Accept: 57 Submit: 261Time Limit: 2000 mSec Memory Limit : 32768 KB Problem DescriptionYtaaa作为一名特工执行了无数困难的任务,这一次ytaaa收到命令,需要炸毁敌人的一个工厂,为此ytaaa需要制造一批炸弹以供使用。 Ytaaa使用的这种新型炸弹由若干个炸药组成,每个炸药都有原创 2014-11-16 17:31:15 · 1416 阅读 · 2 评论