Codeforces Beta Round 85 (Div. 1 Only)

Solutions are presented as using the least memory and the fastest execution time. It also takes the top 10 most recent solutions from each language. If you want to limit to a specific index, click the "Solved" button and go to that problem.

ContestId
Name
Phase
Frozen
Duration (Seconds)
Relative Time
Start Time
111 Codeforces Beta Round 85 (Div. 1 Only) FINISHED False 7200 422906351 Sept. 3, 2011, noon

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1408 ) C Petya and Spiders PROGRAMMING bitmasks dp ds 2100

B'Little Petya loves training spiders. Petya has a board n xe2 x80 x89 xc3 x97 xe2 x80 x89m in size. Each cell of the board initially has a spider sitting on it. After one second Petya chooses a certain action for each spider, and all of them humbly perform its commands. There are 5 possible commands: to stay idle or to move from current cell to some of the four side-neighboring cells (that is, one command for each of the four possible directions). Petya gives the commands so that no spider leaves the field. It is allowed for spiders to pass through each other when they crawl towards each other in opposite directions. All spiders crawl simultaneously and several spiders may end up in one cell. Petya wants to know the maximum possible number of spider-free cells after one second. The first line contains two space-separated integers n and m (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8940, xe2 x80 x89n xc2 xb7m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8940) -- the board sizes. In the first line print the maximum number of cells without spiders. In the first sample the only possible answer is: s In the second sample one of the possible solutions is: s denotes command "stay idle", l, r, d, u denote commands "crawl left", "crawl right", "crawl down", "crawl up", correspondingly.'...

Tutorials

