Educational Codeforces Round 68 (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
1194 Educational Codeforces Round 68 (Rated for Div. 2) FINISHED False 7200 168707699 July 14, 2019, 2:45 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 6590 ) D 1-2-K Game PROGRAMMING games math 1700

B"Alice and Bob play a game. There is a paper strip which is divided into n xe2 x80 x89+ xe2 x80 x891 cells numbered from left to right starting from 0. There is a chip placed in the n-th cell (the last one). Players take turns, Alice is first. Each player during his or her turn has to move the chip 1, 2 or k cells to the left (so, if the chip is currently in the cell i, the player can move it into cell i xe2 x80 x89- xe2 x80 x891, i xe2 x80 x89- xe2 x80 x892 or i xe2 x80 x89- xe2 x80 x89k). The chip should not leave the borders of the paper strip: it is impossible, for example, to move it k cells to the left if the current cell has number i xe2 x80 x89< xe2 x80 x89k. The player who can't make a move loses the game. Who wins if both participants play optimally? Alice and Bob would like to play several games, so you should determine the winner in each game. The first line contains the single integer T (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89T xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100) -- the number of games. Next T lines contain one game per line. All games are independent. Each of the next T lines contains two integers n and k (0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109, 3 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89k xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109) -- the length of the strip and the constant denoting the third move, respectively. For each game, print Alice if Alice wins this game and Bob otherwise. "...

Tutorials

