Educational Codeforces Round 84 (Rated for 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
1327 Educational Codeforces Round 84 (Rated for Div. 2) FINISHED False 7200 146849099 March 23, 2020, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 39369 ) A Sum of Odd Integers PROGRAMMING math 1100

B'You are given two integers n and k . Your task is to find if n can be represented as a sum of k distinct positive odd (not divisible by 2 ) integers or not. You have to answer t independent test cases. The first line of the input contains one integer t ( 1 <= t <= 10^5 ) -- the number of test cases. The next t lines describe test cases. The only line of the test case contains two integers n and k ( 1 <= n, k <= 10^7 ). For each test case, print the answer -- "YES" (without quotes) if n can be represented as a sum of k distinct positive odd (not divisible by 2 ) integers and "NO" otherwise. In the first test case, you can represent 3 as 3 . In the second test case, the only way to represent 4 is 1+3 . In the third test case, you cannot represent 10 as the sum of three distinct positive odd integers. In the fourth test case, you can represent 10 as 3+7 , for example. In the fifth test case, you can represent 16 as 1+3+5+7 . In the sixth test case, you cannot represent 16 as the sum of five distinct positive odd integers. '...

Tutorials

Educational Codeforces Round 84 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
74593364 chocopuu A March 27, 2020, 7:16 p.m. OK Clang++17 Diagnostics TESTS 17 857 0 1100
74314120 JFLW A March 25, 2020, 4:31 p.m. OK Clang++17 Diagnostics TESTS 17 1419 0 1100
74319485 F3d0s A March 25, 2020, 5:25 p.m. OK FPC TESTS 17 327 0 1100
74319580 Saveliy_Kuznetsov A March 25, 2020, 5:26 p.m. OK FPC TESTS 17 327 0 1100
74319049 Mikromolekula1100 A March 25, 2020, 5:20 p.m. OK FPC TESTS 17 342 0 1100
74336259 kekozavr228 A March 25, 2020, 8:59 p.m. OK FPC TESTS 17 342 0 1100
74318530 Puxtazok A March 25, 2020, 5:16 p.m. OK FPC TESTS 17 343 0 1100
74375790 Georgii123 A March 26, 2020, 10:35 a.m. OK FPC TESTS 17 374 0 1100
74272164 BugLeave A March 25, 2020, 9:08 a.m. OK GNU C11 TESTS 17 61 0 1100
74318065 xiao-xiao A March 25, 2020, 5:11 p.m. OK GNU C11 TESTS 17 62 0 1100
74265888 lifers A March 25, 2020, 7:50 a.m. OK GNU C11 TESTS 17 62 0 1100
74220688 Punter A March 24, 2020, 4:20 p.m. OK GNU C11 TESTS 17 62 0 1100
74268815 Kerving A March 25, 2020, 8:32 a.m. OK GNU C11 TESTS 17 62 0 1100
74187628 Jaman_khan A March 24, 2020, 10:29 a.m. OK GNU C11 TESTS 17 343 0 1100
74327272 akash19jain A March 25, 2020, 6:48 p.m. OK GNU C11 TESTS 17 343 0 1100
74539959 Tube_light_43 A March 27, 2020, 9:05 a.m. OK GNU C11 TESTS 17 343 0 1100
74234936 Alhamdulilla A March 24, 2020, 7:14 p.m. OK GNU C11 TESTS 17 343 0 1100
74566114 ayush523 A March 27, 2020, 2:05 p.m. OK GNU C11 TESTS 17 358 0 1100
74152791 GGAutomaton A March 24, 2020, 12:19 a.m. OK GNU C++11 TESTS 17 31 0 1100
74521294 ZhanLang A March 27, 2020, 3:14 a.m. OK GNU C++11 TESTS 17 31 0 1100
74251316 prodipdatta7 A March 25, 2020, 2:55 a.m. OK GNU C++11 TESTS 17 31 0 1100
74248294 TheShadow_DC A March 25, 2020, 1:04 a.m. OK GNU C++11 TESTS 17 31 0 1100
74176725 zhaoleyi1 A March 24, 2020, 8:14 a.m. OK GNU C++11 TESTS 17 31 0 1100
74156546 zmxqs A March 24, 2020, 2:27 a.m. OK GNU C++11 TESTS 17 31 0 1100
74156350 zmxqs A March 24, 2020, 2:21 a.m. OK GNU C++11 TESTS 17 31 0 1100
74153903 froggyzhang A March 24, 2020, 1:03 a.m. OK GNU C++11 TESTS 17 31 0 1100
74153717 dingcx A March 24, 2020, 12:55 a.m. OK GNU C++11 TESTS 17 31 0 1100
74153519 BrownBear A March 24, 2020, 12:48 a.m. OK GNU C++11 TESTS 17 31 0 1100
74170613 QAQAutoMaton A March 24, 2020, 7:02 a.m. OK GNU C++14 TESTS 17 31 4198400 1100
74363753 wclee2265 A March 26, 2020, 7:59 a.m. OK GNU C++14 TESTS 17 46 0 1100
74126644 shaikat0088 A March 23, 2020, 4:48 p.m. OK GNU C++14 TESTS 17 46 0 1100
74529235 hedgehog7 A March 27, 2020, 6:06 a.m. OK GNU C++14 TESTS 17 46 0 1100
74430610 jasminehe A March 26, 2020, 3:12 p.m. OK GNU C++14 TESTS 17 61 0 1100
74163083 fr1234 A March 24, 2020, 5:11 a.m. OK GNU C++14 TESTS 17 61 0 1100
74150248 ar7L A March 23, 2020, 10:38 p.m. OK GNU C++14 TESTS 17 61 0 1100
74513844 HeathcliffAC A March 26, 2020, 11:41 p.m. OK GNU C++14 TESTS 17 61 0 1100
74504303 jamjanek A March 26, 2020, 8:03 p.m. OK GNU C++14 TESTS 17 61 0 1100
74551279 Tafsir_Rahman A March 27, 2020, 11:14 a.m. OK GNU C++14 TESTS 17 62 0 1100
74319044 .tx A March 25, 2020, 5:20 p.m. OK GNU C++17 TESTS 17 31 0 1100
74169888 vjudge2 A March 24, 2020, 6:54 a.m. OK GNU C++17 TESTS 17 31 102400 1100
74161621 _andyli A March 24, 2020, 4:40 a.m. OK GNU C++17 TESTS 17 31 2150400 1100
74198524 i_lower A March 24, 2020, 12:29 p.m. OK GNU C++17 TESTS 17 46 0 1100
74166201 mihai995 A March 24, 2020, 6:11 a.m. OK GNU C++17 TESTS 17 46 0 1100
74288358 yaoyaocc A March 25, 2020, 12:22 p.m. OK GNU C++17 TESTS 17 46 0 1100
74582434 rahanuma28 A March 27, 2020, 5:03 p.m. OK GNU C++17 TESTS 17 46 0 1100
74513483 gafeol A March 26, 2020, 11:30 p.m. OK GNU C++17 TESTS 17 46 819200 1100
74354771 hotgirlbaby21 A March 26, 2020, 5:56 a.m. OK GNU C++17 TESTS 17 61 0 1100
74384093 Alvee109 A March 26, 2020, 12:14 p.m. OK GNU C++17 TESTS 17 61 0 1100
74519701 peroon A March 27, 2020, 2:37 a.m. OK GNU C++17 (64) TESTS 17 46 0 1100
74157908 zwliew A March 24, 2020, 3:07 a.m. OK GNU C++17 (64) TESTS 17 46 0 1100
74127720 pachico A March 23, 2020, 4:54 p.m. OK GNU C++17 (64) TESTS 17 46 0 1100
74158482 KR1shna A March 24, 2020, 3:23 a.m. OK GNU C++17 (64) TESTS 17 61 0 1100
74161437 idgaf_99 A March 24, 2020, 4:36 a.m. OK GNU C++17 (64) TESTS 17 61 0 1100
74519636 peroon A March 27, 2020, 2:36 a.m. OK GNU C++17 (64) TESTS 17 61 0 1100
74136232 neal A March 23, 2020, 6:15 p.m. OK GNU C++17 (64) TESTS 17 61 0 1100
74202451 autoint A March 24, 2020, 1:09 p.m. OK GNU C++17 (64) TESTS 17 62 0 1100
74307584 ivan100sic A March 25, 2020, 3:32 p.m. OK GNU C++17 (64) TESTS 17 62 0 1100
74320526 Sprdalo A March 25, 2020, 5:35 p.m. OK GNU C++17 (64) TESTS 17 62 0 1100
74212617 ae04071 A March 24, 2020, 2:47 p.m. OK Go TESTS 17 342 102400 1100
74222212 nsaeki A March 24, 2020, 4:39 p.m. OK Go TESTS 17 389 102400 1100
74128746 jaimatadiletsrock A March 23, 2020, 5:01 p.m. OK Go TESTS 17 389 102400 1100
74126234 jaimatadiletsrock A March 23, 2020, 4:45 p.m. OK Go TESTS 17 405 0 1100
74156022 wzazzy A March 24, 2020, 2:13 a.m. OK Go TESTS 17 405 204800 1100
74596731 LincolnYe A March 27, 2020, 8:08 p.m. OK Go TESTS 17 467 6553600 1100
74186240 Begs A March 24, 2020, 10:12 a.m. OK Haskell TESTS 17 390 102400 1100
74199229 koluacik A March 24, 2020, 12:37 p.m. OK Haskell TESTS 17 405 102400 1100
74136205 Begs A March 23, 2020, 6:15 p.m. OK Haskell TESTS 17 405 102400 1100
74317326 steam_giant A March 25, 2020, 5:04 p.m. OK Haskell TESTS 17 421 1126400 1100
74286074 spiritbreaker A March 25, 2020, 11:57 a.m. OK Java 11 TESTS 17 202 0 1100
74134080 imrankhurshid94 A March 23, 2020, 5:51 p.m. OK Java 11 TESTS 17 202 0 1100
74165742 rahul. A March 24, 2020, 6:06 a.m. OK Java 11 TESTS 17 233 0 1100
74151066 Zouzou A March 23, 2020, 11:08 p.m. OK Java 11 TESTS 17 233 0 1100
74139111 shallotwang129 A March 23, 2020, 6:51 p.m. OK Java 11 TESTS 17 233 0 1100
74127596 Younoknowme A March 23, 2020, 4:53 p.m. OK Java 11 TESTS 17 233 0 1100
74292285 shivamnarware A March 25, 2020, 1:01 p.m. OK Java 11 TESTS 17 264 0 1100
74117350 LightYagami674 A March 23, 2020, 4:21 p.m. OK Java 11 TESTS 17 265 0 1100
74575687 kyaKarogeJANkar A March 27, 2020, 3:43 p.m. OK Java 11 TESTS 17 436 0 1100
74120710 Dukkha A March 23, 2020, 4:28 p.m. OK Java 11 TESTS 17 467 0 1100
74242744 Nirav412000 A March 24, 2020, 9:45 p.m. OK Java 8 TESTS 17 124 0 1100
74137327 harshitContest A March 23, 2020, 6:29 p.m. OK Java 8 TESTS 17 124 0 1100
74134014 A5SAS51N A March 23, 2020, 5:50 p.m. OK Java 8 TESTS 17 124 0 1100
74349167 aNon227 A March 26, 2020, 3:51 a.m. OK Java 8 TESTS 17 124 0 1100
74152029 bluesky111 A March 23, 2020, 11:48 p.m. OK Java 8 TESTS 17 124 0 1100
74160085 Manan8686 A March 24, 2020, 4:04 a.m. OK Java 8 TESTS 17 124 0 1100
74160891 saurabhs1206 A March 24, 2020, 4:24 a.m. OK Java 8 TESTS 17 124 0 1100
74370321 rahulkhairwar A March 26, 2020, 9:25 a.m. OK Java 8 TESTS 17 139 0 1100
74370028 rahulkhairwar A March 26, 2020, 9:22 a.m. OK Java 8 TESTS 17 139 0 1100
74272932 In_The_Name_Of_Love A March 25, 2020, 9:18 a.m. OK Java 8 TESTS 17 139 0 1100
74175290 Spheniscine A March 24, 2020, 7:57 a.m. OK Kotlin TESTS 17 171 0 1100
74145400 ahmethalici A March 23, 2020, 8:32 p.m. OK Kotlin TESTS 17 826 0 1100
74347798 supremo_kot A March 26, 2020, 3:12 a.m. OK Kotlin TESTS 17 936 204800 1100
74122123 jonas.havelka.42 A March 23, 2020, 4:31 p.m. OK Kotlin TESTS 17 982 204800 1100
74144791 programmerr47 A March 23, 2020, 8:21 p.m. OK Kotlin TESTS 17 1029 0 1100
74170694 artworks A March 24, 2020, 7:03 a.m. OK Mono C# TESTS 17 186 7884800 1100
74260799 camypaper A March 25, 2020, 6:33 a.m. OK Mono C# TESTS 17 389 3072000 1100
74158547 JalalHani A March 24, 2020, 3:25 a.m. OK Mono C# TESTS 17 420 3072000 1100
74287229 IleksaNott A March 25, 2020, 12:10 p.m. OK Mono C# TESTS 17 421 3072000 1100
74136337 TRR A March 23, 2020, 6:16 p.m. OK Mono C# TESTS 17 436 3072000 1100
74169055 ZhihuiLiu A March 24, 2020, 6:45 a.m. OK Mono C# TESTS 17 452 82739200 1100
74140270 geronimo00 A March 23, 2020, 7:07 p.m. OK Mono C# TESTS 17 467 6758400 1100
74140206 geronimo00 A March 23, 2020, 7:06 p.m. OK Mono C# TESTS 17 483 6758400 1100
74140445 geronimo00 A March 23, 2020, 7:09 p.m. OK Mono C# TESTS 17 483 6758400 1100
74162399 vjudge4 A March 24, 2020, 4:58 a.m. OK MS C++ TESTS 17 46 0 1100
74156221 vjudge2 A March 24, 2020, 2:18 a.m. OK MS C++ TESTS 17 61 0 1100
74280020 vjudge5 A March 25, 2020, 10:46 a.m. OK MS C++ TESTS 17 61 0 1100
74284437 vjudge5 A March 25, 2020, 11:39 a.m. OK MS C++ TESTS 17 61 0 1100
74199937 vjudge3 A March 24, 2020, 12:44 p.m. OK MS C++ TESTS 17 62 0 1100
74282535 vjudge3 A March 25, 2020, 11:16 a.m. OK MS C++ TESTS 17 62 0 1100
74171911 vjudge2 A March 24, 2020, 7:16 a.m. OK MS C++ TESTS 17 62 0 1100
74167312 vjudge5 A March 24, 2020, 6:25 a.m. OK MS C++ TESTS 17 77 0 1100
74296309 vjudge1 A March 25, 2020, 1:40 p.m. OK MS C++ TESTS 17 77 0 1100
74158233 vjudge4 A March 24, 2020, 3:17 a.m. OK MS C++ TESTS 17 77 0 1100
74152171 vjudge5 A March 23, 2020, 11:53 p.m. OK MS C++ 2017 TESTS 17 77 0 1100
74588766 MikuSakula A March 27, 2020, 6:17 p.m. OK MS C++ 2017 TESTS 17 77 0 1100
74286937 vjudge2 A March 25, 2020, 12:07 p.m. OK MS C++ 2017 TESTS 17 77 0 1100
74272703 vjudge1 A March 25, 2020, 9:15 a.m. OK MS C++ 2017 TESTS 17 77 0 1100
74252081 vjudge1 A March 25, 2020, 3:17 a.m. OK MS C++ 2017 TESTS 17 77 0 1100
74136787 seoungjun A March 23, 2020, 6:22 p.m. OK MS C++ 2017 TESTS 17 78 0 1100
74172571 LeeLdler A March 24, 2020, 7:24 a.m. OK MS C++ 2017 TESTS 17 78 0 1100
74191287 LeeJongHun A March 24, 2020, 11:13 a.m. OK MS C++ 2017 TESTS 17 78 0 1100
74588857 MikuSakula A March 27, 2020, 6:18 p.m. OK MS C++ 2017 TESTS 17 78 0 1100
74272510 vjudge1 A March 25, 2020, 9:13 a.m. OK MS C++ 2017 TESTS 17 92 0 1100
74127278 FillHill A March 23, 2020, 4:51 p.m. OK Node.js TESTS 17 1091 33177600 1100
74136485 mayakin A March 23, 2020, 6:18 p.m. OK PHP TESTS 17 421 0 1100
74344566 wolffd A March 26, 2020, 1:21 a.m. OK PyPy 2 TESTS 17 1637 4300800 1100
74343482 peijinz A March 26, 2020, 12:40 a.m. OK PyPy 2 TESTS 17 1638 6348800 1100
74145024 ByMykel A March 23, 2020, 8:25 p.m. OK PyPy 2 TESTS 17 1684 6041600 1100
74174937 deepanshu_pali A March 24, 2020, 7:53 a.m. OK PyPy 3 TESTS 17 233 8806400 1100
74170750 akshaysolanki941 A March 24, 2020, 7:03 a.m. OK PyPy 3 TESTS 17 264 8806400 1100
74368141 apoorvwatsky A March 26, 2020, 8:57 a.m. OK PyPy 3 TESTS 17 265 9216000 1100
74312558 _comfortably_numb A March 25, 2020, 4:14 p.m. OK PyPy 3 TESTS 17 296 9216000 1100
74140475 thekushalghosh A March 23, 2020, 7:09 p.m. OK PyPy 3 TESTS 17 374 9932800 1100
74140389 thekushalghosh A March 23, 2020, 7:08 p.m. OK PyPy 3 TESTS 17 374 9932800 1100
74153942 renjied A March 24, 2020, 1:04 a.m. OK PyPy 3 TESTS 17 374 11673600 1100
74127213 golfbaby A March 23, 2020, 4:51 p.m. OK PyPy 3 TESTS 17 389 9420800 1100
74312446 _comfortably_numb A March 25, 2020, 4:13 p.m. OK PyPy 3 TESTS 17 389 9420800 1100
74178183 koptev A March 24, 2020, 8:32 a.m. OK PyPy 3 TESTS 17 389 9523200 1100
74338236 sirjan13 A March 25, 2020, 9:42 p.m. OK Python 2 TESTS 17 421 1638400 1100
74375598 c_s_t A March 26, 2020, 10:33 a.m. OK Python 2 TESTS 17 467 0 1100
74178438 ComptineDunAutreEte A March 24, 2020, 8:35 a.m. OK Python 2 TESTS 17 483 1638400 1100
74134507 KingVlad A March 23, 2020, 5:55 p.m. OK Python 3 TESTS 17 343 2457600 1100
74554761 zschewlerr A March 27, 2020, 11:56 a.m. OK Python 3 TESTS 17 358 2457600 1100
74193031 rizwan486 A March 24, 2020, 11:32 a.m. OK Python 3 TESTS 17 374 409600 1100
74280543 m80126colin A March 25, 2020, 10:53 a.m. OK Python 3 TESTS 17 389 1024000 1100
74261794 MAO1112 A March 25, 2020, 6:48 a.m. OK Python 3 TESTS 17 404 409600 1100
74128280 jamerrq A March 23, 2020, 4:58 p.m. OK Python 3 TESTS 17 405 409600 1100
74269081 niranjanpandit A March 25, 2020, 8:36 a.m. OK Python 3 TESTS 17 405 921600 1100
74525154 jallllebi A March 27, 2020, 4:37 a.m. OK Python 3 TESTS 17 405 1024000 1100
74341381 GTrigger A March 25, 2020, 11:22 p.m. OK Python 3 TESTS 17 421 6451200 1100
74126761 sbenarjee A March 23, 2020, 4:48 p.m. OK Python 3 TESTS 17 436 409600 1100
74524806 itsnotme A March 27, 2020, 4:30 a.m. OK Rust TESTS 17 78 307200 1100
74525700 itsnotme A March 27, 2020, 4:47 a.m. OK Rust TESTS 17 108 307200 1100
74137680 mversic101 A March 23, 2020, 6:33 p.m. OK Rust TESTS 17 936 0 1100
74169119 Lvl999Noob A March 24, 2020, 6:45 a.m. OK Rust TESTS 17 1045 0 1100

remove filters

Back to search problems