Codeforces Round 708 (Div. 2)

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
1497 Codeforces Round 708 (Div. 2) FINISHED False 8100 121274663 March 17, 2021, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 17715 ) C2 k-LCM (hard version) PROGRAMMING constructive algorithms math 1600

B'It is the hard version of the problem. The only difference is that in this version 3 <= k <= n . You are given a positive integer n . Find k positive integers a_1, a_2, ldots, a_k , such that: Here LCM is the least common multiple of numbers a_1, a_2, ldots, a_k . We can show that for given constraints the answer always exists. The first line contains a single integer t (1 <= t <= 10^4) -- the number of test cases. The only line of each test case contains two integers n , k ( 3 <= n <= 10^9 , 3 <= k <= n ). It is guaranteed that the sum of k over all test cases does not exceed 10^5 . For each test case print k positive integers a_1, a_2, ldots, a_k , for which all conditions are satisfied. '...

Tutorials

Codeforces Round #708 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
110246603 LengYun C2 March 17, 2021, 4:46 p.m. OK GNU C++11 TESTS 10 15 819200 1600
110280296 PikaZhu_ C2 March 18, 2021, 5:35 a.m. OK GNU C++11 TESTS 11 31 0 1600
110279333 wudixixi_txdy C2 March 18, 2021, 5:22 a.m. OK GNU C++11 TESTS 11 31 0 1600
110276890 czyer C2 March 18, 2021, 4:45 a.m. OK GNU C++11 TESTS 11 31 0 1600
110275289 sudheer1 C2 March 18, 2021, 4:14 a.m. OK GNU C++11 TESTS 11 31 0 1600
110272561 MCAdam C2 March 18, 2021, 3:17 a.m. OK GNU C++11 TESTS 11 31 0 1600
110272506 hnust_zhuhongye C2 March 18, 2021, 3:16 a.m. OK GNU C++11 TESTS 11 31 0 1600
110270614 invaded C2 March 18, 2021, 2:37 a.m. OK GNU C++11 TESTS 11 31 0 1600
110270288 lcyxds C2 March 18, 2021, 2:28 a.m. OK GNU C++11 TESTS 11 31 0 1600
110270376 born_again2 C2 March 18, 2021, 2:31 a.m. OK GNU C++11 TESTS 11 31 0 1600
110256036 yajusharma12 C2 March 17, 2021, 7:13 p.m. OK GNU C++14 TESTS 11 30 0 1600
110278143 201801133 C2 March 18, 2021, 5:05 a.m. OK GNU C++14 TESTS 11 30 0 1600
110277630 naveen19991124 C2 March 18, 2021, 4:57 a.m. OK GNU C++14 TESTS 11 30 0 1600
110272766 dusra_mauka C2 March 18, 2021, 3:22 a.m. OK GNU C++14 TESTS 11 30 0 1600
110268963 singhadia C2 March 18, 2021, 1:47 a.m. OK GNU C++14 TESTS 11 30 0 1600
110263184 Showrov C2 March 17, 2021, 9:48 p.m. OK GNU C++14 TESTS 11 30 0 1600
110249821 Keyur_Kheni C2 March 17, 2021, 6:06 p.m. OK GNU C++14 TESTS 10 30 0 1600
110282288 gajjardeep123 C2 March 18, 2021, 6:02 a.m. OK GNU C++14 TESTS 11 31 0 1600
110282361 ProFate C2 March 18, 2021, 6:03 a.m. OK GNU C++14 TESTS 11 31 0 1600
110281628 satyam15 C2 March 18, 2021, 5:53 a.m. OK GNU C++14 TESTS 11 31 0 1600
110269938 dear-john C2 March 18, 2021, 2:18 a.m. OK GNU C++17 TESTS 11 30 0 1600
110282344 Macaron_lin C2 March 18, 2021, 6:03 a.m. OK GNU C++17 TESTS 11 30 0 1600
110277540 thienlongtpct C2 March 18, 2021, 4:55 a.m. OK GNU C++17 TESTS 11 30 0 1600
110276139 shivam491 C2 March 18, 2021, 4:31 a.m. OK GNU C++17 TESTS 11 30 0 1600
110274955 Infinite.Loop C2 March 18, 2021, 4:07 a.m. OK GNU C++17 TESTS 11 30 0 1600
110272977 jainam_sogani C2 March 18, 2021, 3:26 a.m. OK GNU C++17 TESTS 11 30 0 1600
110271586 izaj C2 March 18, 2021, 2:54 a.m. OK GNU C++17 TESTS 11 30 0 1600
110268863 dikshitkaushal49 C2 March 18, 2021, 1:43 a.m. OK GNU C++17 TESTS 11 30 0 1600
110265523 sikdangcopo C2 March 17, 2021, 11:25 p.m. OK GNU C++17 TESTS 11 30 0 1600
110264143 NanoMonardes C2 March 17, 2021, 10:27 p.m. OK GNU C++17 TESTS 11 30 0 1600
110249934 sadik C2 March 17, 2021, 6:07 p.m. OK GNU C++17 (64) TESTS 10 15 0 1600
110272661 ayush_nishad C2 March 18, 2021, 3:20 a.m. OK GNU C++17 (64) TESTS 11 30 0 1600
110269011 donpablo C2 March 18, 2021, 1:48 a.m. OK GNU C++17 (64) TESTS 11 30 0 1600
110259443 pigmike C2 March 17, 2021, 8:11 p.m. OK GNU C++17 (64) TESTS 11 30 0 1600
110257485 3BS_AS C2 March 17, 2021, 7:35 p.m. OK GNU C++17 (64) TESTS 11 30 0 1600
110252974 taruntk C2 March 17, 2021, 6:35 p.m. OK GNU C++17 (64) TESTS 11 30 0 1600
110251639 viniciusth C2 March 17, 2021, 6:21 p.m. OK GNU C++17 (64) TESTS 10 30 0 1600
110250987 smith_orz C2 March 17, 2021, 6:15 p.m. OK GNU C++17 (64) TESTS 10 30 0 1600
110249132 Abhichauhan C2 March 17, 2021, 6:02 p.m. OK GNU C++17 (64) TESTS 10 30 0 1600
110248477 timreizin C2 March 17, 2021, 6 p.m. OK GNU C++17 (64) TESTS 10 30 0 1600
110250797 godfather9 C2 March 17, 2021, 6:13 p.m. OK Java 11 TESTS 10 202 0 1600
110274765 ryanranaut C2 March 18, 2021, 4:03 a.m. OK Java 11 TESTS 11 217 0 1600
110256029 brijeshujcbm C2 March 17, 2021, 7:13 p.m. OK Java 11 TESTS 11 218 0 1600
110268773 wizwilzo C2 March 18, 2021, 1:40 a.m. OK Java 11 TESTS 11 218 0 1600
110245998 BlueBirdie C2 March 17, 2021, 4:44 p.m. OK Java 11 TESTS 10 233 0 1600
110281637 diwakargupta815 C2 March 18, 2021, 5:53 a.m. OK Java 11 TESTS 11 233 0 1600
110264163 _Body C2 March 17, 2021, 10:27 p.m. OK Java 11 TESTS 11 233 0 1600
110252421 codebook_2000 C2 March 17, 2021, 6:29 p.m. OK Java 11 TESTS 11 233 0 1600
110251116 red_grave C2 March 17, 2021, 6:16 p.m. OK Java 11 TESTS 10 233 0 1600
110253515 JatinYadav C2 March 17, 2021, 6:41 p.m. OK Java 11 TESTS 11 234 0 1600
110270445 bush117 C2 March 18, 2021, 2:33 a.m. OK Java 8 TESTS 11 109 0 1600
110273667 Parimal C2 March 18, 2021, 3:41 a.m. OK Java 8 TESTS 11 109 0 1600
110252332 TheSawan C2 March 17, 2021, 6:28 p.m. OK Java 8 TESTS 11 109 13312000 1600
110254485 nandit C2 March 17, 2021, 6:53 p.m. OK Java 8 TESTS 11 124 0 1600
110252189 ezraft C2 March 17, 2021, 6:26 p.m. OK Java 8 TESTS 11 124 0 1600
110249335 JunBinLiang C2 March 17, 2021, 6:03 p.m. OK Java 8 TESTS 10 124 0 1600
110251776 darshan287 C2 March 17, 2021, 6:22 p.m. OK Java 8 TESTS 10 124 0 1600
110262951 Devil__ C2 March 17, 2021, 9:39 p.m. OK Java 8 TESTS 11 124 0 1600
110262443 Mr.Awesome C2 March 17, 2021, 9:24 p.m. OK Java 8 TESTS 11 124 0 1600
110258758 yash49 C2 March 17, 2021, 7:58 p.m. OK Java 8 TESTS 11 124 0 1600
110273179 yudedako C2 March 18, 2021, 3:31 a.m. OK Kotlin TESTS 11 265 1740800 1600
110252623 Huth-0 C2 March 17, 2021, 6:31 p.m. OK Kotlin TESTS 11 436 102400 1600
110256047 svr2kos2 C2 March 17, 2021, 7:13 p.m. OK MS C++ 2017 TESTS 11 31 0 1600
110245921 Yamatan C2 March 17, 2021, 4:43 p.m. OK MS C++ 2017 TESTS 10 62 0 1600
110250362 Tirutu C2 March 17, 2021, 6:10 p.m. OK MS C++ 2017 TESTS 10 77 0 1600
110248637 gaserashraf C2 March 17, 2021, 6:01 p.m. OK MS C++ 2017 TESTS 10 93 6041600 1600
110255883 svr2kos2 C2 March 17, 2021, 7:11 p.m. OK MS C++ 2017 TESTS 11 108 0 1600
110260764 Friska C2 March 17, 2021, 8:37 p.m. OK MS C++ 2017 TESTS 11 108 0 1600
110270011 Albertplus007 C2 March 18, 2021, 2:20 a.m. OK MS C++ 2017 TESTS 11 109 307200 1600
110274587 Anurag2806 C2 March 18, 2021, 3:59 a.m. OK MS C++ 2017 TESTS 11 124 0 1600
110279373 say_hi C2 March 18, 2021, 5:22 a.m. OK MS C++ 2017 TESTS 11 124 0 1600
110258121 Anurag2806 C2 March 17, 2021, 7:47 p.m. OK MS C++ 2017 TESTS 11 124 0 1600
110258364 fgwiebfaoish C2 March 17, 2021, 7:51 p.m. OK .NET Core C# TESTS 11 639 8499200 1600
110250088 tennisru C2 March 17, 2021, 6:08 p.m. OK Node.js TESTS 10 233 6348800 1600
110250301 raj1307 C2 March 17, 2021, 6:10 p.m. OK PyPy 2 TESTS 10 140 4505600 1600
110259802 kagu C2 March 17, 2021, 8:18 p.m. OK PyPy 2 TESTS 11 140 6246400 1600
110264750 lebron87 C2 March 17, 2021, 10:52 p.m. OK PyPy 2 TESTS 11 187 7475200 1600
110254402 reddevil100 C2 March 17, 2021, 6:52 p.m. OK PyPy 3 TESTS 11 155 6144000 1600
110265706 javierbyte C2 March 17, 2021, 11:33 p.m. OK PyPy 3 TESTS 11 170 8704000 1600
110254259 rajbit C2 March 17, 2021, 6:50 p.m. OK PyPy 3 TESTS 11 171 6348800 1600
110270107 YMSeah C2 March 18, 2021, 2:23 a.m. OK PyPy 3 TESTS 11 171 8294400 1600
110255608 nitish420 C2 March 17, 2021, 7:07 p.m. OK PyPy 3 TESTS 11 187 8294400 1600
110252172 Laxman_Singh C2 March 17, 2021, 6:26 p.m. OK PyPy 3 TESTS 11 202 9830400 1600
110251357 silvertint C2 March 17, 2021, 6:18 p.m. OK PyPy 3 TESTS 10 202 9932800 1600
110270139 uttharapally.chandra C2 March 18, 2021, 2:24 a.m. OK PyPy 3 TESTS 11 217 9932800 1600
110274056 Kunal_makwana C2 March 18, 2021, 3:49 a.m. OK PyPy 3 TESTS 11 218 8192000 1600
110249809 ivanovifmo C2 March 17, 2021, 6:06 p.m. OK PyPy 3 TESTS 10 218 8908800 1600
110253745 thuglife69 C2 March 17, 2021, 6:43 p.m. OK Python 2 TESTS 11 233 5324800 1600
110249298 elayla C2 March 17, 2021, 6:03 p.m. OK Python 3 TESTS 10 124 1024000 1600
110267001 Keith_Kazama C2 March 18, 2021, 12:30 a.m. OK Python 3 TESTS 11 155 409600 1600
110253570 abhisheka950 C2 March 17, 2021, 6:42 p.m. OK Python 3 TESTS 11 155 1945600 1600
110258549 parth_sak12 C2 March 17, 2021, 7:55 p.m. OK Python 3 TESTS 11 186 1536000 1600
110270560 lucifer1004 C2 March 18, 2021, 2:36 a.m. OK Python 3 TESTS 11 186 4710400 1600
110278006 chethan_9604 C2 March 18, 2021, 5:02 a.m. OK Python 3 TESTS 11 187 614400 1600
110278050 vi_asmit C2 March 18, 2021, 5:03 a.m. OK Python 3 TESTS 11 202 1740800 1600
110255464 Asinski C2 March 17, 2021, 7:05 p.m. OK Python 3 TESTS 11 217 1433600 1600
110274934 sid_121212 C2 March 18, 2021, 4:07 a.m. OK Python 3 TESTS 11 218 716800 1600
110251464 ding_don_dino C2 March 17, 2021, 6:19 p.m. OK Python 3 TESTS 10 233 819200 1600
110282174 sansen C2 March 18, 2021, 6 a.m. OK Rust TESTS 11 31 1024000 1600

remove filters

Back to search problems