Codeforces Round 636 (Div. 3)

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
1343 Codeforces Round 636 (Div. 3) FINISHED False 7200 144343499 April 21, 2020, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 57079 ) B Balanced Array PROGRAMMING constructive algorithms math 800

B'You are given a positive integer n , it is guaranteed that n is even (i.e. divisible by 2 ). You want to construct the array a of length n such that: If there are multiple answers, you can print any. It is not guaranteed that the answer exists. You have to answer t independent test cases. The first line of the input contains one integer t ( 1 <= t <= 10^4 ) -- the number of test cases. Then t test cases follow. The only line of the test case contains one integer n ( 2 <= n <= 2 cdot 10^5 ) -- the length of the array. It is guaranteed that that n is even (i.e. divisible by 2 ). It is guaranteed that the sum of n over all test cases does not exceed 2 cdot 10^5 ( sum n <= 2 cdot 10^5 ). For each test case, print the answer -- "NO" (without quotes), if there is no suitable answer for the given test case or "YES" in the first line and any suitable array a_1, a_2, ... , a_n ( 1 <= a_i <= 10^9 ) satisfying conditions from the problem statement on the second line. '...

Tutorials

76352

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
77748764 vjudge1 B April 23, 2020, 11:59 a.m. OK Clang++17 Diagnostics TESTS 7 624 102400 800
77964704 bhushans23 B April 25, 2020, 12:05 a.m. OK Clang++17 Diagnostics TESTS 7 639 0 800
77637437 vjudge4 B April 22, 2020, 11:10 a.m. OK Clang++17 Diagnostics TESTS 7 654 0 800
77941116 akshat_iitk B April 24, 2020, 5:23 p.m. OK Clang++17 Diagnostics TESTS 7 655 0 800
77601381 fpc_coder B April 22, 2020, 2:18 a.m. OK FPC TESTS 7 592 0 800
77980115 Nazmul B April 25, 2020, 5:53 a.m. OK GNU C11 TESTS 7 530 614400 800
77601767 fallendeviL B April 22, 2020, 2:29 a.m. OK GNU C11 TESTS 7 608 0 800
78011349 TarunabhOjashvi B April 25, 2020, 10:08 a.m. OK GNU C11 TESTS 7 624 819200 800
77868671 Tasfique_Rishad_86 B April 24, 2020, 2:56 a.m. OK GNU C11 TESTS 7 639 0 800
77932263 AhsanulAnamSaboj B April 24, 2020, 3:50 p.m. OK GNU C11 TESTS 7 639 0 800
77673149 nayemislamzr18 B April 22, 2020, 4:26 p.m. OK GNU C11 TESTS 7 639 0 800
77637741 aryabhattahp B April 22, 2020, 11:13 a.m. OK GNU C11 TESTS 7 639 0 800
77604214 sumitbishti B April 22, 2020, 3:35 a.m. OK GNU C11 TESTS 7 639 819200 800
77621302 Bhaskar.R B April 22, 2020, 8:12 a.m. OK GNU C11 TESTS 7 654 819200 800
77564567 wttc B April 21, 2020, 4:30 p.m. OK GNU C11 TESTS 7 654 819200 800
77982376 vjudge1 B April 25, 2020, 6:19 a.m. OK GNU C++11 TESTS 7 31 0 800
77623089 Anoyer B April 22, 2020, 8:31 a.m. OK GNU C++11 TESTS 7 31 0 800
77894597 wky32768 B April 24, 2020, 8:43 a.m. OK GNU C++11 TESTS 7 31 0 800
77970254 JJLeo B April 25, 2020, 2:59 a.m. OK GNU C++11 TESTS 7 31 0 800
77869314 licunchun2006 B April 24, 2020, 3:08 a.m. OK GNU C++11 TESTS 7 31 819200 800
77623133 owen1 B April 22, 2020, 8:31 a.m. OK GNU C++11 TESTS 7 31 1024000 800
77576836 prophet_ov_darkness B April 21, 2020, 5:42 p.m. OK GNU C++11 TESTS 7 31 1433600 800
77627053 yaoyaoxxx B April 22, 2020, 9:16 a.m. OK GNU C++11 TESTS 7 31 1638400 800
77704026 baolidakai B April 23, 2020, 1:37 a.m. OK GNU C++11 TESTS 7 31 3072000 800
77666235 Mercenary_Soldier B April 22, 2020, 3:25 p.m. OK GNU C++11 TESTS 7 31 3174400 800
77742658 boxnos B April 23, 2020, 11:01 a.m. OK GNU C++14 TESTS 7 15 0 800
77558622 creepint101 B April 21, 2020, 4:20 p.m. OK GNU C++14 TESTS 7 15 0 800
77926916 atharvadeshpande B April 24, 2020, 3:04 p.m. OK GNU C++14 TESTS 7 30 0 800
77792384 vreaudelftpls B April 23, 2020, 3:10 p.m. OK GNU C++14 TESTS 7 30 0 800
77900404 Rohankumar44 B April 24, 2020, 9:51 a.m. OK GNU C++14 TESTS 7 30 0 800
77719826 anulekha1201 B April 23, 2020, 6:40 a.m. OK GNU C++14 TESTS 7 30 0 800
77720438 manujk B April 23, 2020, 6:49 a.m. OK GNU C++14 TESTS 7 30 0 800
77722718 adi.badayalya B April 23, 2020, 7:17 a.m. OK GNU C++14 TESTS 7 30 0 800
77747275 Hrithik1211 B April 23, 2020, 11:44 a.m. OK GNU C++14 TESTS 7 30 0 800
77767312 wait_watch B April 23, 2020, 2:25 p.m. OK GNU C++14 TESTS 7 30 0 800
77868192 chirs B April 24, 2020, 2:46 a.m. OK GNU C++17 TESTS 7 15 0 800
77581484 t4c0 B April 21, 2020, 6:36 p.m. OK GNU C++17 TESTS 7 15 0 800
77921975 lokinado B April 24, 2020, 2:22 p.m. OK GNU C++17 TESTS 7 30 0 800
77954206 Eduardomatos B April 24, 2020, 8:13 p.m. OK GNU C++17 TESTS 7 30 0 800
77950207 ayushkthakur.eee18 B April 24, 2020, 7:17 p.m. OK GNU C++17 TESTS 7 30 0 800
77933315 Tonoy1010x B April 24, 2020, 4 p.m. OK GNU C++17 TESTS 7 30 0 800
77910392 qccccc B April 24, 2020, 12:20 p.m. OK GNU C++17 TESTS 7 30 0 800
77868047 Yoika B April 24, 2020, 2:43 a.m. OK GNU C++17 TESTS 7 30 0 800
77752909 atheistsoldier B April 23, 2020, 12:39 p.m. OK GNU C++17 TESTS 7 30 0 800
77731055 terminator125 B April 23, 2020, 9:01 a.m. OK GNU C++17 TESTS 7 30 0 800
77594696 sushkov.pv B April 21, 2020, 10:41 p.m. OK GNU C++17 (64) TESTS 7 15 0 800
77983837 vjudge5 B April 25, 2020, 6:37 a.m. OK GNU C++17 (64) TESTS 7 15 0 800
77598171 sharrad99 B April 22, 2020, 12:40 a.m. OK GNU C++17 (64) TESTS 7 15 819200 800
77981952 vjudge5 B April 25, 2020, 6:14 a.m. OK GNU C++17 (64) TESTS 7 15 7987200 800
77643751 ankan.ekansh B April 22, 2020, 12:15 p.m. OK GNU C++17 (64) TESTS 7 30 0 800
77706302 Exile_2k4 B April 23, 2020, 2:52 a.m. OK GNU C++17 (64) TESTS 7 30 0 800
77629452 timothyx B April 22, 2020, 9:43 a.m. OK GNU C++17 (64) TESTS 7 30 0 800
77636391 ir_1st_vil B April 22, 2020, 11 a.m. OK GNU C++17 (64) TESTS 7 30 0 800
77640772 cse180001045 nissa_1900 B April 22, 2020, 11:44 a.m. OK GNU C++17 (64) TESTS 7 30 0 800
77641506 rockoanna B April 22, 2020, 11:52 a.m. OK GNU C++17 (64) TESTS 7 30 0 800
77954048 fc-lib-xyz B April 24, 2020, 8:11 p.m. OK Go TESTS 7 61 0 800
77636017 sighduck B April 22, 2020, 10:56 a.m. OK Go TESTS 7 62 819200 800
77620431 barisma B April 22, 2020, 8:03 a.m. OK Go TESTS 7 62 4915200 800
77573658 amarjeetanand B April 21, 2020, 5:11 p.m. OK Go TESTS 7 62 5324800 800
77923575 Warren_Wei B April 24, 2020, 2:37 p.m. OK Go TESTS 7 78 0 800
77577564 dlowl B April 21, 2020, 5:50 p.m. OK Go TESTS 7 639 819200 800
77669357 rajparekh2024 B April 22, 2020, 3:51 p.m. OK Java 11 TESTS 7 186 0 800
77699560 TheSawan B April 22, 2020, 10:49 p.m. OK Java 11 TESTS 7 187 0 800
77568469 spyder07 B April 21, 2020, 4:37 p.m. OK Java 11 TESTS 7 187 0 800
77706954 XsLel B April 23, 2020, 3:11 a.m. OK Java 11 TESTS 7 202 0 800
77646807 nidhigoel B April 22, 2020, 12:46 p.m. OK Java 11 TESTS 7 202 0 800
77579018 prudhvi_15 B April 21, 2020, 6:06 p.m. OK Java 11 TESTS 7 202 0 800
77576791 Beep-Beep B April 21, 2020, 5:41 p.m. OK Java 11 TESTS 7 202 0 800
77626839 cribabby B April 22, 2020, 9:14 a.m. OK Java 11 TESTS 7 202 13619200 800
77673391 mikkk B April 22, 2020, 4:28 p.m. OK Java 11 TESTS 7 217 0 800
77646808 Piccadilly B April 22, 2020, 12:46 p.m. OK Java 11 TESTS 7 217 0 800
77715310 PizzaLovers007 B April 23, 2020, 5:38 a.m. OK Java 8 TESTS 7 108 0 800
77649196 rgupta917 B April 22, 2020, 1:11 p.m. OK Java 8 TESTS 7 108 0 800
77619471 bhavyseth B April 22, 2020, 7:53 a.m. OK Java 8 TESTS 7 108 0 800
77604373 Manan8686 B April 22, 2020, 3:39 a.m. OK Java 8 TESTS 7 108 0 800
77945692 Bhargav9427 B April 24, 2020, 6:17 p.m. OK Java 8 TESTS 7 108 2764800 800
77583977 NMouad21 B April 21, 2020, 7:10 p.m. OK Java 8 TESTS 7 109 0 800
77578229 gargdevanshu80 B April 21, 2020, 5:57 p.m. OK Java 8 TESTS 7 109 0 800
77569031 dgCoder B April 21, 2020, 4:40 p.m. OK Java 8 TESTS 7 109 2662400 800
77972743 dyhu083 B April 25, 2020, 3:59 a.m. OK Java 8 TESTS 7 124 0 800
77932214 top_gun16 B April 24, 2020, 3:50 p.m. OK Java 8 TESTS 7 124 0 800
77685283 GTrigger B April 22, 2020, 6:31 p.m. OK JavaScript TESTS 7 46 15872000 800
77685190 GTrigger B April 22, 2020, 6:30 p.m. OK JavaScript TESTS 7 46 15872000 800
77956975 Luay B April 24, 2020, 8:54 p.m. OK JavaScript TESTS 7 46 18124800 800
77685336 GTrigger B April 22, 2020, 6:31 p.m. OK JavaScript TESTS 7 61 15872000 800
77685152 GTrigger B April 22, 2020, 6:29 p.m. OK JavaScript TESTS 7 61 15872000 800
77685098 GTrigger B April 22, 2020, 6:29 p.m. OK JavaScript TESTS 7 62 15872000 800
77685227 GTrigger B April 22, 2020, 6:30 p.m. OK JavaScript TESTS 7 77 15872000 800
77887375 Ceaser B April 24, 2020, 7:16 a.m. OK Kotlin TESTS 7 171 3788800 800
77557720 rish_malviya B April 21, 2020, 4:18 p.m. OK Kotlin TESTS 7 171 5427200 800
77603388 Spheniscine B April 22, 2020, 3:16 a.m. OK Kotlin TESTS 7 171 5734400 800
77703008 IsTinG B April 23, 2020, 1:01 a.m. OK Kotlin TESTS 7 171 10854400 800
77880330 Chef_17 B April 24, 2020, 5:55 a.m. OK Kotlin TESTS 7 186 10547200 800
77932237 wbars B April 24, 2020, 3:50 p.m. OK Kotlin TESTS 7 249 11776000 800
77637947 spezcial B April 22, 2020, 11:15 a.m. OK Kotlin TESTS 7 732 0 800
77618983 dkozak94 B April 22, 2020, 7:48 a.m. OK Kotlin TESTS 7 748 0 800
77637990 spezcial B April 22, 2020, 11:16 a.m. OK Kotlin TESTS 7 748 0 800
77637700 spezcial B April 22, 2020, 11:13 a.m. OK Kotlin TESTS 7 763 0 800
77975232 nghiapd B April 25, 2020, 4:42 a.m. OK Mono C# TESTS 7 77 11468800 800
77694138 zerg B April 22, 2020, 8:36 p.m. OK Mono C# TESTS 7 77 11571200 800
77563781 Dineshraj B April 21, 2020, 4:29 p.m. OK Mono C# TESTS 7 93 15974400 800
77647517 pacificus B April 22, 2020, 12:54 p.m. OK Mono C# TESTS 7 108 14131200 800
77557207 artworks B April 21, 2020, 4:17 p.m. OK Mono C# TESTS 7 124 23552000 800
77579400 TRR B April 21, 2020, 6:10 p.m. OK Mono C# TESTS 7 623 3788800 800
77752643 HenrySo0127 B April 23, 2020, 12:36 p.m. OK Mono C# TESTS 7 638 3072000 800
77608981 despair_101 B April 22, 2020, 5:20 a.m. OK Mono C# TESTS 7 670 3072000 800
77593759 PPons B April 21, 2020, 10:14 p.m. OK Mono C# TESTS 7 670 3788800 800
77864875 Wizard_bq B April 24, 2020, 1:22 a.m. OK MS C++ TESTS 7 93 0 800
77575882 Ravijotsingh58 B April 21, 2020, 5:32 p.m. OK MS C++ TESTS 7 108 0 800
77875892 vjudge2 B April 24, 2020, 4:53 a.m. OK MS C++ TESTS 7 108 819200 800
77572894 Ravijotsingh58 B April 21, 2020, 5:05 p.m. OK MS C++ TESTS 7 109 0 800
77568878 omosh B April 21, 2020, 4:39 p.m. OK MS C++ TESTS 7 124 0 800
77936623 amar277 B April 24, 2020, 4:31 p.m. OK MS C++ TESTS 7 124 0 800
77644946 vjudge5 B April 22, 2020, 12:27 p.m. OK MS C++ TESTS 7 140 1945600 800
77704383 Ruben_tao B April 23, 2020, 1:49 a.m. OK MS C++ 2017 TESTS 7 46 0 800
77655348 elvcn B April 22, 2020, 1:44 p.m. OK MS C++ 2017 TESTS 7 46 0 800
77648981 Sibestiyan B April 22, 2020, 1:09 p.m. OK MS C++ 2017 TESTS 7 46 0 800
77984389 x_y B April 25, 2020, 6:42 a.m. OK MS C++ 2017 TESTS 7 46 819200 800
77897572 vjudge3 B April 24, 2020, 9:19 a.m. OK MS C++ 2017 TESTS 7 62 0 800
77620069 Bigface B April 22, 2020, 7:59 a.m. OK MS C++ 2017 TESTS 7 78 0 800
77561506 metal4people B April 21, 2020, 4:25 p.m. OK MS C++ 2017 TESTS 7 93 0 800
77695627 Raisss B April 22, 2020, 9:05 p.m. OK MS C++ 2017 TESTS 7 108 0 800
77564113 gyanendrasingh B April 21, 2020, 4:30 p.m. OK MS C++ 2017 TESTS 7 108 0 800
77688628 Meher_24 B April 22, 2020, 7:12 p.m. OK MS C++ 2017 TESTS 7 108 0 800
77604789 avres B April 22, 2020, 3:48 a.m. OK PHP TESTS 7 46 14233600 800
77623926 mayakin B April 22, 2020, 8:40 a.m. OK PHP TESTS 7 61 4198400 800
77965744 jahas B April 25, 2020, 12:41 a.m. OK PyPy 2 TESTS 7 124 7577600 800
77688782 lebron87 B April 22, 2020, 7:14 p.m. OK PyPy 2 TESTS 7 139 8704000 800
77661292 LaoJiangHu B April 22, 2020, 2:39 p.m. OK PyPy 2 TESTS 7 155 16281600 800
77952411 SeregaMamonT B April 24, 2020, 7:48 p.m. OK PyPy 2 TESTS 7 171 16076800 800
77586226 yumtam B April 21, 2020, 7:45 p.m. OK PyPy 2 TESTS 7 186 5222400 800
77688515 vermapri B April 22, 2020, 7:10 p.m. OK PyPy 3 TESTS 7 218 12288000 800
77622219 tomkasetty B April 22, 2020, 8:22 a.m. OK PyPy 3 TESTS 7 218 14950400 800
77622312 kit.shiron B April 22, 2020, 8:23 a.m. OK PyPy 3 TESTS 7 218 16281600 800
77889850 sakshi1717 B April 24, 2020, 7:47 a.m. OK PyPy 3 TESTS 7 233 12902400 800
77579293 cryo_coder123 B April 21, 2020, 6:09 p.m. OK PyPy 3 TESTS 7 233 13619200 800
78012673 ltvlx B April 25, 2020, 10:22 a.m. OK PyPy 3 TESTS 7 233 15257600 800
77605730 FahimSifnatul B April 22, 2020, 4:10 a.m. OK PyPy 3 TESTS 7 233 15667200 800
77648041 saku7 B April 22, 2020, 12:59 p.m. OK PyPy 3 TESTS 7 233 19558400 800
77619856 Sahitya02 B April 22, 2020, 7:57 a.m. OK PyPy 3 TESTS 7 248 11161600 800
77582509 darkMatter_00 B April 21, 2020, 6:50 p.m. OK PyPy 3 TESTS 7 248 11878400 800
77718958 rdik B April 23, 2020, 6:29 a.m. OK Python 2 TESTS 7 265 1638400 800
77645725 ComptineDunAutreEte B April 22, 2020, 12:35 p.m. OK Python 2 TESTS 7 280 6860800 800
77919929 code_marshal B April 24, 2020, 2:05 p.m. OK Python 2 TESTS 7 342 8806400 800
77918801 JokerNN B April 24, 2020, 1:56 p.m. OK Python 3 TESTS 7 155 13414400 800
77661076 midez B April 22, 2020, 2:37 p.m. OK Python 3 TESTS 7 155 13414400 800
77625179 0d1n B April 22, 2020, 8:54 a.m. OK Python 3 TESTS 7 155 13824000 800
77563339 JawaMoh17 B April 21, 2020, 4:28 p.m. OK Python 3 TESTS 7 186 13414400 800
77751212 MidAndFeed B April 23, 2020, 12:20 p.m. OK Python 3 TESTS 7 186 13619200 800
77665841 coder_vanya B April 22, 2020, 3:22 p.m. OK Python 3 TESTS 7 186 13824000 800
77665344 coder_vanya B April 22, 2020, 3:17 p.m. OK Python 3 TESTS 7 186 14438400 800
77570467 skabhishekgz6 B April 21, 2020, 4:48 p.m. OK Python 3 TESTS 7 186 14438400 800
77646355 thestraightfrenchguy B April 22, 2020, 12:41 p.m. OK Python 3 TESTS 7 186 14745600 800
77714781 shubhii0206 B April 23, 2020, 5:29 a.m. OK Python 3 TESTS 7 186 15257600 800
77672496 eugene.l B April 22, 2020, 4:20 p.m. OK Ruby TESTS 7 155 5529600 800
77654369 xyqkoala B April 22, 2020, 1:35 p.m. OK Rust TESTS 7 31 0 800
77687230 rpinoit B April 22, 2020, 6:54 p.m. OK Rust TESTS 7 61 0 800

remove filters

Back to search problems