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 |
---|---|---|---|---|---|---|
1864 | Harbour.Space Scholarship Contest 2023-2024 (Div. 1 + Div. 2) | FINISHED | False | 10800 | 38762699 | Aug. 26, 2023, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 20389 ) | A | Increasing and Decreasing | PROGRAMMING | constructive algorithms implementation math |
B'You are given three integers x , y , and n . Your task is to construct an array a consisting of n integers which satisfies the following conditions: If there is no such array a , print a single integer -1 . Each test contains multiple test cases. The first line contains the number of test cases t ( 1 <= t <= 1000 ). The description of the test cases follows. The only line of each test case contains three integers x , y , n ( 1 <= x < y <= 1000,3 <= n <= 1000 ). For each test case, output n integers a_1,a_2, ldots,a_n . If there are multiple solutions, print any of them. If there is no solution, print a single integer -1 . In the first test case, a=[1,3,4] , which is strictly increasing. Next, b_1=a_2-a_1=3-1=2 , b_2=a_3-a_2=4-3=1 , thus b=[2,1] , which is strictly decreasing. In the second test case, there is no array a that satisfies all the conditions above. '... |
Harbour.Space Scholarship Contest 2023-2024 (Div. 1 + Div. 2) Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
220592392 | Khusniddin2002 | A | Aug. 26, 2023, 5:15 p.m. | OK | C# 10 | TESTS | 8 | 46 | 1126400 | ||
220623098 | bluemegane | A | Aug. 27, 2023, 12:23 a.m. | OK | C# 8 | TESTS | 8 | 92 | 921600 | ||
220609372 | ak_2004 | A | Aug. 26, 2023, 8:11 p.m. | OK | Clang++17 Diagnostics | TESTS | 8 | 62 | 1024000 | ||
220614166 | divyarajsinh04 | A | Aug. 26, 2023, 9:08 p.m. | OK | Clang++17 Diagnostics | TESTS | 8 | 78 | 3174400 | ||
220615062 | 22bcs030 | A | Aug. 26, 2023, 9:22 p.m. | OK | Clang++20 Diagnostics | TESTS | 8 | 62 | 1024000 | ||
220594113 | a____ | A | Aug. 26, 2023, 5:22 p.m. | OK | GNU C11 | TESTS | 8 | 46 | 0 | ||
220632831 | aaravmalani | A | Aug. 27, 2023, 4:05 a.m. | OK | GNU C11 | TESTS | 8 | 46 | 0 | ||
220608251 | Rashid_Ul_Islam | A | Aug. 26, 2023, 7:59 p.m. | OK | GNU C11 | TESTS | 8 | 46 | 0 | ||
220587656 | 2100090088csit | A | Aug. 26, 2023, 4:57 p.m. | OK | GNU C11 | TESTS | 8 | 61 | 0 | ||
220611592 | zubaer_ahammed | A | Aug. 26, 2023, 8:35 p.m. | OK | GNU C11 | TESTS | 8 | 62 | 0 | ||
220596816 | jhahidulzahid | A | Aug. 26, 2023, 5:32 p.m. | OK | GNU C11 | TESTS | 8 | 77 | 0 | ||
220633321 | ldh081122 | A | Aug. 27, 2023, 4:14 a.m. | OK | GNU C++14 | TESTS | 8 | 0 | 0 | ||
220627842 | jzp | A | Aug. 27, 2023, 2:25 a.m. | OK | GNU C++14 | TESTS | 8 | 0 | 0 | ||
220621793 | slenbol | A | Aug. 26, 2023, 11:48 p.m. | OK | GNU C++14 | TESTS | 8 | 0 | 0 | ||
220634390 | Dowry | A | Aug. 27, 2023, 4:33 a.m. | OK | GNU C++14 | TESTS | 8 | 0 | 102400 | ||
220630249 | Reimp | A | Aug. 27, 2023, 3:15 a.m. | OK | GNU C++14 | TESTS | 8 | 0 | 204800 | ||
220621667 | luohanzhao1 | A | Aug. 26, 2023, 11:44 p.m. | OK | GNU C++14 | TESTS | 8 | 0 | 2048000 | ||
220638369 | CipherQuest | A | Aug. 27, 2023, 5:28 a.m. | OK | GNU C++14 | TESTS | 8 | 15 | 0 | ||
220639091 | abhishek_1624 | A | Aug. 27, 2023, 5:37 a.m. | OK | GNU C++14 | TESTS | 8 | 15 | 0 | ||
220640188 | Capron | A | Aug. 27, 2023, 5:49 a.m. | OK | GNU C++14 | TESTS | 8 | 15 | 0 | ||
220640990 | kuguadawang | A | Aug. 27, 2023, 5:59 a.m. | OK | GNU C++14 | TESTS | 8 | 15 | 0 | ||
220626493 | tranducbo | A | Aug. 27, 2023, 1:53 a.m. | OK | GNU C++17 | TESTS | 8 | 0 | 0 | ||
220619558 | SHZhang | A | Aug. 26, 2023, 10:49 p.m. | OK | GNU C++17 | TESTS | 8 | 0 | 0 | ||
220618953 | thisisadarshtyagi | A | Aug. 26, 2023, 10:34 p.m. | OK | GNU C++17 | TESTS | 8 | 0 | 0 | ||
220635816 | CHANDANKR7730 | A | Aug. 27, 2023, 4:53 a.m. | OK | GNU C++17 | TESTS | 8 | 0 | 0 | ||
220607197 | randyorten9055 | A | Aug. 26, 2023, 7:50 p.m. | OK | GNU C++17 | TESTS | 8 | 0 | 0 | ||
220637552 | mohammednayab000 | A | Aug. 27, 2023, 5:17 a.m. | OK | GNU C++17 | TESTS | 8 | 0 | 0 | ||
220613988 | Chirag_patel000 | A | Aug. 26, 2023, 9:05 p.m. | OK | GNU C++17 | TESTS | 8 | 0 | 0 | ||
220635124 | pineapple_pizza69 | A | Aug. 27, 2023, 4:44 a.m. | OK | GNU C++17 | TESTS | 8 | 0 | 0 | ||
220634652 | jevinjojo | A | Aug. 27, 2023, 4:37 a.m. | OK | GNU C++17 | TESTS | 8 | 0 | 0 | ||
220627013 | i_am_rusher | A | Aug. 27, 2023, 2:05 a.m. | OK | GNU C++17 | TESTS | 8 | 0 | 0 | ||
220624018 | Rashed.23 | A | Aug. 27, 2023, 12:50 a.m. | OK | GNU C++17 (64) | TESTS | 8 | 0 | 0 | ||
220638061 | zhangxiaogao | A | Aug. 27, 2023, 5:24 a.m. | OK | GNU C++17 (64) | TESTS | 8 | 0 | 0 | ||
220633593 | harshsonkar | A | Aug. 27, 2023, 4:19 a.m. | OK | GNU C++17 (64) | TESTS | 8 | 0 | 0 | ||
220615651 | enslaved | A | Aug. 26, 2023, 9:31 p.m. | OK | GNU C++17 (64) | TESTS | 8 | 0 | 0 | ||
220609887 | akdfjhafjlk | A | Aug. 26, 2023, 8:16 p.m. | OK | GNU C++17 (64) | TESTS | 8 | 0 | 0 | ||
220624164 | Poseidon. | A | Aug. 27, 2023, 12:54 a.m. | OK | GNU C++17 (64) | TESTS | 8 | 0 | 102400 | ||
220632196 | sizihan | A | Aug. 27, 2023, 3:52 a.m. | OK | GNU C++17 (64) | TESTS | 8 | 0 | 409600 | ||
220628893 | KRISH_FOUSC | A | Aug. 27, 2023, 2:47 a.m. | OK | GNU C++17 (64) | TESTS | 8 | 0 | 1638400 | ||
220630686 | BK0717-KC | A | Aug. 27, 2023, 3:22 a.m. | OK | GNU C++17 (64) | TESTS | 8 | 0 | 7987200 | ||
220640848 | Abs_ | A | Aug. 27, 2023, 5:57 a.m. | OK | GNU C++17 (64) | TESTS | 8 | 15 | 0 | ||
220638764 | Aestivate | A | Aug. 27, 2023, 5:33 a.m. | OK | GNU C++20 (64) | TESTS | 8 | 0 | 0 | ||
220638743 | -Potential | A | Aug. 27, 2023, 5:32 a.m. | OK | GNU C++20 (64) | TESTS | 8 | 0 | 0 | ||
220638401 | saket_kumar_07 | A | Aug. 27, 2023, 5:28 a.m. | OK | GNU C++20 (64) | TESTS | 8 | 0 | 0 | ||
220638162 | wakaka | A | Aug. 27, 2023, 5:25 a.m. | OK | GNU C++20 (64) | TESTS | 8 | 0 | 0 | ||
220637422 | deepaknaruto5 | A | Aug. 27, 2023, 5:16 a.m. | OK | GNU C++20 (64) | TESTS | 8 | 0 | 0 | ||
220640640 | Eqvpkbz | A | Aug. 27, 2023, 5:54 a.m. | OK | GNU C++20 (64) | TESTS | 8 | 0 | 0 | ||
220640462 | Usmaniii | A | Aug. 27, 2023, 5:53 a.m. | OK | GNU C++20 (64) | TESTS | 8 | 0 | 0 | ||
220639438 | SSextest | A | Aug. 27, 2023, 5:41 a.m. | OK | GNU C++20 (64) | TESTS | 8 | 0 | 0 | ||
220639428 | elotelo966 | A | Aug. 27, 2023, 5:41 a.m. | OK | GNU C++20 (64) | TESTS | 8 | 0 | 0 | ||
220639236 | sudharshan281 | A | Aug. 27, 2023, 5:39 a.m. | OK | GNU C++20 (64) | TESTS | 8 | 0 | 0 | ||
220585026 | Dull | A | Aug. 26, 2023, 4:47 p.m. | OK | Go | TESTS | 8 | 31 | 5017600 | ||
220638052 | f20201214 | A | Aug. 27, 2023, 5:24 a.m. | OK | Java 11 | TESTS | 8 | 233 | 0 | ||
220630951 | believe18 | A | Aug. 27, 2023, 3:28 a.m. | OK | Java 11 | TESTS | 8 | 233 | 0 | ||
220618360 | biu_biu_biu | A | Aug. 26, 2023, 10:21 p.m. | OK | Java 11 | TESTS | 8 | 233 | 0 | ||
220636560 | imsaurabhkhare | A | Aug. 27, 2023, 5:05 a.m. | OK | Java 11 | TESTS | 8 | 249 | 0 | ||
220628113 | 12th_Fail | A | Aug. 27, 2023, 2:31 a.m. | OK | Java 11 | TESTS | 8 | 249 | 0 | ||
220607604 | aditya_parate | A | Aug. 26, 2023, 7:53 p.m. | OK | Java 11 | TESTS | 8 | 280 | 0 | ||
220628184 | 12th_Fail | A | Aug. 27, 2023, 2:32 a.m. | OK | Java 11 | TESTS | 8 | 280 | 0 | ||
220627438 | goalboy | A | Aug. 27, 2023, 2:15 a.m. | OK | Java 17 | TESTS | 8 | 264 | 716800 | ||
220639993 | Vr_Ayush | A | Aug. 27, 2023, 5:47 a.m. | OK | Java 17 | TESTS | 8 | 265 | 819200 | ||
220618279 | compidemail | A | Aug. 26, 2023, 10:19 p.m. | OK | Java 17 | TESTS | 8 | 280 | 921600 | ||
220596208 | ombhand_313 | A | Aug. 26, 2023, 5:30 p.m. | OK | Java 17 | TESTS | 8 | 280 | 1228800 | ||
220595666 | itssocialkks | A | Aug. 26, 2023, 5:28 p.m. | OK | Java 17 | TESTS | 8 | 295 | 716800 | ||
220631312 | Gladery | A | Aug. 27, 2023, 3:35 a.m. | OK | Java 17 | TESTS | 8 | 295 | 1024000 | ||
220582884 | MAFIA29 | A | Aug. 26, 2023, 4:40 p.m. | OK | Java 17 | TESTS | 8 | 296 | 921600 | ||
220619589 | anand_mishra_ | A | Aug. 26, 2023, 10:49 p.m. | OK | Java 17 | TESTS | 8 | 311 | 307200 | ||
220631654 | JavaGodPeter | A | Aug. 27, 2023, 3:41 a.m. | OK | Java 17 | TESTS | 8 | 311 | 1024000 | ||
220608722 | pa0506 | A | Aug. 26, 2023, 8:04 p.m. | OK | Java 17 | TESTS | 8 | 312 | 1126400 | ||
220614343 | leonlian | A | Aug. 26, 2023, 9:10 p.m. | OK | Java 8 | TESTS | 8 | 92 | 0 | ||
220641092 | Danger_Don | A | Aug. 27, 2023, 6 a.m. | OK | Java 8 | TESTS | 8 | 93 | 0 | ||
220639006 | too_depressed | A | Aug. 27, 2023, 5:36 a.m. | OK | Java 8 | TESTS | 8 | 124 | 0 | ||
220634369 | codechefpurpose2023 | A | Aug. 27, 2023, 4:33 a.m. | OK | Java 8 | TESTS | 8 | 140 | 0 | ||
220608190 | Sir_Isaac | A | Aug. 26, 2023, 7:58 p.m. | OK | Java 8 | TESTS | 8 | 140 | 0 | ||
220639913 | priyaroy3370 | A | Aug. 27, 2023, 5:46 a.m. | OK | Java 8 | TESTS | 8 | 155 | 0 | ||
220606214 | vijay_panwar12 | A | Aug. 26, 2023, 7:44 p.m. | OK | Java 8 | TESTS | 8 | 155 | 0 | ||
220627779 | itsmeAryan | A | Aug. 27, 2023, 2:23 a.m. | OK | Java 8 | TESTS | 8 | 156 | 0 | ||
220634030 | Sumitsingh7 | A | Aug. 27, 2023, 4:27 a.m. | OK | Java 8 | TESTS | 8 | 171 | 0 | ||
220610452 | sumitsk007 | A | Aug. 26, 2023, 8:22 p.m. | OK | Java 8 | TESTS | 8 | 171 | 0 | ||
220639104 | Ravitosh | A | Aug. 27, 2023, 5:37 a.m. | OK | MS C++ 2017 | TESTS | 8 | 15 | 0 | ||
220587876 | ashutosh20770909 | A | Aug. 26, 2023, 4:58 p.m. | OK | MS C++ 2017 | TESTS | 8 | 15 | 0 | ||
220640442 | ronit_02 | A | Aug. 27, 2023, 5:52 a.m. | OK | MS C++ 2017 | TESTS | 8 | 31 | 0 | ||
220614468 | sahilgupta1172 | A | Aug. 26, 2023, 9:12 p.m. | OK | MS C++ 2017 | TESTS | 8 | 31 | 0 | ||
220633673 | Shivaprasad47 | A | Aug. 27, 2023, 4:20 a.m. | OK | MS C++ 2017 | TESTS | 8 | 31 | 102400 | ||
220596316 | Ars5nj0 | A | Aug. 26, 2023, 5:30 p.m. | OK | MS C++ 2017 | TESTS | 8 | 31 | 102400 | ||
220612303 | Gadi | A | Aug. 26, 2023, 8:43 p.m. | OK | MS C++ 2017 | TESTS | 8 | 31 | 921600 | ||
220584515 | HarshitaBadiyasar99 | A | Aug. 26, 2023, 4:46 p.m. | OK | MS C++ 2017 | TESTS | 8 | 46 | 0 | ||
220620399 | MenaceJn | A | Aug. 26, 2023, 11:08 p.m. | OK | PyPy 3 | TESTS | 8 | 124 | 3788800 | ||
220606196 | jvatsal0709 | A | Aug. 26, 2023, 7:44 p.m. | OK | PyPy 3 | TESTS | 8 | 124 | 5529600 | ||
220608649 | WalrusRamen21 | A | Aug. 26, 2023, 8:03 p.m. | OK | PyPy 3 | TESTS | 8 | 171 | 4812800 | ||
220582435 | PrakharGupta21 | A | Aug. 26, 2023, 4:39 p.m. | OK | PyPy 3 | TESTS | 8 | 187 | 5734400 | ||
220589972 | thota_chinmai | A | Aug. 26, 2023, 5:06 p.m. | OK | PyPy 3 | TESTS | 8 | 202 | 6860800 | ||
220611435 | momenelmesady4803 | A | Aug. 26, 2023, 8:33 p.m. | OK | PyPy 3 | TESTS | 8 | 233 | 8806400 | ||
220596705 | viraj28m | A | Aug. 26, 2023, 5:32 p.m. | OK | PyPy 3 | TESTS | 8 | 248 | 7475200 | ||
220637390 | MShah2003 | A | Aug. 27, 2023, 5:16 a.m. | OK | PyPy 3 | TESTS | 8 | 249 | 4915200 | ||
220612498 | DarkRecklessness | A | Aug. 26, 2023, 8:46 p.m. | OK | PyPy 3-64 | TESTS | 8 | 77 | 6041600 | ||
220611562 | MistaFlash | A | Aug. 26, 2023, 8:35 p.m. | OK | PyPy 3-64 | TESTS | 8 | 93 | 4608000 | ||
220632809 | Ana_naS | A | Aug. 27, 2023, 4:04 a.m. | OK | PyPy 3-64 | TESTS | 8 | 93 | 8089600 | ||
220622887 | rmr | A | Aug. 27, 2023, 12:18 a.m. | OK | PyPy 3-64 | TESTS | 8 | 108 | 2662400 | ||
220607182 | nealzane | A | Aug. 26, 2023, 7:50 p.m. | OK | PyPy 3-64 | TESTS | 8 | 108 | 6758400 | ||
220609052 | khanter_ | A | Aug. 26, 2023, 8:07 p.m. | OK | PyPy 3-64 | TESTS | 8 | 108 | 8089600 | ||
220624574 | gardengnome | A | Aug. 27, 2023, 1:05 a.m. | OK | PyPy 3-64 | TESTS | 8 | 109 | 5222400 | ||
220636877 | okay4869 | A | Aug. 27, 2023, 5:09 a.m. | OK | PyPy 3-64 | TESTS | 8 | 124 | 8806400 | ||
220612120 | Lucky_Guy | A | Aug. 26, 2023, 8:41 p.m. | OK | PyPy 3-64 | TESTS | 8 | 124 | 9728000 | ||
220614218 | alexwice | A | Aug. 26, 2023, 9:09 p.m. | OK | PyPy 3-64 | TESTS | 8 | 124 | 12492800 | ||
220640596 | howzz_the_josh | A | Aug. 27, 2023, 5:54 a.m. | OK | Python 3 | TESTS | 8 | 46 | 0 | ||
220638371 | Ashu_5 | A | Aug. 27, 2023, 5:28 a.m. | OK | Python 3 | TESTS | 8 | 46 | 0 | ||
220633650 | Ashu_5 | A | Aug. 27, 2023, 4:20 a.m. | OK | Python 3 | TESTS | 8 | 46 | 0 | ||
220631771 | Ankit2406 | A | Aug. 27, 2023, 3:44 a.m. | OK | Python 3 | TESTS | 8 | 46 | 0 | ||
220626263 | OzodbekX | A | Aug. 27, 2023, 1:47 a.m. | OK | Python 3 | TESTS | 8 | 46 | 0 | ||
220623189 | jai2151513 | A | Aug. 27, 2023, 12:26 a.m. | OK | Python 3 | TESTS | 8 | 46 | 0 | ||
220608399 | maciejgusta | A | Aug. 26, 2023, 8 p.m. | OK | Python 3 | TESTS | 8 | 46 | 0 | ||
220607826 | bp03 | A | Aug. 26, 2023, 7:55 p.m. | OK | Python 3 | TESTS | 8 | 46 | 0 | ||
220596452 | vamshi7254 | A | Aug. 26, 2023, 5:31 p.m. | OK | Python 3 | TESTS | 8 | 46 | 0 | ||
220593617 | keerthisrikonduru15 | A | Aug. 26, 2023, 5:20 p.m. | OK | Python 3 | TESTS | 8 | 46 | 0 | ||
220631181 | KumbKaran | A | Aug. 27, 2023, 3:32 a.m. | OK | Rust 2021 | TESTS | 8 | 15 | 0 | ||
220620269 | manan180796 | A | Aug. 26, 2023, 11:06 p.m. | OK | Rust 2021 | TESTS | 8 | 31 | 0 |
Back to search problems