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 |
---|---|---|---|---|---|---|
1620 | Educational Codeforces Round 119 (Rated for Div. 2) | FINISHED | False | 7200 | 91981499 | Dec. 18, 2021, 3:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 8347 ) | E | Replace the Numbers | PROGRAMMING | data structures ds greedy trees |
B"You have an array of integers (initially empty). You have to perform q queries. Each query is of one of two types: Find the resulting array after performing all the queries. The first line contains a single integer q ( 1 <= q <= 5 cdot 10^5 ) -- the number of queries. Next q lines contain queries (one per line). Each query is of one of two types: It's guaranteed that there is at least one query of the first type. In a single line, print k integers -- the resulting array after performing all the queries, where k is the number of queries of the first type. In the first example, the array changes as follows: [] rightarrow [3] rightarrow [3, 1] rightarrow [3, 2] rightarrow [3, 2, 2] rightarrow [3, 2, 2, 1] rightarrow [3, 2, 2, 1, 2] rightarrow [3, 2, 2, 3, 2] . In the second example, the array changes as follows: [] rightarrow [1] rightarrow [1, 2] rightarrow [1, 2, 1] rightarrow [1, 2, 1] . In the third example, the array changes as follows: [] rightarrow [] rightarrow [1] rightarrow [1, 4] rightarrow [1, 4, 2] rightarrow [1, 4, 4] rightarrow [1, 3, 3] rightarrow [1, 3, 3, 2] rightarrow [1, 3, 3, 7] . "... |
98061 |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
139856780 | ssvb | E | Dec. 19, 2021, 5:26 a.m. | OK | D | TESTS | 37 | 716 | 80691200 | ||
139950327 | tssslu | E | Dec. 20, 2021, 4:21 a.m. | OK | GNU C11 | TESTS | 37 | 234 | 10035200 | ||
139830069 | anubhavdhar | E | Dec. 18, 2021, 6:41 p.m. | OK | GNU C++14 | TESTS | 37 | 265 | 9216000 | ||
139887506 | L7-56 | E | Dec. 19, 2021, 11:56 a.m. | OK | GNU C++14 | TESTS | 37 | 280 | 10342400 | ||
139934415 | vjudge3 | E | Dec. 19, 2021, 11:53 p.m. | OK | GNU C++14 | TESTS | 37 | 280 | 10342400 | ||
139903395 | M.w. | E | Dec. 19, 2021, 2:29 p.m. | OK | GNU C++14 | TESTS | 37 | 280 | 11264000 | ||
139869331 | 207R1A6617 | E | Dec. 19, 2021, 8:19 a.m. | OK | GNU C++14 | TESTS | 37 | 280 | 28057600 | ||
139869186 | bhanu1210 | E | Dec. 19, 2021, 8:18 a.m. | OK | GNU C++14 | TESTS | 37 | 280 | 28057600 | ||
139829539 | 4vk | E | Dec. 18, 2021, 6:36 p.m. | OK | GNU C++14 | TESTS | 37 | 280 | 28057600 | ||
139909311 | xuangou | E | Dec. 19, 2021, 3:46 p.m. | OK | GNU C++14 | TESTS | 37 | 280 | 28057600 | ||
139849155 | langminjie | E | Dec. 19, 2021, 2:14 a.m. | OK | GNU C++14 | TESTS | 37 | 295 | 11161600 | ||
139912381 | mayank_cder | E | Dec. 19, 2021, 4:27 p.m. | OK | GNU C++14 | TESTS | 37 | 295 | 11264000 | ||
139899108 | fallleaves01 | E | Dec. 19, 2021, 1:42 p.m. | OK | GNU C++17 | TESTS | 37 | 140 | 12492800 | ||
139898470 | pppiero | E | Dec. 19, 2021, 1:35 p.m. | OK | GNU C++17 | TESTS | 37 | 248 | 10035200 | ||
139889701 | dbwhdans | E | Dec. 19, 2021, 12:20 p.m. | OK | GNU C++17 | TESTS | 37 | 249 | 9830400 | ||
139862798 | milan_s1 | E | Dec. 19, 2021, 6:55 a.m. | OK | GNU C++17 | TESTS | 37 | 264 | 10035200 | ||
139950193 | tssslu | E | Dec. 20, 2021, 4:17 a.m. | OK | GNU C++17 | TESTS | 37 | 264 | 10035200 | ||
139849117 | lrb666 | E | Dec. 19, 2021, 2:12 a.m. | OK | GNU C++17 | TESTS | 37 | 264 | 11264000 | ||
139869955 | jayjian | E | Dec. 19, 2021, 8:28 a.m. | OK | GNU C++17 | TESTS | 37 | 265 | 8396800 | ||
139862018 | syj2347 | E | Dec. 19, 2021, 6:44 a.m. | OK | GNU C++17 | TESTS | 37 | 280 | 7987200 | ||
139829457 | ngma | E | Dec. 18, 2021, 6:35 p.m. | OK | GNU C++17 | TESTS | 37 | 280 | 10035200 | ||
139898660 | Stobered | E | Dec. 19, 2021, 1:37 p.m. | OK | GNU C++17 | TESTS | 37 | 280 | 11161600 | ||
139844653 | fxhd | E | Dec. 18, 2021, 11:12 p.m. | OK | GNU C++17 (64) | TESTS | 37 | 202 | 7987200 | ||
139847501 | Kidding_Ma | E | Dec. 19, 2021, 1:17 a.m. | OK | GNU C++17 (64) | TESTS | 37 | 202 | 7987200 | ||
139848597 | froggyzhang | E | Dec. 19, 2021, 1:56 a.m. | OK | GNU C++17 (64) | TESTS | 37 | 202 | 10035200 | ||
139855977 | huayouhan | E | Dec. 19, 2021, 5:12 a.m. | OK | GNU C++17 (64) | TESTS | 37 | 202 | 10035200 | ||
139883877 | newbie_for_ever | E | Dec. 19, 2021, 11:17 a.m. | OK | GNU C++17 (64) | TESTS | 37 | 202 | 10444800 | ||
139856562 | Love_seventeen | E | Dec. 19, 2021, 5:22 a.m. | OK | GNU C++17 (64) | TESTS | 37 | 202 | 10444800 | ||
139929034 | Masum_Billa_19 | E | Dec. 19, 2021, 8:52 p.m. | OK | GNU C++17 (64) | TESTS | 37 | 202 | 12288000 | ||
139854703 | korokseeds | E | Dec. 19, 2021, 4:47 a.m. | OK | GNU C++17 (64) | TESTS | 37 | 202 | 12288000 | ||
139860944 | no_words_to_sky | E | Dec. 19, 2021, 6:30 a.m. | OK | GNU C++17 (64) | TESTS | 37 | 202 | 13004800 | ||
139839764 | jt.cheng26_orz | E | Dec. 18, 2021, 8:59 p.m. | OK | GNU C++17 (64) | TESTS | 37 | 202 | 47923200 | ||
139856445 | yyfcpp | E | Dec. 19, 2021, 5:21 a.m. | OK | GNU C++20 (64) | TESTS | 37 | 109 | 32051200 | ||
139856624 | yyfcpp | E | Dec. 19, 2021, 5:23 a.m. | OK | GNU C++20 (64) | TESTS | 37 | 109 | 32051200 | ||
139852903 | Leelee | E | Dec. 19, 2021, 4:06 a.m. | OK | GNU C++20 (64) | TESTS | 37 | 156 | 24268800 | ||
139869043 | Teko7a | E | Dec. 19, 2021, 8:16 a.m. | OK | GNU C++20 (64) | TESTS | 37 | 171 | 7987200 | ||
139851677 | swz | E | Dec. 19, 2021, 3:33 a.m. | OK | GNU C++20 (64) | TESTS | 37 | 171 | 8396800 | ||
139850986 | Marslai24 | E | Dec. 19, 2021, 3:13 a.m. | OK | GNU C++20 (64) | TESTS | 37 | 171 | 9420800 | ||
139882287 | kartikmodi | E | Dec. 19, 2021, 11 a.m. | OK | GNU C++20 (64) | TESTS | 37 | 171 | 10035200 | ||
139853757 | korokseeds | E | Dec. 19, 2021, 4:26 a.m. | OK | GNU C++20 (64) | TESTS | 37 | 171 | 10035200 | ||
139876142 | amunduzbaev | E | Dec. 19, 2021, 9:45 a.m. | OK | GNU C++20 (64) | TESTS | 37 | 171 | 10240000 | ||
139883105 | TonyBrown148 | E | Dec. 19, 2021, 11:08 a.m. | OK | GNU C++20 (64) | TESTS | 37 | 171 | 10342400 | ||
139899437 | ak_ankit | E | Dec. 19, 2021, 1:46 p.m. | OK | Java 11 | TESTS | 37 | 483 | 18636800 | ||
139873512 | ddwuya | E | Dec. 19, 2021, 9:13 a.m. | OK | Java 11 | TESTS | 37 | 529 | 28364800 | ||
139911020 | el_programador | E | Dec. 19, 2021, 4:09 p.m. | OK | Java 11 | TESTS | 37 | 530 | 28467200 | ||
139927332 | tushar19280 | E | Dec. 19, 2021, 8:14 p.m. | OK | Java 11 | TESTS | 37 | 655 | 44441600 | ||
139882015 | mayank190801 | E | Dec. 19, 2021, 10:57 a.m. | OK | Java 11 | TESTS | 37 | 701 | 36556800 | ||
139879284 | chevish | E | Dec. 19, 2021, 10:26 a.m. | OK | Java 11 | TESTS | 37 | 732 | 67891200 | ||
139923115 | PetrNguyen | E | Dec. 19, 2021, 6:57 p.m. | OK | Java 11 | TESTS | 37 | 748 | 32870400 | ||
139923023 | RoadToGlory | E | Dec. 19, 2021, 6:56 p.m. | OK | Java 11 | TESTS | 37 | 748 | 32870400 | ||
139906837 | Yash9890 | E | Dec. 19, 2021, 3:12 p.m. | OK | Java 11 | TESTS | 37 | 748 | 43212800 | ||
139846587 | long2142453426 | E | Dec. 19, 2021, 12:38 a.m. | OK | Java 11 | TESTS | 37 | 780 | 79052800 | ||
139895239 | naitikvarshney | E | Dec. 19, 2021, 1:22 p.m. | OK | Java 8 | TESTS | 37 | 421 | 25190400 | ||
139922280 | NerfThis | E | Dec. 19, 2021, 6:44 p.m. | OK | Java 8 | TESTS | 37 | 499 | 38092800 | ||
139835529 | pras7946 | E | Dec. 18, 2021, 7:47 p.m. | OK | Java 8 | TESTS | 37 | 546 | 38809600 | ||
139839756 | Adi_7861 | E | Dec. 18, 2021, 8:59 p.m. | OK | Java 8 | TESTS | 37 | 560 | 33280000 | ||
139926388 | AnshX | E | Dec. 19, 2021, 7:55 p.m. | OK | Java 8 | TESTS | 37 | 639 | 34304000 | ||
139839043 | smahajan54842 | E | Dec. 18, 2021, 8:44 p.m. | OK | Java 8 | TESTS | 37 | 685 | 57651200 | ||
139828090 | nitinrishab2000 | E | Dec. 18, 2021, 6:23 p.m. | OK | Java 8 | TESTS | 37 | 795 | 13721600 | ||
139882322 | haniket | E | Dec. 19, 2021, 11 a.m. | OK | Java 8 | TESTS | 37 | 857 | 125952000 | ||
139859113 | anshulchou_123 | E | Dec. 19, 2021, 6:05 a.m. | OK | Java 8 | TESTS | 37 | 889 | 118067200 | ||
139921165 | NerfThis | E | Dec. 19, 2021, 6:26 p.m. | OK | Java 8 | TESTS | 37 | 1013 | 72396800 | ||
139895029 | _Astron | E | Dec. 19, 2021, 1:20 p.m. | OK | Kotlin 1.4 | TESTS | 37 | 546 | 39833600 | ||
139914766 | mishagam | E | Dec. 19, 2021, 5 p.m. | OK | Kotlin 1.5 | TESTS | 37 | 1357 | 120524800 | ||
139849838 | FLself | E | Dec. 19, 2021, 2:37 a.m. | OK | MS C++ 2017 | TESTS | 37 | 374 | 11059200 | ||
139907311 | Kirkon | E | Dec. 19, 2021, 3:19 p.m. | OK | MS C++ 2017 | TESTS | 37 | 1029 | 16588800 | ||
139861916 | andreyDagger | E | Dec. 19, 2021, 6:43 a.m. | OK | MS C++ 2017 | TESTS | 37 | 1044 | 32563200 | ||
139871970 | 13coder | E | Dec. 19, 2021, 8:54 a.m. | OK | MS C++ 2017 | TESTS | 37 | 1044 | 211456000 | ||
139837169 | fatant | E | Dec. 18, 2021, 8:13 p.m. | OK | MS C++ 2017 | TESTS | 37 | 1138 | 21094400 | ||
139856003 | sakshatmali | E | Dec. 19, 2021, 5:13 a.m. | OK | PyPy 3 | TESTS | 37 | 623 | 76390400 | ||
139828443 | stunner45 | E | Dec. 18, 2021, 6:26 p.m. | OK | PyPy 3 | TESTS | 37 | 654 | 70758400 | ||
139846552 | hxu10 | E | Dec. 19, 2021, 12:36 a.m. | OK | PyPy 3 | TESTS | 37 | 685 | 62771200 | ||
139930952 | xyxoro | E | Dec. 19, 2021, 9:42 p.m. | OK | PyPy 3 | TESTS | 37 | 685 | 94720000 | ||
139859250 | charizard07 | E | Dec. 19, 2021, 6:07 a.m. | OK | PyPy 3 | TESTS | 37 | 795 | 68198400 | ||
139869438 | skhan_org | E | Dec. 19, 2021, 8:21 a.m. | OK | PyPy 3 | TESTS | 37 | 795 | 84992000 | ||
139829187 | KanishkGoel | E | Dec. 18, 2021, 6:32 p.m. | OK | PyPy 3 | TESTS | 37 | 810 | 69017600 | ||
139847929 | armsusman | E | Dec. 19, 2021, 1:33 a.m. | OK | PyPy 3 | TESTS | 37 | 904 | 73625600 | ||
139931042 | xyxoro | E | Dec. 19, 2021, 9:44 p.m. | OK | PyPy 3 | TESTS | 37 | 1060 | 83251200 | ||
139919656 | agarus | E | Dec. 19, 2021, 6:06 p.m. | OK | PyPy 3 | TESTS | 37 | 1076 | 82227200 | ||
139868019 | tommypranay | E | Dec. 19, 2021, 8:02 a.m. | OK | PyPy 3-64 | TESTS | 37 | 592 | 127078400 | ||
139865640 | uttharapally.chandra | E | Dec. 19, 2021, 7:33 a.m. | OK | PyPy 3-64 | TESTS | 37 | 608 | 135372800 | ||
139915807 | aayush0501200 | E | Dec. 19, 2021, 5:14 p.m. | OK | PyPy 3-64 | TESTS | 37 | 670 | 130867200 | ||
139846029 | renjied | E | Dec. 19, 2021, 12:12 a.m. | OK | PyPy 3-64 | TESTS | 37 | 763 | 119705600 | ||
139848689 | armsusman | E | Dec. 19, 2021, 1:59 a.m. | OK | PyPy 3-64 | TESTS | 37 | 779 | 115302400 | ||
139928149 | plevande | E | Dec. 19, 2021, 8:31 p.m. | OK | PyPy 3-64 | TESTS | 37 | 795 | 98918400 | ||
139837964 | bjy | E | Dec. 18, 2021, 8:26 p.m. | OK | PyPy 3-64 | TESTS | 37 | 826 | 94720000 | ||
139847963 | armsusman | E | Dec. 19, 2021, 1:35 a.m. | OK | PyPy 3-64 | TESTS | 37 | 826 | 109260800 | ||
139880282 | Aksnov | E | Dec. 19, 2021, 10:38 a.m. | OK | PyPy 3-64 | TESTS | 37 | 826 | 127283200 | ||
139861506 | mnkp | E | Dec. 19, 2021, 6:37 a.m. | OK | PyPy 3-64 | TESTS | 37 | 904 | 131174400 | ||
139930940 | xyxoro | E | Dec. 19, 2021, 9:42 p.m. | OK | Python 3 | TESTS | 37 | 779 | 60313600 | ||
139931012 | xyxoro | E | Dec. 19, 2021, 9:44 p.m. | OK | Python 3 | TESTS | 37 | 873 | 54067200 | ||
139919875 | agarus | E | Dec. 19, 2021, 6:09 p.m. | OK | Python 3 | TESTS | 37 | 1450 | 44646400 | ||
139882370 | unknownSolver | E | Dec. 19, 2021, 11 a.m. | OK | Python 3 | TESTS | 37 | 1606 | 47513600 | ||
139905926 | shehebe | E | Dec. 19, 2021, 3:01 p.m. | OK | Python 3 | TESTS | 37 | 1684 | 81203200 | ||
139882882 | unknownSolver | E | Dec. 19, 2021, 11:06 a.m. | OK | Python 3 | TESTS | 37 | 1699 | 59699200 | ||
139880101 | Bodybuilderw | E | Dec. 19, 2021, 10:36 a.m. | OK | Python 3 | TESTS | 37 | 1715 | 62054400 | ||
139836032 | khanter_ | E | Dec. 18, 2021, 7:54 p.m. | OK | Python 3 | TESTS | 37 | 1747 | 54169600 | ||
139847952 | armsusman | E | Dec. 19, 2021, 1:34 a.m. | OK | Python 3 | TESTS | 37 | 1824 | 73625600 | ||
139919804 | bhupat2000 | E | Dec. 19, 2021, 6:08 p.m. | OK | Python 3 | TESTS | 37 | 1840 | 57036800 | ||
139924267 | apilat | E | Dec. 19, 2021, 7:17 p.m. | OK | Rust 2021 | TESTS | 37 | 187 | 36556800 | ||
139829203 | Smoge | E | Dec. 18, 2021, 6:32 p.m. | OK | Rust 2021 | TESTS | 37 | 373 | 44441600 | ||
139935833 | Avanta | E | Dec. 20, 2021, 1:04 a.m. | OK | Rust 2021 | TESTS | 37 | 561 | 74752000 | ||
139935817 | Avanta | E | Dec. 20, 2021, 1:03 a.m. | OK | Rust 2021 | TESTS | 37 | 576 | 74752000 |
Back to search problems