Codeforces Round 444 (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
887 Codeforces Round 444 (Div. 2) FINISHED False 9000 222098099 Nov. 3, 2017, 4:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 2900 ) C Solution for Cube PROGRAMMING brute force implementation 1500

B"During the breaks between competitions, top-model Izabella tries to develop herself and not to be bored. For example, now she tries to solve Rubik's cube 2x2x2. It's too hard to learn to solve Rubik's cube instantly, so she learns to understand if it's possible to solve the cube in some state using 90-degrees rotation of one face of the cube in any direction. To check her answers she wants to use a program which will for some state of cube tell if it's possible to solve it using one rotation, described above. Cube is called solved if for each face of cube all squares on it has the same color. https://en.wikipedia.org/wiki/Rubik's_Cube In first line given a sequence of 24 integers ai (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89ai xe2 x80 x89 xe2 x89 xa4 xe2 x80 x896), where ai denotes color of i-th square. There are exactly 4 occurrences of all colors in this sequence. Print xc2 xabYES xc2 xbb (without quotes) if it's possible to solve cube using one rotation and xc2 xabNO xc2 xbb (without quotes) otherwise. In first test case cube looks like this: In second test case cube looks like this: It's possible to solve cube by rotating face with squares with numbers 13, 14, 15, 16. "...

Tutorials

