Educational Codeforces Round 124 (Rated for 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
1651 Educational Codeforces Round 124 (Rated for Div. 2) FINISHED False 7200 90343463 March 10, 2022, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 25864 ) A Playoff PROGRAMMING implementation

B"Consider a playoff tournament where 2^n athletes compete. The athletes are numbered from 1 to 2^n . The tournament is held in n stages. In each stage, the athletes are split into pairs in such a way that each athlete belongs exactly to one pair. In each pair, the athletes compete against each other, and exactly one of them wins. The winner of each pair advances to the next stage, the athlete who was defeated gets eliminated from the tournament. The pairs are formed as follows: When athletes x and y compete, the winner is decided as follows: The following picture describes the way the tournament with n = 3 goes. Your task is the following one: given the integer n , determine the index of the athlete who wins the tournament. The first line contains one integer t ( 1 <= t <= 30 ) -- the number of test cases. Each test case consists of one line containing one integer n ( 1 <= n <= 30 ). For each test case, print one integer -- the index of the winner of the tournament. The case n = 3 is shown in the picture from the statement. If n = 1 , then there's only one match between athletes 1 and 2 . Since 1 + 2 = 3 is an odd number, the athlete with the lower index wins. So, the athlete 1 is the winner. "...

Tutorials

Educational Codeforces Round 124 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
149208120 HarshGolchha A March 11, 2022, 4:19 a.m. OK Clang++17 Diagnostics TESTS 4 15 0
149177641 heshamrashid4 A March 10, 2022, 5:29 p.m. OK Clang++17 Diagnostics TESTS 3 30 0
149179386 Priyanshuiiitg A March 10, 2022, 5:45 p.m. OK GNU C11 TESTS 3 0 0
149196392 Skocimis A March 10, 2022, 10:52 p.m. OK GNU C11 TESTS 4 15 0
149198827 fahim_7272 A March 11, 2022, 12:41 a.m. OK GNU C11 TESTS 4 15 0
149201987 pracacc123 A March 11, 2022, 2:16 a.m. OK GNU C11 TESTS 4 15 0
149211187 mhussain20324 A March 11, 2022, 5:08 a.m. OK GNU C11 TESTS 4 15 0
149171501 abdur52 A March 10, 2022, 4:42 p.m. OK GNU C11 TESTS 3 15 0
149179007 Tasbeh A March 10, 2022, 5:41 p.m. OK GNU C11 TESTS 3 15 0
149172347 muratmurat A March 10, 2022, 4:47 p.m. OK GNU C11 TESTS 3 15 0
149166009 yanshengcun A March 10, 2022, 4:28 p.m. OK GNU C11 TESTS 3 15 0
149190150 tejadoredla A March 10, 2022, 8:14 p.m. OK GNU C11 TESTS 3 15 0
149212683 kd83 A March 11, 2022, 5:28 a.m. OK GNU C++14 TESTS 4 0 0
149212607 timepasser00 A March 11, 2022, 5:27 a.m. OK GNU C++14 TESTS 4 0 0
149211792 ryanright A March 11, 2022, 5:16 a.m. OK GNU C++14 TESTS 4 0 0
149211785 Lotuses A March 11, 2022, 5:16 a.m. OK GNU C++14 TESTS 4 0 0
149214354 challenger1229 A March 11, 2022, 5:51 a.m. OK GNU C++14 TESTS 4 0 0
149214201 pitUuu A March 11, 2022, 5:49 a.m. OK GNU C++14 TESTS 4 0 0
149214021 Shubh08am A March 11, 2022, 5:46 a.m. OK GNU C++14 TESTS 4 0 0
149213614 Vaibhav_29 A March 11, 2022, 5:41 a.m. OK GNU C++14 TESTS 4 0 0
149213370 aman_5311 A March 11, 2022, 5:37 a.m. OK GNU C++14 TESTS 4 0 0
149213047 StarryLee A March 11, 2022, 5:33 a.m. OK GNU C++14 TESTS 4 0 0
149213658 return--1 A March 11, 2022, 5:42 a.m. OK GNU C++17 TESTS 4 0 0
149214846 sparsh2002 A March 11, 2022, 5:57 a.m. OK GNU C++17 TESTS 4 0 0
149214896 JustAsMohmedAyman A March 11, 2022, 5:58 a.m. OK GNU C++17 TESTS 4 0 0
149214947 Swahim A March 11, 2022, 5:58 a.m. OK GNU C++17 TESTS 4 0 0
149214719 rfhbvkexibq A March 11, 2022, 5:55 a.m. OK GNU C++17 TESTS 4 0 0
149214428 Shejuti_Binte_Feroz A March 11, 2022, 5:52 a.m. OK GNU C++17 TESTS 4 0 0
149214078 IamAbhi12 A March 11, 2022, 5:47 a.m. OK GNU C++17 TESTS 4 0 0
149214008 Algorithm-Inator A March 11, 2022, 5:46 a.m. OK GNU C++17 TESTS 4 0 0
149213826 Mr.Stark20 A March 11, 2022, 5:44 a.m. OK GNU C++17 TESTS 4 0 0
149213761 Mashijams A March 11, 2022, 5:43 a.m. OK GNU C++17 TESTS 4 0 0
149204314 zzhrnoicansolve A March 11, 2022, 3:08 a.m. OK GNU C++17 (64) TESTS 4 0 0
149212153 DenisStrum A March 11, 2022, 5:20 a.m. OK GNU C++17 (64) TESTS 4 0 0
149211277 mashed_aloo A March 11, 2022, 5:09 a.m. OK GNU C++17 (64) TESTS 4 0 0
149207764 prachi237 A March 11, 2022, 4:13 a.m. OK GNU C++17 (64) TESTS 4 0 0
149206170 kingshukroy A March 11, 2022, 3:45 a.m. OK GNU C++17 (64) TESTS 4 0 0
149204285 LAB A March 11, 2022, 3:08 a.m. OK GNU C++17 (64) TESTS 4 0 0
149203250 slow_hare A March 11, 2022, 2:47 a.m. OK GNU C++17 (64) TESTS 4 0 0
149201923 Messywind A March 11, 2022, 2:14 a.m. OK GNU C++17 (64) TESTS 4 0 0
149201826 MHAII A March 11, 2022, 2:12 a.m. OK GNU C++17 (64) TESTS 4 0 0
149201268 Time_JYF A March 11, 2022, 1:57 a.m. OK GNU C++17 (64) TESTS 4 0 0
149208559 Martinpatel A March 11, 2022, 4:27 a.m. OK GNU C++20 (64) TESTS 4 0 0
149210082 Raj_Aditya A March 11, 2022, 4:51 a.m. OK GNU C++20 (64) TESTS 4 0 0
149210233 darkcoder_347 A March 11, 2022, 4:54 a.m. OK GNU C++20 (64) TESTS 4 0 0
149210600 nikhilsh20 A March 11, 2022, 4:59 a.m. OK GNU C++20 (64) TESTS 4 0 0
149211468 YumeMinami A March 11, 2022, 5:11 a.m. OK GNU C++20 (64) TESTS 4 0 0
149211956 suryakantpandey A March 11, 2022, 5:18 a.m. OK GNU C++20 (64) TESTS 4 0 0
149213557 Enigma_52 A March 11, 2022, 5:40 a.m. OK GNU C++20 (64) TESTS 4 0 0
149213936 coder_Gajendra A March 11, 2022, 5:45 a.m. OK GNU C++20 (64) TESTS 4 0 0
149213973 Zrian A March 11, 2022, 5:46 a.m. OK GNU C++20 (64) TESTS 4 0 0
149214391 sauahrdsrivastava A March 11, 2022, 5:51 a.m. OK GNU C++20 (64) TESTS 4 0 0
149197707 mballen1 A March 10, 2022, 11:59 p.m. OK Go TESTS 4 15 102400
149180159 pothyne A March 10, 2022, 5:54 p.m. OK Java 11 TESTS 3 139 0
149193708 Plums A March 10, 2022, 9:30 p.m. OK Java 11 TESTS 3 139 0
149179012 akashkumarkly A March 10, 2022, 5:41 p.m. OK Java 11 TESTS 3 140 0
149185927 pras7946 A March 10, 2022, 7:06 p.m. OK Java 11 TESTS 3 140 0
149184091 Aaryendra A March 10, 2022, 6:40 p.m. OK Java 11 TESTS 3 140 0
149179563 MubtasimShahriar A March 10, 2022, 5:47 p.m. OK Java 11 TESTS 3 140 0
149178885 guptadeepak46474 A March 10, 2022, 5:39 p.m. OK Java 11 TESTS 3 140 0
149178402 guptadeepak46474 A March 10, 2022, 5:34 p.m. OK Java 11 TESTS 3 140 0
149173913 Spidey2182 A March 10, 2022, 4:57 p.m. OK Java 11 TESTS 3 140 0
149171547 rabbitNrabbit A March 10, 2022, 4:43 p.m. OK Java 11 TESTS 3 140 0
149178152 aries.pratyush A March 10, 2022, 5:32 p.m. OK Java 8 TESTS 3 62 0
149196845 Clasker A March 10, 2022, 11:28 p.m. OK Java 8 TESTS 4 77 0
149175211 gagan_6730 A March 10, 2022, 5:07 p.m. OK Java 8 TESTS 3 77 0
149172052 kocko A March 10, 2022, 4:45 p.m. OK Java 8 TESTS 3 78 0
149212368 ashutosh_patel A March 11, 2022, 5:23 a.m. OK Java 8 TESTS 4 78 0
149210529 KhadijaBadrawy A March 11, 2022, 4:58 a.m. OK Java 8 TESTS 4 78 0
149174233 temp98 A March 10, 2022, 5 p.m. OK Java 8 TESTS 3 78 0
149175437 laila0 A March 10, 2022, 5:09 p.m. OK Java 8 TESTS 3 93 0
149199945 Misaki0112 A March 11, 2022, 1:17 a.m. OK Java 8 TESTS 4 93 0
149175917 rdinda A March 10, 2022, 5:13 p.m. OK Java 8 TESTS 3 93 0
149202999 abhi.agr A March 11, 2022, 2:42 a.m. OK Kotlin 1.5 TESTS 4 156 0
149181685 GeraltLUL A March 10, 2022, 6:10 p.m. OK MS C++ 2017 TESTS 3 0 0
149186538 temur_sherov A March 10, 2022, 7:15 p.m. OK MS C++ 2017 TESTS 3 0 0
149177600 MiserableWisdom A March 10, 2022, 5:28 p.m. OK MS C++ 2017 TESTS 3 0 0
149175556 JustasIsTaken A March 10, 2022, 5:10 p.m. OK MS C++ 2017 TESTS 3 0 0
149173032 Fowg A March 10, 2022, 4:51 p.m. OK MS C++ 2017 TESTS 3 0 0
149172736 zuev93 A March 10, 2022, 4:50 p.m. OK MS C++ 2017 TESTS 3 0 0
149172570 Lynx_lynx A March 10, 2022, 4:49 p.m. OK MS C++ 2017 TESTS 3 0 0
149171536 coicy A March 10, 2022, 4:43 p.m. OK MS C++ 2017 TESTS 3 0 0
149164747 weallxz A March 10, 2022, 4:25 p.m. OK MS C++ 2017 TESTS 3 0 0
149189163 mahmoud_saad A March 10, 2022, 7:57 p.m. OK MS C++ 2017 TESTS 3 15 0
149194700 bluemegane A March 10, 2022, 9:59 p.m. OK .NET Core C# TESTS 3 140 0
149196566 Skocimis A March 10, 2022, 10:59 p.m. OK Node.js TESTS 4 46 102400
149196610 Skocimis A March 10, 2022, 11:01 p.m. OK Node.js TESTS 4 61 102400
149180268 sksshivam007 A March 10, 2022, 5:55 p.m. OK PyPy 2 TESTS 3 61 307200
149175887 definisto A March 10, 2022, 5:13 p.m. OK PyPy 3 TESTS 3 61 0
149181130 michael.g.pan A March 10, 2022, 6:04 p.m. OK PyPy 3 TESTS 3 61 0
149178170 YouCanCallMeNoob A March 10, 2022, 5:32 p.m. OK PyPy 3 TESTS 3 62 0
149192737 navjordj A March 10, 2022, 9:05 p.m. OK PyPy 3 TESTS 3 62 0
149176438 Girniiiii A March 10, 2022, 5:17 p.m. OK PyPy 3 TESTS 3 62 0
149175306 andriy.borzenkov A March 10, 2022, 5:08 p.m. OK PyPy 3 TESTS 3 62 0
149173746 revant_t A March 10, 2022, 4:56 p.m. OK PyPy 3 TESTS 3 62 0
149207836 gkc_chaitu A March 11, 2022, 4:14 a.m. OK PyPy 3 TESTS 4 77 0
149180430 feelme A March 10, 2022, 5:57 p.m. OK PyPy 3 TESTS 3 77 0
149175246 mrdatamx A March 10, 2022, 5:08 p.m. OK PyPy 3 TESTS 3 77 0
149195804 radoan.sharkar.richi A March 10, 2022, 10:32 p.m. OK PyPy 3-64 TESTS 3 31 0
149212935 PHNPR A March 11, 2022, 5:31 a.m. OK PyPy 3-64 TESTS 4 46 0
149212184 aayush_chhabra A March 11, 2022, 5:21 a.m. OK PyPy 3-64 TESTS 4 46 0
149208786 Kidding_Ma A March 11, 2022, 4:31 a.m. OK PyPy 3-64 TESTS 4 46 0
149206623 rivnam A March 11, 2022, 3:53 a.m. OK PyPy 3-64 TESTS 4 46 0
149205339 gianghia2209 A March 11, 2022, 3:29 a.m. OK PyPy 3-64 TESTS 4 46 0
149203878 MHAII A March 11, 2022, 3 a.m. OK PyPy 3-64 TESTS 4 46 0
149201231 bogoconic1 A March 11, 2022, 1:56 a.m. OK PyPy 3-64 TESTS 4 46 0
149199374 nathan4690 A March 11, 2022, 12:58 a.m. OK PyPy 3-64 TESTS 4 46 0
149195657 radoan.sharkar.richi A March 10, 2022, 10:27 p.m. OK PyPy 3-64 TESTS 3 46 0
149165384 yashasvi_bora A March 10, 2022, 4:27 p.m. OK Python 2 TESTS 3 31 0
149182697 Ele_1 A March 10, 2022, 6:22 p.m. OK Python 3 TESTS 3 15 0
149180640 I_Love_Someone A March 10, 2022, 5:59 p.m. OK Python 3 TESTS 3 15 0
149179715 lokanadh_reddy A March 10, 2022, 5:49 p.m. OK Python 3 TESTS 3 15 0
149169758 shishir_basavaraju A March 10, 2022, 4:34 p.m. OK Python 3 TESTS 3 15 0
149163991 kritikasinha256 A March 10, 2022, 4:23 p.m. OK Python 3 TESTS 3 15 0
149210718 an1m3sh A March 11, 2022, 5:01 a.m. OK Python 3 TESTS 4 30 0
149197177 sr3gm A March 10, 2022, 11:38 p.m. OK Python 3 TESTS 4 30 0
149209659 nabovtl A March 11, 2022, 4:45 a.m. OK Python 3 TESTS 4 30 0
149209189 Pasupathy_techy A March 11, 2022, 4:38 a.m. OK Python 3 TESTS 4 30 0
149207730 sayanh2 A March 11, 2022, 4:12 a.m. OK Python 3 TESTS 4 30 0

remove filters

Back to search problems