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 |
---|---|---|---|---|---|---|
1443 | Codeforces Round 681 (Div. 2, based on VK Cup 2019-2020 - Final) | FINISHED | False | 7200 | 127495499 | Nov. 2, 2020, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 16249 ) | A | Kids Seating | PROGRAMMING | constructive algorithms math |
B"Today the kindergarten has a new group of n kids who need to be seated at the dinner table. The chairs at the table are numbered from 1 to 4n . Two kids can't sit on the same chair. It is known that two kids who sit on chairs with numbers a and b ( a neq b ) will indulge if: gcd(a, b) -- the maximum number x such that a is divisible by x and b is divisible by x . For example, if n=3 and the kids sit on chairs with numbers 2 , 3 , 4 , then they will indulge since 4 is divided by 2 and gcd(2, 3) = 1 . If kids sit on chairs with numbers 4 , 6 , 10 , then they will not indulge. The teacher really doesn't want the mess at the table, so she wants to seat the kids so there are no 2 of the kid that can indulge. More formally, she wants no pair of chairs a and b that the kids occupy to fulfill the condition above. Since the teacher is very busy with the entertainment of the kids, she asked you to solve this problem. The first line contains one integer t ( 1 <= q t <= q 100 ) -- the number of test cases. Then t test cases follow. Each test case consists of one line containing an integer n ( 1 <= q n <= q 100 ) -- the number of kids. Output t lines, which contain n distinct integers from 1 to 4n -- the numbers of chairs that the kids should occupy in the corresponding test case. If there are multiple answers, print any of them. You can print n numbers in any order. "... |
VK Cup 2019-2020 -- Engine Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
97490011 | sudip_mondal | A | Nov. 2, 2020, 4:30 p.m. | OK | GNU C11 | TESTS | 2 | 15 | 0 | ||
97515935 | yumtam | A | Nov. 3, 2020, 12:25 a.m. | OK | GNU C11 | TESTS | 2 | 30 | 0 | ||
97487112 | Shiv_Kumar45 | A | Nov. 2, 2020, 4:24 p.m. | OK | GNU C11 | TESTS | 2 | 31 | 0 | ||
97480795 | Pinak_0 | A | Nov. 2, 2020, 4:08 p.m. | OK | GNU C11 | TESTS | 2 | 31 | 0 | ||
97520140 | mayeed | A | Nov. 3, 2020, 2:45 a.m. | OK | GNU C11 | TESTS | 2 | 31 | 0 | ||
97521160 | nitinkumar1729 | A | Nov. 3, 2020, 3:06 a.m. | OK | GNU C11 | TESTS | 2 | 31 | 0 | ||
97501223 | 200110 | A | Nov. 2, 2020, 6:16 p.m. | OK | GNU C11 | TESTS | 2 | 46 | 0 | ||
97525902 | JAHID_KARIM | A | Nov. 3, 2020, 4:55 a.m. | OK | GNU C11 | TESTS | 2 | 46 | 0 | ||
97482631 | Noob_Pranto | A | Nov. 2, 2020, 4:13 p.m. | OK | GNU C11 | TESTS | 2 | 46 | 0 | ||
97482455 | Priyu | A | Nov. 2, 2020, 4:12 p.m. | OK | GNU C11 | TESTS | 2 | 46 | 0 | ||
97522298 | Marota | A | Nov. 3, 2020, 3:30 a.m. | OK | GNU C++11 | TESTS | 2 | 0 | 0 | ||
97525943 | UvU | A | Nov. 3, 2020, 4:56 a.m. | OK | GNU C++11 | TESTS | 2 | 0 | 0 | ||
97498205 | masud.compiler | A | Nov. 2, 2020, 5:44 p.m. | OK | GNU C++11 | TESTS | 2 | 0 | 0 | ||
97500347 | albeXL | A | Nov. 2, 2020, 6:05 p.m. | OK | GNU C++11 | TESTS | 2 | 0 | 0 | ||
97516926 | sohamj1234 | A | Nov. 3, 2020, 1:03 a.m. | OK | GNU C++11 | TESTS | 2 | 0 | 0 | ||
97518618 | FerdiHS | A | Nov. 3, 2020, 2:02 a.m. | OK | GNU C++11 | TESTS | 2 | 0 | 0 | ||
97519316 | vjudge5 | A | Nov. 3, 2020, 2:25 a.m. | OK | GNU C++11 | TESTS | 2 | 0 | 0 | ||
97519818 | I_do_not_know | A | Nov. 3, 2020, 2:39 a.m. | OK | GNU C++11 | TESTS | 2 | 0 | 0 | ||
97488099 | newbie379 | A | Nov. 2, 2020, 4:26 p.m. | OK | GNU C++11 | TESTS | 2 | 0 | 3993600 | ||
97529031 | sri_1729 | A | Nov. 3, 2020, 5:52 a.m. | OK | GNU C++11 | TESTS | 2 | 15 | 0 | ||
97526889 | nishikanth | A | Nov. 3, 2020, 5:14 a.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | ||
97511742 | Hitman571 | A | Nov. 2, 2020, 9:28 p.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | ||
97521595 | aditpatel | A | Nov. 3, 2020, 3:15 a.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | ||
97526062 | rezn0v | A | Nov. 3, 2020, 4:59 a.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | ||
97497370 | Conqueror_965 | A | Nov. 2, 2020, 5:35 p.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | ||
97497557 | JPK25 | A | Nov. 2, 2020, 5:37 p.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | ||
97500667 | Red_monster | A | Nov. 2, 2020, 6:09 p.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | ||
97501660 | ez_coder | A | Nov. 2, 2020, 6:21 p.m. | OK | GNU C++14 | TESTS | 2 | 0 | 102400 | ||
97525227 | chowdhuryan1999 | A | Nov. 3, 2020, 4:41 a.m. | OK | GNU C++14 | TESTS | 2 | 0 | 102400 | ||
97499018 | s1803 | A | Nov. 2, 2020, 5:51 p.m. | OK | GNU C++14 | TESTS | 2 | 0 | 102400 | ||
97528848 | anonymous__007 | A | Nov. 3, 2020, 5:49 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | ||
97527553 | spinter440 | A | Nov. 3, 2020, 5:27 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | ||
97525948 | a007k | A | Nov. 3, 2020, 4:56 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | ||
97525765 | XWFLS | A | Nov. 3, 2020, 4:53 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | ||
97521736 | Surajit_Roy | A | Nov. 3, 2020, 3:18 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | ||
97518900 | yurenwuyu | A | Nov. 3, 2020, 2:12 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | ||
97518768 | vikramthalla | A | Nov. 3, 2020, 2:08 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | ||
97517263 | Igorjan94 | A | Nov. 3, 2020, 1:16 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | ||
97509813 | divine_444 | A | Nov. 2, 2020, 8:36 p.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | ||
97508192 | Satwik_Tiwari | A | Nov. 2, 2020, 8:02 p.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | ||
97511909 | destroyer07 | A | Nov. 2, 2020, 9:33 p.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | ||
97511385 | Akulyat | A | Nov. 2, 2020, 9:19 p.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | ||
97521746 | sgunti | A | Nov. 3, 2020, 3:18 a.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | ||
97500466 | gameofcodes | A | Nov. 2, 2020, 6:07 p.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | ||
97505539 | user9029 | A | Nov. 2, 2020, 7:17 p.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | ||
97506713 | errorfound | A | Nov. 2, 2020, 7:35 p.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | ||
97509905 | over_flow | A | Nov. 2, 2020, 8:38 p.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | ||
97526161 | vjudge2 | A | Nov. 3, 2020, 5:01 a.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 512000 | ||
97499846 | tdpencil | A | Nov. 2, 2020, 6 p.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 4812800 | ||
97499630 | Okami007 | A | Nov. 2, 2020, 5:58 p.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 9011200 | ||
97510695 | MarcoMeijer | A | Nov. 2, 2020, 8:59 p.m. | OK | Haskell | TESTS | 2 | 15 | 0 | ||
97510537 | MarcoMeijer | A | Nov. 2, 2020, 8:54 p.m. | OK | Haskell | TESTS | 2 | 15 | 0 | ||
97499506 | codelegend | A | Nov. 2, 2020, 5:56 p.m. | OK | Haskell | TESTS | 2 | 15 | 102400 | ||
97513164 | mphillotry | A | Nov. 2, 2020, 10:17 p.m. | OK | Java 11 | TESTS | 2 | 156 | 0 | ||
97499852 | abdelrahman-yousf | A | Nov. 2, 2020, 6 p.m. | OK | Java 11 | TESTS | 2 | 170 | 0 | ||
97529120 | sk_kh5037coder | A | Nov. 3, 2020, 5:53 a.m. | OK | Java 11 | TESTS | 2 | 171 | 0 | ||
97527729 | a1000 | A | Nov. 3, 2020, 5:30 a.m. | OK | Java 11 | TESTS | 2 | 171 | 0 | ||
97513137 | Ste | A | Nov. 2, 2020, 10:16 p.m. | OK | Java 11 | TESTS | 2 | 171 | 0 | ||
97498112 | Agnimandur | A | Nov. 2, 2020, 5:43 p.m. | OK | Java 11 | TESTS | 2 | 171 | 0 | ||
97495008 | sanju2504 | A | Nov. 2, 2020, 5:16 p.m. | OK | Java 11 | TESTS | 2 | 171 | 0 | ||
97523178 | vipin__sharma | A | Nov. 3, 2020, 3:53 a.m. | OK | Java 11 | TESTS | 2 | 186 | 0 | ||
97520796 | fukrey | A | Nov. 3, 2020, 2:58 a.m. | OK | Java 11 | TESTS | 2 | 186 | 0 | ||
97514563 | jpark9012 | A | Nov. 2, 2020, 11:19 p.m. | OK | Java 11 | TESTS | 2 | 186 | 0 | ||
97524961 | Sjoa | A | Nov. 3, 2020, 4:34 a.m. | OK | Java 8 | TESTS | 2 | 78 | 0 | ||
97523532 | vicky2810 | A | Nov. 3, 2020, 4:01 a.m. | OK | Java 8 | TESTS | 2 | 93 | 0 | ||
97510700 | csn3rd | A | Nov. 2, 2020, 8:59 p.m. | OK | Java 8 | TESTS | 2 | 93 | 0 | ||
97506471 | RichardBot7000 | A | Nov. 2, 2020, 7:31 p.m. | OK | Java 8 | TESTS | 2 | 93 | 0 | ||
97506026 | MartyByrde | A | Nov. 2, 2020, 7:24 p.m. | OK | Java 8 | TESTS | 2 | 93 | 0 | ||
97486652 | coolManit | A | Nov. 2, 2020, 4:23 p.m. | OK | Java 8 | TESTS | 2 | 93 | 0 | ||
97527256 | ashraybharambe | A | Nov. 3, 2020, 5:22 a.m. | OK | Java 8 | TESTS | 2 | 108 | 0 | ||
97526232 | gagan_6730 | A | Nov. 3, 2020, 5:02 a.m. | OK | Java 8 | TESTS | 2 | 108 | 0 | ||
97513208 | rachitpts.2454 | A | Nov. 2, 2020, 10:19 p.m. | OK | Java 8 | TESTS | 2 | 108 | 0 | ||
97510818 | kareem3id | A | Nov. 2, 2020, 9:02 p.m. | OK | Java 8 | TESTS | 2 | 108 | 0 | ||
97503782 | GOLAM_MOSTAFA_MOTI | A | Nov. 2, 2020, 6:49 p.m. | OK | JavaScript | TESTS | 2 | 31 | 1228800 | ||
97516464 | Spheniscine | A | Nov. 3, 2020, 12:47 a.m. | OK | Kotlin | TESTS | 2 | 124 | 102400 | ||
97525381 | bharat_mishra | A | Nov. 3, 2020, 4:45 a.m. | OK | Kotlin | TESTS | 2 | 140 | 0 | ||
97525351 | bharat_mishra | A | Nov. 3, 2020, 4:44 a.m. | OK | Kotlin | TESTS | 2 | 155 | 0 | ||
97496810 | ustaritz | A | Nov. 2, 2020, 5:30 p.m. | OK | MS C++ 2017 | TESTS | 2 | 15 | 0 | ||
97487581 | alever | A | Nov. 2, 2020, 4:25 p.m. | OK | MS C++ 2017 | TESTS | 2 | 15 | 0 | ||
97505701 | tawfekhesham | A | Nov. 2, 2020, 7:19 p.m. | OK | MS C++ 2017 | TESTS | 2 | 15 | 2048000 | ||
97519437 | lingke | A | Nov. 3, 2020, 2:28 a.m. | OK | MS C++ 2017 | TESTS | 2 | 30 | 0 | ||
97508475 | dominotim | A | Nov. 2, 2020, 8:08 p.m. | OK | MS C++ 2017 | TESTS | 2 | 31 | 0 | ||
97505257 | priyanshusharmaaug03 | A | Nov. 2, 2020, 7:12 p.m. | OK | MS C++ 2017 | TESTS | 2 | 31 | 0 | ||
97499364 | t0rtik | A | Nov. 2, 2020, 5:55 p.m. | OK | MS C++ 2017 | TESTS | 2 | 31 | 0 | ||
97505368 | tawfekhesham | A | Nov. 2, 2020, 7:14 p.m. | OK | MS C++ 2017 | TESTS | 2 | 61 | 2048000 | ||
97529325 | nodeadtree | A | Nov. 3, 2020, 5:57 a.m. | OK | PyPy 3 | TESTS | 2 | 108 | 1331200 | ||
97506389 | hermionegrangeR9 | A | Nov. 2, 2020, 7:30 p.m. | OK | PyPy 3 | TESTS | 2 | 124 | 1331200 | ||
97497751 | touret | A | Nov. 2, 2020, 5:39 p.m. | OK | PyPy 3 | TESTS | 2 | 139 | 1331200 | ||
97525976 | varsha765.vc | A | Nov. 3, 2020, 4:57 a.m. | OK | PyPy 3 | TESTS | 2 | 139 | 2150400 | ||
97518542 | chethan_123 | A | Nov. 3, 2020, 1:59 a.m. | OK | PyPy 3 | TESTS | 2 | 139 | 2150400 | ||
97502592 | AzarakhshMohammadMasoud | A | Nov. 2, 2020, 6:32 p.m. | OK | PyPy 3 | TESTS | 2 | 139 | 2150400 | ||
97499979 | rpkagoswami | A | Nov. 2, 2020, 6:01 p.m. | OK | PyPy 3 | TESTS | 2 | 139 | 2150400 | ||
97523122 | DebRC | A | Nov. 3, 2020, 3:51 a.m. | OK | PyPy 3 | TESTS | 2 | 139 | 2355200 | ||
97514886 | jlallas384 | A | Nov. 2, 2020, 11:34 p.m. | OK | PyPy 3 | TESTS | 2 | 139 | 2662400 | ||
97504625 | one_step_away | A | Nov. 2, 2020, 7:02 p.m. | OK | PyPy 3 | TESTS | 2 | 139 | 2662400 | ||
97504503 | sharifp | A | Nov. 2, 2020, 7 p.m. | OK | Python 3 | TESTS | 2 | 77 | 0 | ||
97497247 | Soumen1111 | A | Nov. 2, 2020, 5:34 p.m. | OK | Python 3 | TESTS | 2 | 77 | 0 | ||
97496285 | gareebdeveloper | A | Nov. 2, 2020, 5:26 p.m. | OK | Python 3 | TESTS | 2 | 77 | 0 | ||
97500825 | Naphthalene | A | Nov. 2, 2020, 6:11 p.m. | OK | Python 3 | TESTS | 2 | 77 | 307200 | ||
97499957 | sul3 | A | Nov. 2, 2020, 6:01 p.m. | OK | Python 3 | TESTS | 2 | 78 | 0 | ||
97490895 | adeeSh03 | A | Nov. 2, 2020, 4:32 p.m. | OK | Python 3 | TESTS | 2 | 78 | 0 | ||
97522432 | KanhuKeNanu | A | Nov. 3, 2020, 3:33 a.m. | OK | Python 3 | TESTS | 2 | 92 | 0 | ||
97524547 | singhumang305 | A | Nov. 3, 2020, 4:25 a.m. | OK | Python 3 | TESTS | 2 | 93 | 0 | ||
97524307 | singhumang305 | A | Nov. 3, 2020, 4:20 a.m. | OK | Python 3 | TESTS | 2 | 93 | 0 | ||
97520352 | vips27 | A | Nov. 3, 2020, 2:50 a.m. | OK | Python 3 | TESTS | 2 | 93 | 0 |
Back to search problems