CROC-MBTU 2012, Final Round (Online version, Div. 2)

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
250 CROC-MBTU 2012, Final Round (Online version, Div. 2) FINISHED False 7200 383759997 Nov. 26, 2012, 2 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 476 ) E Mad Joe PROGRAMMING brute force 2400

B'Joe has been hurt on the Internet. Now he is storming around the house, destroying everything in his path. Joe 's house has n floors, each floor is a segment of m cells. Each cell either contains nothing (it is an empty cell), or has a brick or a concrete wall (always something one of three). It is believed that each floor is surrounded by a concrete wall on the left and on the right. Now Joe is on the n-th floor and in the first cell, counting from left to right. At each moment of time, Joe has the direction of his gaze, to the right or to the left (always one direction of the two). Initially, Joe looks to the right. Joe moves by a particular algorithm. Every second he makes one of the following actions: Joe calms down as soon as he reaches any cell of the first floor. The figure below shows an example Joe 's movements around the house. Determine how many seconds Joe will need to calm down. The first line contains two integers n and m (2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100, 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89104). Next n lines contain the description of Joe 's house. The i-th of these lines contains the description of the (n xe2 x80 x89- xe2 x80 x89i xe2 x80 x89+ xe2 x80 x891)-th floor of the house -- a line that consists of m characters: "." means an empty cell, "+" means bricks and "#" means a concrete wall. It is guaranteed that the first cell of the n-th floor is empty. Print a single number -- the number of seconds Joe needs to reach the first floor; or else, print word "Never" (without the quotes), if it can never happen. Please, do not use the %lld specifier to read or write 64-bit integers in xd0 xa1++. It is preferred to use the cin, cout streams or the %I64d specifier.'...

Tutorials

