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 |
---|---|---|---|---|---|---|
1608 | Codeforces Round 758 (Div.1 + Div. 2) | FINISHED | False | 7200 | 92606099 | Dec. 11, 2021, 10:05 a.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 19129 ) | A | Find Array | PROGRAMMING | constructive algorithms math |
B"Given n , find any array a_1, a_2, ldots, a_n of integers such that all of the following conditions hold: 1 <= a_i <= 10^9 for every i from 1 to n . a_1 < a_2 < ldots <a_n For every i from 2 to n , a_i isn't divisible by a_{i-1} It can be shown that such an array always exists under the constraints of the problem. The first line contains the number of test cases t ( 1 <= t <= 100 ). Description of the test cases follows. The only line of each test case contains a single integer n ( 1 <= n <= 1000 ). It is guaranteed that the sum of n over all test cases does not exceed 10^4 . For each test case print n integers a_1, a_2, ldots, a_n -- the array you found. If there are multiple arrays satisfying all the conditions, print any of them. In the first test case, array [1] satisfies all the conditions. In the second test case, array [2, 3] satisfies all the conditions, as 2<3 and 3 is not divisible by 2 . In the third test case, array [111, 1111, 11111, 111111, 1111111, 11111111, 111111111] satisfies all the conditions, as it's increasing and a_i isn't divisible by a_{i-1} for any i from 2 to 7 . "... |
Editorial of Codeforces Round #758 (Div.1 + Div. 2) |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
138776490 | badman739 | A | Dec. 11, 2021, 1:01 p.m. | OK | Clang++17 Diagnostics | TESTS | 20 | 46 | 0 | ||
138791563 | New_coder_ | A | Dec. 11, 2021, 3:30 p.m. | OK | Clang++17 Diagnostics | TESTS | 20 | 46 | 0 | ||
138785897 | minsatahseyam | A | Dec. 11, 2021, 2:27 p.m. | OK | GNU C11 | TESTS | 20 | 31 | 0 | ||
138789054 | saker.hajji | A | Dec. 11, 2021, 3 p.m. | OK | GNU C11 | TESTS | 20 | 31 | 0 | ||
138785585 | akashkb_a01 | A | Dec. 11, 2021, 2:24 p.m. | OK | GNU C11 | TESTS | 20 | 31 | 0 | ||
138760670 | S.M._Nafis_Ahmed | A | Dec. 11, 2021, 11:39 a.m. | OK | GNU C11 | TESTS | 20 | 46 | 0 | ||
138767337 | acfmidinsw | A | Dec. 11, 2021, 11:58 a.m. | OK | GNU C11 | TESTS | 20 | 46 | 0 | ||
138785161 | akashkb_a01 | A | Dec. 11, 2021, 2:20 p.m. | OK | GNU C11 | TESTS | 20 | 46 | 0 | ||
138785822 | the.esperanza.24 | A | Dec. 11, 2021, 2:26 p.m. | OK | GNU C11 | TESTS | 20 | 46 | 0 | ||
138790899 | murali_33 | A | Dec. 11, 2021, 3:22 p.m. | OK | GNU C11 | TESTS | 20 | 46 | 0 | ||
138800834 | jayindia024 | A | Dec. 11, 2021, 5:23 p.m. | OK | GNU C11 | TESTS | 20 | 62 | 0 | ||
138795756 | Strange_doctor | A | Dec. 11, 2021, 4:18 p.m. | OK | GNU C++14 | TESTS | 20 | 0 | 0 | ||
138791672 | yhhuang | A | Dec. 11, 2021, 3:32 p.m. | OK | GNU C++14 | TESTS | 20 | 0 | 0 | ||
138781972 | ahmad-shama | A | Dec. 11, 2021, 1:51 p.m. | OK | GNU C++14 | TESTS | 20 | 0 | 1638400 | ||
138830199 | kira_00 | A | Dec. 12, 2021, 5:53 a.m. | OK | GNU C++14 | TESTS | 20 | 15 | 0 | ||
138830027 | gangilvaibhav | A | Dec. 12, 2021, 5:49 a.m. | OK | GNU C++14 | TESTS | 20 | 15 | 0 | ||
138830015 | Wi_Es | A | Dec. 12, 2021, 5:49 a.m. | OK | GNU C++14 | TESTS | 20 | 15 | 0 | ||
138829855 | Vibhum | A | Dec. 12, 2021, 5:46 a.m. | OK | GNU C++14 | TESTS | 20 | 15 | 0 | ||
138829295 | skblmt | A | Dec. 12, 2021, 5:33 a.m. | OK | GNU C++14 | TESTS | 20 | 15 | 0 | ||
138829259 | Xiao_kr | A | Dec. 12, 2021, 5:32 a.m. | OK | GNU C++14 | TESTS | 20 | 15 | 0 | ||
138829042 | NoobMaster22 | A | Dec. 12, 2021, 5:27 a.m. | OK | GNU C++14 | TESTS | 20 | 15 | 0 | ||
138816159 | Tokesh | A | Dec. 11, 2021, 9:46 p.m. | OK | GNU C++17 | TESTS | 20 | 0 | 0 | ||
138775009 | frustrated_n00b | A | Dec. 11, 2021, 12:48 p.m. | OK | GNU C++17 | TESTS | 20 | 0 | 0 | ||
138804288 | vkm41101 | A | Dec. 11, 2021, 6:09 p.m. | OK | GNU C++17 | TESTS | 20 | 0 | 0 | ||
138812314 | Burazam | A | Dec. 11, 2021, 8:19 p.m. | OK | GNU C++17 | TESTS | 20 | 0 | 0 | ||
138776089 | Yuushia | A | Dec. 11, 2021, 12:57 p.m. | OK | GNU C++17 | TESTS | 20 | 0 | 0 | ||
138778564 | mohammad._.abohasan | A | Dec. 11, 2021, 1:21 p.m. | OK | GNU C++17 | TESTS | 20 | 0 | 0 | ||
138783358 | 8528190099VuBA1 | A | Dec. 11, 2021, 2:03 p.m. | OK | GNU C++17 | TESTS | 20 | 0 | 0 | ||
138784805 | watertiger01 | A | Dec. 11, 2021, 2:17 p.m. | OK | GNU C++17 | TESTS | 20 | 0 | 0 | ||
138799340 | BasharAhmed | A | Dec. 11, 2021, 5:03 p.m. | OK | GNU C++17 | TESTS | 20 | 0 | 0 | ||
138830600 | Pranav_03 | A | Dec. 12, 2021, 6:01 a.m. | OK | GNU C++17 | TESTS | 20 | 15 | 0 | ||
138774743 | iHam898 | A | Dec. 11, 2021, 12:45 p.m. | OK | GNU C++17 (64) | TESTS | 20 | 0 | 0 | ||
138774667 | BOBLT | A | Dec. 11, 2021, 12:44 p.m. | OK | GNU C++17 (64) | TESTS | 20 | 0 | 0 | ||
138828994 | Says_Tomabel | A | Dec. 12, 2021, 5:26 a.m. | OK | GNU C++17 (64) | TESTS | 20 | 15 | 0 | ||
138829831 | Jot_2000 | A | Dec. 12, 2021, 5:45 a.m. | OK | GNU C++17 (64) | TESTS | 20 | 15 | 0 | ||
138829682 | Rawat26 | A | Dec. 12, 2021, 5:42 a.m. | OK | GNU C++17 (64) | TESTS | 20 | 15 | 0 | ||
138828730 | heisenbug04 | A | Dec. 12, 2021, 5:21 a.m. | OK | GNU C++17 (64) | TESTS | 20 | 15 | 0 | ||
138828039 | harsh_malik | A | Dec. 12, 2021, 5:06 a.m. | OK | GNU C++17 (64) | TESTS | 20 | 15 | 0 | ||
138826278 | Manchester_UNITED | A | Dec. 12, 2021, 4:20 a.m. | OK | GNU C++17 (64) | TESTS | 20 | 15 | 0 | ||
138825977 | _whb | A | Dec. 12, 2021, 4:12 a.m. | OK | GNU C++17 (64) | TESTS | 20 | 15 | 0 | ||
138825444 | WHY2021 | A | Dec. 12, 2021, 3:57 a.m. | OK | GNU C++17 (64) | TESTS | 20 | 15 | 0 | ||
138798317 | Mohammed84Farouk | A | Dec. 11, 2021, 4:50 p.m. | OK | GNU C++20 (64) | TESTS | 20 | 0 | 0 | ||
138799901 | Ankit-kandpal | A | Dec. 11, 2021, 5:11 p.m. | OK | GNU C++20 (64) | TESTS | 20 | 0 | 0 | ||
138803644 | vishalmishra998452 | A | Dec. 11, 2021, 6:01 p.m. | OK | GNU C++20 (64) | TESTS | 20 | 0 | 0 | ||
138804292 | berqiamouad | A | Dec. 11, 2021, 6:09 p.m. | OK | GNU C++20 (64) | TESTS | 20 | 0 | 0 | ||
138776219 | code_x20 | A | Dec. 11, 2021, 12:58 p.m. | OK | GNU C++20 (64) | TESTS | 20 | 0 | 0 | ||
138781859 | ayu_shh7 | A | Dec. 11, 2021, 1:50 p.m. | OK | GNU C++20 (64) | TESTS | 20 | 0 | 0 | ||
138830279 | bkifhr6 | A | Dec. 12, 2021, 5:54 a.m. | OK | GNU C++20 (64) | TESTS | 20 | 15 | 0 | ||
138828309 | Ayush__AT | A | Dec. 12, 2021, 5:12 a.m. | OK | GNU C++20 (64) | TESTS | 20 | 15 | 0 | ||
138828238 | abhinay_76 | A | Dec. 12, 2021, 5:11 a.m. | OK | GNU C++20 (64) | TESTS | 20 | 15 | 0 | ||
138830296 | heisenberg09 | A | Dec. 12, 2021, 5:54 a.m. | OK | GNU C++20 (64) | TESTS | 20 | 15 | 0 | ||
138783837 | jj999 | A | Dec. 11, 2021, 2:07 p.m. | OK | Go | TESTS | 20 | 77 | 0 | ||
138812945 | podtelkin | A | Dec. 11, 2021, 8:32 p.m. | OK | Java 11 | TESTS | 20 | 171 | 0 | ||
138777213 | ayush__1411 | A | Dec. 11, 2021, 1:08 p.m. | OK | Java 11 | TESTS | 20 | 171 | 0 | ||
138807686 | Nicolas125841 | A | Dec. 11, 2021, 6:57 p.m. | OK | Java 11 | TESTS | 20 | 187 | 0 | ||
138794284 | LongWalk | A | Dec. 11, 2021, 4:02 p.m. | OK | Java 11 | TESTS | 20 | 187 | 0 | ||
138814708 | toy0407 | A | Dec. 11, 2021, 9:07 p.m. | OK | Java 11 | TESTS | 20 | 187 | 0 | ||
138829176 | SavageClown007 | A | Dec. 12, 2021, 5:30 a.m. | OK | Java 11 | TESTS | 20 | 202 | 0 | ||
138821942 | iamavalon | A | Dec. 12, 2021, 1:54 a.m. | OK | Java 11 | TESTS | 20 | 202 | 0 | ||
138820298 | gurkaran_s | A | Dec. 12, 2021, 12:43 a.m. | OK | Java 11 | TESTS | 20 | 202 | 0 | ||
138798014 | procrastinate7 | A | Dec. 11, 2021, 4:46 p.m. | OK | Java 11 | TESTS | 20 | 202 | 0 | ||
138778702 | iamsoumik | A | Dec. 11, 2021, 1:22 p.m. | OK | Java 11 | TESTS | 20 | 202 | 0 | ||
138779501 | lcheeme1 | A | Dec. 11, 2021, 1:30 p.m. | OK | Java 8 | TESTS | 20 | 93 | 0 | ||
138815311 | snowyrsb | A | Dec. 11, 2021, 9:23 p.m. | OK | Java 8 | TESTS | 20 | 93 | 0 | ||
138807842 | Praney | A | Dec. 11, 2021, 6:59 p.m. | OK | Java 8 | TESTS | 20 | 93 | 0 | ||
138784730 | anonxx5 | A | Dec. 11, 2021, 2:16 p.m. | OK | Java 8 | TESTS | 20 | 93 | 0 | ||
138779826 | nitinrishab2000 | A | Dec. 11, 2021, 1:33 p.m. | OK | Java 8 | TESTS | 20 | 93 | 0 | ||
138824003 | achyuta.rajaram | A | Dec. 12, 2021, 3:11 a.m. | OK | Java 8 | TESTS | 20 | 108 | 0 | ||
138810919 | KNIGHT0X300 | A | Dec. 11, 2021, 7:52 p.m. | OK | Java 8 | TESTS | 20 | 109 | 0 | ||
138784688 | nil1_11 | A | Dec. 11, 2021, 2:15 p.m. | OK | Java 8 | TESTS | 20 | 109 | 0 | ||
138795188 | Yuxiang | A | Dec. 11, 2021, 4:12 p.m. | OK | Java 8 | TESTS | 20 | 109 | 0 | ||
138824098 | muhammad_mehedi_hasan | A | Dec. 12, 2021, 3:15 a.m. | OK | Java 8 | TESTS | 20 | 124 | 0 | ||
138775029 | _Astron | A | Dec. 11, 2021, 12:48 p.m. | OK | Kotlin 1.4 | TESTS | 20 | 109 | 0 | ||
138778249 | m20v | A | Dec. 11, 2021, 1:18 p.m. | OK | Kotlin 1.5 | TESTS | 20 | 202 | 409600 | ||
138778293 | M7md3sam070 | A | Dec. 11, 2021, 1:18 p.m. | OK | MS C++ 2017 | TESTS | 20 | 15 | 0 | ||
138762469 | Ir0nic_Joker | A | Dec. 11, 2021, 11:45 a.m. | OK | MS C++ 2017 | TESTS | 20 | 15 | 0 | ||
138824423 | wo_cao | A | Dec. 12, 2021, 3:25 a.m. | OK | MS C++ 2017 | TESTS | 20 | 15 | 0 | ||
138818918 | Owen_Perez | A | Dec. 11, 2021, 11:34 p.m. | OK | MS C++ 2017 | TESTS | 20 | 15 | 0 | ||
138806176 | maneesh_kumar | A | Dec. 11, 2021, 6:35 p.m. | OK | MS C++ 2017 | TESTS | 20 | 15 | 0 | ||
138803728 | starboyinanimetoo | A | Dec. 11, 2021, 6:02 p.m. | OK | MS C++ 2017 | TESTS | 20 | 15 | 0 | ||
138778949 | _Rimjhim_36 | A | Dec. 11, 2021, 1:24 p.m. | OK | MS C++ 2017 | TESTS | 20 | 15 | 0 | ||
138775197 | kybergur | A | Dec. 11, 2021, 12:49 p.m. | OK | MS C++ 2017 | TESTS | 20 | 15 | 0 | ||
138822264 | bkifhr6 | A | Dec. 12, 2021, 2:05 a.m. | OK | MS C++ 2017 | TESTS | 20 | 15 | 3993600 | ||
138825063 | pankaj_gudlani | A | Dec. 12, 2021, 3:45 a.m. | OK | MS C++ 2017 | TESTS | 20 | 30 | 0 | ||
138788692 | Nidz05 | A | Dec. 11, 2021, 2:56 p.m. | OK | .NET Core C# | TESTS | 20 | 93 | 819200 | ||
138827697 | asutosh1998 | A | Dec. 12, 2021, 4:58 a.m. | OK | .NET Core C# | TESTS | 20 | 140 | 409600 | ||
138780016 | BrovkoMih | A | Dec. 11, 2021, 1:34 p.m. | OK | PascalABC.NET | TESTS | 20 | 264 | 0 | ||
138769314 | the_pink_elephant | A | Dec. 11, 2021, 12:03 p.m. | OK | PyPy 3 | TESTS | 20 | 92 | 614400 | ||
138771213 | IceMang | A | Dec. 11, 2021, 12:21 p.m. | OK | PyPy 3 | TESTS | 20 | 93 | 1126400 | ||
138802853 | capi2list | A | Dec. 11, 2021, 5:49 p.m. | OK | PyPy 3 | TESTS | 20 | 93 | 2457600 | ||
138816925 | Liberator187 | A | Dec. 11, 2021, 10:11 p.m. | OK | PyPy 3 | TESTS | 20 | 93 | 2662400 | ||
138815276 | MongyTrad | A | Dec. 11, 2021, 9:22 p.m. | OK | PyPy 3 | TESTS | 20 | 93 | 2969600 | ||
138820490 | fpc_coder | A | Dec. 12, 2021, 12:51 a.m. | OK | PyPy 3 | TESTS | 20 | 93 | 3072000 | ||
138793938 | -DanTheMan- | A | Dec. 11, 2021, 3:57 p.m. | OK | PyPy 3 | TESTS | 20 | 93 | 3072000 | ||
138805915 | wolfram_ | A | Dec. 11, 2021, 6:31 p.m. | OK | PyPy 3 | TESTS | 20 | 93 | 3481600 | ||
138825448 | 500068183 | A | Dec. 12, 2021, 3:58 a.m. | OK | PyPy 3 | TESTS | 20 | 108 | 2457600 | ||
138782326 | K.goyal | A | Dec. 11, 2021, 1:54 p.m. | OK | PyPy 3 | TESTS | 20 | 108 | 2560000 | ||
138771448 | mrobiul | A | Dec. 11, 2021, 12:22 p.m. | OK | PyPy 3-64 | TESTS | 20 | 109 | 307200 | ||
138827690 | MHAII | A | Dec. 12, 2021, 4:58 a.m. | OK | PyPy 3-64 | TESTS | 20 | 109 | 1331200 | ||
138824539 | conqueror_of_tourist | A | Dec. 12, 2021, 3:29 a.m. | OK | PyPy 3-64 | TESTS | 20 | 109 | 1433600 | ||
138785238 | _N_0_0_B_ | A | Dec. 11, 2021, 2:21 p.m. | OK | PyPy 3-64 | TESTS | 20 | 124 | 1945600 | ||
138816010 | freakbuoyancy | A | Dec. 11, 2021, 9:42 p.m. | OK | PyPy 3-64 | TESTS | 20 | 124 | 2355200 | ||
138806956 | Arnodian | A | Dec. 11, 2021, 6:46 p.m. | OK | PyPy 3-64 | TESTS | 20 | 124 | 2355200 | ||
138785141 | _N_0_0_B_ | A | Dec. 11, 2021, 2:20 p.m. | OK | PyPy 3-64 | TESTS | 20 | 124 | 2355200 | ||
138785494 | limalka_sadith | A | Dec. 11, 2021, 2:23 p.m. | OK | PyPy 3-64 | TESTS | 20 | 124 | 2457600 | ||
138803741 | Chobshaw | A | Dec. 11, 2021, 6:02 p.m. | OK | PyPy 3-64 | TESTS | 20 | 124 | 2457600 | ||
138776554 | aayush0501200 | A | Dec. 11, 2021, 1:01 p.m. | OK | PyPy 3-64 | TESTS | 20 | 139 | 2457600 | ||
138830507 | ashu680537 | A | Dec. 12, 2021, 5:59 a.m. | OK | Python 3 | TESTS | 20 | 46 | 0 | ||
138821130 | berealatul | A | Dec. 12, 2021, 1:17 a.m. | OK | Python 3 | TESTS | 20 | 46 | 0 | ||
138820683 | luogu_bot5 | A | Dec. 12, 2021, 12:59 a.m. | OK | Python 3 | TESTS | 20 | 46 | 0 | ||
138820503 | chenyuxuan__2009 | A | Dec. 12, 2021, 12:52 a.m. | OK | Python 3 | TESTS | 20 | 46 | 0 | ||
138809904 | Raselroky | A | Dec. 11, 2021, 7:33 p.m. | OK | Python 3 | TESTS | 20 | 46 | 0 | ||
138807981 | satishcrazy | A | Dec. 11, 2021, 7:01 p.m. | OK | Python 3 | TESTS | 20 | 46 | 0 | ||
138806674 | YashNandwana | A | Dec. 11, 2021, 6:42 p.m. | OK | Python 3 | TESTS | 20 | 46 | 0 | ||
138805789 | tanmay121 | A | Dec. 11, 2021, 6:29 p.m. | OK | Python 3 | TESTS | 20 | 46 | 0 | ||
138790753 | abhinav4202 | A | Dec. 11, 2021, 3:20 p.m. | OK | Python 3 | TESTS | 20 | 46 | 0 | ||
138796201 | gouravtiwari237 | A | Dec. 11, 2021, 4:23 p.m. | OK | Python 3 | TESTS | 20 | 46 | 0 | ||
138795832 | silxi | A | Dec. 11, 2021, 4:19 p.m. | OK | Rust 2021 | TESTS | 20 | 15 | 0 | ||
138775067 | Spheniscine | A | Dec. 11, 2021, 12:48 p.m. | OK | Rust 2021 | TESTS | 20 | 15 | 102400 |
Back to search problems