CROC 2016 - Elimination Round

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
645 CROC 2016 - Elimination Round FINISHED False 7200 273504299 March 18, 2016, 4:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 3462 ) A Amity Assessment PROGRAMMING brute force constructive algorithms implementation 1200

B'Bessie the cow and her best friend Elsie each received a sliding puzzle on Pi Day. Their puzzles consist of a 2 xe2 x80 x89 xc3 x97 xe2 x80 x892 grid and three tiles labeled 'A ', 'B ', and 'C '. The three tiles sit on top of the grid, leaving one grid cell empty. To make a move, Bessie or Elsie can slide a tile adjacent to the empty cell into the empty cell as shown below: In order to determine if they are truly Best Friends For Life (BFFLs), Bessie and Elsie would like to know if there exists a sequence of moves that takes their puzzles to the same configuration (moves can be performed in both puzzles). Two puzzles are considered to be in the same configuration if each tile is on top of the same grid cell in both puzzles. Since the tiles are labeled with letters, rotations and reflections are not allowed. The first two lines of the input consist of a 2 xe2 x80 x89 xc3 x97 xe2 x80 x892 grid describing the initial configuration of Bessie 's puzzle. The next two lines contain a 2 xe2 x80 x89 xc3 x97 xe2 x80 x892 grid describing the initial configuration of Elsie 's puzzle. The positions of the tiles are labeled 'A ', 'B ', and 'C ', while the empty cell is labeled 'X '. It 's guaranteed that both puzzles contain exactly one tile with each letter and exactly one empty position. Output "YES"(without quotes) if the puzzles can reach the same configuration (and Bessie and Elsie are truly BFFLs). Otherwise, print "NO" (without quotes). The solution to the first sample is described by the image. All Bessie needs to do is slide her 'A ' tile down. In the second sample, the two puzzles can never be in the same configuration. Perhaps Bessie and Elsie are not meant to be friends after all... '...

Tutorials

