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 |
---|---|---|---|---|---|---|
1742 | Codeforces Round 827 (Div. 4) | FINISHED | False | 8700 | 66151499 | Oct. 13, 2022, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 48528 ) | B | Increasing | PROGRAMMING | greedy implementation sortings |
B'You are given an array a of n positive integers. Determine if, by rearranging the elements, you can make the array strictly increasing. In other words, determine if it is possible to rearrange the elements such that a_1 < a_2 < ... < a_n holds. The first line contains a single integer t ( 1 <= q t <= q 100 ) -- the number of test cases. The first line of each test case contains a single integer n ( 1 <= q n <= q 100 ) -- the length of the array. The second line of each test case contains n integers a_i ( 1 <= q a_i <= q 10^9 ) -- the elements of the array. For each test case, output "YES" (without quotes) if the array satisfies the condition, and "NO" (without quotes) otherwise. You can output the answer in any case (for example, the strings "yEs", "yes", "Yes" and "YES" will be recognized as a positive answer). In the first test case any rearrangement will keep the array [1,1,1,1] , which is not strictly increasing. In the second test case, you can make the array [1,3,4,7,8] . '... |
107962 |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
176067170 | Oscar | B | Oct. 13, 2022, 7:42 p.m. | OK | C# 10 | TESTS | 3 | 31 | 9216000 | ||
176071721 | ruzhik | B | Oct. 13, 2022, 8:39 p.m. | OK | C# 10 | TESTS | 3 | 46 | 9318400 | ||
176097465 | p2000032185 | B | Oct. 14, 2022, 4:46 a.m. | OK | Clang++17 Diagnostics | TESTS | 4 | 46 | 0 | ||
176097674 | c2000032220 | B | Oct. 14, 2022, 4:49 a.m. | OK | Clang++17 Diagnostics | TESTS | 4 | 46 | 0 | ||
176084877 | 1548717649 | B | Oct. 14, 2022, 1:43 a.m. | OK | Clang++20 Diagnostics | TESTS | 4 | 46 | 0 | ||
176098389 | yanse214 | B | Oct. 14, 2022, 4:58 a.m. | OK | Clang++20 Diagnostics | TESTS | 4 | 62 | 0 | ||
176056598 | r4andom | B | Oct. 13, 2022, 6:02 p.m. | OK | Clang++20 Diagnostics | TESTS | 3 | 77 | 3174400 | ||
176058788 | zunaed4014 | B | Oct. 13, 2022, 6:20 p.m. | OK | GNU C11 | TESTS | 3 | 0 | 0 | ||
176060835 | hormonclear | B | Oct. 13, 2022, 6:37 p.m. | OK | GNU C11 | TESTS | 3 | 0 | 204800 | ||
176053754 | 01521536261 | B | Oct. 13, 2022, 5:42 p.m. | OK | GNU C11 | TESTS | 3 | 0 | 3686400 | ||
176088937 | Divyansh_iet | B | Oct. 14, 2022, 2:45 a.m. | OK | GNU C11 | TESTS | 4 | 15 | 0 | ||
176090817 | Beku.sh | B | Oct. 14, 2022, 3:12 a.m. | OK | GNU C11 | TESTS | 4 | 15 | 0 | ||
176092860 | TZD11111 | B | Oct. 14, 2022, 3:41 a.m. | OK | GNU C11 | TESTS | 4 | 15 | 0 | ||
176093281 | Sasi_kumar | B | Oct. 14, 2022, 3:47 a.m. | OK | GNU C11 | TESTS | 4 | 15 | 0 | ||
176097707 | EkkoBoss | B | Oct. 14, 2022, 4:49 a.m. | OK | GNU C11 | TESTS | 4 | 15 | 0 | ||
176099170 | Nepenthe_ | B | Oct. 14, 2022, 5:08 a.m. | OK | GNU C11 | TESTS | 4 | 15 | 0 | ||
176086848 | shootoon | B | Oct. 14, 2022, 2:17 a.m. | OK | GNU C11 | TESTS | 4 | 15 | 0 | ||
176092436 | shreymishra2708 | B | Oct. 14, 2022, 3:35 a.m. | OK | GNU C++14 | TESTS | 4 | 0 | 0 | ||
176097752 | EkkoBoss | B | Oct. 14, 2022, 4:50 a.m. | OK | GNU C++14 | TESTS | 4 | 0 | 0 | ||
176103418 | aashikaprakash23 | B | Oct. 14, 2022, 5:53 a.m. | OK | GNU C++14 | TESTS | 4 | 0 | 102400 | ||
176100218 | SaumiK | B | Oct. 14, 2022, 5:20 a.m. | OK | GNU C++14 | TESTS | 4 | 0 | 102400 | ||
176097804 | Shivam164 | B | Oct. 14, 2022, 4:50 a.m. | OK | GNU C++14 | TESTS | 4 | 0 | 102400 | ||
176094786 | -Garbage_Collection- | B | Oct. 14, 2022, 4:09 a.m. | OK | GNU C++14 | TESTS | 4 | 0 | 102400 | ||
176089781 | tokitsukaze | B | Oct. 14, 2022, 2:57 a.m. | OK | GNU C++14 | TESTS | 4 | 0 | 102400 | ||
176088341 | unbecoming | B | Oct. 14, 2022, 2:37 a.m. | OK | GNU C++14 | TESTS | 4 | 0 | 102400 | ||
176087332 | Kanimet0 | B | Oct. 14, 2022, 2:23 a.m. | OK | GNU C++14 | TESTS | 4 | 0 | 102400 | ||
176077300 | octoant | B | Oct. 13, 2022, 10:30 p.m. | OK | GNU C++14 | TESTS | 4 | 0 | 102400 | ||
176088331 | duckbutnot100kg | B | Oct. 14, 2022, 2:37 a.m. | OK | GNU C++17 | TESTS | 4 | 0 | 0 | ||
176089578 | Ganesh007 | B | Oct. 14, 2022, 2:54 a.m. | OK | GNU C++17 | TESTS | 4 | 0 | 0 | ||
176089698 | crazyxyz | B | Oct. 14, 2022, 2:56 a.m. | OK | GNU C++17 | TESTS | 4 | 0 | 0 | ||
176089778 | sukhdevchaudhary799 | B | Oct. 14, 2022, 2:57 a.m. | OK | GNU C++17 | TESTS | 4 | 0 | 0 | ||
176090908 | Leonardo_Toral | B | Oct. 14, 2022, 3:13 a.m. | OK | GNU C++17 | TESTS | 4 | 0 | 0 | ||
176091230 | ty_bj_sty | B | Oct. 14, 2022, 3:18 a.m. | OK | GNU C++17 | TESTS | 4 | 0 | 0 | ||
176093880 | som7 | B | Oct. 14, 2022, 3:56 a.m. | OK | GNU C++17 | TESTS | 4 | 0 | 0 | ||
176095600 | jpablo.marinr | B | Oct. 14, 2022, 4:21 a.m. | OK | GNU C++17 | TESTS | 4 | 0 | 0 | ||
176095622 | __alim_ | B | Oct. 14, 2022, 4:21 a.m. | OK | GNU C++17 | TESTS | 4 | 0 | 0 | ||
176097200 | dongeonmaster45 | B | Oct. 14, 2022, 4:43 a.m. | OK | GNU C++17 | TESTS | 4 | 0 | 0 | ||
176089913 | starrall | B | Oct. 14, 2022, 2:59 a.m. | OK | GNU C++17 (64) | TESTS | 4 | 0 | 0 | ||
176103603 | anuragkumar06243 | B | Oct. 14, 2022, 5:55 a.m. | OK | GNU C++17 (64) | TESTS | 4 | 0 | 0 | ||
176097428 | HP_BenLadeN | B | Oct. 14, 2022, 4:46 a.m. | OK | GNU C++17 (64) | TESTS | 4 | 0 | 0 | ||
176096954 | anmichi | B | Oct. 14, 2022, 4:40 a.m. | OK | GNU C++17 (64) | TESTS | 4 | 0 | 0 | ||
176093622 | Jahidrony037 | B | Oct. 14, 2022, 3:52 a.m. | OK | GNU C++17 (64) | TESTS | 4 | 0 | 0 | ||
176091412 | Anton_Vdovin | B | Oct. 14, 2022, 3:21 a.m. | OK | GNU C++17 (64) | TESTS | 4 | 0 | 0 | ||
176090555 | Kellyz | B | Oct. 14, 2022, 3:09 a.m. | OK | GNU C++17 (64) | TESTS | 4 | 0 | 0 | ||
176086907 | Time_JYF | B | Oct. 14, 2022, 2:17 a.m. | OK | GNU C++17 (64) | TESTS | 4 | 0 | 0 | ||
176086691 | xinjiu | B | Oct. 14, 2022, 2:14 a.m. | OK | GNU C++17 (64) | TESTS | 4 | 0 | 0 | ||
176086632 | lovezah | B | Oct. 14, 2022, 2:13 a.m. | OK | GNU C++17 (64) | TESTS | 4 | 0 | 0 | ||
176099825 | Ivan_Filippov | B | Oct. 14, 2022, 5:15 a.m. | OK | GNU C++20 (64) | TESTS | 4 | 0 | 0 | ||
176100562 | Sergey140146659 | B | Oct. 14, 2022, 5:24 a.m. | OK | GNU C++20 (64) | TESTS | 4 | 0 | 0 | ||
176100866 | _Pioneer | B | Oct. 14, 2022, 5:27 a.m. | OK | GNU C++20 (64) | TESTS | 4 | 0 | 0 | ||
176101473 | khoivotri | B | Oct. 14, 2022, 5:33 a.m. | OK | GNU C++20 (64) | TESTS | 4 | 0 | 0 | ||
176101791 | OnlyDeniko | B | Oct. 14, 2022, 5:37 a.m. | OK | GNU C++20 (64) | TESTS | 4 | 0 | 0 | ||
176102089 | RusticFox86 | B | Oct. 14, 2022, 5:41 a.m. | OK | GNU C++20 (64) | TESTS | 4 | 0 | 0 | ||
176102713 | dhruvk_0806 | B | Oct. 14, 2022, 5:46 a.m. | OK | GNU C++20 (64) | TESTS | 4 | 0 | 0 | ||
176102847 | Aibasov-Askar | B | Oct. 14, 2022, 5:48 a.m. | OK | GNU C++20 (64) | TESTS | 4 | 0 | 0 | ||
176103849 | gravitopple | B | Oct. 14, 2022, 5:57 a.m. | OK | GNU C++20 (64) | TESTS | 4 | 0 | 0 | ||
176104140 | Sameer_Shafayet | B | Oct. 14, 2022, 6 a.m. | OK | GNU C++20 (64) | TESTS | 4 | 0 | 0 | ||
176091096 | graceoflives | B | Oct. 14, 2022, 3:16 a.m. | OK | Go | TESTS | 4 | 15 | 204800 | ||
176053122 | shiro | B | Oct. 13, 2022, 5:38 p.m. | OK | Go | TESTS | 3 | 31 | 18432000 | ||
176086407 | enviornment | B | Oct. 14, 2022, 2:10 a.m. | OK | Java 11 | TESTS | 4 | 140 | 0 | ||
176094944 | mk_0380 | B | Oct. 14, 2022, 4:11 a.m. | OK | Java 11 | TESTS | 4 | 156 | 0 | ||
176064776 | ETHANHUNTMI5 | B | Oct. 13, 2022, 7:15 p.m. | OK | Java 11 | TESTS | 3 | 171 | 0 | ||
176055299 | _bakytov_ | B | Oct. 13, 2022, 5:52 p.m. | OK | Java 11 | TESTS | 3 | 186 | 24678400 | ||
176052879 | singhharshkumar0 | B | Oct. 13, 2022, 5:37 p.m. | OK | Java 11 | TESTS | 3 | 186 | 25292800 | ||
176097509 | Mohammad_Abu_Salh | B | Oct. 14, 2022, 4:46 a.m. | OK | Java 11 | TESTS | 4 | 187 | 0 | ||
176077932 | Alladin456 | B | Oct. 13, 2022, 10:49 p.m. | OK | Java 11 | TESTS | 4 | 187 | 0 | ||
176075741 | ayushh2020 | B | Oct. 13, 2022, 9:52 p.m. | OK | Java 11 | TESTS | 4 | 187 | 25190400 | ||
176081552 | notreallysure | B | Oct. 14, 2022, 12:40 a.m. | OK | Java 11 | TESTS | 4 | 187 | 25292800 | ||
176053270 | ahmed.elbakly | B | Oct. 13, 2022, 5:39 p.m. | OK | Java 11 | TESTS | 3 | 187 | 25292800 | ||
176053074 | manvendramehrotra | B | Oct. 13, 2022, 5:38 p.m. | OK | Java 17 | TESTS | 3 | 140 | 0 | ||
176081201 | IceWolf898 | B | Oct. 14, 2022, 12:33 a.m. | OK | Java 17 | TESTS | 4 | 155 | 39936000 | ||
176064268 | Jimmyneuson | B | Oct. 13, 2022, 7:10 p.m. | OK | Java 17 | TESTS | 3 | 155 | 40550400 | ||
176093878 | shubhamgoel0711 | B | Oct. 14, 2022, 3:56 a.m. | OK | Java 17 | TESTS | 4 | 156 | 0 | ||
176091876 | amit_jha00 | B | Oct. 14, 2022, 3:27 a.m. | OK | Java 17 | TESTS | 4 | 187 | 716800 | ||
176058500 | JinamKeniya | B | Oct. 13, 2022, 6:18 p.m. | OK | Java 17 | TESTS | 3 | 187 | 40345600 | ||
176092557 | maksutovnurda | B | Oct. 14, 2022, 3:37 a.m. | OK | Java 17 | TESTS | 4 | 202 | 409600 | ||
176054259 | harsh.bhandari.v | B | Oct. 13, 2022, 5:46 p.m. | OK | Java 17 | TESTS | 3 | 202 | 40140800 | ||
176056062 | HarshxN | B | Oct. 13, 2022, 5:58 p.m. | OK | Java 17 | TESTS | 3 | 218 | 40652800 | ||
176061154 | OMAR-ARAB | B | Oct. 13, 2022, 6:40 p.m. | OK | Java 17 | TESTS | 3 | 233 | 39628800 | ||
176055762 | Unrated_Pritam | B | Oct. 13, 2022, 5:56 p.m. | OK | Java 8 | TESTS | 3 | 77 | 0 | ||
176058173 | Mohamed308 | B | Oct. 13, 2022, 6:15 p.m. | OK | Java 8 | TESTS | 3 | 92 | 18636800 | ||
176074625 | BishoEzzat | B | Oct. 13, 2022, 9:29 p.m. | OK | Java 8 | TESTS | 4 | 93 | 0 | ||
176083221 | nice333 | B | Oct. 14, 2022, 1:12 a.m. | OK | Java 8 | TESTS | 4 | 93 | 18636800 | ||
176079894 | Ibrahimovic_The_Lion | B | Oct. 13, 2022, 11:59 p.m. | OK | Java 8 | TESTS | 4 | 93 | 18636800 | ||
176067550 | gagan_6730 | B | Oct. 13, 2022, 7:46 p.m. | OK | Java 8 | TESTS | 3 | 93 | 18739200 | ||
176101578 | iamJatinYadav | B | Oct. 14, 2022, 5:35 a.m. | OK | Java 8 | TESTS | 4 | 108 | 0 | ||
176096709 | shynkaaaa | B | Oct. 14, 2022, 4:37 a.m. | OK | Java 8 | TESTS | 4 | 109 | 0 | ||
176063047 | VishalYadav7138 | B | Oct. 13, 2022, 6:57 p.m. | OK | Java 8 | TESTS | 3 | 109 | 0 | ||
176059673 | kausanubhav2018 | B | Oct. 13, 2022, 6:27 p.m. | OK | Java 8 | TESTS | 3 | 109 | 0 | ||
176103580 | sigma69 | B | Oct. 14, 2022, 5:55 a.m. | OK | MS C++ 2017 | TESTS | 4 | 15 | 0 | ||
176101456 | rashed.mamdouh1907 | B | Oct. 14, 2022, 5:33 a.m. | OK | MS C++ 2017 | TESTS | 4 | 15 | 0 | ||
176094171 | onerr | B | Oct. 14, 2022, 4 a.m. | OK | MS C++ 2017 | TESTS | 4 | 15 | 0 | ||
176067821 | Rubayet_Tahsin_Ikra | B | Oct. 13, 2022, 7:49 p.m. | OK | MS C++ 2017 | TESTS | 3 | 15 | 0 | ||
176080343 | sahalaxiaohaiyang | B | Oct. 14, 2022, 12:13 a.m. | OK | MS C++ 2017 | TESTS | 4 | 15 | 1126400 | ||
176070423 | ahm.12ed.m | B | Oct. 13, 2022, 8:21 p.m. | OK | MS C++ 2017 | TESTS | 3 | 15 | 1126400 | ||
176058465 | mourhafsabri | B | Oct. 13, 2022, 6:17 p.m. | OK | MS C++ 2017 | TESTS | 3 | 15 | 1126400 | ||
176057176 | noob2004 | B | Oct. 13, 2022, 6:07 p.m. | OK | MS C++ 2017 | TESTS | 3 | 15 | 1126400 | ||
176056547 | SoulHarsh007 | B | Oct. 13, 2022, 6:02 p.m. | OK | Node.js | TESTS | 3 | 31 | 921600 | ||
176057697 | SoulHarsh007 | B | Oct. 13, 2022, 6:11 p.m. | OK | Node.js | TESTS | 3 | 31 | 9830400 | ||
176057806 | SoulHarsh007 | B | Oct. 13, 2022, 6:12 p.m. | OK | Node.js | TESTS | 3 | 46 | 1024000 | ||
176079355 | wuhuhu | B | Oct. 13, 2022, 11:39 p.m. | OK | Node.js | TESTS | 4 | 46 | 11059200 | ||
176057928 | SoulHarsh007 | B | Oct. 13, 2022, 6:13 p.m. | OK | Node.js | TESTS | 3 | 61 | 921600 | ||
176084382 | Midhilesh | B | Oct. 14, 2022, 1:35 a.m. | OK | PyPy 3 | TESTS | 4 | 77 | 1638400 | ||
176072825 | Shristi02 | B | Oct. 13, 2022, 8:58 p.m. | OK | PyPy 3 | TESTS | 3 | 77 | 1638400 | ||
176077735 | aneesh2002 | B | Oct. 13, 2022, 10:42 p.m. | OK | PyPy 3 | TESTS | 4 | 77 | 17715200 | ||
176075563 | uz2ee | B | Oct. 13, 2022, 9:49 p.m. | OK | PyPy 3 | TESTS | 4 | 77 | 17715200 | ||
176059313 | andrey.starodubtsev | B | Oct. 13, 2022, 6:24 p.m. | OK | PyPy 3 | TESTS | 3 | 92 | 18022400 | ||
176055006 | sheshank10 | B | Oct. 13, 2022, 5:51 p.m. | OK | PyPy 3 | TESTS | 3 | 93 | 1638400 | ||
176097152 | Yash_Nandwana | B | Oct. 14, 2022, 4:42 a.m. | OK | PyPy 3 | TESTS | 4 | 93 | 2764800 | ||
176060553 | Sovi_11 | B | Oct. 13, 2022, 6:35 p.m. | OK | PyPy 3 | TESTS | 3 | 93 | 17715200 | ||
176102050 | vinay272001 | B | Oct. 14, 2022, 5:40 a.m. | OK | PyPy 3 | TESTS | 4 | 156 | 4812800 | ||
176103659 | 1227haran | B | Oct. 14, 2022, 5:55 a.m. | OK | PyPy 3-64 | TESTS | 4 | 46 | 0 | ||
176097238 | punn | B | Oct. 14, 2022, 4:43 a.m. | OK | PyPy 3-64 | TESTS | 4 | 46 | 1536000 | ||
176091464 | Olimov.A | B | Oct. 14, 2022, 3:22 a.m. | OK | PyPy 3-64 | TESTS | 4 | 46 | 1536000 | ||
176088183 | mintplz | B | Oct. 14, 2022, 2:34 a.m. | OK | PyPy 3-64 | TESTS | 4 | 46 | 28774400 | ||
176083996 | bokunopicolo | B | Oct. 14, 2022, 1:28 a.m. | OK | PyPy 3-64 | TESTS | 4 | 46 | 28774400 | ||
176076540 | crapcode | B | Oct. 13, 2022, 10:10 p.m. | OK | PyPy 3-64 | TESTS | 4 | 46 | 28774400 | ||
176075870 | shivamgarg2005 | B | Oct. 13, 2022, 9:55 p.m. | OK | PyPy 3-64 | TESTS | 4 | 46 | 28774400 | ||
176075366 | gabrielbonifacio | B | Oct. 13, 2022, 9:44 p.m. | OK | PyPy 3-64 | TESTS | 4 | 46 | 28774400 | ||
176066710 | ruchPotterCoder | B | Oct. 13, 2022, 7:36 p.m. | OK | PyPy 3-64 | TESTS | 3 | 46 | 28774400 | ||
176077834 | Oliver44 | B | Oct. 13, 2022, 10:45 p.m. | OK | PyPy 3-64 | TESTS | 4 | 46 | 30412800 | ||
176098756 | mr.bippen | B | Oct. 14, 2022, 5:03 a.m. | OK | Python 3 | TESTS | 4 | 30 | 0 | ||
176079750 | PyramidsCoder | B | Oct. 13, 2022, 11:53 p.m. | OK | Python 3 | TESTS | 4 | 30 | 0 | ||
176068635 | Aman_cool | B | Oct. 13, 2022, 7:59 p.m. | OK | Python 3 | TESTS | 3 | 30 | 0 | ||
176070753 | dog_with_a_tail | B | Oct. 13, 2022, 8:25 p.m. | OK | Python 3 | TESTS | 3 | 30 | 4300800 | ||
176059930 | Kavyarupa.N | B | Oct. 13, 2022, 6:29 p.m. | OK | Python 3 | TESTS | 3 | 30 | 4505600 | ||
176102394 | 2009amit0509 | B | Oct. 14, 2022, 5:43 a.m. | OK | Python 3 | TESTS | 4 | 31 | 0 | ||
176095570 | 2000031068Nithin | B | Oct. 14, 2022, 4:21 a.m. | OK | Python 3 | TESTS | 4 | 31 | 0 | ||
176093689 | 6945786395KienNT | B | Oct. 14, 2022, 3:53 a.m. | OK | Python 3 | TESTS | 4 | 31 | 0 | ||
176091535 | Goodboy22 | B | Oct. 14, 2022, 3:23 a.m. | OK | Python 3 | TESTS | 4 | 31 | 0 | ||
176090058 | 2000031824 | B | Oct. 14, 2022, 3:02 a.m. | OK | Python 3 | TESTS | 4 | 31 | 0 | ||
176062657 | yogiswarvvs | B | Oct. 13, 2022, 6:54 p.m. | OK | Ruby 3 | TESTS | 3 | 202 | 46182400 | ||
176083687 | liut | B | Oct. 14, 2022, 1:22 a.m. | OK | Rust 2021 | TESTS | 4 | 0 | 1228800 | ||
176094572 | cycleke | B | Oct. 14, 2022, 4:05 a.m. | OK | Rust 2021 | TESTS | 4 | 15 | 0 |
Back to search problems