Codeforces Round 900 (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
1878 Codeforces Round 900 (Div. 3) FINISHED False 8100 36084299 Sept. 26, 2023, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 31628 ) B Aleksa and Stack PROGRAMMING constructive algorithms math

B"After the Serbian Informatics Olympiad, Aleksa was very sad, because he didn't win a medal (he didn't know stack), so Vasilije came to give him an easy problem, just to make his day better. Vasilije gave Aleksa a positive integer n ( n ge 3 ) and asked him to construct a strictly increasing array of size n of positive integers, such that Since Aleksa thinks he is a bad programmer now, he asked you to help him find such an array. Each test consists of multiple test cases. The first line contains a single integer t ( 1 <= t <= 10^4 ) -- the number of test cases. The description of test cases follows. The first line of each test case contains a single integer n ( 3 <= n <= 2 cdot 10^5 ) -- the number of elements in array. It is guaranteed that the sum of n over all test cases does not exceed 2 cdot 10^5 . For each test case, output n integers a_1, a_2, a_3, ... , a_n ( 1 <= a_i <= 10^9 ). It can be proved that the solution exists for any n . If there are multiple solutions, output any of them. In the first test case, a_1=6 , a_2=8 , a_3=12 , so a_1+a_2=14 and 3 cdot a_3=36 , so 3 cdot a_3 is not divisible by a_1+a_2 . "...

Tutorials

