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 |
---|---|---|---|---|---|---|
1809 | Educational Codeforces Round 145 (Rated for Div. 2) | FINISHED | False | 7200 | 52241099 | March 23, 2023, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 12956 ) | C | Sum on Subarrays | PROGRAMMING | constructive algorithms greedy math |
B"For an array a = [a_1, a_2, ... , a_n] , let's denote its subarray a[l, r] as the array [a_l, a_{l+1}, ... , a_r] . For example, the array a = [1, -3, 1] has 6 non-empty subarrays: You are given two integers n and k . Construct an array a consisting of n integers such that: The first line contains one integer t ( 1 <= t <= 5000 ) -- the number of test cases. Each test case consists of one line containing two integers n and k ( 2 <= n <= 30 ; 0 <= k <= dfrac{(n+1) cdot n}{2} ). For each test case, print n integers -- the elements of the array meeting the constraints. It can be shown that the answer always exists. If there are multiple answers, print any of them. "... |
114300 |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
198892410 | 666niko | C | March 24, 2023, 5:02 a.m. | OK | GNU C++14 | TESTS | 5 | 15 | 0 | ||
198892253 | Shivangini_5519 | C | March 24, 2023, 4:59 a.m. | OK | GNU C++14 | TESTS | 5 | 15 | 0 | ||
198891508 | Favel | C | March 24, 2023, 4:49 a.m. | OK | GNU C++14 | TESTS | 5 | 15 | 0 | ||
198887825 | y_kx_b | C | March 24, 2023, 3:51 a.m. | OK | GNU C++14 | TESTS | 5 | 15 | 0 | ||
198882393 | include_BM | C | March 24, 2023, 2 a.m. | OK | GNU C++14 | TESTS | 5 | 15 | 0 | ||
198880567 | trh0630 | C | March 24, 2023, 1:20 a.m. | OK | GNU C++14 | TESTS | 5 | 15 | 0 | ||
198879968 | Xu_Hongxi | C | March 24, 2023, 1:08 a.m. | OK | GNU C++14 | TESTS | 5 | 15 | 0 | ||
198870036 | gandhibhanuj | C | March 23, 2023, 10:07 p.m. | OK | GNU C++14 | TESTS | 5 | 15 | 0 | ||
198861005 | MarcoMendoza1 | C | March 23, 2023, 8:38 p.m. | OK | GNU C++14 | TESTS | 5 | 15 | 0 | ||
198849050 | mostafasazid | C | March 23, 2023, 6:39 p.m. | OK | GNU C++14 | TESTS | 5 | 15 | 0 | ||
198897477 | PolymathFaisal | C | March 24, 2023, 6:01 a.m. | OK | GNU C++17 | TESTS | 5 | 15 | 0 | ||
198896372 | yang_6666 | C | March 24, 2023, 5:49 a.m. | OK | GNU C++17 | TESTS | 5 | 15 | 0 | ||
198892008 | Saanteye | C | March 24, 2023, 4:56 a.m. | OK | GNU C++17 | TESTS | 5 | 15 | 0 | ||
198890048 | fa_anony__mous | C | March 24, 2023, 4:29 a.m. | OK | GNU C++17 | TESTS | 5 | 15 | 0 | ||
198888993 | practic3_ | C | March 24, 2023, 4:12 a.m. | OK | GNU C++17 | TESTS | 5 | 15 | 0 | ||
198888779 | itsjustblue | C | March 24, 2023, 4:08 a.m. | OK | GNU C++17 | TESTS | 5 | 15 | 0 | ||
198884828 | xioachou | C | March 24, 2023, 2:54 a.m. | OK | GNU C++17 | TESTS | 5 | 15 | 0 | ||
198883623 | zzzchui | C | March 24, 2023, 2:27 a.m. | OK | GNU C++17 | TESTS | 5 | 15 | 0 | ||
198883388 | anikethend1234 | C | March 24, 2023, 2:21 a.m. | OK | GNU C++17 | TESTS | 5 | 15 | 0 | ||
198881348 | IcealsoHeat | C | March 24, 2023, 1:38 a.m. | OK | GNU C++17 | TESTS | 5 | 15 | 0 | ||
198894985 | _zzh | C | March 24, 2023, 5:32 a.m. | OK | GNU C++17 (64) | TESTS | 5 | 15 | 0 | ||
198891294 | jz796 | C | March 24, 2023, 4:47 a.m. | OK | GNU C++17 (64) | TESTS | 5 | 15 | 0 | ||
198883720 | WYJ_zzzzzzZ | C | March 24, 2023, 2:29 a.m. | OK | GNU C++17 (64) | TESTS | 5 | 15 | 0 | ||
198882800 | Once_I_Liked_AGirl | C | March 24, 2023, 2:10 a.m. | OK | GNU C++17 (64) | TESTS | 5 | 15 | 0 | ||
198881702 | meki | C | March 24, 2023, 1:45 a.m. | OK | GNU C++17 (64) | TESTS | 5 | 15 | 0 | ||
198881366 | MattTheNub | C | March 24, 2023, 1:38 a.m. | OK | GNU C++17 (64) | TESTS | 5 | 15 | 0 | ||
198872534 | Misbaul_Hasan | C | March 23, 2023, 10:44 p.m. | OK | GNU C++17 (64) | TESTS | 5 | 15 | 0 | ||
198866728 | juliany2 | C | March 23, 2023, 9:29 p.m. | OK | GNU C++17 (64) | TESTS | 5 | 15 | 0 | ||
198839568 | chiruno233 | C | March 23, 2023, 5:28 p.m. | OK | GNU C++17 (64) | TESTS | 5 | 15 | 0 | ||
198833733 | _Lan_ | C | March 23, 2023, 4:55 p.m. | OK | GNU C++17 (64) | TESTS | 5 | 15 | 0 |
Back to search problems