Codeforces Beta Round #85: Разбор задач

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
668193 Shapo C Sept. 4, 2011, 5:28 p.m. OK Delphi TESTS 165 30 921600 2100
659064 tourist C Sept. 3, 2011, 12:21 p.m. OK Delphi TESTS 165 30 1638400 2100
1239284 zanoes C Feb. 27, 2012, 1:58 p.m. OK Delphi TESTS 165 300 921600 2100
689502 qwerty787788 C Sept. 3, 2011, 12:45 p.m. OK Delphi TESTS 165 1840 921600 2100
3903371 Omelianenko C June 16, 2013, 12:10 a.m. OK FPC TESTS 165 15 0 2100
673241 coolinging C Sept. 8, 2011, 6:23 a.m. OK FPC TESTS 165 30 1024000 2100
669590 luciys C Sept. 5, 2011, 3:25 p.m. OK FPC TESTS 165 30 1024000 2100
664862 azaky C Sept. 3, 2011, 2:46 p.m. OK FPC TESTS 165 30 1024000 2100
664822 Rubanenko C Sept. 3, 2011, 2:45 p.m. OK FPC TESTS 165 30 1024000 2100
663952 Rubanenko C Sept. 3, 2011, 1:51 p.m. OK FPC TESTS 165 30 1024000 2100
860047 T_e_ C Nov. 12, 2011, 10:50 a.m. OK FPC TESTS 165 50 1638400 2100
662238 Sereja C Sept. 3, 2011, 1:13 p.m. OK FPC TESTS 165 50 3788800 2100
664572 Sereja C Sept. 3, 2011, 2:38 p.m. OK FPC TESTS 165 50 3788800 2100
952318 LifeKeeper C Dec. 12, 2011, 3:55 a.m. OK FPC TESTS 165 60 2048000 2100
666098 eduardische C Sept. 3, 2011, 6:11 p.m. OK GNU C TESTS 165 30 1331200 2100
662584 eduardische C Sept. 3, 2011, 1:21 p.m. OK GNU C TESTS 165 30 1331200 2100
667896 stubbscroll C Sept. 4, 2011, 2:45 p.m. OK GNU C TESTS 165 30 44441600 2100
7239926 ItsLastDay C July 25, 2014, 8:04 a.m. OK GNU C TESTS 165 60 0 2100
668612 scottai1 C Sept. 5, 2011, 2:55 a.m. OK GNU C TESTS 165 1760 2048000 2100
20532545 Damntest C Sept. 11, 2016, 1:26 p.m. OK GNU C++ TESTS 165 15 0 2100
14191552 130705009 C Nov. 11, 2015, 2:31 a.m. OK GNU C++ TESTS 165 15 0 2100
13908638 vjudge5 C Oct. 28, 2015, 5:24 a.m. OK GNU C++ TESTS 165 15 102400 2100
7729001 vjudge1 C Sept. 9, 2014, 2:30 p.m. OK GNU C++ TESTS 165 15 102400 2100
14467418 AmirAz C Nov. 25, 2015, 10:42 a.m. OK GNU C++ TESTS 165 15 204800 2100
15142588 HappyNewYearMike C Dec. 31, 2015, 10:36 p.m. OK GNU C++ TESTS 165 15 512000 2100
3136675 dnk C Feb. 16, 2013, 1:12 p.m. OK GNU C++ TESTS 165 15 614400 2100
3854353 delta_4d C June 10, 2013, 2:45 p.m. OK GNU C++ TESTS 165 15 614400 2100
3136664 dnk C Feb. 16, 2013, 1:08 p.m. OK GNU C++ TESTS 165 15 614400 2100
3083306 dnk C Feb. 8, 2013, 11:08 a.m. OK GNU C++ TESTS 165 15 614400 2100
4481249 yutaka1999 C Sept. 16, 2013, 4:04 a.m. OK GNU C++0x TESTS 165 30 0 2100
6686438 mrTux C May 23, 2014, 9:44 a.m. OK GNU C++0x TESTS 165 30 0 2100
6643519 FancyCoder C May 17, 2014, 3:06 p.m. OK GNU C++0x TESTS 165 30 102400 2100
4669518 mrTux C Oct. 4, 2013, 5:03 p.m. OK GNU C++0x TESTS 165 30 716800 2100
661912 2222 C Sept. 3, 2011, 1:06 p.m. OK GNU C++0x TESTS 165 30 1433600 2100
662146 watashi C Sept. 3, 2011, 1:11 p.m. OK GNU C++0x TESTS 165 30 1433600 2100
666524 jonathanasdf C Sept. 3, 2011, 9:48 p.m. OK GNU C++0x TESTS 165 30 2048000 2100
855766 siuvit C Nov. 10, 2011, 1:02 p.m. OK GNU C++0x TESTS 165 30 3276800 2100
705946 icyrhyme C Sept. 17, 2011, 4:48 a.m. OK GNU C++0x TESTS 165 30 4096000 2100
9830080 kunal93 C Feb. 14, 2015, 4:08 p.m. OK GNU C++0x TESTS 165 31 0 2100
59230703 rainboy C Aug. 21, 2019, 3:21 p.m. OK GNU C11 TESTS 165 31 0 2100
50358328 libra8z C Feb. 23, 2019, 10:32 a.m. OK GNU C11 TESTS 165 171 0 2100
50357637 libra8z C Feb. 23, 2019, 10:30 a.m. OK GNU C11 TESTS 165 187 0 2100
50354373 libra8z C Feb. 23, 2019, 10:06 a.m. OK GNU C11 TESTS 165 187 0 2100
50354494 libra8z C Feb. 23, 2019, 10:10 a.m. OK GNU C11 TESTS 165 202 0 2100
50354590 libra8z C Feb. 23, 2019, 10:12 a.m. OK GNU C11 TESTS 165 202 0 2100
50354626 vjudge3 C Feb. 23, 2019, 10:14 a.m. OK GNU C11 TESTS 165 202 0 2100
50354824 libra8z C Feb. 23, 2019, 10:20 a.m. OK GNU C11 TESTS 165 202 0 2100
50354660 vjudge3 C Feb. 23, 2019, 10:15 a.m. OK GNU C11 TESTS 165 202 0 2100
50354459 libra8z C Feb. 23, 2019, 10:09 a.m. OK GNU C11 TESTS 165 202 0 2100
14911749 ans C Dec. 21, 2015, 11:53 a.m. OK GNU C++11 TESTS 165 15 0 2100
14580118 ZalBinHassan C Dec. 1, 2015, 6:13 a.m. OK GNU C++11 TESTS 165 15 0 2100
15536141 MaGaroo C Jan. 23, 2016, 5:21 p.m. OK GNU C++11 TESTS 165 15 102400 2100
15344681 DERIT C Jan. 14, 2016, 1:22 p.m. OK GNU C++11 TESTS 165 15 819200 2100
28070484 paulzrm C June 27, 2017, 7:18 a.m. OK GNU C++11 TESTS 165 15 2048000 2100
28473209 easter.prince C July 12, 2017, 12:12 p.m. OK GNU C++11 TESTS 165 15 2764800 2100
16819986 freebsdx C March 19, 2016, 1:28 p.m. OK GNU C++11 TESTS 165 15 2764800 2100
28056202 Minology C June 26, 2017, 11:21 a.m. OK GNU C++11 TESTS 165 15 2867200 2100
29135306 JJboom C Aug. 2, 2017, 4:21 p.m. OK GNU C++11 TESTS 165 15 2867200 2100
28670051 NcSkuld C July 18, 2017, 1:45 p.m. OK GNU C++11 TESTS 165 15 2867200 2100
30650637 danya.smelskiy C Sept. 23, 2017, 6 p.m. OK GNU C++14 TESTS 165 15 716800 2100
29826418 Kideri C Aug. 27, 2017, 12:26 p.m. OK GNU C++14 TESTS 165 15 819200 2100
29152170 vjudge5 C Aug. 3, 2017, 9:51 a.m. OK GNU C++14 TESTS 165 15 1945600 2100
32668406 charlieyan C Nov. 26, 2017, 10:16 a.m. OK GNU C++14 TESTS 165 15 1945600 2100
28668823 shenyunhan C July 18, 2017, 1:06 p.m. OK GNU C++14 TESTS 165 15 2662400 2100
28658397 vjudge1 C July 18, 2017, 6:29 a.m. OK GNU C++14 TESTS 165 15 2662400 2100
23508613 aka.Sohieb C Jan. 3, 2017, 1:45 a.m. OK GNU C++14 TESTS 165 15 2662400 2100
23379527 swust_20131737 C Dec. 28, 2016, 2:07 p.m. OK GNU C++14 TESTS 165 15 2662400 2100
28668828 vjudge4 C July 18, 2017, 1:06 p.m. OK GNU C++14 TESTS 165 15 2662400 2100
29937089 vjudge2 C Aug. 31, 2017, 7:32 a.m. OK GNU C++14 TESTS 165 15 4505600 2100
39071332 ViVuClone C June 9, 2018, 2:15 p.m. OK GNU C++17 TESTS 165 30 1433600 2100
41564476 LiChenKoh C Aug. 13, 2018, 4:34 p.m. OK GNU C++17 TESTS 165 31 0 2100
42075258 DerekFeng C Aug. 25, 2018, 4:39 a.m. OK GNU C++17 TESTS 165 31 0 2100
45470210 eddysboy C Nov. 9, 2018, 9:06 a.m. OK GNU C++17 TESTS 165 31 0 2100
50678872 Kirito_wmj C March 2, 2019, 10:36 a.m. OK GNU C++17 TESTS 165 31 0 2100
56037287 Mohammad.H915 C June 25, 2019, 12:40 p.m. OK GNU C++17 TESTS 165 31 0 2100
61962580 StevenJin C Oct. 6, 2019, 7:54 a.m. OK GNU C++17 TESTS 165 31 0 2100
40549889 vjudge1 C July 19, 2018, 1:45 p.m. OK GNU C++17 TESTS 165 31 0 2100
50473692 KillerX C Feb. 25, 2019, 3:59 a.m. OK GNU C++17 TESTS 165 31 204800 2100
50358688 vjudge5 C Feb. 23, 2019, 10:33 a.m. OK GNU C++17 TESTS 165 31 204800 2100
663839 bjin C Sept. 3, 2011, 1:48 p.m. OK Haskell TESTS 165 50 3174400 2100
666529 pius_88 C Sept. 3, 2011, 9:52 p.m. OK Java 6 TESTS 165 90 34918400 2100
2661170 todo C Nov. 26, 2012, 3:09 p.m. OK Java 6 TESTS 165 109 0 2100
664253 yaro C Sept. 3, 2011, 1:56 p.m. OK Java 6 TESTS 165 110 34918400 2100
662060 Egor C Sept. 3, 2011, 1:09 p.m. OK Java 6 TESTS 165 110 34918400 2100
661839 mmaxio C Sept. 3, 2011, 1:05 p.m. OK Java 6 TESTS 165 110 35020800 2100
670262 rajatag12 C Sept. 6, 2011, 6:05 a.m. OK Java 6 TESTS 165 110 35225600 2100
665868 todo C Sept. 3, 2011, 5:05 p.m. OK Java 6 TESTS 165 110 35328000 2100
660666 ivan.popelyshev C Sept. 3, 2011, 12:43 p.m. OK Java 6 TESTS 165 110 35328000 2100
669750 rajatag12 C Sept. 5, 2011, 5:10 p.m. OK Java 6 TESTS 165 130 35225600 2100
669998 uwi C Sept. 5, 2011, 8:18 p.m. OK Java 6 TESTS 165 130 35328000 2100
1978854 unit7 C Aug. 5, 2012, 8:26 p.m. OK Java 7 TESTS 165 470 45158400 2100
11258638 peter31415 C May 24, 2015, 9:33 p.m. OK Java 7 TESTS 165 623 0 2100
14996208 poikniok C Dec. 25, 2015, 12:26 a.m. OK Java 8 TESTS 165 109 0 2100
55377248 nullptr2 C June 9, 2019, 6:10 p.m. OK Java 8 TESTS 165 124 0 2100
24585733 Aaron_1996 C Feb. 11, 2017, 9:19 a.m. OK Java 8 TESTS 165 140 20889600 2100
59230701 Dukkha C Aug. 21, 2019, 3:21 p.m. OK Java 8 TESTS 165 171 0 2100
8882667 AlexFetisov C Nov. 28, 2014, 7:30 p.m. OK Java 8 TESTS 165 373 7680000 2100
667944 makeevvladx C Sept. 4, 2011, 3:10 p.m. OK Mono C# TESTS 165 130 5632000 2100
665422 tanzaku C Sept. 3, 2011, 3:35 p.m. OK Mono C# TESTS 165 160 5632000 2100
667024 AlphaStream C Sept. 4, 2011, 7:07 a.m. OK Mono C# TESTS 165 310 18022400 2100
667007 AlphaStream C Sept. 4, 2011, 6:45 a.m. OK Mono C# TESTS 165 670 33689600 2100
3405847 NALP C March 25, 2013, 9:21 p.m. OK MS C++ TESTS 165 15 1024000 2100
28681912 vjudge4 C July 19, 2017, 2:34 a.m. OK MS C++ TESTS 165 15 2252800 2100
28659535 vjudge2 C July 18, 2017, 7:04 a.m. OK MS C++ TESTS 165 15 2867200 2100
1352717 triceps C March 12, 2012, 4:48 p.m. OK MS C++ TESTS 165 30 1433600 2100
661428 UESTC_Nocturne C Sept. 3, 2011, 12:56 p.m. OK MS C++ TESTS 165 30 1433600 2100
709441 AleX C Sept. 20, 2011, 11 a.m. OK MS C++ TESTS 165 30 1433600 2100
890153 QZAR C Nov. 24, 2011, 9:33 p.m. OK MS C++ TESTS 165 30 1536000 2100
890141 QZAR C Nov. 24, 2011, 9:19 p.m. OK MS C++ TESTS 165 30 1536000 2100
890122 QZAR C Nov. 24, 2011, 8:59 p.m. OK MS C++ TESTS 165 30 1536000 2100
685319 l.j.q.light C Sept. 9, 2011, 7:26 a.m. OK MS C++ TESTS 165 30 1536000 2100
50354557 libra8z C Feb. 23, 2019, 10:11 a.m. OK MS C++ 2017 TESTS 165 234 0 2100
663043 hirosegolf C Sept. 3, 2011, 1:32 p.m. OK Python 2 TESTS 165 60 2867200 2100
3578936 nealzane C April 20, 2013, 6:28 a.m. OK Python 2 TESTS 165 62 0 2100

remove filters

Back to search problems