- 博客(48)
- 收藏
- 关注
原创 codeforces 82A Double Cola
A. Double Colatime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputSheldon, Leonard, Penny, Rajesh and Howard are in the queue for a "Double Cola" drink...
2018-03-15 16:44:26
352
原创 dp之路 - hdoj2059龟兔赛跑
龟兔赛跑Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 21485 Accepted Submission(s): 7883Problem Description据说在很久很久以前,可怜的兔子经历了人生中最大的打击——赛跑输给乌龟后,...
2018-03-15 16:43:40
323
原创 codeforces 268B Buttons
B. Buttonstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputManao is trying to open a rather challenging lock. The lock
2018-01-02 18:28:19
1245
原创 codeforces 474A Keyboard
A. Keyboardtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOur good friend Mole is trying to code a big message. He
2017-12-25 18:24:14
715
原创 codeforces 270A Fancy Fence
A. Fancy Fencetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputEmuskald needs a fence around his farm, but he is too
2017-12-25 17:39:07
546
原创 codeforces 344A Magnets
A. Magnetstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputMad scientist Mike entertains himself by arranging rows of
2017-12-19 11:48:54
1107
原创 codeforces 144A Arrival of the General
A. Arrival of the Generaltime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA Ministry for Defense sent a general to in
2017-12-18 22:35:20
660
原创 codeforces 318A Even Odds
A. Even Oddstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputBeing a nonconformist, Volodya is displeased with the cur
2017-12-18 21:31:24
431
原创 codeforces 617A Elephant
A. Elephanttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAn elephant decided to visit his friend. It turned out tha
2017-12-18 21:23:21
707
原创 codeforces 451A Game With Sticks
A. Game With Stickstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAfter winning gold and silver in IOI 2014, Akshat
2017-12-18 21:15:02
423
原创 codeforces 208A Dubstep
A. Dubsteptime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya works as a DJ in the best Berland nightclub, and he
2017-12-18 20:51:47
557
原创 codeforces 486A Calculating Function
A. Calculating Functiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputFor a positive integer n let's define a functi
2017-12-18 20:29:01
322
原创 codeforces 136A Presents
A. Presentstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Petya very much likes gifts. Recently he has recei
2017-12-18 20:09:15
803
原创 codeforces 479A Expression
A. Expressiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya studies in a school and he adores Maths. His class
2017-12-18 19:48:28
414
原创 codeforces 580A Kefa and First Steps
A. Kefa and First Stepstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputKefa decided to make some money doing busines
2017-12-18 19:38:10
311
原创 codeforces 148A Insomnia cure
A. Insomnia curetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output«One dragon. Two dragon. Three dragon», — the prince
2017-12-18 19:20:27
461
原创 codeforces 41A Translation
A. Translationtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe translation from the Berland language into the Bir
2017-12-18 18:47:45
512
原创 codeforces 271A Beautiful Year
A. Beautiful Yeartime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIt seems like the year of 2013 came only yesterday.
2017-12-18 18:38:09
690
原创 codeforces 337A Puzzles
A. Puzzlestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe end of the school year is near and Ms. Manana, the teac
2017-12-18 16:17:50
549
原创 codeforces 266B Queue at the School
B. Queue at the Schooltime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputDuring the break the schoolchildren, boys and
2017-12-18 15:56:52
451
原创 codeforces 110A Nearly Lucky Number
A. Nearly Lucky Numbertime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya loves lucky numbers. We all know that lu
2017-12-18 15:40:34
324
原创 codeforces 69A Young Physicist
A. Young Physicisttime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA guy named Vasya attends the final grade of a hig
2017-12-18 15:21:14
703
原创 codeforces 467A George and Accommodation
A. George and Accommodationtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputGeorge has recently entered the BSUCP (Ber
2017-12-18 15:08:46
272
原创 codeforces 546A Soldier and Bananas
A. Soldier and Bananastime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA soldier wants to buy w bananas in the shop. H
2017-12-18 14:57:00
362
原创 codeforces 236A Boy or Girl
A. Boy or Girltime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThose days, many boys use beautiful girls' photos as av
2017-12-18 14:44:44
835
原创 codeforces 122A Lucky Division
A. Lucky Divisiontime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya loves lucky numbers. Everybody knows that luc
2017-12-17 15:20:12
356
原创 codeforces 58A Chat room
A. Chat roomtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya has recently learned to type and log on to the Inte
2017-12-17 14:56:51
1022
原创 codeforces 160A Twins
A. Twinstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputImagine that you have a twin brother or sister. Having anoth
2017-12-17 14:43:59
741
原创 codeforces 133A HQ9+
A. HQ9+time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputHQ9+ is a joke programming language which has only four one-c
2017-12-17 14:24:17
408
原创 codeforces 263A Beautiful Matrix
A. Beautiful Matrixtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou've got a 5 × 5 matrix, consisting of 24 zer
2017-12-17 13:25:52
457
原创 codeforces 131A cAPS lOCK
A. cAPS lOCKtime limit per test0.5 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputwHAT DO WE NEED cAPS LOCK FOR?Caps lock is a computer
2017-12-17 13:07:31
484
原创 codeforces 116A Tram
A. Tramtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLinear Kingdom has exactly one tram line. It has n stops, num
2017-12-17 12:09:27
280
原创 codeforces 281A Word Capitalization
A. Word Capitalizationtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputCapitalization is writing a word with its firs
2017-12-17 11:02:33
360
原创 codeforces 266A Stones on the Table
A. Stones on the Tabletime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n stones on the table in a r
2017-12-17 10:53:31
290
原创 codeforces 158B Taxi
B. Taxitime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAfter the lessons n groups of schoolchildren went outside and
2017-12-17 10:43:32
445
原创 codeforces 339A Helpful Maths
A. Helpful Mathstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputXenia the beginner mathematician is a third year stu
2017-12-16 20:54:30
313
原创 codeforces 112A Petya and Strings
A. Petya and Stringstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Petya loves presents. His mum bought him
2017-12-16 20:27:49
341
原创 codeforces 96A Football
A. Footballtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya loves football very much. One day, as he was watchi
2017-11-25 21:29:03
343
原创 codeforces 282A Bit++
A. Bit++time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe classic programming language of Bitland is Bit++. This la
2017-11-25 20:58:53
381
原创 codeforces 231A Team
A. Teamtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne day three best friends Petya, Vasya and Tonya decided to
2017-11-25 20:36:19
362
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人