Codeforces Round 747 (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
1594 Codeforces Round 747 (Div. 2) FINISHED False 8100 98117699 Oct. 8, 2021, 3:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 11239 ) E1 Rubik's Cube Coloring (easy version) PROGRAMMING combinatorics math 1300

B"It is the easy version of the problem. The difference is that in this version, there are no nodes with already chosen colors. Theofanis is starving, and he wants to eat his favorite food, sheftalia. However, he should first finish his homework. Can you help him with this problem? You have a perfect binary tree of 2^k - 1 nodes -- a binary tree where all vertices i from 1 to 2^{k - 1} - 1 have exactly two children: vertices 2i and 2i + 1 . Vertices from 2^{k - 1} to 2^k - 1 don't have any children. You want to color its vertices with the 6 Rubik's cube colors (White, Green, Red, Blue, Orange and Yellow). Let's call a coloring good when all edges connect nodes with colors that are neighboring sides in the Rubik's cube. More formally: You want to calculate the number of the good colorings of the binary tree. Two colorings are considered different if at least one node is colored with a different color. The answer may be too large, so output the answer modulo 10^9+7 . The first and only line contains the integers k ( 1 <= k <= 60 ) -- the number of levels in the perfect binary tree you need to color. Print one integer -- the number of the different colorings modulo 10^9+7 . In the picture below, you can see one of the correct colorings of the first example. "...

Tutorials