Codeforces Round #444 (Div. 2) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
56667207 vjudge1 C July 7, 2019, 11:31 a.m. OK Clang++17 Diagnostics TESTS 48 46 0 1500
40102585 vjudge4 C July 9, 2018, 6:23 a.m. OK Clang++17 Diagnostics TESTS 48 46 307200 1500
32032236 ruban C Nov. 3, 2017, 6:09 p.m. OK Delphi TESTS 48 15 36249600 1500
32032542 slavik228 C Nov. 3, 2017, 6:13 p.m. OK FPC TESTS 48 15 0 1500
32026790 alex499 C Nov. 3, 2017, 5:16 p.m. OK FPC TESTS 48 15 0 1500
32043812 rabbitcxk C Nov. 4, 2017, 6:14 a.m. OK FPC TESTS 48 15 0 1500
32033992 boddiul C Nov. 3, 2017, 6:32 p.m. OK FPC TESTS 48 15 0 1500
32032968 gleb.shnshn C Nov. 3, 2017, 6:19 p.m. OK FPC TESTS 48 15 0 1500
32066145 qianzhengjie C Nov. 5, 2017, 1:34 a.m. OK FPC TESTS 48 15 0 1500
32048830 KryXtal C Nov. 4, 2017, 10:11 a.m. OK FPC TESTS 48 15 102400 1500
42201788 luogu_bot5 C Aug. 28, 2018, 9:08 a.m. OK FPC TESTS 48 31 0 1500
40727385 vjudge5 C July 25, 2018, 5:50 a.m. OK FPC TESTS 48 31 0 1500
32028938 narang9958875313 C Nov. 3, 2017, 5:37 p.m. OK GNU C TESTS 48 15 0 1500
32027556 zeosutt C Nov. 3, 2017, 5:25 p.m. OK GNU C TESTS 48 15 0 1500
32027021 ruoran C Nov. 3, 2017, 5:19 p.m. OK GNU C TESTS 48 15 0 1500
32025970 Faimerth C Nov. 3, 2017, 5:10 p.m. OK GNU C TESTS 48 15 0 1500
32023324 xzm2020 C Nov. 3, 2017, 4:51 p.m. OK GNU C TESTS 48 15 0 1500
34983090 rainboy C Feb. 6, 2018, 9:22 p.m. OK GNU C TESTS 48 15 1843200 1500
34982681 rainboy C Feb. 6, 2018, 8:55 p.m. OK GNU C TESTS 48 15 1843200 1500
32626918 vjudge3 C Nov. 24, 2017, 4:35 p.m. OK GNU C TESTS 48 15 1843200 1500
32608309 vjudge4 C Nov. 24, 2017, 1:45 a.m. OK GNU C TESTS 48 15 1843200 1500
32608304 wcy1122 C Nov. 24, 2017, 1:44 a.m. OK GNU C TESTS 48 15 1843200 1500
32575352 vjudge1 C Nov. 23, 2017, 12:42 p.m. OK GNU C++ TESTS 48 15 0 1500
32556085 Hayes007 C Nov. 22, 2017, 4:05 p.m. OK GNU C++ TESTS 48 15 0 1500
32537617 AC-130H C Nov. 21, 2017, 11:33 p.m. OK GNU C++ TESTS 48 15 0 1500
32528845 litost C Nov. 21, 2017, 2:58 p.m. OK GNU C++ TESTS 48 15 0 1500
32349066 Mstdream C Nov. 16, 2017, 7:15 a.m. OK GNU C++ TESTS 48 15 0 1500
32341972 frandux C Nov. 15, 2017, 9:05 p.m. OK GNU C++ TESTS 48 15 0 1500
32322855 Dmaxiya C Nov. 15, 2017, 2:30 a.m. OK GNU C++ TESTS 48 15 0 1500
32309481 834929914 C Nov. 14, 2017, 11:22 a.m. OK GNU C++ TESTS 48 15 0 1500
32284245 zg940622 C Nov. 13, 2017, 12:44 p.m. OK GNU C++ TESTS 48 15 0 1500
32281293 Scut82 C Nov. 13, 2017, 10:26 a.m. OK GNU C++ TESTS 48 15 0 1500
32033554 Coding_genius C Nov. 3, 2017, 6:27 p.m. OK GNU C11 TESTS 48 15 0 1500
32031475 newbass C Nov. 3, 2017, 6:02 p.m. OK GNU C11 TESTS 48 31 0 1500
32047062 alohamora C Nov. 4, 2017, 8:50 a.m. OK GNU C11 TESTS 48 31 0 1500
32346835 AS8 C Nov. 16, 2017, 4:22 a.m. OK GNU C++11 TESTS 48 15 0 1500
38414912 DaDot.ConLuoi C May 19, 2018, 2:45 a.m. OK GNU C++11 TESTS 48 15 0 1500
32554670 Moaz.e C Nov. 22, 2017, 3:10 p.m. OK GNU C++11 TESTS 48 15 0 1500
32508178 Basselalshayeb C Nov. 20, 2017, 6:12 p.m. OK GNU C++11 TESTS 48 15 0 1500
32431500 LCCCC C Nov. 18, 2017, 12:58 p.m. OK GNU C++11 TESTS 48 15 0 1500
32378380 Howcher_When C Nov. 17, 2017, 12:42 p.m. OK GNU C++11 TESTS 48 15 0 1500
32372843 newgate C Nov. 17, 2017, 8:32 a.m. OK GNU C++11 TESTS 48 15 0 1500
32371311 Everglow C Nov. 17, 2017, 7:07 a.m. OK GNU C++11 TESTS 48 15 0 1500
32331799 yk133 C Nov. 15, 2017, 12:40 p.m. OK GNU C++11 TESTS 48 15 0 1500
32322729 splucs C Nov. 15, 2017, 2:09 a.m. OK GNU C++11 TESTS 48 15 0 1500
64464275 Igor_2017 C Nov. 7, 2019, 11:18 a.m. OK GNU C++14 TESTS 48 15 0 1500
32552653 thienlongtpct C Nov. 22, 2017, 1:58 p.m. OK GNU C++14 TESTS 48 15 0 1500
32546541 ZhihuiLiu C Nov. 22, 2017, 10:12 a.m. OK GNU C++14 TESTS 48 15 0 1500
32530886 NEU_20143717 C Nov. 21, 2017, 4:27 p.m. OK GNU C++14 TESTS 48 15 0 1500
32521747 tianmaoxia C Nov. 21, 2017, 10:13 a.m. OK GNU C++14 TESTS 48 15 0 1500
32521700 tianmaoxia C Nov. 21, 2017, 10:11 a.m. OK GNU C++14 TESTS 48 15 0 1500
32519063 easyhoon C Nov. 21, 2017, 7:58 a.m. OK GNU C++14 TESTS 48 15 0 1500
32553463 Maruf_75 C Nov. 22, 2017, 2:27 p.m. OK GNU C++14 TESTS 48 15 0 1500
50349213 trungvthe130284 C Feb. 23, 2019, 7:47 a.m. OK GNU C++14 TESTS 48 15 0 1500
51872214 manjpatel C March 26, 2019, 5:56 p.m. OK GNU C++14 TESTS 48 15 0 1500
40728780 vjudge3 C July 25, 2018, 6:34 a.m. OK GNU C++17 TESTS 48 15 0 1500
67164113 detele C Dec. 18, 2019, 2:56 p.m. OK GNU C++17 TESTS 48 15 0 1500
56627015 vjudge2 C July 6, 2019, 2:26 p.m. OK GNU C++17 TESTS 48 15 0 1500
53812020 vjudge4 C May 6, 2019, 7:32 a.m. OK GNU C++17 TESTS 48 15 0 1500
56626915 vjudge5 C July 6, 2019, 2:23 p.m. OK GNU C++17 TESTS 48 30 0 1500
56626696 vjudge3 C July 6, 2019, 2:16 p.m. OK GNU C++17 TESTS 48 30 0 1500
55290235 shubhangp5 C June 8, 2019, 7:19 a.m. OK GNU C++17 TESTS 48 30 0 1500
68396792 marksman_ C Jan. 8, 2020, 11:25 a.m. OK GNU C++17 TESTS 48 30 0 1500
58369568 k24 C Aug. 6, 2019, 5:59 a.m. OK GNU C++17 TESTS 48 30 0 1500
57993866 eggag32 C July 30, 2019, 2:17 p.m. OK GNU C++17 TESTS 48 30 0 1500
40740169 makeeit C July 25, 2018, 11:56 a.m. OK GNU C++17 Diagnostics TESTS 48 1060 0 1500
32082372 Lvadislav C Nov. 5, 2017, 7:16 p.m. OK Go TESTS 48 15 204800 1500
32079276 sdolgq2008 C Nov. 5, 2017, 3:14 p.m. OK Go TESTS 48 15 204800 1500
32035223 smalex69 C Nov. 3, 2017, 7:47 p.m. OK Go TESTS 48 15 2150400 1500
32033164 xodiac C Nov. 3, 2017, 6:21 p.m. OK Java 8 TESTS 48 109 0 1500
58852163 TOOWANDER C Aug. 15, 2019, 7:55 a.m. OK Java 8 TESTS 48 124 0 1500
32278361 donli C Nov. 13, 2017, 7:11 a.m. OK Java 8 TESTS 48 124 0 1500
32277565 donli C Nov. 13, 2017, 6:41 a.m. OK Java 8 TESTS 48 124 0 1500
32247066 tafit3 C Nov. 12, 2017, 3:10 p.m. OK Java 8 TESTS 48 124 0 1500
32104160 alibaba C Nov. 6, 2017, 7:23 p.m. OK Java 8 TESTS 48 124 0 1500
32078233 ZeyadKhattab C Nov. 5, 2017, 2:17 p.m. OK Java 8 TESTS 48 124 0 1500
32070009 Killer45 C Nov. 5, 2017, 7:19 a.m. OK Java 8 TESTS 48 124 0 1500
32046362 StayAwayFromBitches C Nov. 4, 2017, 8:17 a.m. OK Java 8 TESTS 48 124 0 1500
32043258 lovlin C Nov. 4, 2017, 5:43 a.m. OK Java 8 TESTS 48 124 0 1500
32027521 Eva C Nov. 3, 2017, 5:24 p.m. OK JavaScript TESTS 48 31 0 1500
32042369 ldt116 C Nov. 4, 2017, 4:46 a.m. OK Kotlin TESTS 48 124 0 1500
32027721 heat_wave C Nov. 3, 2017, 5:26 p.m. OK Kotlin TESTS 48 155 0 1500
32025330 SlavaG C Nov. 3, 2017, 5:05 p.m. OK Kotlin TESTS 48 155 512000 1500
32023912 NercNews C Nov. 3, 2017, 4:56 p.m. OK Kotlin TESTS 48 156 0 1500
32028222 AymanWizard C Nov. 3, 2017, 5:30 p.m. OK MS C# TESTS 48 46 0 1500
32023897 artsin666 C Nov. 3, 2017, 4:55 p.m. OK MS C# TESTS 48 46 0 1500
32063351 mohsennayyeri C Nov. 4, 2017, 8:37 p.m. OK MS C# TESTS 48 46 102400 1500
32114088 lenguyenhung C Nov. 7, 2017, 9:49 a.m. OK MS C# TESTS 48 46 102400 1500
32058867 og.kostya C Nov. 4, 2017, 4:53 p.m. OK MS C# TESTS 48 46 204800 1500
32176516 cvr_enjoy C Nov. 9, 2017, 5:45 p.m. OK MS C# TESTS 48 61 0 1500
32788234 m1_k3 C Nov. 29, 2017, 6:37 p.m. OK MS C# TESTS 48 61 11673600 1500
32109707 TaHuynhTin C Nov. 7, 2017, 4:33 a.m. OK MS C# TESTS 48 62 204800 1500
32154382 azukun C Nov. 9, 2017, 9:46 a.m. OK MS C# TESTS 48 62 2560000 1500
32113287 fr0st C Nov. 7, 2017, 8:56 a.m. OK MS C# TESTS 48 62 2560000 1500
32184357 HasegawaNanako C Nov. 10, 2017, 2:19 a.m. OK MS C++ TESTS 48 15 0 1500
32406237 FireBlaze C Nov. 17, 2017, 4:48 p.m. OK MS C++ TESTS 48 15 0 1500
32293064 shalteor C Nov. 13, 2017, 7:33 p.m. OK MS C++ TESTS 48 15 0 1500
32270808 godthink0 C Nov. 12, 2017, 7:06 p.m. OK MS C++ TESTS 48 15 0 1500
32189821 a19160293 C Nov. 10, 2017, 9:09 a.m. OK MS C++ TESTS 48 15 0 1500
32114207 Artem84 C Nov. 7, 2017, 9:55 a.m. OK MS C++ TESTS 48 15 0 1500
32040987 XayK C Nov. 4, 2017, 2:57 a.m. OK MS C++ TESTS 48 15 0 1500
32037375 Twice C Nov. 3, 2017, 9:19 p.m. OK MS C++ TESTS 48 15 0 1500
32033230 almogwald C Nov. 3, 2017, 6:22 p.m. OK MS C++ TESTS 48 15 0 1500
32032392 O_Ramanujan C Nov. 3, 2017, 6:11 p.m. OK MS C++ TESTS 48 15 0 1500
52641843 park780172 C April 12, 2019, 12:49 p.m. OK MS C++ 2017 TESTS 48 31 0 1500
68006807 iloveori C Dec. 31, 2019, 1:36 p.m. OK MS C++ 2017 TESTS 48 31 307200 1500
32023740 Akulyat C Nov. 3, 2017, 4:54 p.m. OK PascalABC.NET TESTS 48 46 102400 1500
32094828 rsFalse C Nov. 6, 2017, noon OK Perl TESTS 48 31 0 1500
32095956 rsFalse C Nov. 6, 2017, 12:47 p.m. OK Perl TESTS 48 31 0 1500
32095475 rsFalse C Nov. 6, 2017, 12:28 p.m. OK Perl TESTS 48 31 0 1500
32032770 rsFalse C Nov. 3, 2017, 6:16 p.m. OK Perl TESTS 48 46 204800 1500
32056578 mayakin C Nov. 4, 2017, 2:55 p.m. OK PHP TESTS 48 46 512000 1500
32030590 GTmac C Nov. 3, 2017, 5:53 p.m. OK PyPy 2 TESTS 48 62 0 1500
32027433 itolstikhin C Nov. 3, 2017, 5:23 p.m. OK PyPy 2 TESTS 48 62 0 1500
32026397 sragavan C Nov. 3, 2017, 5:13 p.m. OK PyPy 2 TESTS 48 62 0 1500
32037788 fortmax120 C Nov. 3, 2017, 9:44 p.m. OK PyPy 2 TESTS 48 62 0 1500
32044611 unused C Nov. 4, 2017, 6:52 a.m. OK PyPy 2 TESTS 48 62 0 1500
32038162 fortmax120 C Nov. 3, 2017, 10:13 p.m. OK PyPy 2 TESTS 48 77 0 1500
32233737 aShadow C Nov. 12, 2017, 3:17 a.m. OK PyPy 2 TESTS 48 77 0 1500
32042423 abhigyank C Nov. 4, 2017, 4:50 a.m. OK PyPy 2 TESTS 48 77 0 1500
32027639 geek_geek C Nov. 3, 2017, 5:26 p.m. OK PyPy 2 TESTS 48 77 0 1500
32071881 ManasG C Nov. 5, 2017, 9:14 a.m. OK PyPy 2 TESTS 48 217 7680000 1500
32200649 bagar0x60 C Nov. 10, 2017, 4:36 p.m. OK PyPy 3 TESTS 48 108 307200 1500
32031747 dezdichado C Nov. 3, 2017, 6:04 p.m. OK PyPy 3 TESTS 48 109 307200 1500
32031369 Parag12 C Nov. 3, 2017, 6 p.m. OK PyPy 3 TESTS 48 109 307200 1500
46372394 g13 C Nov. 29, 2018, 4:34 p.m. OK PyPy 3 TESTS 48 124 204800 1500
32025328 Naoki_M C Nov. 3, 2017, 5:05 p.m. OK PyPy 3 TESTS 48 124 307200 1500
32108368 CyberZHG C Nov. 7, 2017, 1:54 a.m. OK PyPy 3 TESTS 48 124 1126400 1500
52290499 Stephan C April 4, 2019, 12:56 a.m. OK PyPy 3 TESTS 48 140 0 1500
51224132 chielo C March 12, 2019, 1:30 p.m. OK PyPy 3 TESTS 48 140 0 1500
68327075 galim665 C Jan. 6, 2020, 5:16 p.m. OK PyPy 3 TESTS 48 155 0 1500
32029212 peter.alexeev C Nov. 3, 2017, 5:40 p.m. OK Python 2 TESTS 48 61 409600 1500
32247186 mhorst C Nov. 12, 2017, 3:16 p.m. OK Python 2 TESTS 48 62 0 1500
32136025 Tconan C Nov. 8, 2017, 10:06 a.m. OK Python 2 TESTS 48 62 0 1500
32081722 EoinDavey C Nov. 5, 2017, 6:27 p.m. OK Python 2 TESTS 48 62 0 1500
32052365 MathisHammel C Nov. 4, 2017, 12:12 p.m. OK Python 2 TESTS 48 62 0 1500
32031875 skbly7 C Nov. 3, 2017, 6:06 p.m. OK Python 2 TESTS 48 62 0 1500
32031482 wangkan2001 C Nov. 3, 2017, 6:02 p.m. OK Python 2 TESTS 48 62 0 1500
32030227 liux0696 C Nov. 3, 2017, 5:50 p.m. OK Python 2 TESTS 48 62 0 1500
32023839 nwi C Nov. 3, 2017, 4:55 p.m. OK Python 2 TESTS 48 62 0 1500
32020270 songzy12 C Nov. 3, 2017, 4:33 p.m. OK Python 2 TESTS 48 62 0 1500
32064006 Crazzy_ C Nov. 4, 2017, 9:21 p.m. OK Python 3 TESTS 48 61 0 1500
32504686 Jiburiru C Nov. 20, 2017, 3:43 p.m. OK Python 3 TESTS 48 62 0 1500
32202256 genocid C Nov. 10, 2017, 5:46 p.m. OK Python 3 TESTS 48 62 0 1500
32179883 s_p C Nov. 9, 2017, 7:24 p.m. OK Python 3 TESTS 48 62 0 1500
32157649 steckel C Nov. 9, 2017, 12:32 p.m. OK Python 3 TESTS 48 62 0 1500
32144483 Mad_screwdriver C Nov. 8, 2017, 6:28 p.m. OK Python 3 TESTS 48 62 0 1500
32098054 SamuelLH C Nov. 6, 2017, 2:16 p.m. OK Python 3 TESTS 48 62 0 1500
32076605 DASmirnov C Nov. 5, 2017, 12:58 p.m. OK Python 3 TESTS 48 62 0 1500
32071422 hell_is_here C Nov. 5, 2017, 8:44 a.m. OK Python 3 TESTS 48 62 0 1500
32064782 DmitryGrigorev C Nov. 4, 2017, 10:37 p.m. OK Python 3 TESTS 48 62 0 1500
32038926 majali C Nov. 3, 2017, 11:25 p.m. OK Ruby TESTS 48 62 0 1500
32031979 zenny C Nov. 3, 2017, 6:07 p.m. OK Ruby TESTS 48 62 102400 1500
32024853 refle C Nov. 3, 2017, 5:02 p.m. OK Ruby TESTS 48 62 102400 1500
32027267 fine_ C Nov. 3, 2017, 5:22 p.m. OK Ruby TESTS 48 124 102400 1500
32206166 odomontois C Nov. 10, 2017, 9:14 p.m. OK Rust TESTS 48 15 0 1500
32030701 hatoo C Nov. 3, 2017, 5:54 p.m. OK Rust TESTS 48 15 0 1500
32095811 Hillmouse C Nov. 6, 2017, 12:42 p.m. OK Rust TESTS 48 31 0 1500

remove filters

Back to search problems