摘要:
427. 学姐逗学弟时间限制3000 ms内存限制131072 KB题目描述学弟们来了之后,学姐每天都非常高兴的和学弟一起玩耍。这一天,学姐想出了这样一个游戏,她画了一棵树,树上共有n个节点,现在学姐把m(m≤n)个石子随机放在节点上,每个节点可以放多个,每一次操作是指把每一个节点上的所有石子都往下... 阅读全文
摘要:
A. 丁神去谷歌2014新生暑假个人排位赛02时间限制1000 ms内存限制65536 KB题目描述丁神要去Google上班了,去之前丁神想再做一道水题,但时间不多了,所以他希望题目做起来既水又快。现在一共有n道题,编号从1到n,每道题有两个值a和b,a为做这道题需要的时间,b为题目的“水值”,丁神... 阅读全文
摘要:
话说cdsn要是前面插入源代码又什么都不放就会出现奇怪的源代码?不知道是哪个网页的407. BLOCKS时间限制1000 ms内存限制65536 KB题目描述给定一个N∗M的矩阵,求问里面有多少个由'#'组成的矩形,"There are 5 ships.",若是里面有一个不是矩形的联通块,则输出"S... 阅读全文
摘要:
413. 学姐的桌面时间限制 1000 ms 内存限制 65536 KB题目描述学姐在加入集训队之后,学习了使用ubuntu系统来做题,但是没有了360电脑管家,学姐再也没办法看到她的飞速电脑开机到底虐了全国多少人。作为一个电脑高手,学姐花了几分钟黑到了360的数据库拿到了全国360用户的开机时间,... 阅读全文
摘要:
D:399. Who Is Joyful时间限制3000 ms内存限制65536 KB题目描述There are several little buddies standing in a line. We say someone is a joyful little buddy, if there ... 阅读全文
摘要:
完全没状态的新生归来赛,虐的很惨A Hard GameAnd it's now going to be a hard game.Npiles of coins are put down on the ground, where each piles contains exactlyMcoins. A... 阅读全文
摘要:
Farmer John's N cows (1 ≤ N ≤ 100,000) share many similarities. In fact, FJ has been able to narrow down the list of features shared by his cows to a ... 阅读全文
摘要:
题意:1 如果是严格升序的字母字符串,那么可以输出非0解码,否则不能译码输出02 字符串解码 遵循递增原则,其值为 到现在为止的所有按字母序小于该字符串的数量 + 1;#include using namespace std;char ans[11];int a[10];int c[27][27];... 阅读全文
摘要:
The Pilots Brothers' refrigeratorTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 16868Accepted: 6393Special JudgeDescriptionThe game “The Pil... 阅读全文
摘要:
Flip GameTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 4863 Accepted: 1983DescriptionFlip game is played on a rectangular 4x4 field with ... 阅读全文