CROC-MBTU 2012, Final Round, Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
3068359 AHTuTTuTyX E Feb. 3, 2013, 6:46 p.m. OK Delphi TESTS 50 46 3993600 2400
2750299 gohard E Dec. 11, 2012, 8:57 a.m. OK Delphi TESTS 50 62 1024000 2400
6003325 MariaIzobava E March 12, 2014, 1:31 p.m. OK Delphi TESTS 50 92 1126400 2400
2669458 Misha100896 E Nov. 27, 2012, 4:16 p.m. OK Delphi TESTS 50 953 1126400 2400
2670442 Ramp E Nov. 27, 2012, 8:32 p.m. OK Delphi TESTS 50 1109 1024000 2400
3225284 Ferathorn E March 1, 2013, 1:43 p.m. OK FPC TESTS 50 31 6246400 2400
9726274 RVyrodov E Feb. 5, 2015, 11:24 a.m. OK FPC TESTS 50 46 1024000 2400
9730479 ValeriaHil E Feb. 5, 2015, 6:18 p.m. OK FPC TESTS 50 46 1126400 2400
9730392 Marina_Drozdova E Feb. 5, 2015, 6:05 p.m. OK FPC TESTS 50 46 1126400 2400
9727751 pshtchnqlwplsxnntcktnk E Feb. 5, 2015, 1:38 p.m. OK FPC TESTS 50 46 4096000 2400
3224555 kodosov E March 1, 2013, 12:26 p.m. OK FPC TESTS 50 46 4096000 2400
3224532 yanush E March 1, 2013, 12:21 p.m. OK FPC TESTS 50 46 4096000 2400
9730860 Elizaveta E Feb. 5, 2015, 7:11 p.m. OK FPC TESTS 50 46 6041600 2400
2663019 trigon E Nov. 26, 2012, 3:58 p.m. OK FPC TESTS 50 62 2150400 2400
3224365 yanush E March 1, 2013, 11:51 a.m. OK FPC TESTS 50 62 4096000 2400
2662063 kawatea E Nov. 26, 2012, 3:36 p.m. OK GNU C TESTS 50 31 1024000 2400
2792915 skyline E Dec. 19, 2012, 3:33 a.m. OK GNU C TESTS 50 46 1024000 2400
3015387 gxnncrx1993 E Jan. 27, 2013, 8:20 a.m. OK GNU C TESTS 50 171 238796800 2400
5234930 chenguolin E Nov. 25, 2013, 10:53 a.m. OK GNU C++ TESTS 50 30 1126400 2400
16783207 vjudge3 E March 18, 2016, 2:10 p.m. OK GNU C++ TESTS 50 30 4505600 2400
30802080 Matrix256 E Sept. 28, 2017, 11:05 a.m. OK GNU C++ TESTS 50 31 819200 2400
14119108 130705009 E Nov. 7, 2015, 8:20 a.m. OK GNU C++ TESTS 50 31 819200 2400
16523905 TsunamiNoLetGo E March 4, 2016, 10:11 p.m. OK GNU C++ TESTS 50 31 1024000 2400
3827448 tmt514 E June 6, 2013, 10:14 a.m. OK GNU C++ TESTS 50 31 1024000 2400
3223736 Tatyana_Petrashko E March 1, 2013, 9:59 a.m. OK GNU C++ TESTS 50 31 1024000 2400
3223360 Sultan E March 1, 2013, 8:31 a.m. OK GNU C++ TESTS 50 31 1024000 2400
3043039 CAPITAL E Feb. 1, 2013, 6:15 a.m. OK GNU C++ TESTS 50 31 1024000 2400
3007493 wowo1gt E Jan. 25, 2013, 11:53 a.m. OK GNU C++ TESTS 50 31 1024000 2400
9966767 kravemir E Feb. 23, 2015, 8:22 a.m. OK GNU C++0x TESTS 50 31 0 2400
9966751 kravemir E Feb. 23, 2015, 8:21 a.m. OK GNU C++0x TESTS 50 31 0 2400
10154870 marat.snowbear E March 4, 2015, 11:33 p.m. OK GNU C++0x TESTS 50 46 1945600 2400
9939257 songman E Feb. 20, 2015, 3:50 p.m. OK GNU C++0x TESTS 50 46 3686400 2400
2669620 Archon.JK E Nov. 27, 2012, 4:57 p.m. OK GNU C++0x TESTS 50 62 307200 2400
2678717 T.T.Chopper E Nov. 30, 2012, 3:37 a.m. OK GNU C++0x TESTS 50 62 1024000 2400
2666146 cxlove E Nov. 27, 2012, 4:16 a.m. OK GNU C++0x TESTS 50 125 1024000 2400
2666128 cxlove E Nov. 27, 2012, 4:08 a.m. OK GNU C++0x TESTS 50 125 1024000 2400
2661776 Ilya_MSU E Nov. 26, 2012, 3:28 p.m. OK GNU C++0x TESTS 50 140 1228800 2400
9929860 DXHPeter E Feb. 19, 2015, 6:20 p.m. OK GNU C++0x TESTS 50 171 1331200 2400
30798146 wzywzy E Sept. 28, 2017, 7:57 a.m. OK GNU C++11 TESTS 50 30 1024000 2400
14205366 SerenityTun E Nov. 11, 2015, 10:18 p.m. OK GNU C++11 TESTS 50 31 819200 2400
30817564 VOIE E Sept. 28, 2017, 11:26 p.m. OK GNU C++11 TESTS 50 31 1024000 2400
16523894 Amirnasr E March 4, 2016, 10:09 p.m. OK GNU C++11 TESTS 50 31 1024000 2400
15226243 Deemo E Jan. 7, 2016, 2:31 p.m. OK GNU C++11 TESTS 50 31 1126400 2400
16267660 ITDOI E Feb. 21, 2016, 8:40 p.m. OK GNU C++11 TESTS 50 31 1433600 2400
17129472 freebsdx E April 2, 2016, 11:57 a.m. OK GNU C++11 TESTS 50 31 3072000 2400
12131387 tanphatls987 E July 20, 2015, 2:02 p.m. OK GNU C++11 TESTS 50 31 8396800 2400
57898302 lopare E July 28, 2019, 2:33 p.m. OK GNU C++11 TESTS 50 46 4300800 2400
20266227 Omelianenko E Aug. 29, 2016, 11:31 p.m. OK GNU C++11 TESTS 50 46 100044800 2400
24431577 rng_57 E Feb. 4, 2017, 12:06 p.m. OK GNU C++14 TESTS 50 31 2969600 2400
23619708 rng_57 E Jan. 7, 2017, 8:19 a.m. OK GNU C++14 TESTS 50 31 2969600 2400
54726151 bhargav_0085 E May 27, 2019, 8:41 p.m. OK GNU C++14 TESTS 50 46 1024000 2400
23563696 Ali.Pi E Jan. 5, 2017, 10:11 p.m. OK GNU C++14 TESTS 50 312 34201600 2400
29464747 DeadPillow E Aug. 14, 2017, 6:20 p.m. OK GNU C++14 TESTS 50 358 188928000 2400
51270806 crazy_drake E March 13, 2019, 5:54 p.m. OK GNU C++17 TESTS 50 46 1024000 2400
51341089 buyolitsez E March 15, 2019, 4:14 p.m. OK GNU C++17 TESTS 50 46 1126400 2400
51208770 ruo E March 12, 2019, 6:39 a.m. OK GNU C++17 TESTS 50 46 12697600 2400
63912379 jkchen E Oct. 31, 2019, 8:46 a.m. OK GNU C++17 TESTS 50 46 18227200 2400
51270641 crazy_drake E March 13, 2019, 5:49 p.m. OK GNU C++17 TESTS 50 62 1024000 2400
49967793 ignifi E Feb. 15, 2019, 10:17 p.m. OK GNU C++17 TESTS 50 156 1024000 2400
41555989 Ahmed_Morsy E Aug. 13, 2018, 11:20 a.m. OK GNU C++17 TESTS 50 779 42393600 2400
30560278 AndreiNet E Sept. 20, 2017, 7:30 p.m. OK Haskell TESTS 50 218 25395200 2400
2822552 watashi E Dec. 24, 2012, 1:51 p.m. OK Haskell TESTS 50 250 3174400 2400
2667746 watashi E Nov. 27, 2012, 11:04 a.m. OK Haskell TESTS 50 281 3174400 2400
2660740 Egor E Nov. 26, 2012, 2:56 p.m. OK Java 6 TESTS 50 109 0 2400
2663152 uwi E Nov. 26, 2012, 4:04 p.m. OK Java 6 TESTS 50 140 0 2400
3137183 Amstel E Feb. 16, 2013, 3:29 p.m. OK Java 6 TESTS 50 140 102400 2400
2881966 ixxa E Jan. 8, 2013, 4:56 a.m. OK Java 6 TESTS 50 171 2457600 2400
2662818 AlexanderBolshakov E Nov. 26, 2012, 3:55 p.m. OK Java 6 TESTS 50 203 614400 2400
2713412 timurtibeyev E Dec. 7, 2012, 5:34 a.m. OK Java 6 TESTS 50 281 102400 2400
2696028 jonathanpaulson E Dec. 5, 2012, 6:07 a.m. OK Java 6 TESTS 50 281 102400 2400
2661113 uwi E Nov. 26, 2012, 3:08 p.m. OK Java 6 TESTS 50 468 0 2400
2664695 ahmad_mamdouh E Nov. 26, 2012, 6:34 p.m. OK Java 6 TESTS 50 1593 165888000 2400
2675437 problem-solved E Nov. 29, 2012, 4:56 a.m. OK Java 7 TESTS 50 125 0 2400
2661450 I-juice E Nov. 26, 2012, 3:18 p.m. OK Java 7 TESTS 50 140 102400 2400
2697557 bmstuex E Dec. 5, 2012, 2:56 p.m. OK Java 7 TESTS 50 140 204800 2400
2835919 Mex-Mans E Dec. 27, 2012, 2:38 p.m. OK Java 7 TESTS 50 140 409600 2400
2666914 mostafa_fahim E Nov. 27, 2012, 8:20 a.m. OK Java 7 TESTS 50 156 0 2400
2692435 dusty.and.rusty E Dec. 3, 2012, 7:32 p.m. OK Java 7 TESTS 50 171 204800 2400
2694953 dusty.and.rusty E Dec. 4, 2012, 4:53 p.m. OK Java 7 TESTS 50 171 204800 2400
2663267 Sinner E Nov. 26, 2012, 4:08 p.m. OK Java 7 TESTS 50 171 409600 2400
2694935 dusty.and.rusty E Dec. 4, 2012, 4:47 p.m. OK Java 7 TESTS 50 187 204800 2400
3852618 prantor E June 10, 2013, 4:47 a.m. OK Java 7 TESTS 50 296 0 2400
3562486 yaguarvl E April 19, 2013, 3:37 a.m. OK Mono C# TESTS 50 62 3891200 2400
2673201 NiuYiqiang E Nov. 28, 2012, 1:57 p.m. OK MS C++ TESTS 50 31 1024000 2400
2699772 Reshetnikov_Ivan E Dec. 6, 2012, 10:36 a.m. OK MS C++ TESTS 50 46 1024000 2400
2691938 lnman E Dec. 3, 2012, 4:28 p.m. OK MS C++ TESTS 50 46 1024000 2400
2686223 tomas.svab E Dec. 2, 2012, 11:15 a.m. OK MS C++ TESTS 50 46 1024000 2400
2672688 Sokolov E Nov. 28, 2012, 12:26 p.m. OK MS C++ TESTS 50 46 1024000 2400
2669953 rinigan E Nov. 27, 2012, 6:26 p.m. OK MS C++ TESTS 50 46 1024000 2400
2662495 PanZverski E Nov. 26, 2012, 3:47 p.m. OK MS C++ TESTS 50 46 1024000 2400
2673538 NiuYiqiang E Nov. 28, 2012, 3:06 p.m. OK MS C++ TESTS 50 46 1126400 2400
2673519 NiuYiqiang E Nov. 28, 2012, 3:02 p.m. OK MS C++ TESTS 50 46 1126400 2400
2679050 DeZi E Nov. 30, 2012, 6:53 a.m. OK MS C++ TESTS 50 46 1126400 2400
51284278 r57shell E March 14, 2019, 6:19 a.m. OK PyPy 3 TESTS 50 420 9011200 2400
3481201 Magikan E April 6, 2013, 9:53 p.m. OK Python 2 TESTS 50 1609 5836800 2400

remove filters

Back to search problems