自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(25)
  • 收藏
  • 关注

原创 计蒜客————Folding

30.64% 2000ms 262144KAs you can remember, Alex is fond of origami. She switched from squares to rectangles, and rectangles are much more difficult to master. Her main interest is t

2017-10-30 19:34:40 291

原创 计蒜客————Anniversary Cake

21.08% 2000ms 262144KTwo students, Adam and Anton, are celebrating two-year anniversary of not passing their Math Logic exam. After very careful search in a local supermarket, they

2017-10-29 10:39:42 355

原创 计蒜客————Jumbled Compass

65.23% 1000ms 65536KJonas is developing the JUxtaPhone and is tasked with animating the compass needle. The API is simple: the compass needle is currently in some direction (betwee

2017-10-29 09:49:32 451

原创 计蒜客————Game Rank

26.32% 1000ms 65536KThe gaming company Sandstorm is developing an online two player game. You have been asked to implement the ranking system. All players have a rank determining t

2017-10-29 09:13:48 321

原创 计蒜客————Daydreaming Stockbroker

28.91% 1000ms 65536KGina Reed, the famous stockbroker, is having a slow day at work, and between rounds of solitaire she is day-dreaming. Foretelling the future is hard, but imagin

2017-10-27 20:29:57 643

原创 codeforces——875B —— Sorting the Coins

B. Sorting the Coinstime limit per test1 secondmemory limit per test512 megabytesinputstandard inputoutputstandard outputRecently, Dima met with Sasha in a phil

2017-10-23 20:34:26 264

原创 codeforces——875A —— Classroom Watch

A. Classroom Watchtime limit per test1 secondmemory limit per test512 megabytesinputstandard inputoutputstandard outputEighth-grader Vova is on duty today in th

2017-10-23 20:30:56 440

原创 计蒜客————无脑博士的试管们

17.62% 1000ms 65536K无脑博士有三个容量分别是 A,B,CA,B,C 升的试管,A,B,CA,B,C 分别是三个从 11 到 2020 的整数,最初,AA 和 BB 试管都是空的,而 CC 试管是装满硫酸铜溶液的。有时,无脑博士把硫酸铜溶液从一个试管倒到另一个试管中,直到被灌试管装满或原试管空了。当然每一次灌注都是完全的。由于无脑博士天天这么折腾,

2017-10-20 20:19:45 1369

原创 计蒜客————跳跃游戏二

30.18% 1000ms 65536K给定一个非负整数数组,假定你的初始位置为数组第一个下标。数组中的每个元素代表你在那个位置能够跳跃的最大长度。你的目标是到达最后一个下标,并且使用最少的跳跃次数。例如:A = [2,3,1,1,4]A=[2,3,1,1,4],到达最后一个下标的最少跳跃次数为 22。(先跳跃 11 步,从下标 00 到 11,

2017-10-18 20:37:31 255

原创 计蒜客————爬楼梯

31.15% 1000ms 65536K假设你现在正在爬楼梯,楼梯有 nn 级。每次你只能爬 11 级或者 22 级,那么你有多少种方法爬到楼梯的顶部?输入格式第一行输入一个整数 n(1\leq n \leq 50)n(1≤n≤50),代表楼梯的级数。输出格式输出爬到楼梯顶部的方法总数。样例输入5样例输

2017-10-18 16:43:44 959

原创 计蒜客————等和的分隔子集

23.89% 1000ms 65536K晓萌希望将1到N的连续整数组成的集合划分成两个子集合,且保证每个集合的数字和是相等。例如,对于N=3,对应的集合{1,2,3}能被划分成{3} 和 {1,2}两个子集合.这两个子集合中元素分别的和是相等的。对于N=3,我们只有一种划分方法,而对于N=7时,我们将有4种划分的方案。输入包括一行,仅一个整数,表示N的值(1≤N

2017-10-18 15:58:11 254

原创 codeforces——873C —— Strange Game On Matrix

C. Strange Game On Matrixtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIvan is playing a strange game.

2017-10-13 19:17:48 607

原创 codeforces——873B —— Balanced Substring

B. Balanced Substringtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a string s consisting on

2017-10-13 18:17:22 469

原创 codeforces——873A —— Chores

A. Chorestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLuba has to do n chores today. i-th chore takes

2017-10-13 13:59:39 679

原创 codeforces—— 869E —— The Untended Antiquity

E. The Untended Antiquitytime limit per test2 secondsmemory limit per test512 megabytesinputstandard inputoutputstandard outputAdieu l'ami.Koyomi is helping

2017-10-12 20:55:02 400

原创 codeforces—— 869C —— The Intriguing Obsession

C. The Intriguing Obsessiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output— This is not playing but duty a

2017-10-12 19:26:00 346

原创 codeforces—— 869B —— The Eternal Immortality

B. The Eternal Immortalitytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputEven if the world is full of coun

2017-10-11 16:19:33 260

原创 codeforces—— 869A —— The Artful Expedient

A. The Artful Expedienttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputRock... Paper!After Karen have f

2017-10-11 15:56:25 594

原创 POJ - 3630 - Phone List

Phone ListTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 31265 Accepted: 9188DescriptionGiven a list of phone numbers, determine if it is consistent in

2017-10-08 21:05:17 222

原创 POJ - 1014 - Dividing

DividingTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 72353 Accepted: 18864DescriptionMarsha and Bill own a collection of marbles. They want to split

2017-10-07 09:18:38 236

原创 POJ - 1088 - 滑雪

滑雪Time Limit: 1000MS Memory Limit: 65536KTotal Submissions: 101113 Accepted: 38478DescriptionMichael喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获得速度,滑的区域必须向下倾斜,而且当你滑到坡底,你不得不再次走上坡或者

2017-10-05 20:07:37 216

原创 HDU - 1556——Color the ball

Color the ballTime Limit: 9000/3000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 23610    Accepted Submission(s): 11476Problem DescriptionN个气球排成一排,

2017-10-05 12:15:46 212

原创 HDU - 5685——Problem A

Problem ATime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1508    Accepted Submission(s): 675Problem Description度熊手上有一本字典存储了大量的单词

2017-10-05 12:11:58 209

原创 HDU - 1166——敌兵布阵

敌兵布阵Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 100950    Accepted Submission(s): 42690Problem DescriptionC国的死对头A国这段时间正在进行军事

2017-10-05 12:08:47 322

原创 HDU - 5687——Problem C

Problem CTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 1794    Accepted Submission(s): 510Problem Description度熊手上有一本神奇的字典,你可

2017-10-05 12:05:32 193

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除