95525

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
131229670 cyrus_msk E1 Oct. 8, 2021, 5:17 p.m. OK D TESTS 14 15 4710400 1300
131226183 KrowK1ng E1 Oct. 8, 2021, 5:07 p.m. OK GNU C11 TESTS 14 15 3686400 1300
131233045 milan_s1 E1 Oct. 8, 2021, 5:58 p.m. OK GNU C11 TESTS 14 15 3686400 1300
131248182 rajsrivastava E1 Oct. 8, 2021, 9:35 p.m. OK GNU C++14 TESTS 14 0 3686400 1300
131232732 Synthra E1 Oct. 8, 2021, 5:57 p.m. OK GNU C++14 TESTS 14 0 3788800 1300
131265370 wWwWw233 E1 Oct. 9, 2021, 3:35 a.m. OK GNU C++14 TESTS 14 0 3788800 1300
131245723 abhiiim E1 Oct. 8, 2021, 8:36 p.m. OK GNU C++14 TESTS 14 0 5324800 1300
131266424 cslg093119122 E1 Oct. 9, 2021, 3:55 a.m. OK GNU C++14 TESTS 14 15 3686400 1300
131266271 zlaa2889827787 E1 Oct. 9, 2021, 3:52 a.m. OK GNU C++14 TESTS 14 15 3686400 1300
131265546 lpf666 E1 Oct. 9, 2021, 3:38 a.m. OK GNU C++14 TESTS 14 15 3686400 1300
131265419 sunil1906 E1 Oct. 9, 2021, 3:36 a.m. OK GNU C++14 TESTS 14 15 3686400 1300
131267473 Noob2310 E1 Oct. 9, 2021, 4:14 a.m. OK GNU C++14 TESTS 14 15 3686400 1300
131264590 luogu_bot1 E1 Oct. 9, 2021, 3:20 a.m. OK GNU C++14 TESTS 14 15 3686400 1300
131245459 iamsahil_2703 E1 Oct. 8, 2021, 8:31 p.m. OK GNU C++17 TESTS 14 0 0 1300
131269472 f7f7f7f7f7 E1 Oct. 9, 2021, 4:43 a.m. OK GNU C++17 TESTS 14 0 3788800 1300
131255259 Timrss E1 Oct. 9, 2021, 1:42 a.m. OK GNU C++17 TESTS 14 0 3788800 1300
131272967 TheLoneWolf12 E1 Oct. 9, 2021, 5:31 a.m. OK GNU C++17 TESTS 14 15 0 1300
131273353 Deepraj99 E1 Oct. 9, 2021, 5:36 a.m. OK GNU C++17 TESTS 14 15 3686400 1300
131272933 NickShingne13 E1 Oct. 9, 2021, 5:31 a.m. OK GNU C++17 TESTS 14 15 3686400 1300
131271586 ZincJ E1 Oct. 9, 2021, 5:14 a.m. OK GNU C++17 TESTS 14 15 3686400 1300
131270343 YeeBy E1 Oct. 9, 2021, 4:56 a.m. OK GNU C++17 TESTS 14 15 3686400 1300
131269779 Ankit_iit_ism E1 Oct. 9, 2021, 4:47 a.m. OK GNU C++17 TESTS 14 15 3686400 1300
131269644 Adith082 E1 Oct. 9, 2021, 4:45 a.m. OK GNU C++17 TESTS 14 15 3686400 1300
131232923 ak10rn E1 Oct. 8, 2021, 5:57 p.m. OK GNU C++17 (64) TESTS 14 0 4300800 1300
131275074 scau_y E1 Oct. 9, 2021, 5:54 a.m. OK GNU C++17 (64) TESTS 14 15 4300800 1300
131274882 s1062217 E1 Oct. 9, 2021, 5:52 a.m. OK GNU C++17 (64) TESTS 14 15 4300800 1300
131274828 s1062217 E1 Oct. 9, 2021, 5:51 a.m. OK GNU C++17 (64) TESTS 14 15 4300800 1300
131273985 QLU_LXL E1 Oct. 9, 2021, 5:42 a.m. OK GNU C++17 (64) TESTS 14 15 4300800 1300
131273711 lifehappiness E1 Oct. 9, 2021, 5:40 a.m. OK GNU C++17 (64) TESTS 14 15 4300800 1300
131272503 Meul E1 Oct. 9, 2021, 5:25 a.m. OK GNU C++17 (64) TESTS 14 15 4300800 1300
131271733 rum3r E1 Oct. 9, 2021, 5:16 a.m. OK GNU C++17 (64) TESTS 14 15 4300800 1300
131271550 AnACPlease E1 Oct. 9, 2021, 5:14 a.m. OK GNU C++17 (64) TESTS 14 15 4300800 1300
131275168 __TLE__ E1 Oct. 9, 2021, 5:55 a.m. OK GNU C++17 (64) TESTS 14 15 4300800 1300
131243724 siva03 E1 Oct. 8, 2021, 7:59 p.m. OK Java 11 TESTS 14 170 23756800 1300
131236469 vipulm7 E1 Oct. 8, 2021, 6:25 p.m. OK Java 11 TESTS 14 170 23756800 1300
131243986 adarsh_goku E1 Oct. 8, 2021, 8:04 p.m. OK Java 11 TESTS 14 170 23756800 1300
131246635 Toinfinity E1 Oct. 8, 2021, 8:57 p.m. OK Java 11 TESTS 14 171 23756800 1300
131240012 dhruvil_01 E1 Oct. 8, 2021, 7:02 p.m. OK Java 11 TESTS 14 171 23756800 1300
131235408 nikkkhilshinde E1 Oct. 8, 2021, 6:15 p.m. OK Java 11 TESTS 14 171 23756800 1300
131271851 BiggEr. E1 Oct. 9, 2021, 5:17 a.m. OK Java 11 TESTS 14 171 23756800 1300
131263006 mayank190801 E1 Oct. 9, 2021, 2:51 a.m. OK Java 11 TESTS 14 171 23756800 1300
131266078 DedsecKnight E1 Oct. 9, 2021, 3:48 a.m. OK Java 11 TESTS 14 171 24064000 1300
131269809 Dcoder123 E1 Oct. 9, 2021, 4:48 a.m. OK Java 11 TESTS 14 186 23756800 1300
131244343 RonWonWon E1 Oct. 8, 2021, 8:10 p.m. OK Java 8 TESTS 14 93 20275200 1300
131240564 smahajan54842 E1 Oct. 8, 2021, 7:10 p.m. OK Java 8 TESTS 14 93 20275200 1300
131267620 harsh_it E1 Oct. 9, 2021, 4:17 a.m. OK Java 8 TESTS 14 108 20275200 1300
131249426 altik_nik E1 Oct. 8, 2021, 10:15 p.m. OK Java 8 TESTS 14 108 20275200 1300
131243124 Adi_7861 E1 Oct. 8, 2021, 7:49 p.m. OK Java 8 TESTS 14 108 20275200 1300
131273647 aashay_03 E1 Oct. 9, 2021, 5:39 a.m. OK Java 8 TESTS 14 108 20275200 1300
131240844 omar_mohammed E1 Oct. 8, 2021, 7:14 p.m. OK Java 8 TESTS 14 108 20275200 1300
131240239 Raj_Rawat E1 Oct. 8, 2021, 7:05 p.m. OK Java 8 TESTS 14 109 20275200 1300
131263982 SpargelTarzan E1 Oct. 9, 2021, 3:09 a.m. OK Java 8 TESTS 14 109 20275200 1300
131234893 pras7946 E1 Oct. 8, 2021, 6:11 p.m. OK Java 8 TESTS 14 109 20275200 1300
131244040 Bisquito E1 Oct. 8, 2021, 8:05 p.m. OK Kotlin 1.4 TESTS 14 108 20377600 1300
131248984 paulmis E1 Oct. 8, 2021, 10 p.m. OK MS C++ 2017 TESTS 14 15 3686400 1300
131227675 Schullz E1 Oct. 8, 2021, 5:12 p.m. OK MS C++ 2017 TESTS 14 15 3788800 1300
131259589 guud222 E1 Oct. 9, 2021, 2:15 a.m. OK MS C++ 2017 TESTS 14 15 3788800 1300
131239983 NASOCHEC E1 Oct. 8, 2021, 7:02 p.m. OK MS C++ 2017 TESTS 14 15 3788800 1300
131235445 Yuno_Gasai E1 Oct. 8, 2021, 6:16 p.m. OK MS C++ 2017 TESTS 14 15 3788800 1300
131226992 pouiytr E1 Oct. 8, 2021, 5:10 p.m. OK MS C++ 2017 TESTS 14 15 3788800 1300
131230985 Eldies E1 Oct. 8, 2021, 5:19 p.m. OK MS C++ 2017 TESTS 14 30 3788800 1300
131226226 C32 E1 Oct. 8, 2021, 5:08 p.m. OK MS C++ 2017 TESTS 14 30 3788800 1300
131239330 UnHingedFrog E1 Oct. 8, 2021, 6:53 p.m. OK MS C++ 2017 TESTS 14 31 3788800 1300
131244156 Damirca E1 Oct. 8, 2021, 8:07 p.m. OK MS C++ 2017 TESTS 14 31 3788800 1300
131264426 Marshall_Lee E1 Oct. 9, 2021, 3:17 a.m. OK .NET Core C# TESTS 14 77 11161600 1300
131265410 nabovtl E1 Oct. 9, 2021, 3:36 a.m. OK PyPy 3 TESTS 14 77 20172800 1300
131251294 freakbuoyancy E1 Oct. 8, 2021, 11:35 p.m. OK PyPy 3 TESTS 14 77 20172800 1300
131228021 THE_LION E1 Oct. 8, 2021, 5:13 p.m. OK PyPy 3 TESTS 14 77 20172800 1300
131226887 tranductri2003 E1 Oct. 8, 2021, 5:09 p.m. OK PyPy 3 TESTS 14 77 20172800 1300
131245437 jano31415 E1 Oct. 8, 2021, 8:30 p.m. OK PyPy 3 TESTS 14 78 20172800 1300
131233168 tooreys E1 Oct. 8, 2021, 5:58 p.m. OK PyPy 3 TESTS 14 92 20172800 1300
131248024 lebron87 E1 Oct. 8, 2021, 9:31 p.m. OK PyPy 3 TESTS 14 92 20275200 1300
131272676 iimmortal E1 Oct. 9, 2021, 5:28 a.m. OK PyPy 3 TESTS 14 93 20172800 1300
131268930 tearing E1 Oct. 9, 2021, 4:36 a.m. OK PyPy 3 TESTS 14 93 20172800 1300
131247394 SwapT087 E1 Oct. 8, 2021, 9:14 p.m. OK PyPy 3 TESTS 14 93 20172800 1300
131241667 D_Dima E1 Oct. 8, 2021, 7:27 p.m. OK Python 3 TESTS 14 46 6758400 1300
131230490 jellllll E1 Oct. 8, 2021, 5:18 p.m. OK Python 3 TESTS 14 46 6758400 1300
131228987 kausar_ahamed E1 Oct. 8, 2021, 5:15 p.m. OK Python 3 TESTS 14 46 6758400 1300
131228827 HUE_Sc E1 Oct. 8, 2021, 5:15 p.m. OK Python 3 TESTS 14 46 6758400 1300
131228676 Chris132 E1 Oct. 8, 2021, 5:14 p.m. OK Python 3 TESTS 14 46 6758400 1300
131225367 its_AK E1 Oct. 8, 2021, 5:05 p.m. OK Python 3 TESTS 14 46 6758400 1300
131230169 abhinav_raj07 E1 Oct. 8, 2021, 5:18 p.m. OK Python 3 TESTS 14 46 6963200 1300
131265679 Paritd E1 Oct. 9, 2021, 3:41 a.m. OK Python 3 TESTS 14 46 7168000 1300
131250058 fakesheep E1 Oct. 8, 2021, 10:39 p.m. OK Python 3 TESTS 14 61 6758400 1300
131230711 akshaywairagade2 E1 Oct. 8, 2021, 5:19 p.m. OK Python 3 TESTS 14 61 6758400 1300
131235653 freshnewname E1 Oct. 8, 2021, 6:17 p.m. OK Rust TESTS 14 31 4915200 1300

remove filters

Back to search problems