Разбор Educational Codeforces Round 68

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
57099022 coldcolor D July 15, 2019, 1:08 p.m. OK Clang++17 Diagnostics TESTS 18 46 0 1700
57128157 453908766 D July 16, 2019, 5:51 a.m. OK Clang++17 Diagnostics TESTS 18 46 0 1700
57501396 tonegawa D July 22, 2019, 10:19 a.m. OK Clang++17 Diagnostics TESTS 18 62 0 1700
57053279 ruban D July 14, 2019, 4:30 p.m. OK Delphi TESTS 18 31 0 1700
58253105 darkkcyan D Aug. 4, 2019, 8:46 a.m. OK FPC TESTS 18 31 102400 1700
57270956 beAfraid D July 18, 2019, 8:53 a.m. OK GNU C11 TESTS 18 30 0 1700
57159414 Kazak_Nek D July 16, 2019, 6:16 p.m. OK GNU C11 TESTS 18 30 0 1700
57159378 Kazak_Nek D July 16, 2019, 6:15 p.m. OK GNU C11 TESTS 18 31 0 1700
57151832 Alfeh D July 16, 2019, 3:06 p.m. OK GNU C11 TESTS 18 31 0 1700
57795445 ItzABC D July 26, 2019, 11:14 a.m. OK GNU C11 TESTS 18 31 0 1700
57273643 sansen D July 18, 2019, 9:55 a.m. OK GNU C11 TESTS 18 31 0 1700
57049370 DanielixS D July 14, 2019, 4:13 p.m. OK GNU C11 TESTS 18 31 204800 1700
57452243 shbhmgl D July 21, 2019, 10:10 a.m. OK GNU C++11 TESTS 18 15 0 1700
57261764 sakib_muhit D July 18, 2019, 5:33 a.m. OK GNU C++11 TESTS 18 15 0 1700
57257845 huangshun2 D July 18, 2019, 3:17 a.m. OK GNU C++11 TESTS 18 15 0 1700
57124607 CSXiang D July 16, 2019, 3:27 a.m. OK GNU C++11 TESTS 18 15 0 1700
57119976 luogu_bot4 D July 15, 2019, 11:57 p.m. OK GNU C++11 TESTS 18 15 0 1700
57119263 luogu_bot2 D July 15, 2019, 11:08 p.m. OK GNU C++11 TESTS 18 15 0 1700
69444766 luogu_bot5 D Jan. 24, 2020, 1:44 a.m. OK GNU C++11 TESTS 18 15 0 1700
59584869 limabeans D Aug. 27, 2019, 5:34 p.m. OK GNU C++11 TESTS 18 15 0 1700
58834745 JoTaR D Aug. 14, 2019, 8 p.m. OK GNU C++11 TESTS 18 15 0 1700
58339755 zirrtu D Aug. 5, 2019, 12:48 p.m. OK GNU C++11 TESTS 18 15 0 1700
63908761 saikana D Oct. 31, 2019, 7:29 a.m. OK GNU C++14 TESTS 18 15 0 1700
69728069 ltc.groverkss D Jan. 29, 2020, 12:49 p.m. OK GNU C++14 TESTS 18 15 0 1700
69624898 dnpshuser D Jan. 27, 2020, 3:31 p.m. OK GNU C++14 TESTS 18 15 0 1700
68084898 nuclear D Jan. 2, 2020, 3:50 p.m. OK GNU C++14 TESTS 18 15 0 1700
67435701 kanra824 D Dec. 22, 2019, 5:03 p.m. OK GNU C++14 TESTS 18 15 0 1700
67056115 kkty D Dec. 17, 2019, 6:56 a.m. OK GNU C++14 TESTS 18 15 0 1700
66655077 aphrodite_07 D Dec. 11, 2019, 9:48 p.m. OK GNU C++14 TESTS 18 15 0 1700
65936881 tangbinjie D Nov. 29, 2019, 2:57 a.m. OK GNU C++14 TESTS 18 15 0 1700
65922136 Qing_Yang D Nov. 28, 2019, 4:45 p.m. OK GNU C++14 TESTS 18 15 0 1700
64743319 BenW D Nov. 12, 2019, 12:42 p.m. OK GNU C++14 TESTS 18 15 0 1700
65712247 vjudge3 D Nov. 25, 2019, 2:51 p.m. OK GNU C++17 TESTS 18 15 0 1700
65708568 vjudge3 D Nov. 25, 2019, 1:30 p.m. OK GNU C++17 TESTS 18 15 0 1700
65829305 vjudge2 D Nov. 27, 2019, 1:46 p.m. OK GNU C++17 TESTS 18 15 0 1700
66624848 e-taha D Dec. 11, 2019, 8:31 a.m. OK GNU C++17 TESTS 18 15 0 1700
67665650 Apelsinus D Dec. 26, 2019, 5:45 p.m. OK GNU C++17 TESTS 18 15 0 1700
67683067 CanisMajor D Dec. 27, 2019, 7:26 a.m. OK GNU C++17 TESTS 18 15 0 1700
68676500 mahesh3008 D Jan. 12, 2020, 6:54 p.m. OK GNU C++17 TESTS 18 15 0 1700
69005298 IncubatorMan D Jan. 17, 2020, 10:36 p.m. OK GNU C++17 TESTS 18 15 0 1700
69246053 Rahul_cpp D Jan. 21, 2020, 12:56 p.m. OK GNU C++17 TESTS 18 15 0 1700
69482793 walkher8 D Jan. 24, 2020, 6:21 p.m. OK GNU C++17 TESTS 18 15 0 1700
57065193 tkachenko D July 14, 2019, 8:43 p.m. OK Go TESTS 18 31 0 1700
57067184 kirigiri D July 14, 2019, 10:57 p.m. OK Haskell TESTS 18 31 102400 1700
57124103 Tlatoani D July 16, 2019, 3:10 a.m. OK Haskell TESTS 18 46 102400 1700
59136033 xodiac D Aug. 20, 2019, 12:42 p.m. OK Java 8 TESTS 18 109 0 1700
65740758 chojh1222 D Nov. 26, 2019, 10:04 a.m. OK Java 8 TESTS 18 109 0 1700
63274764 IslamTalipovTop D Oct. 24, 2019, 6:19 a.m. OK Java 8 TESTS 18 109 0 1700
59092945 beginner420 D Aug. 19, 2019, 1:17 p.m. OK Java 8 TESTS 18 109 0 1700
58488348 Bhavya_Arora D Aug. 9, 2019, 8:33 a.m. OK Java 8 TESTS 18 109 0 1700
58393418 lpm D Aug. 6, 2019, 2:37 p.m. OK Java 8 TESTS 18 109 0 1700
58340043 ISSAM_LAKOUAM D Aug. 5, 2019, 12:54 p.m. OK Java 8 TESTS 18 109 0 1700
57559265 IbrahimYousre D July 22, 2019, 10:27 p.m. OK Java 8 TESTS 18 109 0 1700
57557677 Ahmad D July 22, 2019, 8:56 p.m. OK Java 8 TESTS 18 109 0 1700
57332960 r_sutaria D July 19, 2019, 2:55 p.m. OK Java 8 TESTS 18 109 0 1700
57055491 mongolrgata D July 14, 2019, 4:40 p.m. OK JavaScript TESTS 18 31 0 1700
57090426 bohuss D July 15, 2019, 10:32 a.m. OK Kotlin TESTS 18 124 0 1700
57146244 Spheniscine D July 16, 2019, 1:01 p.m. OK Kotlin TESTS 18 155 102400 1700
58695738 KhanhNguyen795 D Aug. 13, 2019, 5:54 a.m. OK Mono C# TESTS 18 46 0 1700
57246643 nigahouse1 D July 17, 2019, 7:44 p.m. OK Mono C# TESTS 18 46 0 1700
57097471 og.kostya D July 15, 2019, 12:42 p.m. OK Mono C# TESTS 18 62 0 1700
61493478 vjudge2 D Sept. 29, 2019, 2:04 p.m. OK MS C++ TESTS 18 15 0 1700
59068130 vjudge5 D Aug. 19, 2019, 3:01 a.m. OK MS C++ TESTS 18 30 0 1700
59086622 vjudge5 D Aug. 19, 2019, 11:16 a.m. OK MS C++ TESTS 18 30 0 1700
59067535 vjudge5 D Aug. 19, 2019, 2:42 a.m. OK MS C++ TESTS 18 30 0 1700
58155832 vjudge4 D Aug. 2, 2019, 5:33 a.m. OK MS C++ TESTS 18 30 0 1700
58134450 vjudge3 D Aug. 1, 2019, 3:31 p.m. OK MS C++ TESTS 18 30 0 1700
57459084 vjudge1 D July 21, 2019, 12:50 p.m. OK MS C++ TESTS 18 30 0 1700
57094136 vjudge4 D July 15, 2019, 11:43 a.m. OK MS C++ TESTS 18 30 0 1700
57058238 qcwlmqy D July 14, 2019, 4:56 p.m. OK MS C++ TESTS 18 30 0 1700
57052045 tarattata1 D July 14, 2019, 4:25 p.m. OK MS C++ TESTS 18 30 0 1700
57112312 PanShiLiang_GG D July 15, 2019, 6:04 p.m. OK MS C++ 2017 TESTS 18 15 0 1700
57477710 ghostlead D July 21, 2019, 11:44 p.m. OK MS C++ 2017 TESTS 18 15 0 1700
57086625 C20191522 D July 15, 2019, 9:07 a.m. OK MS C++ 2017 TESTS 18 30 0 1700
57085062 chun8hunzi D July 15, 2019, 8:29 a.m. OK MS C++ 2017 TESTS 18 30 0 1700
57061154 Sanqer D July 14, 2019, 6:02 p.m. OK MS C++ 2017 TESTS 18 30 0 1700
57169199 YCB009 D July 17, 2019, 1:58 a.m. OK MS C++ 2017 TESTS 18 30 0 1700
57283149 Still_Theory D July 18, 2019, 1:31 p.m. OK MS C++ 2017 TESTS 18 30 0 1700
64738322 vjudge1 D Nov. 12, 2019, 11:08 a.m. OK MS C++ 2017 TESTS 18 30 0 1700
64738280 vjudge4 D Nov. 12, 2019, 11:08 a.m. OK MS C++ 2017 TESTS 18 31 0 1700
68901775 suun D Jan. 16, 2020, 6:10 a.m. OK MS C++ 2017 TESTS 18 31 0 1700
57285323 Madhur1906 D July 18, 2019, 2:23 p.m. OK PyPy 2 TESTS 18 124 0 1700
57141833 raj1307 D July 16, 2019, 11:24 a.m. OK PyPy 2 TESTS 18 124 307200 1700
58434748 yumtam D Aug. 7, 2019, 1:24 p.m. OK PyPy 2 TESTS 18 140 0 1700
57137764 anshuman16423 D July 16, 2019, 9:35 a.m. OK PyPy 2 TESTS 18 140 0 1700
57109702 -Morass- D July 15, 2019, 4:49 p.m. OK PyPy 2 TESTS 18 155 307200 1700
57159556 hoangphuoc25 D July 16, 2019, 6:20 p.m. OK PyPy 2 TESTS 18 155 921600 1700
57159458 shehebe D July 16, 2019, 6:17 p.m. OK PyPy 2 TESTS 18 155 921600 1700
57048805 Panik_ki_4th_fake.id D July 14, 2019, 4:11 p.m. OK PyPy 2 TESTS 18 155 921600 1700
57591947 bcollet D July 23, 2019, 12:35 p.m. OK PyPy 2 TESTS 18 171 0 1700
57485735 thuutin D July 22, 2019, 5:13 a.m. OK PyPy 2 TESTS 18 171 0 1700
58953875 shanu_im D Aug. 17, 2019, 12:07 p.m. OK PyPy 3 TESTS 18 124 0 1700
58508506 Theo_S D Aug. 9, 2019, 5:40 p.m. OK PyPy 3 TESTS 18 124 0 1700
57630941 Kekmus D July 24, 2019, 8:43 a.m. OK PyPy 3 TESTS 18 139 0 1700
57052923 SamuelLH D July 14, 2019, 4:29 p.m. OK PyPy 3 TESTS 18 139 0 1700
57052262 Coding_genius D July 14, 2019, 4:26 p.m. OK PyPy 3 TESTS 18 139 0 1700
62581555 nikeshthapa255 D Oct. 14, 2019, 5:24 p.m. OK PyPy 3 TESTS 18 140 0 1700
62438458 Kadtsin_vs D Oct. 12, 2019, 6:22 p.m. OK PyPy 3 TESTS 18 140 0 1700
59782298 charlie_yan D Aug. 31, 2019, 3:56 a.m. OK PyPy 3 TESTS 18 140 0 1700
58550966 rameshaditya D Aug. 10, 2019, 7:52 p.m. OK PyPy 3 TESTS 18 140 0 1700
58468440 scheduler D Aug. 8, 2019, 9:14 p.m. OK PyPy 3 TESTS 18 140 0 1700
58088519 Helli.code D July 31, 2019, 4:37 p.m. OK Python 2 TESTS 18 171 0 1700
57604261 ShashankGoel.IITD D July 23, 2019, 5:10 p.m. OK Python 2 TESTS 18 171 0 1700
57244160 SoSooding D July 17, 2019, 6:36 p.m. OK Python 2 TESTS 18 202 0 1700
67056102 kammer D Dec. 17, 2019, 6:55 a.m. OK Python 3 TESTS 18 108 0 1700
58506328 LintuStorm D Aug. 9, 2019, 4:37 p.m. OK Python 3 TESTS 18 108 0 1700
58268125 1iq D Aug. 4, 2019, 3:34 p.m. OK Python 3 TESTS 18 108 0 1700
57936850 ACE317 D July 29, 2019, 11:06 a.m. OK Python 3 TESTS 18 108 0 1700
57758009 jeetesh23 D July 25, 2019, 4:57 p.m. OK Python 3 TESTS 18 108 0 1700
57156127 Honey_Badger D July 16, 2019, 4:45 p.m. OK Python 3 TESTS 18 108 0 1700
57120502 ahcub D July 16, 2019, 12:33 a.m. OK Python 3 TESTS 18 108 0 1700
57058616 duydn95 D July 14, 2019, 5:02 p.m. OK Python 3 TESTS 18 108 0 1700
57057914 orazbek D July 14, 2019, 4:52 p.m. OK Python 3 TESTS 18 108 0 1700
57053594 tanon710 D July 14, 2019, 4:32 p.m. OK Python 3 TESTS 18 108 0 1700
57256640 corvvs_ D July 18, 2019, 2:45 a.m. OK Ruby TESTS 18 93 0 1700
57941591 Lancern D July 29, 2019, 12:46 p.m. OK Rust TESTS 18 30 0 1700
67053384 Tiramister D Dec. 17, 2019, 5:34 a.m. OK Rust TESTS 18 31 0 1700
58910871 LowR D Aug. 16, 2019, 1:01 p.m. OK Rust TESTS 18 31 0 1700
57196991 suraj99p D July 17, 2019, 12:31 p.m. OK Rust TESTS 18 31 0 1700
57196158 suraj99p D July 17, 2019, 12:16 p.m. OK Rust TESTS 18 46 0 1700
62633540 yakamoto D Oct. 15, 2019, 4:08 p.m. OK Scala TESTS 18 155 0 1700

remove filters

Back to search problems