
水题
文章平均质量分 74
snowy_smile
终于在ICPC World Final里拿到了气球!
再努力一点吧,坚持下去吧,梦想是会实现的! 人生会有低谷,但我更相信,未来也会有更多梦想能够实现~
展开
-
【Codeforces Round 345 (Div 2) A】【贪心 水题】Joysticks 2个操纵杆一个充电器 最长蓄电时间
Joystickstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputFriends are going to play console. They have two j原创 2016-03-08 19:08:37 · 720 阅读 · 0 评论 -
【ZOJ3927 The 16th Zhejiang University Programming ContestA】【水题】Programming Ability Test 简单求和比大小
Programming Ability TestTime Limit: 2 Seconds Memory Limit: 65536 KBProgramming Ability Test (PAT) aims to evaluate objectively, through unified examinations with automatic online judgi原创 2016-04-12 12:58:16 · 932 阅读 · 0 评论 -
【ZOJ3932 The 16th Zhejiang University Programming ContestF】【水题】Handshakes 每人与之前认识的人握手 最大可能认识人数
HandshakesTime Limit: 2 Seconds Memory Limit: 65536 KBLast week, n students participated in the annual programming contest of Marjar University. Students are labeled from 1 to n. They cam原创 2016-04-12 13:11:48 · 1036 阅读 · 0 评论 -
【ZOJ3935 The 16th Zhejiang University Programming ContestI】【暴力 水题】2016 找寻triangular-hexagonal-leap y
2016Time Limit: 2 Seconds Memory Limit: 65536 KBIn mathematics, a polygonal number is a number represented as dots or pebbles arranged in the shape of a regular polygon. The dots are thou原创 2016-04-12 13:13:14 · 933 阅读 · 1 评论 -
【Educational Codeforces Round 10A】【简单讨论】Gabriel and Caterpillar 白天爬a晚上落b多久爬出洞
A. Gabriel and Caterpillartime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe 9-th grade student Gabriel no原创 2016-03-26 18:33:59 · 624 阅读 · 0 评论 -
【Educational Codeforces Round 10B】【简单脑洞】z-sort 数列重排 奇小偶大
B. z-sorttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA student of z-school found a kind of sorting call原创 2016-03-26 18:39:10 · 1139 阅读 · 0 评论 -
【HDU5650 BestCoder Round 77 (div2) A】【水题】so easy 集合所有子集异或和的异或和
so easy Accepts: 512 Submissions: 1601 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)问题描述已知一个包含 nn 个元素的正整数集合 SS,设 f(S)f(S) 为集合 SS 中所有元素的原创 2016-03-27 10:28:14 · 2182 阅读 · 1 评论 -
【ZOJ3936 The 13th Zhejiang Provincial Collegiate Programming ContestA】【水题】Apples and Ideas 苹果交换与思想交换
Apples and IdeasTime Limit: 2 Seconds Memory Limit: 65536 KB "If you have an apple and I have an apple and we exchange these apples then you and I will still each have one apple. But原创 2016-04-26 10:12:58 · 567 阅读 · 0 评论 -
【ZOJ3938 The 13th Zhejiang Provincial Collegiate Programming ContestC】【简单模拟】Defuse the Bomb 5个阶段正确决策
Defuse the BombTime Limit: 2 Seconds Memory Limit: 65536 KB The bomb is about to explode! Please defuse it as soon as possible!There is a display showing a number from 1 to 4 on the原创 2016-04-26 18:42:46 · 644 阅读 · 0 评论 -
【ZOJ3944 The 13th Zhejiang Provincial Collegiate Programming ContestI】【简单模拟】People Counting 照片人数统计 人
People CountingTime Limit: 2 Seconds Memory Limit: 65536 KB In a BG (dinner gathering) for ZJU ICPC team, the coaches wanted to count the number of people present at the BG. They did th原创 2016-04-26 18:47:06 · 726 阅读 · 0 评论 -
【ZOJ3947 The 13th Zhejiang Provincial Collegiate Programming ContestL】【水题】Very Happy Great BG 简单求和
Very Happy Great BGTime Limit: 2 Seconds Memory Limit: 65536 KB The summer training of ZJU ICPC in July is about to end. To celebrate this great and happy day, the coach of ZJU ICPC T原创 2016-04-26 18:48:24 · 593 阅读 · 0 评论 -
【Manthan, Codefest 16A】【水题 暴力】Ebony and Ivory ax+by=z
A. Ebony and Ivorytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputDante is engaged in a fight with "The Savi原创 2016-02-28 13:09:41 · 738 阅读 · 0 评论 -
【Codeforces Round 340 (Div 2)B】【简单题】Chocolate 巧克力划分方案数 每段恰有一个坚果
B. Chocolatetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputBob loves everything sweet. His favorite chocolat原创 2016-02-28 13:01:45 · 1037 阅读 · 0 评论 -
【Codeforces Round 339 (Div 2)A】【水题 暴力】 LinkCut Tree 输出[l,r]范围内所有的k的幂数
Link/Cut Treetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputProgrammer Rostislav got seriously interested原创 2016-03-08 19:18:57 · 878 阅读 · 0 评论 -
【Codeforces Round 339 (Div 2)B】【水题】Gena's Code 若干10数+1特殊数的乘积
B. Gena's Codetime limit per test0.5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIt's the year 4527 and the tanks game that原创 2016-03-08 19:19:37 · 1039 阅读 · 0 评论 -
【Good Bye 2014A】【水题 dfs】New Year Transportation 可否传送到t点
New Year Transportationtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputNew Year is coming in Line World! I原创 2016-03-21 09:06:05 · 908 阅读 · 0 评论 -
【IndiaHacks 2016 - Online Edition (Div 1 + Div 2) ErrichtoA】【水题】Bear and Three Balls 是否有数值相差1的三个数
Bear and Three Ballstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLimak is a little polar bear. He has n原创 2016-03-21 09:16:06 · 534 阅读 · 0 评论 -
【Codeforces Round 263 (Div 2)A】【水题 认真读题】Appleman and Easy Task 每个点的相邻o是否都为偶数
Appleman and Easy Tasktime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputToastman came up with a very easy tas原创 2016-03-21 15:14:48 · 423 阅读 · 0 评论 -
【Codeforces Round 263 (Div 2)B】【水题 贪心】Appleman and Card Game 选字符,每个字符个数的平方
Appleman and Card Gametime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAppleman has n cards. Each card has a原创 2016-03-21 15:16:01 · 426 阅读 · 0 评论 -
【April Fools Day Contest 2016C】【流程图翻译】Without Text
C. Without Texttime limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputYou can preview the image in better quality原创 2016-04-04 16:43:23 · 655 阅读 · 0 评论 -
【VK Cup 2016 - Round 1 (Div 2 Edition)A】【水题 暴力】Bear and Reverse Radewoosh 做题由易到难分高有难到易分高
A. Bear and Reverse Radewooshtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLimak and Radewoosh are going原创 2016-04-04 18:01:49 · 643 阅读 · 0 评论 -
【VK Cup 2016 - Round 1 (Div 2 Edition)B】【水题】Bear and Displayed Friends 即时维护最大6个数
B. Bear and Displayed Friendstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLimak is a little polar bear.原创 2016-04-04 18:09:20 · 607 阅读 · 0 评论 -
【Codeforces Round 340 (Div 2)A】【水题】Elephant
A. Elephanttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAn elephant decided to visit his friend. It turned原创 2016-02-28 12:59:19 · 483 阅读 · 0 评论 -
【Codeforces Round 354 (Div 2)A】【水题 贪心】Nicholas and Permutation 恰好交换一次的pos[n]-pos[1]
A. Nicholas and Permutationtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputNicholas has an array a that con原创 2016-05-27 13:18:52 · 779 阅读 · 2 评论 -
【2016杭电女生赛1001】【C语言签到题】Solving Order
#include#include#include#includeusing namespace std;const int N = 12, M = 0, Z = 1e9 + 7, ms63 = 0x3f3f3f3f;int casenum, casei;int n, m;paira[N];void solve(){ scanf("%d", &casenum); for (c原创 2016-05-22 21:15:23 · 1662 阅读 · 0 评论 -
【Codeforces Round 364 (Div 2)A】【水题】Cards
A. Cardstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n cards (n is even) in the deck. Each c原创 2016-07-25 10:07:54 · 751 阅读 · 0 评论 -
【Codeforces Round 367 (Div 2) A】【水题】Beru-taxi
A. Beru-taxitime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasiliy lives at point (a, b) of the coordinate原创 2016-08-12 10:20:26 · 766 阅读 · 0 评论 -
【Intel Code Challenge Elimination Round (Div1 + Div2, combined) B】【水题】Verse Pattern
B. Verse Patterntime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a text consisting of n lines.原创 2016-10-03 08:44:38 · 442 阅读 · 0 评论 -
【Codeforces Round 375 (Div 2) A】【水题】The New Year Meeting Friends
A. The New Year: Meeting Friendstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are three friend livi原创 2016-10-04 10:16:20 · 461 阅读 · 0 评论 -
【Codeforces Round 375 (Div 2) B】【水模拟】Text Document Analysis
B. Text Document Analysistime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputModern text editors usually show s原创 2016-10-04 10:16:59 · 518 阅读 · 0 评论 -
【HDU5922 2016CCPC东北地区大学生程序设计竞赛 - 重现赛 A】【水题】Minimum’s Revenge
Minimum’s RevengeTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 129 Accepted Submission(s): 111Problem DescriptionThere is a gra原创 2016-10-08 16:32:44 · 960 阅读 · 0 评论 -
【HDU5924 2016CCPC东北地区大学生程序设计竞赛 - 重现赛 C】【水题】Mr. Frog’s Problem
Mr. Frog’s ProblemTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 143 Accepted Submission(s): 114Problem DescriptionOne day, you,原创 2016-10-08 16:35:40 · 1037 阅读 · 0 评论 -
【HDU5926 2016CCPC东北地区大学生程序设计竞赛 - 重现赛 E】【水题】Mr. Frog’s Game 连连看
Mr. Frog’s GameTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 133 Accepted Submission(s): 103Problem DescriptionOne day, Mr. Fro原创 2016-10-08 16:37:46 · 1232 阅读 · 0 评论 -
【hihocoder [Offer收割]编程练习赛9 B】【水题】水陆距离
题目2 : 水陆距离时间限制:10000ms单点时限:1000ms内存限制:256MB描述给定一个N x M的01矩阵,其中1表示陆地,0表示水域。对于每一个位置,求出它距离最近的水域的距离是多少。 矩阵中每个位置与它上下左右相邻的格子距离为1。输入第一行包含两个整数,N和M。以下N行每行M个0或者1,代表地图。原创 2017-03-12 17:34:13 · 953 阅读 · 0 评论 -
【Hihocoder [Offer收割]编程练习赛10 A】【水题】出勤记录I
题目1 : 出勤记录I时间限制:10000ms单点时限:1000ms内存限制:256MB描述小Hi的算法课老师每次上课都会统计小Hi的出勤记录。迟到会被记录一个L,缺席会被记录一个A,按时上课会被记录一个O。一学期结束,小Hi的出勤记录可以看成是一个只包含LAO的字符串,例如"OOOOLOOOLALLO……"。如果小Hi整学期缺席原创 2017-03-23 18:41:38 · 897 阅读 · 0 评论 -
【ZOJ3957 The 17th Zhejiang University Programming Contest J】【水题】Knuth-Morris-Pratt Algorithm
Knuth-Morris-Pratt AlgorithmTime Limit: 1 Second Memory Limit: 65536 KBIn computer science, the Knuth-Morris-Pratt string searching algorithm (or KMP algorithm) searches for occurrences原创 2017-04-13 10:32:23 · 574 阅读 · 0 评论 -
【Codeforces Round 370 (Div 2) B】【简单贪心】Memory and Trident
B. Memory and Tridenttime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputMemory is performing a walk on the tw原创 2016-09-11 23:25:12 · 494 阅读 · 0 评论 -
【Codeforces Round 370 (Div 2) A】【水题】Memory and Crow
A. Memory and Crowtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n integers b1, b2, ..., bn wri原创 2016-09-11 23:02:13 · 614 阅读 · 0 评论 -
【Codeforces Round 363 (Div 2) A】【水题】Launch of Collider 机器人最早碰撞时间
A. Launch of Collidertime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere will be a launch of a new, powe原创 2016-07-26 09:06:32 · 579 阅读 · 0 评论 -
【Codeforces Round 363 (Div 2) B】【水题 行列计数】One Bomb 炸弹人爆破游戏
B. One Bombtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a description of a depot. It is a原创 2016-07-26 09:07:06 · 853 阅读 · 0 评论