Educational Codeforces Round 123 (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
1644 Educational Codeforces Round 123 (Rated for Div. 2) FINISHED False 7200 86282699 Feb. 22, 2022, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 20716 ) B Anti-Fibonacci Permutation PROGRAMMING brute force constructive algorithms implementation

B"Let's call a permutation p of length n anti-Fibonacci if the condition p_{i-2} + p_{i-1} ne p_i holds for all i ( 3 <= i <= n ). Recall that the permutation is the array of length n which contains each integer from 1 to n exactly once. Your task is for a given number n print n distinct anti-Fibonacci permutations of length n . The first line contains a single integer t ( 1 <= t <= 48 ) -- the number of test cases. The single line of each test case contains a single integer n ( 3 <= n <= 50 ). For each test case, print n lines. Each line should contain an anti-Fibonacci permutation of length n . In each test case, you cannot print any permutation more than once. If there are multiple answers, print any of them. It can be shown that it is always possible to find n different anti-Fibonacci permutations of size n under the constraints of the problem. "...

Tutorials

100227

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
147363554 Akshay1817 B Feb. 22, 2022, 6:54 p.m. OK Clang++17 Diagnostics TESTS 3 374 4198400
147342366 loki_7 B Feb. 22, 2022, 4:20 p.m. OK GNU C11 TESTS 3 436 0
147343805 A._.A B Feb. 22, 2022, 4:24 p.m. OK GNU C11 TESTS 3 436 0
147365954 Sankalp_12 B Feb. 22, 2022, 7:27 p.m. OK GNU C11 TESTS 3 452 0
147384863 drbean B Feb. 23, 2022, 3:28 a.m. OK GNU C11 TESTS 3 452 0
147386143 Changersh B Feb. 23, 2022, 3:58 a.m. OK GNU C11 TESTS 3 452 0
147387646 dm_tanveer B Feb. 23, 2022, 4:26 a.m. OK GNU C11 TESTS 3 452 0
147359720 abdur52 B Feb. 22, 2022, 6:07 p.m. OK GNU C11 TESTS 3 452 0
147348948 rahulshukla_12 B Feb. 22, 2022, 4:36 p.m. OK GNU C11 TESTS 3 452 0
147365808 DMenor B Feb. 22, 2022, 7:25 p.m. OK GNU C11 TESTS 3 452 0
147345014 devansh_5402 B Feb. 22, 2022, 4:26 p.m. OK GNU C11 TESTS 3 452 0
147379789 househomr B Feb. 23, 2022, 1:17 a.m. OK GNU C++14 TESTS 3 0 0
147364349 MANIDEEPAK_G B Feb. 22, 2022, 7:05 p.m. OK GNU C++14 TESTS 3 0 0
147361672 Monta21 B Feb. 22, 2022, 6:29 p.m. OK GNU C++14 TESTS 3 0 0
147393307 sree_g B Feb. 23, 2022, 5:48 a.m. OK GNU C++14 TESTS 3 0 0
147391849 88ion B Feb. 23, 2022, 5:30 a.m. OK GNU C++14 TESTS 3 0 0
147391766 boom0er1048576 B Feb. 23, 2022, 5:28 a.m. OK GNU C++14 TESTS 3 0 0
147389086 Jia_Zhengkun B Feb. 23, 2022, 4:50 a.m. OK GNU C++14 TESTS 3 0 0
147383841 Rajesh2020 B Feb. 23, 2022, 3:05 a.m. OK GNU C++14 TESTS 3 0 0
147383249 hcolorx B Feb. 23, 2022, 2:52 a.m. OK GNU C++14 TESTS 3 0 0
147365236 14ranasafal B Feb. 22, 2022, 7:17 p.m. OK GNU C++14 TESTS 3 0 0
147391677 mhmd_bz B Feb. 23, 2022, 5:27 a.m. OK GNU C++17 TESTS 3 0 0
147392360 shlvam B Feb. 23, 2022, 5:36 a.m. OK GNU C++17 TESTS 3 0 0
147392230 chennanjun B Feb. 23, 2022, 5:35 a.m. OK GNU C++17 TESTS 3 0 0
147390286 abchoudhary13 B Feb. 23, 2022, 5:09 a.m. OK GNU C++17 TESTS 3 0 0
147387707 avnyu B Feb. 23, 2022, 4:27 a.m. OK GNU C++17 TESTS 3 0 0
147387597 austinhmh B Feb. 23, 2022, 4:25 a.m. OK GNU C++17 TESTS 3 0 0
147387064 shubham_011 B Feb. 23, 2022, 4:16 a.m. OK GNU C++17 TESTS 3 0 0
147386881 DPanchal B Feb. 23, 2022, 4:12 a.m. OK GNU C++17 TESTS 3 0 0
147386695 Sabikun_Zerin B Feb. 23, 2022, 4:09 a.m. OK GNU C++17 TESTS 3 0 0
147386660 XORring-Samurai B Feb. 23, 2022, 4:08 a.m. OK GNU C++17 TESTS 3 0 0
147341797 ZXCC B Feb. 22, 2022, 4:19 p.m. OK GNU C++17 (64) TESTS 3 0 0
147347861 tonkitude B Feb. 22, 2022, 4:33 p.m. OK GNU C++17 (64) TESTS 3 0 0
147358187 cannadagrammo B Feb. 22, 2022, 5:50 p.m. OK GNU C++17 (64) TESTS 3 0 0
147368100 albertolg101 B Feb. 22, 2022, 7:59 p.m. OK GNU C++17 (64) TESTS 3 0 0
147376942 OmarNabill B Feb. 22, 2022, 11:34 p.m. OK GNU C++17 (64) TESTS 3 0 0
147377034 OmarNabill B Feb. 22, 2022, 11:39 p.m. OK GNU C++17 (64) TESTS 3 0 0
147377850 LowLightK B Feb. 23, 2022, 12:08 a.m. OK GNU C++17 (64) TESTS 3 0 0
147381967 Fister B Feb. 23, 2022, 2:21 a.m. OK GNU C++17 (64) TESTS 3 0 0
147382578 Eternal.. B Feb. 23, 2022, 2:36 a.m. OK GNU C++17 (64) TESTS 3 0 0
147389756 boyiddha B Feb. 23, 2022, 5:02 a.m. OK GNU C++17 (64) TESTS 3 0 0
147378594 lucas3h B Feb. 23, 2022, 12:35 a.m. OK GNU C++20 (64) TESTS 3 0 0
147392379 iamsahil_2703 B Feb. 23, 2022, 5:37 a.m. OK GNU C++20 (64) TESTS 3 0 0
147390183 jiangly B Feb. 23, 2022, 5:07 a.m. OK GNU C++20 (64) TESTS 3 0 0
147386357 Baytoro B Feb. 23, 2022, 4:02 a.m. OK GNU C++20 (64) TESTS 3 0 0
147383034 OceanCat B Feb. 23, 2022, 2:47 a.m. OK GNU C++20 (64) TESTS 3 0 0
147380741 IZAZ_ULLAH_KHAN B Feb. 23, 2022, 1:45 a.m. OK GNU C++20 (64) TESTS 3 0 0
147378506 MedoZ B Feb. 23, 2022, 12:31 a.m. OK GNU C++20 (64) TESTS 3 0 0
147394286 Abdullah_Shaaban B Feb. 23, 2022, 6 a.m. OK GNU C++20 (64) TESTS 3 0 0
147392680 de_santa B Feb. 23, 2022, 5:40 a.m. OK GNU C++20 (64) TESTS 3 0 0
147392630 harasees_singh B Feb. 23, 2022, 5:40 a.m. OK GNU C++20 (64) TESTS 3 0 0
147355825 TomazGomes B Feb. 22, 2022, 5:27 p.m. OK Haskell TESTS 3 46 0
147377394 Jackie99 B Feb. 22, 2022, 11:51 p.m. OK Java 11 TESTS 3 140 0
147393074 __Serendipity B Feb. 23, 2022, 5:45 a.m. OK Java 11 TESTS 3 155 0
147393028 krishnagskr983 B Feb. 23, 2022, 5:45 a.m. OK Java 11 TESTS 3 171 0
147392529 Krish_Krash B Feb. 23, 2022, 5:39 a.m. OK Java 11 TESTS 3 171 0
147388061 ND_ B Feb. 23, 2022, 4:34 a.m. OK Java 11 TESTS 3 171 0
147358402 puriabhijit000 B Feb. 22, 2022, 5:53 p.m. OK Java 11 TESTS 3 186 0
147358052 720_khiladi B Feb. 22, 2022, 5:49 p.m. OK Java 11 TESTS 3 187 0
147386463 SAMAD_ B Feb. 23, 2022, 4:04 a.m. OK Java 11 TESTS 3 187 0
147364229 eshan18.09 B Feb. 22, 2022, 7:03 p.m. OK Java 11 TESTS 3 187 0
147356750 vijender_8601 B Feb. 22, 2022, 5:36 p.m. OK Java 11 TESTS 3 187 0
147362190 tishrah B Feb. 22, 2022, 6:35 p.m. OK Java 8 TESTS 3 77 0
147375170 BogoSortIsBest B Feb. 22, 2022, 10:32 p.m. OK Java 8 TESTS 3 78 0
147370712 DEMO23 B Feb. 22, 2022, 8:45 p.m. OK Java 8 TESTS 3 93 0
147375153 YahiaSherif B Feb. 22, 2022, 10:32 p.m. OK Java 8 TESTS 3 108 0
147350357 kocko B Feb. 22, 2022, 4:44 p.m. OK Java 8 TESTS 3 108 0
147350858 gssakash B Feb. 22, 2022, 4:47 p.m. OK Java 8 TESTS 3 109 0
147351446 Rayhan_ChowdhuRy B Feb. 22, 2022, 4:51 p.m. OK Java 8 TESTS 3 124 0
147344149 eng_nhi_karni_thi B Feb. 22, 2022, 4:24 p.m. OK Java 8 TESTS 3 139 0
147353658 Harshit_Sachdeva06 B Feb. 22, 2022, 5:08 p.m. OK Java 8 TESTS 3 186 0
147384823 Noob_Coder_987 B Feb. 23, 2022, 3:27 a.m. OK Java 8 TESTS 3 436 0
147351420 arvindf232 B Feb. 22, 2022, 4:50 p.m. OK Kotlin 1.4 TESTS 3 139 307200
147361657 Potassium B Feb. 22, 2022, 6:29 p.m. OK Kotlin 1.5 TESTS 3 202 1433600
147362641 edfearay11 B Feb. 22, 2022, 6:41 p.m. OK MS C++ 2017 TESTS 3 46 0
147384392 yuzian B Feb. 23, 2022, 3:18 a.m. OK MS C++ 2017 TESTS 3 61 0
147380509 satv_r B Feb. 23, 2022, 1:39 a.m. OK MS C++ 2017 TESTS 3 61 0
147385199 daijilaowang B Feb. 23, 2022, 3:36 a.m. OK MS C++ 2017 TESTS 3 62 0
147383966 RealStarlight B Feb. 23, 2022, 3:08 a.m. OK MS C++ 2017 TESTS 3 62 0
147349369 Ilko_Andriy B Feb. 22, 2022, 4:38 p.m. OK MS C++ 2017 TESTS 3 77 0
147341619 silard B Feb. 22, 2022, 4:18 p.m. OK MS C++ 2017 TESTS 3 77 0
147393731 Olasiliksizci B Feb. 23, 2022, 5:53 a.m. OK .NET Core C# TESTS 3 358 3174400
147351704 Mef45 B Feb. 22, 2022, 4:52 p.m. OK Node.js TESTS 3 124 2662400
147391885 Orazgeldi B Feb. 23, 2022, 5:30 a.m. OK PascalABC.NET TESTS 3 982 102400
147386285 tanuki_10 B Feb. 23, 2022, 4 a.m. OK PyPy 3 TESTS 3 93 3686400
147375684 MEMMI B Feb. 22, 2022, 10:50 p.m. OK PyPy 3 TESTS 3 109 3174400
147367142 omarnvidia B Feb. 22, 2022, 7:45 p.m. OK PyPy 3 TESTS 3 109 4198400
147375239 Ahmed_Turkman B Feb. 22, 2022, 10:34 p.m. OK PyPy 3 TESTS 3 124 7680000
147374711 noobsatish B Feb. 22, 2022, 10:18 p.m. OK PyPy 3 TESTS 3 124 7680000
147342021 NeZlox B Feb. 22, 2022, 4:19 p.m. OK PyPy 3 TESTS 3 140 7372800
147390513 ultimate_pal B Feb. 23, 2022, 5:12 a.m. OK PyPy 3 TESTS 3 155 7680000
147345113 chicosena B Feb. 22, 2022, 4:27 p.m. OK PyPy 3 TESTS 3 155 7782400
147367064 pj_2103 B Feb. 22, 2022, 7:43 p.m. OK PyPy 3 TESTS 3 155 8499200
147360387 Jaideep19 B Feb. 22, 2022, 6:15 p.m. OK PyPy 3 TESTS 3 170 9728000
147378837 jamesmonterozo B Feb. 23, 2022, 12:45 a.m. OK PyPy 3-64 TESTS 3 108 5017600
147373890 MayThe4rceBWY B Feb. 22, 2022, 9:58 p.m. OK PyPy 3-64 TESTS 3 108 6041600
147343593 Ibne_Hassan B Feb. 22, 2022, 4:23 p.m. OK PyPy 3-64 TESTS 3 108 6553600
147391230 nicku123 B Feb. 23, 2022, 5:21 a.m. OK PyPy 3-64 TESTS 3 108 10342400
147348384 MHAII B Feb. 22, 2022, 4:34 p.m. OK PyPy 3-64 TESTS 3 124 8806400
147364019 KALDESH B Feb. 22, 2022, 7 p.m. OK PyPy 3-64 TESTS 3 124 9318400
147385433 Youarenotgood B Feb. 23, 2022, 3:42 a.m. OK PyPy 3-64 TESTS 3 124 9830400
147381634 MHAII B Feb. 23, 2022, 2:12 a.m. OK PyPy 3-64 TESTS 3 124 9932800
147393253 ranger_18 B Feb. 23, 2022, 5:48 a.m. OK PyPy 3-64 TESTS 3 139 9830400
147372859 MrVroom999 B Feb. 22, 2022, 9:31 p.m. OK PyPy 3-64 TESTS 3 139 11366400
147361886 OLOGY B Feb. 22, 2022, 6:32 p.m. OK Python 2 TESTS 3 31 204800
147360822 abdujabbar B Feb. 22, 2022, 6:19 p.m. OK Python 3 TESTS 3 46 0
147351712 prokorpio B Feb. 22, 2022, 4:52 p.m. OK Python 3 TESTS 3 61 204800
147344896 Skillicious B Feb. 22, 2022, 4:26 p.m. OK Python 3 TESTS 3 62 0
147344385 Skillicious B Feb. 22, 2022, 4:25 p.m. OK Python 3 TESTS 3 77 0
147343065 tanishq2507 B Feb. 22, 2022, 4:22 p.m. OK Python 3 TESTS 3 93 0
147350619 nguyendung B Feb. 22, 2022, 4:45 p.m. OK Python 3 TESTS 3 139 0
147392306 gck_16 B Feb. 23, 2022, 5:36 a.m. OK Python 3 TESTS 3 139 307200
147362266 s_ninja B Feb. 22, 2022, 6:36 p.m. OK Python 3 TESTS 3 140 0
147352926 Rhy01 B Feb. 22, 2022, 5:02 p.m. OK Python 3 TESTS 3 140 0
147391645 usernamewith24characters B Feb. 23, 2022, 5:27 a.m. OK Python 3 TESTS 3 155 0
147377335 Hyrulia B Feb. 22, 2022, 11:49 p.m. OK Rust 2021 TESTS 3 30 0

remove filters

Back to search problems