Codeforces Round 705 (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
1493 Codeforces Round 705 (Div. 2) FINISHED False 8100 122313311 March 6, 2021, 2:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 19419 ) A Anti-knapsack PROGRAMMING constructive algorithms greedy

B'You are given two integers n and k . You are asked to choose maximum number of distinct integers from 1 to n so that there is no subset of chosen numbers with sum equal to k . A subset of a set is a set that can be obtained from initial one by removing some (possibly all or none) elements of it. The first line contains the number of test cases T ( 1 <= T <= 100 ). Each of the next T lines contains two integers n and k ( 1 <= k <= n <= 1000 ) -- the description of test cases. For each test case output two lines. In the first line output a single integer m -- the number of chosen integers. In the second line output m distinct integers from 1 to n -- the chosen numbers. If there are multiple answers, print any. You can print the numbers in any order. '...

Tutorials

Codeforces Round #705 (Div.2) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
109310804 besteminemsilver A March 7, 2021, 6:21 a.m. OK Clang++17 Diagnostics TESTS 11 248 0
109304908 Indolent_Kawhi A March 7, 2021, 4:34 a.m. OK Clang++17 Diagnostics TESTS 11 249 0
109274531 ruban A March 6, 2021, 4:14 p.m. OK Delphi TESTS 11 30 18432000
109275903 Gypsophila_MoreanP A March 6, 2021, 4:17 p.m. OK GNU C11 TESTS 11 218 0
109279945 CastleBravo A March 6, 2021, 4:57 p.m. OK GNU C11 TESTS 11 249 0
109304000 wxjdsr A March 7, 2021, 4:10 a.m. OK GNU C11 TESTS 11 249 0
109272512 hnust_huanghanbin A March 6, 2021, 4:08 p.m. OK GNU C11 TESTS 11 249 0
109279904 Cccc23333 A March 6, 2021, 4:57 p.m. OK GNU C11 TESTS 11 249 0
109279652 Koful123 A March 6, 2021, 4:55 p.m. OK GNU C11 TESTS 11 249 0
109301818 0new A March 7, 2021, 3:10 a.m. OK GNU C11 TESTS 11 264 0
109267863 pranay_32 A March 6, 2021, 3:52 p.m. OK GNU C11 TESTS 11 264 204800
109272284 hunst_huangyuhui A March 6, 2021, 4:07 p.m. OK GNU C11 TESTS 11 265 0
109269410 Montferrat A March 6, 2021, 3:57 p.m. OK GNU C11 TESTS 11 265 0
109307651 wangxiaowangxiao A March 7, 2021, 5:30 a.m. OK GNU C++11 TESTS 11 15 0
109307935 wangxiaowangxiao A March 7, 2021, 5:35 a.m. OK GNU C++11 TESTS 11 15 0
109304319 SampsonYW A March 7, 2021, 4:18 a.m. OK GNU C++11 TESTS 11 15 0
109304132 Eason_AC A March 7, 2021, 4:13 a.m. OK GNU C++11 TESTS 11 15 0
109299602 fhqTreap A March 7, 2021, 2:01 a.m. OK GNU C++11 TESTS 11 15 0
109267550 sentews A March 6, 2021, 3:51 p.m. OK GNU C++11 TESTS 11 15 0
109297545 C_Aric A March 7, 2021, 12:14 a.m. OK GNU C++11 TESTS 11 15 512000
109302103 Lu_Anlai A March 7, 2021, 3:17 a.m. OK GNU C++11 TESTS 11 15 2252800
109304944 yukishinki A March 7, 2021, 4:35 a.m. OK GNU C++11 TESTS 11 30 0
109300395 liujia123456 A March 7, 2021, 2:25 a.m. OK GNU C++11 TESTS 11 30 0
109299150 201901060324 A March 7, 2021, 1:45 a.m. OK GNU C++14 TESTS 11 15 0
109301639 heirarchy_1234 A March 7, 2021, 3:05 a.m. OK GNU C++14 TESTS 11 15 204800
109301801 George1123 A March 7, 2021, 3:09 a.m. OK GNU C++14 TESTS 11 15 204800
109310514 MRAV A March 7, 2021, 6:17 a.m. OK GNU C++14 TESTS 11 15 204800
109280640 MadWix A March 6, 2021, 5:03 p.m. OK GNU C++14 TESTS 11 15 204800
109309378 prats27_08 A March 7, 2021, 5:59 a.m. OK GNU C++14 TESTS 11 30 0
109311464 s_joshi A March 7, 2021, 6:32 a.m. OK GNU C++14 TESTS 11 30 0
109306270 AfafHakmi A March 7, 2021, 5:05 a.m. OK GNU C++14 TESTS 11 30 0
109304952 Pranay_ A March 7, 2021, 4:35 a.m. OK GNU C++14 TESTS 11 30 0
109311446 MRAV A March 7, 2021, 6:32 a.m. OK GNU C++14 TESTS 11 30 0
109301256 parth_chovatiya A March 7, 2021, 2:54 a.m. OK GNU C++17 TESTS 11 15 0
109298188 brunodewes A March 7, 2021, 12:58 a.m. OK GNU C++17 TESTS 11 15 0
109297609 KSHSWCWU A March 7, 2021, 12:19 a.m. OK GNU C++17 TESTS 11 15 0
109297392 xiaotutu A March 7, 2021, 12:04 a.m. OK GNU C++17 TESTS 11 15 0
109296718 deck123 A March 6, 2021, 11:21 p.m. OK GNU C++17 TESTS 11 15 0
109295106 Sasha_285 A March 6, 2021, 9:56 p.m. OK GNU C++17 TESTS 11 15 0
109291962 printhelloworld A March 6, 2021, 8:10 p.m. OK GNU C++17 TESTS 11 15 0
109287321 CP_nii_krni A March 6, 2021, 6:34 p.m. OK GNU C++17 TESTS 11 15 0
109301875 YounCGY_ A March 7, 2021, 3:12 a.m. OK GNU C++17 TESTS 11 15 0
109300443 FortreSSS A March 7, 2021, 2:27 a.m. OK GNU C++17 TESTS 11 15 0
109301437 afrin2 A March 7, 2021, 2:59 a.m. OK GNU C++17 (64) TESTS 11 15 0
109307346 indrajitsadhukhan A March 7, 2021, 5:25 a.m. OK GNU C++17 (64) TESTS 11 15 0
109292134 krishnangopal A March 6, 2021, 8:14 p.m. OK GNU C++17 (64) TESTS 11 15 0
109290815 TheEvilBird A March 6, 2021, 7:43 p.m. OK GNU C++17 (64) TESTS 11 15 0
109289464 kshittiz21 A March 6, 2021, 7:13 p.m. OK GNU C++17 (64) TESTS 11 15 0
109278881 ten A March 6, 2021, 4:49 p.m. OK GNU C++17 (64) TESTS 11 15 0
109278762 D_e_n_i_s_k A March 6, 2021, 4:49 p.m. OK GNU C++17 (64) TESTS 11 15 0
109274036 inszva A March 6, 2021, 4:12 p.m. OK GNU C++17 (64) TESTS 11 15 0
109268721 watemus A March 6, 2021, 3:55 p.m. OK GNU C++17 (64) TESTS 11 15 0
109267848 25576 A March 6, 2021, 3:52 p.m. OK GNU C++17 (64) TESTS 11 15 0
109289596 Jepbar_Asgarov A March 6, 2021, 7:15 p.m. OK Go TESTS 11 217 0
109275083 WSJYQ A March 6, 2021, 4:15 p.m. OK Go TESTS 11 233 102400
109287971 gAyan17 A March 6, 2021, 6:45 p.m. OK Java 11 TESTS 11 171 0
109297884 blackBird A March 7, 2021, 12:41 a.m. OK Java 11 TESTS 11 186 0
109295153 rafee69029 A March 6, 2021, 9:58 p.m. OK Java 11 TESTS 11 186 0
109287766 Abhi_Valani A March 6, 2021, 6:42 p.m. OK Java 11 TESTS 11 187 0
109282776 Excalibur_99 A March 6, 2021, 5:28 p.m. OK Java 11 TESTS 11 187 0
109289863 Agnimandur A March 6, 2021, 7:22 p.m. OK Java 11 TESTS 11 187 0
109281737 kartikeysemwal A March 6, 2021, 5:14 p.m. OK Java 11 TESTS 11 202 0
109306161 sf14t A March 7, 2021, 5:02 a.m. OK Java 11 TESTS 11 202 0
109292210 adarsh_goku A March 6, 2021, 8:17 p.m. OK Java 11 TESTS 11 202 0
109309816 nitesh.dtu A March 7, 2021, 6:06 a.m. OK Java 11 TESTS 11 202 0
109290779 GVR A March 6, 2021, 7:42 p.m. OK Java 8 TESTS 11 109 0
109296436 rerererere A March 6, 2021, 11:02 p.m. OK Java 8 TESTS 11 109 0
109280935 ramuked A March 6, 2021, 5:06 p.m. OK Java 8 TESTS 11 124 0
109269198 XiangLi A March 6, 2021, 3:57 p.m. OK Java 8 TESTS 11 124 0
109311178 subhu12 A March 7, 2021, 6:28 a.m. OK Java 8 TESTS 11 124 0
109309717 n20gupta A March 7, 2021, 6:04 a.m. OK Java 8 TESTS 11 124 0
109309655 anuj123 A March 7, 2021, 6:04 a.m. OK Java 8 TESTS 11 124 0
109286495 dynamo_001 A March 6, 2021, 6:21 p.m. OK Java 8 TESTS 11 124 0
109285061 Charigardash A March 6, 2021, 5:59 p.m. OK Java 8 TESTS 11 124 0
109278872 RonWonWon A March 6, 2021, 4:49 p.m. OK Java 8 TESTS 11 124 0
109297641 SGHD A March 7, 2021, 12:21 a.m. OK Kotlin TESTS 11 155 0
109278632 Tlatoani A March 6, 2021, 4:48 p.m. OK Kotlin TESTS 11 171 0
109269756 Goodenough_ A March 6, 2021, 3:59 p.m. OK MS C++ TESTS 11 46 0
109298986 linxd A March 7, 2021, 1:37 a.m. OK MS C++ 2017 TESTS 11 46 0
109271932 elvcn A March 6, 2021, 4:06 p.m. OK MS C++ 2017 TESTS 11 46 102400
109306566 ravinem1 A March 7, 2021, 5:11 a.m. OK MS C++ 2017 TESTS 11 46 307200
109270645 mnrmustafa A March 6, 2021, 4:01 p.m. OK MS C++ 2017 TESTS 11 61 0
109307345 Archie98 A March 7, 2021, 5:25 a.m. OK MS C++ 2017 TESTS 11 62 102400
109290986 diegodaco08 A March 6, 2021, 7:46 p.m. OK .NET Core C# TESTS 11 93 4096000
109307769 sakapon A March 7, 2021, 5:32 a.m. OK .NET Core C# TESTS 11 109 4608000
109281732 zrpopova A March 6, 2021, 5:14 p.m. OK PascalABC.NET TESTS 11 686 0
109275258 sheyn-v A March 6, 2021, 4:15 p.m. OK PascalABC.NET TESTS 11 686 0
109284528 maciaas A March 6, 2021, 5:51 p.m. OK PyPy 2 TESTS 11 93 2662400
109284097 Gaurav1 A March 6, 2021, 5:45 p.m. OK PyPy 2 TESTS 11 124 4403200
109276634 lebron87 A March 6, 2021, 4:19 p.m. OK PyPy 2 TESTS 11 202 9523200
109292048 pengyuhe A March 6, 2021, 8:12 p.m. OK PyPy 2 TESTS 11 826 2969600
109292195 thevirtual A March 6, 2021, 8:16 p.m. OK PyPy 3 TESTS 11 109 2662400
109291062 saurav_majoka A March 6, 2021, 7:48 p.m. OK PyPy 3 TESTS 11 109 2662400
109271196 PanZverski A March 6, 2021, 4:03 p.m. OK PyPy 3 TESTS 11 124 1740800
109294785 freakbuoyancy A March 6, 2021, 9:42 p.m. OK PyPy 3 TESTS 11 124 1843200
109276195 TheNightHunter A March 6, 2021, 4:18 p.m. OK PyPy 3 TESTS 11 124 2048000
109291263 sarthaksingh09 A March 6, 2021, 7:53 p.m. OK PyPy 3 TESTS 11 124 2662400
109283094 Anuranjan_Pandey A March 6, 2021, 5:32 p.m. OK PyPy 3 TESTS 11 124 2867200
109288218 Chahal_Sakshat A March 6, 2021, 6:49 p.m. OK PyPy 3 TESTS 11 124 3174400
109285932 deepanshu_pali A March 6, 2021, 6:12 p.m. OK PyPy 3 TESTS 11 124 3481600
109293854 Genius3435 A March 6, 2021, 9:06 p.m. OK PyPy 3 TESTS 11 124 4812800
109294449 fbtar A March 6, 2021, 9:27 p.m. OK Python 3 TESTS 11 77 614400
109293296 artsolo A March 6, 2021, 8:49 p.m. OK Python 3 TESTS 11 77 614400
109282705 sh1194 A March 6, 2021, 5:27 p.m. OK Python 3 TESTS 11 78 409600
109285551 Electron1997 A March 6, 2021, 6:06 p.m. OK Python 3 TESTS 11 78 512000
109274152 DarkHeart861 A March 6, 2021, 4:13 p.m. OK Python 3 TESTS 11 78 512000
109273461 petras741 A March 6, 2021, 4:11 p.m. OK Python 3 TESTS 11 78 614400
109269023 srgoddo A March 6, 2021, 3:56 p.m. OK Python 3 TESTS 11 93 614400
109289080 NovakWilson A March 6, 2021, 7:05 p.m. OK Python 3 TESTS 11 93 819200
109269478 ajay_iit A March 6, 2021, 3:58 p.m. OK Python 3 TESTS 11 93 1843200
109271282 Nitin408 A March 6, 2021, 4:04 p.m. OK Python 3 TESTS 11 109 409600
109275841 shynjax A March 6, 2021, 4:17 p.m. OK Rust TESTS 11 31 307200

remove filters

Back to search problems