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 |
---|---|---|---|---|---|---|
1542 | Codeforces Round 729 (Div. 2) | FINISHED | False | 7200 | 106505699 | July 3, 2021, 1:05 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 45202 ) | A | Odd Set | PROGRAMMING | math |
B'You are given a multiset (i. e. a set that can contain multiple equal integers) containing 2n integers. Determine if you can split it into exactly n pairs (i. e. each element should be in exactly one pair) so that the sum of the two elements in each pair is odd (i. e. when divided by 2 , the remainder is 1 ). The input consists of multiple test cases. The first line contains an integer t ( 1 <= q t <= q 100 ) -- the number of test cases. The description of the test cases follows. The first line of each test case contains an integer n ( 1 <= q n <= q 100 ). The second line of each test case contains 2n integers a_1,a_2, ... , a_{2n} ( 0 <= q a_i <= q 100 ) -- the numbers in the set. For each test case, print "Yes" if it can be split into exactly n pairs so that the sum of the two elements in each pair is odd, and "No" otherwise. You can print each letter in any case. In the first test case, a possible way of splitting the set is (2,3) , (4,5) . In the second, third and fifth test case, we can prove that there isn 't any possible way. In the fourth test case, a possible way of splitting the set is (2,3) . '... |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
121249895 | anuj_pandey0 | A | July 3, 2021, 4:27 p.m. | OK | Clang++17 Diagnostics | TESTS | 9 | 93 | 0 | ||
121247037 | nhomhsgcva1920 | A | July 3, 2021, 3:58 p.m. | OK | FPC | TESTS | 9 | 15 | 0 | ||
121247302 | nhomhsgcva1920 | A | July 3, 2021, 4 p.m. | OK | FPC | TESTS | 9 | 31 | 0 | ||
121275398 | lemyfyd822006 | A | July 4, 2021, 3 a.m. | OK | FPC | TESTS | 9 | 31 | 0 | ||
121247145 | subreenahossain | A | July 3, 2021, 3:59 p.m. | OK | GNU C11 | TESTS | 9 | 15 | 0 | ||
121265371 | shaswat2000 | A | July 3, 2021, 8:30 p.m. | OK | GNU C11 | TESTS | 9 | 15 | 0 | ||
121280110 | zjufan | A | July 4, 2021, 4:51 a.m. | OK | GNU C11 | TESTS | 9 | 15 | 0 | ||
121283927 | it_vineh_ | A | July 4, 2021, 6 a.m. | OK | GNU C11 | TESTS | 9 | 15 | 0 | ||
121254074 | __rahul005 | A | July 3, 2021, 5:17 p.m. | OK | GNU C11 | TESTS | 9 | 15 | 0 | ||
121265175 | eugalt | A | July 3, 2021, 8:25 p.m. | OK | GNU C11 | TESTS | 9 | 15 | 0 | ||
121256934 | sima.akter | A | July 3, 2021, 5:55 p.m. | OK | GNU C11 | TESTS | 9 | 30 | 0 | ||
121284022 | sai_prasanna | A | July 4, 2021, 6:01 a.m. | OK | GNU C11 | TESTS | 9 | 30 | 0 | ||
121274403 | souravpust | A | July 4, 2021, 2:28 a.m. | OK | GNU C11 | TESTS | 9 | 30 | 0 | ||
121277079 | Idkmyname | A | July 4, 2021, 3:42 a.m. | OK | GNU C11 | TESTS | 9 | 30 | 0 | ||
121278420 | grass8cow | A | July 4, 2021, 4:14 a.m. | OK | GNU C++11 | TESTS | 9 | 15 | 0 | ||
121278342 | Talaodi | A | July 4, 2021, 4:12 a.m. | OK | GNU C++11 | TESTS | 9 | 15 | 0 | ||
121277248 | mazhixian | A | July 4, 2021, 3:47 a.m. | OK | GNU C++11 | TESTS | 9 | 15 | 0 | ||
121276285 | AnicoderAndy | A | July 4, 2021, 3:24 a.m. | OK | GNU C++11 | TESTS | 9 | 15 | 0 | ||
121275610 | Yang_Rick | A | July 4, 2021, 3:05 a.m. | OK | GNU C++11 | TESTS | 9 | 15 | 0 | ||
121275580 | Ninelife_Cat | A | July 4, 2021, 3:05 a.m. | OK | GNU C++11 | TESTS | 9 | 15 | 0 | ||
121283407 | Zzzzzzzzm | A | July 4, 2021, 5:51 a.m. | OK | GNU C++11 | TESTS | 9 | 15 | 0 | ||
121282509 | Kenshin2438 | A | July 4, 2021, 5:36 a.m. | OK | GNU C++11 | TESTS | 9 | 15 | 0 | ||
121279969 | coolball | A | July 4, 2021, 4:48 a.m. | OK | GNU C++11 | TESTS | 9 | 15 | 0 | ||
121278722 | luogu_bot2 | A | July 4, 2021, 4:21 a.m. | OK | GNU C++11 | TESTS | 9 | 15 | 0 | ||
121282060 | varshakh | A | July 4, 2021, 5:29 a.m. | OK | GNU C++14 | TESTS | 9 | 0 | 102400 | ||
121280530 | Madhu5 | A | July 4, 2021, 4:59 a.m. | OK | GNU C++14 | TESTS | 9 | 15 | 0 | ||
121281481 | hardy_9795 | A | July 4, 2021, 5:18 a.m. | OK | GNU C++14 | TESTS | 9 | 15 | 0 | ||
121281977 | _ipLee_ | A | July 4, 2021, 5:27 a.m. | OK | GNU C++14 | TESTS | 9 | 15 | 0 | ||
121283339 | CrSY_Bird | A | July 4, 2021, 5:50 a.m. | OK | GNU C++14 | TESTS | 9 | 15 | 0 | ||
121280411 | shivams_1 | A | July 4, 2021, 4:57 a.m. | OK | GNU C++14 | TESTS | 9 | 15 | 0 | ||
121279824 | kapibar | A | July 4, 2021, 4:45 a.m. | OK | GNU C++14 | TESTS | 9 | 15 | 0 | ||
121279764 | SuperJ6 | A | July 4, 2021, 4:44 a.m. | OK | GNU C++14 | TESTS | 9 | 15 | 0 | ||
121277871 | rohit_7 | A | July 4, 2021, 4:01 a.m. | OK | GNU C++14 | TESTS | 9 | 15 | 0 | ||
121278646 | newgate | A | July 4, 2021, 4:19 a.m. | OK | GNU C++14 | TESTS | 9 | 15 | 0 | ||
121283727 | ee1190466 | A | July 4, 2021, 5:57 a.m. | OK | GNU C++17 | TESTS | 9 | 15 | 0 | ||
121283883 | sourav1201 | A | July 4, 2021, 5:59 a.m. | OK | GNU C++17 | TESTS | 9 | 15 | 0 | ||
121283792 | 3D_2y | A | July 4, 2021, 5:58 a.m. | OK | GNU C++17 | TESTS | 9 | 15 | 0 | ||
121283738 | haskaran | A | July 4, 2021, 5:57 a.m. | OK | GNU C++17 | TESTS | 9 | 15 | 0 | ||
121283732 | sai_prathyush | A | July 4, 2021, 5:57 a.m. | OK | GNU C++17 | TESTS | 9 | 15 | 0 | ||
121283338 | yellowflash | A | July 4, 2021, 5:50 a.m. | OK | GNU C++17 | TESTS | 9 | 15 | 0 | ||
121283204 | harshals2911 | A | July 4, 2021, 5:48 a.m. | OK | GNU C++17 | TESTS | 9 | 15 | 0 | ||
121282995 | jieunie | A | July 4, 2021, 5:44 a.m. | OK | GNU C++17 | TESTS | 9 | 15 | 0 | ||
121282766 | hitesh_bansal | A | July 4, 2021, 5:40 a.m. | OK | GNU C++17 | TESTS | 9 | 15 | 0 | ||
121282666 | sarcasticnacho | A | July 4, 2021, 5:39 a.m. | OK | GNU C++17 | TESTS | 9 | 15 | 0 | ||
121272013 | Void_Monitor | A | July 4, 2021, 1:04 a.m. | OK | GNU C++17 (64) | TESTS | 9 | 15 | 0 | ||
121274707 | noob102123 | A | July 4, 2021, 2:38 a.m. | OK | GNU C++17 (64) | TESTS | 9 | 15 | 0 | ||
121274938 | Tr_Tuhin | A | July 4, 2021, 2:46 a.m. | OK | GNU C++17 (64) | TESTS | 9 | 15 | 0 | ||
121275806 | sagnik_mitra | A | July 4, 2021, 3:11 a.m. | OK | GNU C++17 (64) | TESTS | 9 | 15 | 0 | ||
121276767 | vishal_khot | A | July 4, 2021, 3:35 a.m. | OK | GNU C++17 (64) | TESTS | 9 | 15 | 0 | ||
121278748 | adityateltia22 | A | July 4, 2021, 4:21 a.m. | OK | GNU C++17 (64) | TESTS | 9 | 15 | 0 | ||
121279659 | rajkumar19084 | A | July 4, 2021, 4:42 a.m. | OK | GNU C++17 (64) | TESTS | 9 | 15 | 0 | ||
121282042 | froggyzhang | A | July 4, 2021, 5:28 a.m. | OK | GNU C++17 (64) | TESTS | 9 | 15 | 0 | ||
121282556 | ind1vidual | A | July 4, 2021, 5:37 a.m. | OK | GNU C++17 (64) | TESTS | 9 | 15 | 0 | ||
121282574 | b.sahasreddy | A | July 4, 2021, 5:37 a.m. | OK | GNU C++17 (64) | TESTS | 9 | 15 | 0 | ||
121273195 | Pisces0311 | A | July 4, 2021, 1:49 a.m. | OK | Go | TESTS | 9 | 171 | 0 | ||
121248546 | codelegend | A | July 3, 2021, 4:12 p.m. | OK | Haskell | TESTS | 9 | 46 | 102400 | ||
121246125 | nguyenkimphuongtrang | A | July 3, 2021, 3:52 p.m. | OK | Haskell | TESTS | 9 | 46 | 102400 | ||
121279618 | ypa | A | July 4, 2021, 4:41 a.m. | OK | Java 11 | TESTS | 9 | 170 | 0 | ||
121279886 | imvikas_ji | A | July 4, 2021, 4:47 a.m. | OK | Java 11 | TESTS | 9 | 171 | 0 | ||
121283321 | zenilharia26 | A | July 4, 2021, 5:50 a.m. | OK | Java 11 | TESTS | 9 | 171 | 0 | ||
121280400 | Prafful_889 | A | July 4, 2021, 4:56 a.m. | OK | Java 11 | TESTS | 9 | 171 | 0 | ||
121275106 | py605 | A | July 4, 2021, 2:51 a.m. | OK | Java 11 | TESTS | 9 | 171 | 0 | ||
121270272 | yellowfello | A | July 3, 2021, 11:35 p.m. | OK | Java 11 | TESTS | 9 | 171 | 0 | ||
121257215 | SaberXpro | A | July 3, 2021, 5:58 p.m. | OK | Java 11 | TESTS | 9 | 171 | 0 | ||
121252748 | dinosparton_013 | A | July 3, 2021, 5 p.m. | OK | Java 11 | TESTS | 9 | 171 | 0 | ||
121251339 | MishkaGrig | A | July 3, 2021, 4:43 p.m. | OK | Java 11 | TESTS | 9 | 171 | 0 | ||
121258663 | tony_heart | A | July 3, 2021, 6:19 p.m. | OK | Java 11 | TESTS | 9 | 186 | 0 | ||
121283190 | mananparmar | A | July 4, 2021, 5:48 a.m. | OK | Java 8 | TESTS | 9 | 93 | 0 | ||
121250428 | ashanksingh1997 | A | July 3, 2021, 4:32 p.m. | OK | Java 8 | TESTS | 9 | 108 | 0 | ||
121247808 | dev_14 | A | July 3, 2021, 4:05 p.m. | OK | Java 8 | TESTS | 9 | 108 | 0 | ||
121250229 | hu_tao | A | July 3, 2021, 4:30 p.m. | OK | Java 8 | TESTS | 9 | 109 | 0 | ||
121245913 | Dstoical | A | July 3, 2021, 3:50 p.m. | OK | Java 8 | TESTS | 9 | 109 | 0 | ||
121249378 | abhinavTalesra | A | July 3, 2021, 4:21 p.m. | OK | Java 8 | TESTS | 9 | 109 | 0 | ||
121276055 | coder_terror | A | July 4, 2021, 3:17 a.m. | OK | Java 8 | TESTS | 9 | 109 | 0 | ||
121255028 | tishrah_ | A | July 3, 2021, 5:30 p.m. | OK | Java 8 | TESTS | 9 | 109 | 0 | ||
121251064 | chetanyagupta13 | A | July 3, 2021, 4:40 p.m. | OK | Java 8 | TESTS | 9 | 109 | 0 | ||
121282548 | tryingDream | A | July 4, 2021, 5:37 a.m. | OK | Java 8 | TESTS | 9 | 124 | 0 | ||
121259679 | sedenion | A | July 3, 2021, 6:34 p.m. | OK | JavaScript | TESTS | 9 | 15 | 204800 | ||
121260965 | gustavooliveira | A | July 3, 2021, 6:56 p.m. | OK | JavaScript | TESTS | 9 | 30 | 102400 | ||
121250721 | Krantzy | A | July 3, 2021, 4:36 p.m. | OK | Kotlin | TESTS | 9 | 124 | 0 | ||
121255695 | dnaux | A | July 3, 2021, 5:38 p.m. | OK | Kotlin | TESTS | 9 | 139 | 0 | ||
121249268 | mumumucoder | A | July 3, 2021, 4:20 p.m. | OK | Kotlin | TESTS | 9 | 139 | 0 | ||
121277497 | sniper97 | A | July 4, 2021, 3:53 a.m. | OK | Kotlin | TESTS | 9 | 140 | 0 | ||
121266590 | aidmoss03 | A | July 3, 2021, 9:06 p.m. | OK | Kotlin | TESTS | 9 | 170 | 0 | ||
121251433 | AbodeDaad | A | July 3, 2021, 4:44 p.m. | OK | MS C++ | TESTS | 9 | 30 | 0 | ||
121251707 | AbodeDaad | A | July 3, 2021, 4:47 p.m. | OK | MS C++ | TESTS | 9 | 30 | 0 | ||
121251216 | AbodeDaad | A | July 3, 2021, 4:41 p.m. | OK | MS C++ | TESTS | 9 | 31 | 0 | ||
121276726 | dlehgns011 | A | July 4, 2021, 3:34 a.m. | OK | MS C++ 2017 | TESTS | 9 | 15 | 0 | ||
121277757 | qimasuppoq | A | July 4, 2021, 3:59 a.m. | OK | MS C++ 2017 | TESTS | 9 | 15 | 0 | ||
121255805 | adasanvin12345 | A | July 3, 2021, 5:40 p.m. | OK | MS C++ 2017 | TESTS | 9 | 15 | 0 | ||
121248248 | zjt1156400231 | A | July 3, 2021, 4:09 p.m. | OK | MS C++ 2017 | TESTS | 9 | 30 | 0 | ||
121282330 | QinZeHao-Allen | A | July 4, 2021, 5:33 a.m. | OK | MS C++ 2017 | TESTS | 9 | 30 | 0 | ||
121274375 | honolulu01 | A | July 4, 2021, 2:27 a.m. | OK | MS C++ 2017 | TESTS | 9 | 30 | 0 | ||
121265746 | RUS_Demon | A | July 3, 2021, 8:40 p.m. | OK | MS C++ 2017 | TESTS | 9 | 30 | 0 | ||
121247269 | mskk | A | July 3, 2021, 4 p.m. | OK | MS C++ 2017 | TESTS | 9 | 30 | 0 | ||
121279741 | DarkHomosapien | A | July 4, 2021, 4:44 a.m. | OK | MS C++ 2017 | TESTS | 9 | 30 | 102400 | ||
121273539 | swz | A | July 4, 2021, 2:01 a.m. | OK | MS C++ 2017 | TESTS | 9 | 31 | 0 | ||
121253402 | Ahad726 | A | July 3, 2021, 5:08 p.m. | OK | .NET Core C# | TESTS | 9 | 93 | 921600 | ||
121261853 | ShashankZobb | A | July 3, 2021, 7:13 p.m. | OK | PyPy 2 | TESTS | 9 | 77 | 307200 | ||
121252779 | Eleven_eagles | A | July 3, 2021, 5 p.m. | OK | PyPy 3 | TESTS | 9 | 92 | 1536000 | ||
121269356 | YMSeah | A | July 3, 2021, 10:53 p.m. | OK | PyPy 3 | TESTS | 9 | 93 | 1433600 | ||
121262514 | evoxtorm | A | July 3, 2021, 7:25 p.m. | OK | PyPy 3 | TESTS | 9 | 93 | 1536000 | ||
121247161 | srijan.sarkar | A | July 3, 2021, 3:59 p.m. | OK | PyPy 3 | TESTS | 9 | 93 | 1536000 | ||
121245125 | serpent0917 | A | July 3, 2021, 3:45 p.m. | OK | PyPy 3 | TESTS | 9 | 93 | 1638400 | ||
121258878 | jaloliddin_cpp | A | July 3, 2021, 6:22 p.m. | OK | PyPy 3 | TESTS | 9 | 93 | 1638400 | ||
121255374 | manohar2509 | A | July 3, 2021, 5:34 p.m. | OK | PyPy 3 | TESTS | 9 | 93 | 1638400 | ||
121246674 | Ruski_Bratwurst | A | July 3, 2021, 3:55 p.m. | OK | PyPy 3 | TESTS | 9 | 93 | 1638400 | ||
121245628 | anubhavakki2016 | A | July 3, 2021, 3:48 p.m. | OK | PyPy 3 | TESTS | 9 | 93 | 1638400 | ||
121245497 | mayank35 | A | July 3, 2021, 3:48 p.m. | OK | PyPy 3 | TESTS | 9 | 93 | 1638400 | ||
121244438 | dsrkreddy81 | A | July 3, 2021, 3:42 p.m. | OK | Python 3 | TESTS | 9 | 61 | 0 | ||
121277313 | AdvithDesu | A | July 4, 2021, 3:49 a.m. | OK | Python 3 | TESTS | 9 | 61 | 0 | ||
121263688 | mackhan007 | A | July 3, 2021, 7:50 p.m. | OK | Python 3 | TESTS | 9 | 61 | 0 | ||
121260306 | samyaksrivastava9 | A | July 3, 2021, 6:44 p.m. | OK | Python 3 | TESTS | 9 | 61 | 0 | ||
121260116 | SKA1812 | A | July 3, 2021, 6:41 p.m. | OK | Python 3 | TESTS | 9 | 61 | 0 | ||
121256187 | Tima2229 | A | July 3, 2021, 5:45 p.m. | OK | Python 3 | TESTS | 9 | 61 | 0 | ||
121254697 | r-tron18 | A | July 3, 2021, 5:25 p.m. | OK | Python 3 | TESTS | 9 | 61 | 0 | ||
121252377 | rutz12 | A | July 3, 2021, 4:55 p.m. | OK | Python 3 | TESTS | 9 | 61 | 0 | ||
121247371 | keshireddyvarshinireddy | A | July 3, 2021, 4:01 p.m. | OK | Python 3 | TESTS | 9 | 61 | 0 | ||
121245087 | saisahith650 | A | July 3, 2021, 3:45 p.m. | OK | Python 3 | TESTS | 9 | 61 | 0 | ||
121260976 | ryo_n | A | July 3, 2021, 6:56 p.m. | OK | Rust | TESTS | 9 | 30 | 102400 | ||
121240002 | jaydeepmaddipati | A | July 3, 2021, 2:58 p.m. | OK | Rust | TESTS | 9 | 31 | 102400 | ||
121265271 | crazyboycjr0.1 | A | July 3, 2021, 8:28 p.m. | OK | Rust | TESTS | 9 | 31 | 204800 |
Back to search problems