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 |
---|---|---|---|---|---|---|
1395 | Codeforces Round 664 (Div. 2) | FINISHED | False | 7200 | 139937063 | Aug. 12, 2020, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 24381 ) | A | Boboniu Likes to Color Balls | PROGRAMMING | brute force | 1000 |
B'Boboniu gives you He allows you to do the following operation as many times as you want: You should answer if it 's possible to arrange all the balls into a palindrome after several (possibly zero) number of described operations. The first line contains one integer T ( 1 <= T <= 100 ) denoting the number of test cases. For each of the next T cases, the first line contains four integers r , g , b and w ( 0 <= r,g,b,w <= 10^9 ). For each test case, print "Yes" if it 's possible to arrange all the balls into a palindrome after doing several (possibly zero) number of described operations. Otherwise, print "No". In the first test case, you 're not able to do any operation and you can never arrange three balls of distinct colors into a palindrome. In the second test case, after doing one operation, changing (8,1,9,3) to (7,0,8,6) , one of those possible palindromes may be "rrrwwwbbbbrbbbbwwwrrr". A palindrome is a word, phrase, or sequence that reads the same backwards as forwards. For example, "rggbwbggr", "b", "gg" are palindromes while "rgbb", "gbbgr" are not. Notice that an empty word, phrase, or sequence is palindrome. '... |
Codeforces Round #664 Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
89991689 | pburgher | A | Aug. 15, 2020, 6:20 a.m. | OK | Clang++17 Diagnostics | TESTS | 20 | 46 | 0 | 1000 | |
89981554 | vjudge3 | A | Aug. 15, 2020, 2:44 a.m. | OK | Clang++17 Diagnostics | TESTS | 20 | 46 | 0 | 1000 | |
89864550 | wlshih | A | Aug. 14, 2020, 11:09 a.m. | OK | Clang++17 Diagnostics | TESTS | 20 | 46 | 0 | 1000 | |
90075328 | HarshitSP | A | Aug. 16, 2020, 10:42 a.m. | OK | Clang++17 Diagnostics | TESTS | 20 | 46 | 0 | 1000 | |
90075426 | HarshitSP | A | Aug. 16, 2020, 10:44 a.m. | OK | Clang++17 Diagnostics | TESTS | 20 | 61 | 0 | 1000 | |
90501485 | Vicfred | A | Aug. 21, 2020, 1:20 a.m. | OK | D | TESTS | 20 | 31 | 0 | 1000 | |
91653456 | aNoobAgain | A | Sept. 2, 2020, 3:16 p.m. | OK | GNU C11 | TESTS | 20 | 15 | 0 | 1000 | |
90014724 | mayhem_25 | A | Aug. 15, 2020, 11:35 a.m. | OK | GNU C11 | TESTS | 20 | 15 | 0 | 1000 | |
90019226 | Muditrocks13 | A | Aug. 15, 2020, 12:47 p.m. | OK | GNU C11 | TESTS | 20 | 15 | 0 | 1000 | |
90434594 | pro001 | A | Aug. 20, 2020, 5:27 a.m. | OK | GNU C11 | TESTS | 20 | 15 | 0 | 1000 | |
91136427 | softslayer | A | Aug. 27, 2020, 1:25 p.m. | OK | GNU C11 | TESTS | 20 | 15 | 0 | 1000 | |
89840211 | aebtll | A | Aug. 14, 2020, 4:24 a.m. | OK | GNU C11 | TESTS | 20 | 15 | 307200 | 1000 | |
90216570 | kabir2018331125 | A | Aug. 17, 2020, 10:08 a.m. | OK | GNU C11 | TESTS | 20 | 30 | 0 | 1000 | |
90041102 | datlalaharika1 | A | Aug. 15, 2020, 6:39 p.m. | OK | GNU C11 | TESTS | 20 | 30 | 0 | 1000 | |
90011167 | parul3579 | A | Aug. 15, 2020, 10:42 a.m. | OK | GNU C11 | TESTS | 20 | 30 | 0 | 1000 | |
89873749 | ajoydey00001 | A | Aug. 14, 2020, 1:21 p.m. | OK | GNU C11 | TESTS | 20 | 30 | 0 | 1000 | |
91033118 | ddgo | A | Aug. 26, 2020, 8:40 a.m. | OK | GNU C++11 | TESTS | 20 | 15 | 0 | 1000 | |
91026981 | enheng | A | Aug. 26, 2020, 7:11 a.m. | OK | GNU C++11 | TESTS | 20 | 15 | 0 | 1000 | |
91013402 | como_bolo | A | Aug. 26, 2020, 3:27 a.m. | OK | GNU C++11 | TESTS | 20 | 15 | 0 | 1000 | |
91013382 | como_bolo | A | Aug. 26, 2020, 3:26 a.m. | OK | GNU C++11 | TESTS | 20 | 15 | 0 | 1000 | |
90882870 | _Nice | A | Aug. 25, 2020, 8:37 a.m. | OK | GNU C++11 | TESTS | 20 | 15 | 0 | 1000 | |
91626335 | M.Alijon | A | Sept. 2, 2020, 9 a.m. | OK | GNU C++11 | TESTS | 20 | 15 | 0 | 1000 | |
91290922 | Joseph0203 | A | Aug. 29, 2020, 2:17 p.m. | OK | GNU C++11 | TESTS | 20 | 15 | 0 | 1000 | |
91185806 | DiTenix | A | Aug. 28, 2020, 6:53 a.m. | OK | GNU C++11 | TESTS | 20 | 15 | 0 | 1000 | |
91130724 | rmssajjad | A | Aug. 27, 2020, 12:04 p.m. | OK | GNU C++11 | TESTS | 20 | 15 | 0 | 1000 | |
91122952 | luogu_bot3 | A | Aug. 27, 2020, 10:09 a.m. | OK | GNU C++11 | TESTS | 20 | 15 | 0 | 1000 | |
90261461 | SUGA_AUGUST-D | A | Aug. 17, 2020, 8:12 p.m. | OK | GNU C++14 | TESTS | 20 | 15 | 0 | 1000 | |
89840137 | ThinTime | A | Aug. 14, 2020, 4:23 a.m. | OK | GNU C++14 | TESTS | 20 | 15 | 0 | 1000 | |
89849106 | Dark_Rider_0.0 | A | Aug. 14, 2020, 7:08 a.m. | OK | GNU C++14 | TESTS | 20 | 15 | 0 | 1000 | |
90458289 | amanschauhan | A | Aug. 20, 2020, 11:33 a.m. | OK | GNU C++14 | TESTS | 20 | 15 | 0 | 1000 | |
91248785 | 15872954516 | A | Aug. 29, 2020, 12:24 a.m. | OK | GNU C++14 | TESTS | 20 | 30 | 0 | 1000 | |
91571210 | abhishek.gururani | A | Sept. 1, 2020, 1:53 p.m. | OK | GNU C++14 | TESTS | 20 | 30 | 0 | 1000 | |
91522262 | bsu6235 | A | Aug. 31, 2020, 8:10 p.m. | OK | GNU C++14 | TESTS | 20 | 30 | 0 | 1000 | |
91263315 | yash_8977 | A | Aug. 29, 2020, 7:07 a.m. | OK | GNU C++14 | TESTS | 20 | 30 | 0 | 1000 | |
91250915 | shimu07 | A | Aug. 29, 2020, 2:09 a.m. | OK | GNU C++14 | TESTS | 20 | 30 | 0 | 1000 | |
91535977 | nidhishp1407 | A | Sept. 1, 2020, 4:47 a.m. | OK | GNU C++14 | TESTS | 20 | 30 | 0 | 1000 | |
89861769 | sjpander | A | Aug. 14, 2020, 10:28 a.m. | OK | GNU C++17 | TESTS | 20 | 15 | 0 | 1000 | |
89954539 | ajitshiva007 | A | Aug. 14, 2020, 4:35 p.m. | OK | GNU C++17 | TESTS | 20 | 15 | 0 | 1000 | |
90273551 | CofDoria | A | Aug. 18, 2020, 3:44 a.m. | OK | GNU C++17 | TESTS | 20 | 15 | 0 | 1000 | |
89992112 | tulsishah7 | A | Aug. 15, 2020, 6:26 a.m. | OK | GNU C++17 | TESTS | 20 | 15 | 1740800 | 1000 | |
90900156 | ForhanShahriarFahim | A | Aug. 25, 2020, 12:47 p.m. | OK | GNU C++17 | TESTS | 20 | 30 | 0 | 1000 | |
90902738 | Prasenjit_1 | A | Aug. 25, 2020, 1:23 p.m. | OK | GNU C++17 | TESTS | 20 | 30 | 0 | 1000 | |
91010747 | believebelieve | A | Aug. 26, 2020, 2:21 a.m. | OK | GNU C++17 | TESTS | 20 | 30 | 0 | 1000 | |
91043277 | Tameshk | A | Aug. 26, 2020, 10:59 a.m. | OK | GNU C++17 | TESTS | 20 | 30 | 0 | 1000 | |
91491296 | Harshit124 | A | Aug. 31, 2020, 12:45 p.m. | OK | GNU C++17 | TESTS | 20 | 30 | 0 | 1000 | |
91699709 | puddin | A | Sept. 3, 2020, 8:18 a.m. | OK | GNU C++17 | TESTS | 20 | 30 | 0 | 1000 | |
91022400 | Tauzn | A | Aug. 26, 2020, 6:12 a.m. | OK | GNU C++17 (64) | TESTS | 20 | 15 | 0 | 1000 | |
91026456 | Dragon_Emperor | A | Aug. 26, 2020, 7:03 a.m. | OK | GNU C++17 (64) | TESTS | 20 | 15 | 0 | 1000 | |
91228183 | proksy | A | Aug. 28, 2020, 4:30 p.m. | OK | GNU C++17 (64) | TESTS | 20 | 15 | 0 | 1000 | |
91655742 | rqi | A | Sept. 2, 2020, 3:44 p.m. | OK | GNU C++17 (64) | TESTS | 20 | 15 | 0 | 1000 | |
90869812 | Moheb619 | A | Aug. 25, 2020, 5:22 a.m. | OK | GNU C++17 (64) | TESTS | 20 | 15 | 0 | 1000 | |
90453309 | SSYernar | A | Aug. 20, 2020, 10:18 a.m. | OK | GNU C++17 (64) | TESTS | 20 | 15 | 0 | 1000 | |
90369504 | shobhit-23 | A | Aug. 19, 2020, 8:01 a.m. | OK | GNU C++17 (64) | TESTS | 20 | 15 | 0 | 1000 | |
90242588 | rizcs463 | A | Aug. 17, 2020, 3:26 p.m. | OK | GNU C++17 (64) | TESTS | 20 | 15 | 0 | 1000 | |
90239289 | MZuenni | A | Aug. 17, 2020, 2:50 p.m. | OK | GNU C++17 (64) | TESTS | 20 | 15 | 0 | 1000 | |
89952215 | zxcv_1 | A | Aug. 14, 2020, 4:31 p.m. | OK | GNU C++17 (64) | TESTS | 20 | 15 | 0 | 1000 | |
90205906 | agibson | A | Aug. 17, 2020, 7:45 a.m. | OK | Go | TESTS | 20 | 46 | 0 | 1000 | |
90086232 | mphillotry | A | Aug. 16, 2020, 1:48 p.m. | OK | Java 11 | TESTS | 20 | 170 | 0 | 1000 | |
91251442 | PizzaLovers007 | A | Aug. 29, 2020, 2:29 a.m. | OK | Java 11 | TESTS | 20 | 171 | 0 | 1000 | |
91653056 | Miizu | A | Sept. 2, 2020, 3:12 p.m. | OK | Java 11 | TESTS | 20 | 171 | 0 | 1000 | |
91522075 | aquarius_gaurav | A | Aug. 31, 2020, 8:06 p.m. | OK | Java 11 | TESTS | 20 | 171 | 0 | 1000 | |
91494584 | yabets | A | Aug. 31, 2020, 1:26 p.m. | OK | Java 11 | TESTS | 20 | 171 | 0 | 1000 | |
90499375 | dmw | A | Aug. 20, 2020, 11:25 p.m. | OK | Java 11 | TESTS | 20 | 171 | 0 | 1000 | |
90498487 | mzeng | A | Aug. 20, 2020, 10:37 p.m. | OK | Java 11 | TESTS | 20 | 171 | 0 | 1000 | |
90482884 | jayesh_patil | A | Aug. 20, 2020, 4:50 p.m. | OK | Java 11 | TESTS | 20 | 171 | 0 | 1000 | |
90470750 | jyoti369 | A | Aug. 20, 2020, 2:23 p.m. | OK | Java 11 | TESTS | 20 | 171 | 0 | 1000 | |
90406407 | Prateek_Jakhar | A | Aug. 19, 2020, 4:26 p.m. | OK | Java 11 | TESTS | 20 | 171 | 0 | 1000 | |
91512681 | anathema | A | Aug. 31, 2020, 5:12 p.m. | OK | Java 8 | TESTS | 20 | 108 | 0 | 1000 | |
89956698 | nikitasharma286 | A | Aug. 14, 2020, 4:47 p.m. | OK | Java 8 | TESTS | 20 | 108 | 0 | 1000 | |
89850225 | aya_cool | A | Aug. 14, 2020, 7:25 a.m. | OK | Java 8 | TESTS | 20 | 108 | 0 | 1000 | |
90267494 | bubbl | A | Aug. 17, 2020, 11:57 p.m. | OK | Java 8 | TESTS | 20 | 108 | 0 | 1000 | |
90256102 | srvptk97 | A | Aug. 17, 2020, 6:26 p.m. | OK | Java 8 | TESTS | 20 | 108 | 0 | 1000 | |
90719619 | csullivan203 | A | Aug. 22, 2020, 11:18 p.m. | OK | Java 8 | TESTS | 20 | 108 | 20377600 | 1000 | |
91126002 | wwwwwwwwwwww | A | Aug. 27, 2020, 10:56 a.m. | OK | Java 8 | TESTS | 20 | 109 | 0 | 1000 | |
91292787 | akhilg224 | A | Aug. 29, 2020, 2:45 p.m. | OK | Java 8 | TESTS | 20 | 109 | 0 | 1000 | |
90466733 | sam_code | A | Aug. 20, 2020, 1:36 p.m. | OK | Java 8 | TESTS | 20 | 109 | 0 | 1000 | |
91646042 | shubho96 | A | Sept. 2, 2020, 1:47 p.m. | OK | Java 8 | TESTS | 20 | 109 | 0 | 1000 | |
89833780 | Spheniscine | A | Aug. 14, 2020, 1:30 a.m. | OK | Kotlin | TESTS | 20 | 124 | 0 | 1000 | |
91086945 | derovi | A | Aug. 26, 2020, 7:24 p.m. | OK | Kotlin | TESTS | 20 | 124 | 409600 | 1000 | |
91656560 | koper | A | Sept. 2, 2020, 3:54 p.m. | OK | Kotlin | TESTS | 20 | 140 | 0 | 1000 | |
91267919 | wbars | A | Aug. 29, 2020, 8:18 a.m. | OK | Kotlin | TESTS | 20 | 140 | 0 | 1000 | |
90075319 | aKn1ghtOut | A | Aug. 16, 2020, 10:42 a.m. | OK | Kotlin | TESTS | 20 | 140 | 0 | 1000 | |
90260769 | GusztavSzmolik | A | Aug. 17, 2020, 7:56 p.m. | OK | Mono C# | TESTS | 20 | 77 | 0 | 1000 | |
91305388 | hhsaffar | A | Aug. 29, 2020, 6:19 p.m. | OK | Mono C# | TESTS | 20 | 77 | 3788800 | 1000 | |
90274110 | TheSoundOfZero | A | Aug. 18, 2020, 3:58 a.m. | OK | MS C++ | TESTS | 20 | 15 | 0 | 1000 | |
90319857 | DiSTRuCtO | A | Aug. 18, 2020, 3:01 p.m. | OK | MS C++ | TESTS | 20 | 31 | 0 | 1000 | |
90052047 | AliceNCsyuk | A | Aug. 16, 2020, 2:07 a.m. | OK | MS C++ | TESTS | 20 | 31 | 0 | 1000 | |
90536820 | vjudge1 | A | Aug. 21, 2020, 1:45 p.m. | OK | MS C++ 2017 | TESTS | 20 | 30 | 3788800 | 1000 | |
90885762 | tanass | A | Aug. 25, 2020, 9:18 a.m. | OK | MS C++ 2017 | TESTS | 20 | 31 | 0 | 1000 | |
91637891 | KRIS1 | A | Sept. 2, 2020, 11:58 a.m. | OK | MS C++ 2017 | TESTS | 20 | 31 | 0 | 1000 | |
91030956 | Still_Theory | A | Aug. 26, 2020, 8:04 a.m. | OK | MS C++ 2017 | TESTS | 20 | 31 | 0 | 1000 | |
90338043 | 0cHild8oFF0the8dEvil | A | Aug. 18, 2020, 6:44 p.m. | OK | MS C++ 2017 | TESTS | 20 | 31 | 0 | 1000 | |
89922217 | prosto_user | A | Aug. 14, 2020, 3:22 p.m. | OK | MS C++ 2017 | TESTS | 20 | 31 | 0 | 1000 | |
89917763 | kumberg | A | Aug. 14, 2020, 3:14 p.m. | OK | MS C++ 2017 | TESTS | 20 | 31 | 0 | 1000 | |
89847867 | jatinkumarjk2001 | A | Aug. 14, 2020, 6:46 a.m. | OK | MS C++ 2017 | TESTS | 20 | 31 | 0 | 1000 | |
89846722 | maheshitnitrr | A | Aug. 14, 2020, 6:28 a.m. | OK | MS C++ 2017 | TESTS | 20 | 31 | 0 | 1000 | |
89842547 | choyj2012 | A | Aug. 14, 2020, 5:14 a.m. | OK | MS C++ 2017 | TESTS | 20 | 31 | 0 | 1000 | |
89929100 | Darooha | A | Aug. 14, 2020, 3:36 p.m. | OK | Ocaml | TESTS | 20 | 15 | 0 | 1000 | |
91548881 | yumtam | A | Sept. 1, 2020, 8:30 a.m. | OK | PyPy 2 | TESTS | 20 | 93 | 0 | 1000 | |
90361429 | bhuya | A | Aug. 19, 2020, 6:03 a.m. | OK | PyPy 2 | TESTS | 20 | 171 | 0 | 1000 | |
91629105 | Inchara | A | Sept. 2, 2020, 9:47 a.m. | OK | PyPy 3 | TESTS | 20 | 124 | 0 | 1000 | |
91517035 | Leggasick | A | Aug. 31, 2020, 6:23 p.m. | OK | PyPy 3 | TESTS | 20 | 124 | 0 | 1000 | |
90042220 | Tomii9273 | A | Aug. 15, 2020, 7:05 p.m. | OK | PyPy 3 | TESTS | 20 | 124 | 0 | 1000 | |
89867130 | RemonIsaac1 | A | Aug. 14, 2020, 11:45 a.m. | OK | PyPy 3 | TESTS | 20 | 124 | 0 | 1000 | |
91629934 | Inchara | A | Sept. 2, 2020, 10:01 a.m. | OK | PyPy 3 | TESTS | 20 | 139 | 0 | 1000 | |
91286931 | wolframowy | A | Aug. 29, 2020, 1:17 p.m. | OK | PyPy 3 | TESTS | 20 | 139 | 0 | 1000 | |
90084095 | Steve-B | A | Aug. 16, 2020, 1:13 p.m. | OK | PyPy 3 | TESTS | 20 | 139 | 0 | 1000 | |
89830017 | harshest2019 | A | Aug. 13, 2020, 10:42 p.m. | OK | PyPy 3 | TESTS | 20 | 139 | 0 | 1000 | |
90517168 | jainp2590 | A | Aug. 21, 2020, 8:57 a.m. | OK | PyPy 3 | TESTS | 20 | 139 | 20172800 | 1000 | |
91686473 | eenz | A | Sept. 3, 2020, 4:29 a.m. | OK | PyPy 3 | TESTS | 20 | 140 | 0 | 1000 | |
91080092 | Wolverinne | A | Aug. 26, 2020, 5:28 p.m. | OK | Python 3 | TESTS | 20 | 93 | 0 | 1000 | |
90876153 | AhsanHabib | A | Aug. 25, 2020, 7:05 a.m. | OK | Python 3 | TESTS | 20 | 93 | 0 | 1000 | |
90470666 | jaswantharyaa | A | Aug. 20, 2020, 2:22 p.m. | OK | Python 3 | TESTS | 20 | 93 | 0 | 1000 | |
90458167 | rap_coder | A | Aug. 20, 2020, 11:31 a.m. | OK | Python 3 | TESTS | 20 | 93 | 0 | 1000 | |
90356738 | pi516 | A | Aug. 19, 2020, 4:31 a.m. | OK | Python 3 | TESTS | 20 | 93 | 0 | 1000 | |
90297364 | guruvishnu2 | A | Aug. 18, 2020, 10:13 a.m. | OK | Python 3 | TESTS | 20 | 93 | 0 | 1000 | |
90245515 | vignesh_Vel | A | Aug. 17, 2020, 3:57 p.m. | OK | Python 3 | TESTS | 20 | 93 | 0 | 1000 | |
90035485 | durlavbose3965 | A | Aug. 15, 2020, 4:48 p.m. | OK | Python 3 | TESTS | 20 | 93 | 0 | 1000 | |
89990939 | navalpangtey474 | A | Aug. 15, 2020, 6:11 a.m. | OK | Python 3 | TESTS | 20 | 93 | 0 | 1000 | |
89872663 | D_J_Z | A | Aug. 14, 2020, 1:05 p.m. | OK | Python 3 | TESTS | 20 | 93 | 0 | 1000 | |
90191711 | sansen | A | Aug. 17, 2020, 4:21 a.m. | OK | Rust | TESTS | 20 | 31 | 0 | 1000 | |
90020840 | maxglushkov561 | A | Aug. 15, 2020, 1:13 p.m. | OK | Rust | TESTS | 20 | 31 | 0 | 1000 | |
90001064 | Strorkis | A | Aug. 15, 2020, 8:24 a.m. | OK | Rust | TESTS | 20 | 31 | 0 | 1000 |
Back to search problems