
-> 水题 <-
文章平均质量分 73
Joefery
生命不息,战斗不止。
展开
-
codeforces 711A.Bus to Udayland 【水题】
A. Bus to Udaylandtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputZS the Coder and Chris the Baboon are tr原创 2016-08-29 23:24:07 · 777 阅读 · 0 评论 -
B. Grandfather Dovlet’s calculator【水题】
time limit per test 1 secondmemory limit per test 256 megabytesinput standard inputoutput standard outputOnce Max found an electronic calculator(计算器) from his grandfa原创 2016-03-12 11:09:07 · 820 阅读 · 0 评论 -
B. Making a String【水题】
time limit per test 1 secondmemory limit per test 256 megabytesinput standard inputoutput standard outputYou are given an alphabet consisting of n letters, your task原创 2016-03-12 00:34:11 · 646 阅读 · 0 评论 -
A. Again Twenty Five!【水题】
time limit per test 0.5 secondsmemory limit per test 64 megabytesinput standard inputoutput standard outputThe HR manager was disappointed again. The last applicant f原创 2016-03-11 19:26:27 · 482 阅读 · 0 评论 -
Codeforces Round #344 (Div. 2) A. Interview【水题】
time limit per test 1 secondmemory limit per test 256 megabytesinput standard inputoutput standard outputBlake is a CEO of a large company called "Blake Technologies"原创 2016-03-10 23:48:24 · 485 阅读 · 0 评论 -
A. Robot Sequence【水题】
time limit per test 2 secondsmemory limit per test 256 megabytesinput standard inputoutput standard outputCalvin the robot lies in an infinite rectangular grid. Calvi原创 2016-03-10 23:21:58 · 487 阅读 · 0 评论 -
CodeForces 606A Magic Spheres【水题】
DescriptionCarl is a beginner magician. He has a blue, b violet and c orange magic spheres. In one move he can transform two spheres of the same color into one sphere of any other color. To make原创 2016-11-05 02:00:14 · 578 阅读 · 0 评论 -
CodeForces 405A Gravity Flip【水题】
DescriptionLittle Chris is bored during his physics lessons (too easy), so he has built a toy box to keep himself occupied. The box is special, since it has the ability to change gravity.There a原创 2016-11-06 16:23:01 · 614 阅读 · 0 评论 -
UVALive 7336 Automatic Cheater Detection【水题】
题目链接/* 题意:给你n个题目的情况,分别是题目的难度[1,10],是否泄题0/1,是否答对i/c 如果存在"答对难度大且泄题"(1,c) 却 "没答对难度小且没泄题"的题目(0,i), 则算一次考试作弊嫌疑,问最终有多少次考试作弊的嫌疑 类型:水题 分析:先按照难度从小到大排个序,然后记录(0,i)的和,当遇到(1,c原创 2016-10-26 00:41:48 · 540 阅读 · 0 评论 -
Gym 101138E Bravebeart【水题】
Descriptionstandard input/outputStatementsWould you want to fight against bears riding horses? Me neither.Limak is a grizzly bear. He is a general of the dreadful army of Bearland. The mos原创 2016-10-28 10:43:48 · 591 阅读 · 0 评论 -
Gym 101138B Pen Pineapple Apple Pen【水题】
Descriptionstandard input/outputStatementsPPAP, which stands for Pen Pineapple Apple Pen, is an unusual song and dance that went viral in the Internet recently. It's about merging a pen with原创 2016-10-28 10:34:40 · 796 阅读 · 0 评论 -
CodeForces 706A Beru-taxi 【水题】
DescriptionVasiliy lives at point (a, b) of the coordinate plane. He is hurrying up to work so he wants to get out of his house as soon as possible. New app suggested n available Beru-taxi nearb原创 2016-10-19 01:40:55 · 547 阅读 · 0 评论 -
CodeForces 706B Interesting drink【水题】
DescriptionVasiliy likes to rest after a hard work, so you may often meet him in some bar nearby. As all programmers do, he loves the famous drink "Beecola", which can be bought in n different s原创 2016-10-19 01:43:00 · 718 阅读 · 0 评论 -
CodeForces 560A Currency System in Geraldion 【水题】
DescriptionA magic island Geraldion, where Gerald lives, has its own currency system. It uses banknotes of several values. But the problem is, the system is not perfect and sometimes it happens th原创 2016-10-19 22:25:09 · 687 阅读 · 0 评论 -
codeforces 746 B. Decoding【水题】
B. Decodingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarp is mad about coding, that is why he wri原创 2016-12-19 00:54:29 · 889 阅读 · 0 评论 -
codeforces 746 C. Tram【水题】
C. Tramtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe tram in Berland goes along a straight line from原创 2016-12-19 00:57:04 · 796 阅读 · 0 评论 -
Codeforces Round #345 (Div. 2) A. Joysticks【水题】
A. Joystickstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputFriends are going to play console. They have tw原创 2016-03-13 11:26:05 · 497 阅读 · 0 评论 -
Codeforces Round #344 (Div. 2) C. Report【水题】
C. Reporttime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputEach month Blake gets the report containing main原创 2016-03-15 16:38:02 · 541 阅读 · 0 评论 -
codeforces 707A Brain's Photos 【水题】
A. Brain's Photostime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputSmall, but very brave, mouse Brain was no原创 2016-08-21 03:08:18 · 905 阅读 · 0 评论 -
codeforces #630 F. Selection of Personnel
题目链接排列组合 计算 C(N,5)+C(N,6)+C(N,7)#include#include#include#include#includeusing namespace std;typedef long long LL;LL C(LL n,LL r){ LL i,j,s=1; if(n-r<r)r=n-r; for(i=0,j=1;i<r原创 2016-07-13 13:16:33 · 559 阅读 · 0 评论 -
UVALive 6906 Cluster Analysis【水题】
题目链接/* 题意:给你n个数字和一个差值k,当两个数的差值小于k时,这两个数是同一个集合里的, 求不同集合的个数 类型:水题 分析:N只有100,排个序直接暴力搞*/#include#include#include#includeusing namespace std;const int maxn = 105;int a[m原创 2016-10-20 22:14:56 · 441 阅读 · 0 评论 -
CodeForces 560B Gerald is into Art【水题】
DescriptionGerald bought two very rare paintings at the Sotheby's auction and he now wants to hang them on the wall. For that he bought a special board to attach it to the wall and place the paint原创 2016-10-19 22:26:41 · 662 阅读 · 0 评论 -
Gym 100531A Alarm Clock 【水题】【暴力】
题目连接/********************************************************题意:给你一个n表示显示屏中的节段数,如果存在则输出时间,否则输出Impossible。类型:暴力、水题分析:开个数组存一下每种数字的节段数,然后对每一位暴力枚举即可。*******************************************原创 2016-08-06 18:49:49 · 538 阅读 · 0 评论 -
codeforces 605 A Sorting Railway Cars
A. Sorting Railway Carstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAn infinitely long railway has a tr原创 2016-08-05 19:26:13 · 639 阅读 · 0 评论 -
HDU 1370 Biorhythms
题目链接暴力枚举即可#include#include#include#include#includeusing namespace std;int main(){ int t; scanf("%d",&t); while(t--){ int a,b,c,d,Cas=0; while(~scanf("%d%原创 2016-07-14 20:59:19 · 457 阅读 · 0 评论 -
codeforce #630 D. Hexagons!
题目链接#include#include#include#include#include#includeusing namespace std;int main(){ long long n; cin>>n; cout<<1+3*n*(n+1)<<endl;}原创 2016-07-13 01:34:18 · 441 阅读 · 0 评论 -
codeforce#630 B.Moore's Law
题目链接原创 2016-07-13 00:54:27 · 481 阅读 · 0 评论 -
CodeForces 400A Inna and Choose Options
题意:12张卡片排成一排,图案分别是“X”或“O”,将这12张牌组成a*b的矩阵,其中前b张作为第一行,再后边的b张作为第二行,依次继续,直到完成矩阵。题目链接把X看成1,O看成0,暴力尝试所以可能的情况即可,注意输出顺序#include#include#includeusing namespace std;int a[20],b[20],sum原创 2016-05-31 20:52:32 · 421 阅读 · 0 评论 -
CSU 1535 Pizza voting
题目链接题意:n个披萨,卡路里从小到大,然后进行否决投票,先Alice否决卡路里最高的,再Bob否决卡路里最低的,然后自己否决掉一个,使自己能得到自己喜欢的口味,一直循环下去,直到只剩一个披萨,如果剩下的是自己想要的,那么输出YES,否则输出NO一道水题硬生生WA了两次。果然还是太年轻。。#include#include#include#includeu原创 2016-05-30 19:29:46 · 641 阅读 · 0 评论 -
HDOJ 2058 The sum problem【水题】
Problem DescriptionGiven a sequence 1,2,3,......N, your job is to calculate all the possible sub-sequences that the sum of the sub-sequence is M.InputInput contains multiple test cases. each原创 2015-10-28 15:33:22 · 551 阅读 · 0 评论 -
Gym 100531 G Grave【水题】
题目连接/********************************************************题意: 给你一个大矩形和一个小矩形,小矩形在大矩形内,再给你另一个矩形的宽和高,问你能否把这个矩形再放进大矩形内.类型:水题分析:分别讨论两种情况即可*****************************************************原创 2016-08-06 22:13:35 · 501 阅读 · 0 评论 -
Educational Codeforces Round 9 A. Grandma Laura and Apples【水题】
A. Grandma Laura and Applestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputGrandma Laura came to the market原创 2016-03-16 20:35:22 · 564 阅读 · 0 评论 -
Educational Codeforces Round 9 B. Alice, Bob, Two Teams【水题】
B. Alice, Bob, Two Teamstime limit per test1.5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAlice and Bob are playing a game原创 2016-03-16 20:28:58 · 524 阅读 · 0 评论 -
codeforces 746 A.Compote【水题】
A. Compotetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputNikolay has a lemons, b apples and c pears. He原创 2016-12-19 00:52:40 · 891 阅读 · 0 评论