Codeforces round #900 (Div.3) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
225491758 ressoa B Sept. 27, 2023, 10:18 a.m. OK C# 10 TESTS 6 62 29491200
225558437 KuchukovAD B Sept. 27, 2023, 6:20 p.m. OK Clang++20 Diagnostics TESTS 6 623 0
225531762 convnet B Sept. 27, 2023, 2:48 p.m. OK Clang++20 Diagnostics TESTS 6 685 14848000
225479430 chicken_65 B Sept. 27, 2023, 8:40 a.m. OK GNU C11 TESTS 6 46 4710400
225585064 joker_04 B Sept. 28, 2023, 1:50 a.m. OK GNU C11 TESTS 6 811 0
225560122 arihanttr B Sept. 27, 2023, 6:35 p.m. OK GNU C11 TESTS 6 811 0
225494332 fatinfuad13 B Sept. 27, 2023, 10:39 a.m. OK GNU C11 TESTS 6 811 4710400
225463061 Md_Shahadad_Hossain B Sept. 27, 2023, 5:30 a.m. OK GNU C11 TESTS 6 811 5529600
225531128 sa_Shayeed B Sept. 27, 2023, 2:43 p.m. OK GNU C11 TESTS 6 826 0
225529476 xxx_2 B Sept. 27, 2023, 2:32 p.m. OK GNU C11 TESTS 6 826 0
225559259 Adi_J_3.17 B Sept. 27, 2023, 6:27 p.m. OK GNU C11 TESTS 6 826 819200
225525790 freshhhhh B Sept. 27, 2023, 2:07 p.m. OK GNU C11 TESTS 6 826 819200
225477400 mehul_agarwal B Sept. 27, 2023, 8:24 a.m. OK GNU C11 TESTS 6 826 3993600
225580656 Rama234 B Sept. 28, 2023, 12:08 a.m. OK GNU C++14 TESTS 6 15 0
225524787 RED_MONK B Sept. 27, 2023, 2:01 p.m. OK GNU C++14 TESTS 6 15 0
225515852 Likhith228 B Sept. 27, 2023, 1:03 p.m. OK GNU C++14 TESTS 6 30 1024000
225514110 G_H_Turtle B Sept. 27, 2023, 12:51 p.m. OK GNU C++14 TESTS 6 30 1024000
225573485 Milad-Samy B Sept. 27, 2023, 9:21 p.m. OK GNU C++14 TESTS 6 30 40038400
225599325 pratik___9998 B Sept. 28, 2023, 5:42 a.m. OK GNU C++14 TESTS 6 31 0
225580257 woshishabiye B Sept. 27, 2023, 11:58 p.m. OK GNU C++14 TESTS 6 31 0
225582822 RunForLife B Sept. 28, 2023, 12:57 a.m. OK GNU C++14 TESTS 6 31 0
225587074 18612631378 B Sept. 28, 2023, 2:33 a.m. OK GNU C++14 TESTS 6 31 0
225591909 lavish_bansal B Sept. 28, 2023, 4:07 a.m. OK GNU C++14 TESTS 6 31 0
225552456 radheKrishn B Sept. 27, 2023, 5:27 p.m. OK GNU C++17 TESTS 6 15 0
225520206 Idonnottknow B Sept. 27, 2023, 1:31 p.m. OK GNU C++17 TESTS 6 15 2662400
225532342 bkdn23.luuhoang B Sept. 27, 2023, 2:52 p.m. OK GNU C++17 TESTS 6 30 0
225556001 defalts B Sept. 27, 2023, 5:57 p.m. OK GNU C++17 TESTS 6 30 0
225560941 anwar9437 B Sept. 27, 2023, 6:43 p.m. OK GNU C++17 TESTS 6 30 0
225498717 _anar_ B Sept. 27, 2023, 11:12 a.m. OK GNU C++17 TESTS 6 30 1024000
225511854 Md_Rabbi3261 B Sept. 27, 2023, 12:36 p.m. OK GNU C++17 TESTS 6 30 1024000
225508854 mdmojnomiya B Sept. 27, 2023, 12:17 p.m. OK GNU C++17 TESTS 6 30 1024000
225492880 sohag_123 B Sept. 27, 2023, 10:28 a.m. OK GNU C++17 TESTS 6 30 1024000
225519036 theneek14 B Sept. 27, 2023, 1:24 p.m. OK GNU C++17 TESTS 6 30 1024000
225590287 rdhasabe B Sept. 28, 2023, 3:40 a.m. OK GNU C++17 (64) TESTS 6 15 0
225588934 juanjosalco B Sept. 28, 2023, 3:15 a.m. OK GNU C++17 (64) TESTS 6 15 0
225451003 chskbum B Sept. 27, 2023, 2:45 a.m. OK GNU C++17 (64) TESTS 6 15 1228800
225495048 PhanThanhThai B Sept. 27, 2023, 10:45 a.m. OK GNU C++17 (64) TESTS 6 15 2048000
225498599 luogu_bot2 B Sept. 27, 2023, 11:11 a.m. OK GNU C++17 (64) TESTS 6 15 2048000
225536801 Mahmuda.B B Sept. 27, 2023, 3:25 p.m. OK GNU C++17 (64) TESTS 6 15 7987200
225585322 sabuj0012i B Sept. 28, 2023, 1:57 a.m. OK GNU C++17 (64) TESTS 6 30 0
225593561 haque_3 B Sept. 28, 2023, 4:32 a.m. OK GNU C++17 (64) TESTS 6 30 0
225589790 JustA7 B Sept. 28, 2023, 3:31 a.m. OK GNU C++17 (64) TESTS 6 30 819200
225478263 obss B Sept. 27, 2023, 8:31 a.m. OK GNU C++17 (64) TESTS 6 30 1228800
225568086 _Kikyou_ B Sept. 27, 2023, 8:02 p.m. OK GNU C++20 (64) TESTS 6 15 0
225601333 aryanrohit B Sept. 28, 2023, 6:01 a.m. OK GNU C++20 (64) TESTS 6 15 0
225598212 Monkey_D_Luffy. B Sept. 28, 2023, 5:30 a.m. OK GNU C++20 (64) TESTS 6 15 0
225589989 SnipeR36 B Sept. 28, 2023, 3:34 a.m. OK GNU C++20 (64) TESTS 6 15 0
225585855 Soorraw B Sept. 28, 2023, 2:09 a.m. OK GNU C++20 (64) TESTS 6 15 0
225582046 Zeina_Albarre B Sept. 28, 2023, 12:40 a.m. OK GNU C++20 (64) TESTS 6 15 0
225572534 Sakiith B Sept. 27, 2023, 9:05 p.m. OK GNU C++20 (64) TESTS 6 15 0
225559565 sPeCtar_03 B Sept. 27, 2023, 6:30 p.m. OK GNU C++20 (64) TESTS 6 15 0
225558884 Nayeemuddin B Sept. 27, 2023, 6:24 p.m. OK GNU C++20 (64) TESTS 6 15 0
225556027 karimwalid74 B Sept. 27, 2023, 5:58 p.m. OK GNU C++20 (64) TESTS 6 15 0
225477667 Marselel B Sept. 27, 2023, 8:26 a.m. OK Go TESTS 6 545 19763200
225569893 ygubernatorov B Sept. 27, 2023, 8:26 p.m. OK Go TESTS 6 561 1638400
225534930 MyWaifuSatouMatsuzaka B Sept. 27, 2023, 3:11 p.m. OK Haskell TESTS 6 139 33587200
225571236 polsage B Sept. 27, 2023, 8:44 p.m. OK Java 11 TESTS 6 217 0
225534530 yatharthjohari B Sept. 27, 2023, 3:08 p.m. OK Java 11 TESTS 6 826 0
225449534 21241A05P9 B Sept. 27, 2023, 2:19 a.m. OK Java 11 TESTS 6 826 25497600
225517178 Shannuzzz B Sept. 27, 2023, 1:12 p.m. OK Java 11 TESTS 6 841 25497600
225596342 Smriti_Gupta B Sept. 28, 2023, 5:10 a.m. OK Java 11 TESTS 6 873 0
225578495 crrystaly B Sept. 27, 2023, 11:11 p.m. OK Java 11 TESTS 6 904 0
225460806 thakur6393 B Sept. 27, 2023, 5:04 a.m. OK Java 11 TESTS 6 1669 24883200
225462138 KAZHYI B Sept. 27, 2023, 5:20 a.m. OK Java 17 TESTS 6 171 40243200
225585040 oneafter B Sept. 28, 2023, 1:50 a.m. OK Java 17 TESTS 6 187 307200
225599913 cpp10 B Sept. 28, 2023, 5:48 a.m. OK Java 17 TESTS 6 202 0
225513322 whd_CN B Sept. 27, 2023, 12:45 p.m. OK Java 17 TESTS 6 218 40038400
225600005 cpp10 B Sept. 28, 2023, 5:49 a.m. OK Java 17 TESTS 6 249 204800
225478626 QianCCC B Sept. 27, 2023, 8:34 a.m. OK Java 17 TESTS 6 249 40652800
225497333 RahulAhuja2901 B Sept. 27, 2023, 11:02 a.m. OK Java 17 TESTS 6 264 40652800
225473991 woodyiiiiiii B Sept. 27, 2023, 7:57 a.m. OK Java 17 TESTS 6 265 40345600
225564226 skynet_07 B Sept. 27, 2023, 7:18 p.m. OK Java 17 TESTS 6 546 409600
225489862 Jha_coder1942 B Sept. 27, 2023, 10:03 a.m. OK Java 17 TESTS 6 794 40960000
225523276 LakhimpurKheri B Sept. 27, 2023, 1:51 p.m. OK Java 21 TESTS 6 249 0
225596688 MD.Atik B Sept. 28, 2023, 5:14 a.m. OK Java 21 TESTS 6 841 0
225553430 madhanirahul92 B Sept. 27, 2023, 5:36 p.m. OK Java 21 TESTS 6 857 0
225493476 typyk B Sept. 27, 2023, 10:33 a.m. OK Java 21 TESTS 6 873 41164800
225500597 yadavDipesh B Sept. 27, 2023, 11:24 a.m. OK Java 8 TESTS 6 93 23654400
225591917 dsdkjwoejo B Sept. 28, 2023, 4:07 a.m. OK Java 8 TESTS 6 140 0
225484545 xiaoshua B Sept. 27, 2023, 9:19 a.m. OK Java 8 TESTS 6 155 18944000
225542931 formidablechief_27 B Sept. 27, 2023, 4:11 p.m. OK Java 8 TESTS 6 171 0
225594370 shubhamsahani B Sept. 28, 2023, 4:44 a.m. OK Java 8 TESTS 6 717 0
225508222 KHUSHI_SINGH_23 B Sept. 27, 2023, 12:12 p.m. OK Java 8 TESTS 6 717 18944000
225534685 vallalasaivishwaja B Sept. 27, 2023, 3:09 p.m. OK Java 8 TESTS 6 733 0
225460717 chengzijun_de_xiatian B Sept. 27, 2023, 5:03 a.m. OK Java 8 TESTS 6 733 19660800
225539557 Echo_14 B Sept. 27, 2023, 3:46 p.m. OK Java 8 TESTS 6 748 0
225506306 marthapavan2002 B Sept. 27, 2023, noon OK Java 8 TESTS 6 779 19660800
225600723 YMSeah B Sept. 28, 2023, 5:56 a.m. OK JavaScript TESTS 6 77 12697600
225585528 aba2122 B Sept. 28, 2023, 2:02 a.m. OK MS C++ 2017 TESTS 6 109 0
225506654 eternalblue2906 B Sept. 27, 2023, 12:02 p.m. OK MS C++ 2017 TESTS 6 109 2764800
225568666 Alexit B Sept. 27, 2023, 8:10 p.m. OK MS C++ 2017 TESTS 6 124 0
225516611 6ziv B Sept. 27, 2023, 1:08 p.m. OK MS C++ 2017 TESTS 6 124 1126400
225457903 n.n.n.kz B Sept. 27, 2023, 4:28 a.m. OK PHP TESTS 6 31 23040000
225458772 n.n.n.kz B Sept. 27, 2023, 4:39 a.m. OK PHP TESTS 6 61 23040000
225500262 iCatOH B Sept. 27, 2023, 11:22 a.m. OK PyPy 3 TESTS 6 171 30617600
225513588 Xamp B Sept. 27, 2023, 12:47 p.m. OK PyPy 3 TESTS 6 187 30515200
225473757 mathsworm B Sept. 27, 2023, 7:55 a.m. OK PyPy 3 TESTS 6 234 27545600
225475390 xyxoro B Sept. 27, 2023, 8:08 a.m. OK PyPy 3 TESTS 6 248 22220800
225548199 Keramine B Sept. 27, 2023, 4:52 p.m. OK PyPy 3 TESTS 6 280 14438400
225462752 leducphuclong B Sept. 27, 2023, 5:26 a.m. OK PyPy 3 TESTS 6 326 27340800
225472591 oneku16 B Sept. 27, 2023, 7:45 a.m. OK PyPy 3-64 TESTS 6 62 35123200
225479145 Marco_Lau B Sept. 27, 2023, 8:38 a.m. OK PyPy 3-64 TESTS 6 77 44441600
225594333 thirumeni B Sept. 28, 2023, 4:43 a.m. OK PyPy 3-64 TESTS 6 92 7884800
225448874 MdAbedin B Sept. 27, 2023, 2:05 a.m. OK PyPy 3-64 TESTS 6 92 42393600
225549228 reijnnn B Sept. 27, 2023, 5 p.m. OK PyPy 3-64 TESTS 6 93 14131200
225562682 birka0 B Sept. 27, 2023, 7:01 p.m. OK PyPy 3-64 TESTS 6 93 14233600
225570691 Mohamed-_-Gamal B Sept. 27, 2023, 8:36 p.m. OK PyPy 3-64 TESTS 6 93 16076800
225563390 Mohamed_Nasr24 B Sept. 27, 2023, 7:09 p.m. OK PyPy 3-64 TESTS 6 93 16076800
225590500 singleslit B Sept. 28, 2023, 3:44 a.m. OK PyPy 3-64 TESTS 6 93 20070400
225493466 AD0 B Sept. 27, 2023, 10:33 a.m. OK PyPy 3-64 TESTS 6 93 34918400
225566333 elistark B Sept. 27, 2023, 7:41 p.m. OK Python 3 TESTS 6 77 18739200
225540166 Zheltuxa B Sept. 27, 2023, 3:50 p.m. OK Python 3 TESTS 6 77 18739200
225539518 Zheltuxa B Sept. 27, 2023, 3:45 p.m. OK Python 3 TESTS 6 78 25088000
225540054 Zheltuxa B Sept. 27, 2023, 3:49 p.m. OK Python 3 TESTS 6 93 18739200
225483203 nishant.dqy B Sept. 27, 2023, 9:09 a.m. OK Python 3 TESTS 6 93 18841600
225539444 Zheltuxa B Sept. 27, 2023, 3:45 p.m. OK Python 3 TESTS 6 93 25088000
225592642 eshwarzz B Sept. 28, 2023, 4:18 a.m. OK Python 3 TESTS 6 124 26828800
225473446 gogetA_S_29 B Sept. 27, 2023, 7:53 a.m. OK Python 3 TESTS 6 124 30515200
225552169 pijumu B Sept. 27, 2023, 5:25 p.m. OK Python 3 TESTS 6 140 3379200
225468707 CAESIUS B Sept. 27, 2023, 7:01 a.m. OK Python 3 TESTS 6 155 33280000
225561354 ShyWoou B Sept. 27, 2023, 6:47 p.m. OK Rust 2021 TESTS 6 31 0

remove filters

Back to search problems