Editorial for CROC 2016 Elimination Round

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
16785757 Gassa A March 18, 2016, 4:41 p.m. OK D TESTS 102 15 0 1200
22338343 JoeBlow A Nov. 19, 2016, 10:34 p.m. OK D TESTS 102 31 0 1200
16790883 FJB100 A March 18, 2016, 5:28 p.m. OK Delphi TESTS 102 15 0 1200
16787305 kulpet345 A March 18, 2016, 4:53 p.m. OK Delphi TESTS 102 30 0 1200
16793424 ruban A March 18, 2016, 6:04 p.m. OK Delphi TESTS 102 31 0 1200
16785827 TheHedgehog A March 18, 2016, 4:42 p.m. OK Delphi TESTS 102 31 15155200 1200
16787325 sko13 A March 18, 2016, 4:53 p.m. OK FPC TESTS 102 15 0 1200
17315606 Ru_Tornado A April 14, 2016, 2:26 p.m. OK FPC TESTS 102 15 0 1200
16786597 MaRos A March 18, 2016, 4:48 p.m. OK FPC TESTS 102 15 102400 1200
16803550 a.i.r. A March 19, 2016, 6:59 a.m. OK FPC TESTS 102 15 1740800 1200
16883070 Kael007 A March 23, 2016, 8:49 a.m. OK FPC TESTS 102 15 1843200 1200
16822831 Inter A March 19, 2016, 3:43 p.m. OK FPC TESTS 102 15 1843200 1200
16815131 timoxaxa A March 19, 2016, 10:48 a.m. OK FPC TESTS 102 15 1843200 1200
16789999 odal A March 18, 2016, 5:18 p.m. OK FPC TESTS 102 30 102400 1200
16787808 idee.fixe A March 18, 2016, 4:57 p.m. OK FPC TESTS 102 31 0 1200
20292668 unnamed_04 A Aug. 31, 2016, 2:17 a.m. OK FPC TESTS 102 31 102400 1200
20265403 Koshlendra7 A Aug. 29, 2016, 9:56 p.m. OK GNU C TESTS 102 15 0 1200
16791311 sad_club_piece A March 18, 2016, 5:34 p.m. OK GNU C TESTS 102 15 0 1200
16790353 matorchic A March 18, 2016, 5:22 p.m. OK GNU C TESTS 102 15 0 1200
24515552 KinKong1 A Feb. 8, 2017, 1:05 a.m. OK GNU C TESTS 102 15 1843200 1200
18158413 aritragster A May 30, 2016, 2:53 p.m. OK GNU C TESTS 102 15 2048000 1200
16868445 SuperString A March 22, 2016, 10:44 a.m. OK GNU C TESTS 102 15 2048000 1200
20222908 Koshlendra7 A Aug. 29, 2016, 5:14 a.m. OK GNU C TESTS 102 30 0 1200
17858048 hello-noob A May 11, 2016, 5:53 p.m. OK GNU C TESTS 102 30 2048000 1200
19407393 double301 A July 25, 2016, 4:34 p.m. OK GNU C TESTS 102 31 0 1200
16791391 skilo A March 18, 2016, 5:35 p.m. OK GNU C TESTS 102 31 0 1200
20273184 henrysusilo A Aug. 30, 2016, 8:14 a.m. OK GNU C++ TESTS 102 15 0 1200
19405347 vjudge3 A July 25, 2016, 2:19 p.m. OK GNU C++ TESTS 102 15 0 1200
19404727 vjudge5 A July 25, 2016, 1:41 p.m. OK GNU C++ TESTS 102 15 0 1200
18720847 Qudrat_Ibadullayev A June 25, 2016, 2:11 p.m. OK GNU C++ TESTS 102 15 0 1200
18595416 dqhungdl A June 19, 2016, 9:59 a.m. OK GNU C++ TESTS 102 15 0 1200
17293870 Ashik53 A April 12, 2016, 6:14 p.m. OK GNU C++ TESTS 102 15 0 1200
17285489 2742195759 A April 12, 2016, 4:16 a.m. OK GNU C++ TESTS 102 15 0 1200
17033229 lvchaxj A March 30, 2016, 12:02 p.m. OK GNU C++ TESTS 102 15 0 1200
16820057 _____upsolver_____ A March 19, 2016, 1:31 p.m. OK GNU C++ TESTS 102 15 0 1200
16802443 boomshine A March 19, 2016, 6:04 a.m. OK GNU C++ TESTS 102 15 0 1200
50243323 NoSoul A Feb. 20, 2019, 1:51 p.m. OK GNU C11 TESTS 102 31 0 1200
20852594 maratonando A Sept. 23, 2016, 1:53 p.m. OK GNU C++11 TESTS 102 15 0 1200
22304823 Valerich A Nov. 18, 2016, 11:12 a.m. OK GNU C++11 TESTS 102 15 0 1200
20880960 KhalidRamadan A Sept. 24, 2016, 4:45 a.m. OK GNU C++11 TESTS 102 15 0 1200
20823821 maratonando3 A Sept. 22, 2016, 5:52 p.m. OK GNU C++11 TESTS 102 15 0 1200
20819907 Flyce A Sept. 22, 2016, 2:31 p.m. OK GNU C++11 TESTS 102 15 0 1200
20819833 haposiwe A Sept. 22, 2016, 2:28 p.m. OK GNU C++11 TESTS 102 15 0 1200
20752875 darthmelonder A Sept. 19, 2016, 11:02 a.m. OK GNU C++11 TESTS 102 15 0 1200
20563082 avirammagen11 A Sept. 13, 2016, 8:59 a.m. OK GNU C++11 TESTS 102 15 0 1200
19445696 pratik1997 A July 27, 2016, 4:48 p.m. OK GNU C++11 TESTS 102 15 0 1200
19429665 peter3110 A July 26, 2016, 8:57 p.m. OK GNU C++11 TESTS 102 15 0 1200
27748122 PauloCS A June 13, 2017, 3:40 a.m. OK GNU C++14 TESTS 102 15 0 1200
27676384 NoInternetName A June 8, 2017, 5:34 p.m. OK GNU C++14 TESTS 102 15 0 1200
27332458 HBK_Wasi A May 25, 2017, 8:55 a.m. OK GNU C++14 TESTS 102 15 0 1200
30977428 ujjwal9895 A Oct. 3, 2017, 7:46 p.m. OK GNU C++14 TESTS 102 15 0 1200
27332396 ...................... A May 25, 2017, 8:51 a.m. OK GNU C++14 TESTS 102 15 0 1200
27175638 byijie A May 17, 2017, 8:57 a.m. OK GNU C++14 TESTS 102 15 0 1200
22175379 knayam_sharma A Nov. 12, 2016, 9:48 a.m. OK GNU C++14 TESTS 102 15 0 1200
21229370 manav3797 A Oct. 6, 2016, 8:16 a.m. OK GNU C++14 TESTS 102 15 0 1200
39602010 ArshiaDadras A June 24, 2018, 12:32 p.m. OK GNU C++14 TESTS 102 15 0 1200
27728181 aiy12 A June 11, 2017, 10:36 p.m. OK GNU C++14 TESTS 102 15 0 1200
38544620 _overrated_ A May 22, 2018, 6:55 p.m. OK GNU C++17 TESTS 102 30 0 1200
65481907 mechashadow A Nov. 21, 2019, 11:56 a.m. OK GNU C++17 TESTS 102 31 0 1200
68888091 inheritag A Jan. 15, 2020, 11:51 p.m. OK GNU C++17 TESTS 102 31 0 1200
68568263 saketh A Jan. 10, 2020, 11:32 p.m. OK GNU C++17 TESTS 102 31 0 1200
68204719 spykecb A Jan. 4, 2020, 5 p.m. OK GNU C++17 TESTS 102 31 0 1200
66973979 BanazadehAria A Dec. 15, 2019, 2:04 p.m. OK GNU C++17 TESTS 102 31 0 1200
63945535 OVERLORD.saleh A Oct. 31, 2019, 6:48 p.m. OK GNU C++17 TESTS 102 31 0 1200
63291525 vjudge3 A Oct. 24, 2019, 11:53 a.m. OK GNU C++17 TESTS 102 31 0 1200
63291193 vjudge5 A Oct. 24, 2019, 11:47 a.m. OK GNU C++17 TESTS 102 31 0 1200
63290469 vjudge2 A Oct. 24, 2019, 11:37 a.m. OK GNU C++17 TESTS 102 31 0 1200
16787936 almer A March 18, 2016, 4:58 p.m. OK Go TESTS 102 15 0 1200
16795201 djumanoff A March 18, 2016, 6:31 p.m. OK Go TESTS 102 31 307200 1200
20562941 DimsFromDergachy A Sept. 13, 2016, 8:51 a.m. OK Haskell TESTS 102 15 8396800 1200
21474083 pavel.rosputko A Oct. 16, 2016, 7:52 a.m. OK Haskell TESTS 102 30 53248000 1200
20563164 DimsFromDergachy A Sept. 13, 2016, 9:05 a.m. OK Haskell TESTS 102 31 0 1200
16790895 macnur A March 18, 2016, 5:28 p.m. OK Java 7 TESTS 102 108 0 1200
16789487 smalex69 A March 18, 2016, 5:12 p.m. OK Java 7 TESTS 102 108 0 1200
16785923 shilov A March 18, 2016, 4:43 p.m. OK Java 7 TESTS 102 108 0 1200
16862498 Ereke A March 21, 2016, 6:55 p.m. OK Java 7 TESTS 102 108 39014400 1200
16790692 taras_ska A March 18, 2016, 5:26 p.m. OK Java 7 TESTS 102 109 0 1200
17320200 mIchanic A April 14, 2016, 8:56 p.m. OK Java 7 TESTS 102 109 0 1200
16786508 ya_rb A March 18, 2016, 4:47 p.m. OK Java 7 TESTS 102 109 0 1200
16786081 KamilBek A March 18, 2016, 4:44 p.m. OK Java 7 TESTS 102 109 0 1200
16785525 qwerty787788 A March 18, 2016, 4:38 p.m. OK Java 7 TESTS 102 109 0 1200
17335706 Aubie A April 16, 2016, 7:07 a.m. OK Java 7 TESTS 102 124 0 1200
27362400 binary_eagle A May 26, 2017, 7:04 p.m. OK Java 8 TESTS 102 109 0 1200
16787863 jey.inc A March 18, 2016, 4:58 p.m. OK Java 8 TESTS 102 109 0 1200
52060695 norty A March 31, 2019, 12:32 a.m. OK Java 8 TESTS 102 109 0 1200
16786133 knok16 A March 18, 2016, 4:44 p.m. OK Java 8 TESTS 102 109 0 1200
16819268 Pussy_penetrator A March 19, 2016, 12:54 p.m. OK Java 8 TESTS 102 109 20582400 1200
16826924 eladdad A March 19, 2016, 8:16 p.m. OK Java 8 TESTS 102 109 20684800 1200
16800299 wbars A March 19, 2016, 3:31 a.m. OK Java 8 TESTS 102 124 0 1200
55181444 swimmerstar A June 5, 2019, 10:52 p.m. OK Java 8 TESTS 102 124 0 1200
54833724 KrisDo A May 30, 2019, 10:01 a.m. OK Java 8 TESTS 102 124 0 1200
49058068 formalist A Jan. 27, 2019, 2:10 p.m. OK Java 8 TESTS 102 124 0 1200
16794382 anatoliy.aksenov A March 18, 2016, 6:19 p.m. OK JavaScript TESTS 102 31 0 1200
16793630 pashqa88 A March 18, 2016, 6:07 p.m. OK JavaScript TESTS 102 31 0 1200
16786679 drum A March 18, 2016, 4:49 p.m. OK JavaScript TESTS 102 46 0 1200
53814441 I.A.K.O.V A May 6, 2019, 9:18 a.m. OK Kotlin TESTS 102 109 0 1200
16788559 allchk A March 18, 2016, 5:03 p.m. OK Mono C# TESTS 102 46 102400 1200
16787545 olderor A March 18, 2016, 4:55 p.m. OK Mono C# TESTS 102 62 102400 1200
16822843 AnatolyTolstobrov A March 19, 2016, 3:44 p.m. OK MS C# TESTS 102 46 9216000 1200
16789083 gibe A March 18, 2016, 5:09 p.m. OK MS C# TESTS 102 61 0 1200
16786716 TiredBall A March 18, 2016, 4:49 p.m. OK MS C# TESTS 102 61 102400 1200
16786798 kasarino A March 18, 2016, 4:50 p.m. OK MS C# TESTS 102 62 0 1200
16788142 Overlord3 A March 18, 2016, 5 p.m. OK MS C# TESTS 102 62 0 1200
16786100 Beresta A March 18, 2016, 4:44 p.m. OK MS C# TESTS 102 62 102400 1200
16788411 ACE347 A March 18, 2016, 5:02 p.m. OK MS C# TESTS 102 62 2355200 1200
16788201 freepvps A March 18, 2016, 5 p.m. OK MS C# TESTS 102 62 2457600 1200
16793957 zhymaoiing A March 18, 2016, 6:12 p.m. OK MS C# TESTS 102 62 2457600 1200
16789873 mircea85 A March 18, 2016, 5:16 p.m. OK MS C# TESTS 102 62 2560000 1200
16791748 gaspin A March 18, 2016, 5:40 p.m. OK MS C++ TESTS 102 15 0 1200
16790481 Spolutrean A March 18, 2016, 5:23 p.m. OK MS C++ TESTS 102 15 0 1200
16789281 SeTSeR A March 18, 2016, 5:11 p.m. OK MS C++ TESTS 102 15 0 1200
16788918 Twild A March 18, 2016, 5:07 p.m. OK MS C++ TESTS 102 15 0 1200
16788445 Waldis A March 18, 2016, 5:02 p.m. OK MS C++ TESTS 102 15 0 1200
16791265 dpkuzmina A March 18, 2016, 5:33 p.m. OK MS C++ TESTS 102 15 0 1200
19229243 dimdem A July 19, 2016, 10:03 a.m. OK MS C++ TESTS 102 15 0 1200
16800457 Alligard A March 19, 2016, 3:47 a.m. OK MS C++ TESTS 102 15 0 1200
16798045 Lexes A March 18, 2016, 10:45 p.m. OK MS C++ TESTS 102 15 0 1200
16792006 rina.euler A March 18, 2016, 5:43 p.m. OK MS C++ TESTS 102 15 0 1200
16791119 Krishna A March 18, 2016, 5:31 p.m. OK Perl TESTS 102 31 0 1200
16793161 restless_spirit A March 18, 2016, 6 p.m. OK PHP TESTS 102 31 0 1200
19383477 Yash_ A July 24, 2016, 12:09 p.m. OK PyPy 2 TESTS 102 93 0 1200
17914479 --d A May 15, 2016, 1:48 a.m. OK PyPy 2 TESTS 102 109 22630400 1200
16787576 vekarpov A March 18, 2016, 4:55 p.m. OK PyPy 3 TESTS 102 109 0 1200
16785581 crossopt A March 18, 2016, 4:39 p.m. OK PyPy 3 TESTS 102 109 0 1200
16785728 ShapeBlaze A March 18, 2016, 4:41 p.m. OK PyPy 3 TESTS 102 124 0 1200
16785675 Denzed A March 18, 2016, 4:40 p.m. OK PyPy 3 TESTS 102 124 0 1200
16788608 SpoonKiller A March 18, 2016, 5:04 p.m. OK PyPy 3 TESTS 102 139 0 1200
59704754 kchau A Aug. 30, 2019, 12:11 p.m. OK PyPy 3 TESTS 102 140 0 1200
16790367 gmixo A March 18, 2016, 5:22 p.m. OK Python 2 TESTS 102 46 0 1200
16785747 bulat.s A March 18, 2016, 4:41 p.m. OK Python 2 TESTS 102 46 0 1200
16845164 nealzane A March 20, 2016, 7:16 p.m. OK Python 2 TESTS 102 46 4710400 1200
16789550 packwolf A March 18, 2016, 5:13 p.m. OK Python 2 TESTS 102 61 0 1200
16790328 omidazadi A March 18, 2016, 5:21 p.m. OK Python 2 TESTS 102 61 307200 1200
20613383 Leti A Sept. 14, 2016, 12:05 p.m. OK Python 2 TESTS 102 62 0 1200
16790821 Flying___ A March 18, 2016, 5:27 p.m. OK Python 2 TESTS 102 62 0 1200
16790503 superkate A March 18, 2016, 5:24 p.m. OK Python 2 TESTS 102 62 0 1200
16789526 pallavi A March 18, 2016, 5:13 p.m. OK Python 2 TESTS 102 62 0 1200
16787442 PanZverski A March 18, 2016, 4:54 p.m. OK Python 2 TESTS 102 62 0 1200
16792033 pretorium A March 18, 2016, 5:44 p.m. OK Python 3 TESTS 102 62 0 1200
16790329 Shamsutdin A March 18, 2016, 5:21 p.m. OK Python 3 TESTS 102 62 0 1200
16789729 andrey.starodubtsev A March 18, 2016, 5:15 p.m. OK Python 3 TESTS 102 62 0 1200
16789478 timostar1 A March 18, 2016, 5:12 p.m. OK Python 3 TESTS 102 62 0 1200
16788961 duckladydinh A March 18, 2016, 5:07 p.m. OK Python 3 TESTS 102 62 0 1200
16788894 Dintry A March 18, 2016, 5:07 p.m. OK Python 3 TESTS 102 62 0 1200
16788544 Ferume A March 18, 2016, 5:03 p.m. OK Python 3 TESTS 102 62 0 1200
16788529 I_LOVE_DANA A March 18, 2016, 5:03 p.m. OK Python 3 TESTS 102 62 0 1200
16788023 uvzotova A March 18, 2016, 4:59 p.m. OK Python 3 TESTS 102 62 0 1200
16787972 NEMIR A March 18, 2016, 4:59 p.m. OK Python 3 TESTS 102 62 0 1200
18513016 MoOfMo A June 16, 2016, 5:52 a.m. OK Ruby TESTS 102 62 0 1200
32504653 bhanua1 A Nov. 20, 2017, 3:42 p.m. OK Ruby TESTS 102 62 204800 1200
16907901 _ShadowSong A March 24, 2016, 2:36 p.m. OK Ruby TESTS 102 62 6553600 1200
16785590 wrick A March 18, 2016, 4:39 p.m. OK Scala TESTS 102 264 0 1200
16785843 limed A March 18, 2016, 4:42 p.m. OK Scala TESTS 102 280 0 1200
16798219 wrick A March 18, 2016, 11:14 p.m. OK Scala TESTS 102 311 0 1200
17565651 reldan A April 29, 2016, 12:08 p.m. OK Scala TESTS 102 311 39936000 1200

remove filters

Back to search problems