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 |
---|---|---|---|---|---|---|
1742 | Codeforces Round 827 (Div. 4) | FINISHED | False | 8700 | 71594663 | Oct. 13, 2022, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 34233 ) | C | Stripes | PROGRAMMING | implementation |
B"On an 8 x 8 grid, some horizontal rows have been painted red, and some vertical columns have been painted blue, in some order. The stripes are drawn sequentially, one after the other. When the stripe is drawn, it repaints all the cells through which it passes. Determine which color was used last. The first line of the input contains a single integer t ( 1 <= q t <= q 4000 ) -- the number of test cases. The description of test cases follows. There is an empty line before each test case. Each test case consists of 8 lines, each containing 8 characters. Each of these characters is either 'R', 'B', or '.', denoting a red square, a blue square, and an unpainted square, respectively. It is guaranteed that the given field is obtained from a colorless one by drawing horizontal red rows and vertical blue columns. At least one stripe is painted. For each test case, output 'R' if a red stripe was painted last, and 'B' if a blue stripe was painted last (without quotes). The first test case is pictured in the statement. In the second test case, the first blue column is painted first, then the first and last red rows, and finally the last blue column. Since a blue stripe is painted last, the answer is B. "... |
107962 |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
176056781 | ansergeyg | C | Oct. 13, 2022, 6:04 p.m. | OK | C# 8 | TESTS | 4 | 61 | 10444800 | ||
176064618 | FatemehAskari | C | Oct. 13, 2022, 7:14 p.m. | OK | C# 8 | TESTS | 4 | 93 | 11161600 | ||
176060168 | r4andom | C | Oct. 13, 2022, 6:31 p.m. | OK | Clang++20 Diagnostics | TESTS | 4 | 171 | 15769600 | ||
176080406 | PyramidsCoder | C | Oct. 14, 2022, 12:15 a.m. | OK | Clang++20 Diagnostics | TESTS | 4 | 217 | 3174400 | ||
176058644 | overflowingsueme | C | Oct. 13, 2022, 6:19 p.m. | OK | GNU C11 | TESTS | 4 | 31 | 0 | ||
176065435 | YAHYA_RHIBA | C | Oct. 13, 2022, 7:22 p.m. | OK | GNU C11 | TESTS | 4 | 31 | 3686400 | ||
176070200 | c0derro | C | Oct. 13, 2022, 8:18 p.m. | OK | GNU C11 | TESTS | 4 | 31 | 3686400 | ||
176094969 | Abdullah_30_383 | C | Oct. 14, 2022, 4:12 a.m. | OK | GNU C11 | TESTS | 4 | 46 | 0 | ||
176084585 | sultan91234567 | C | Oct. 14, 2022, 1:38 a.m. | OK | GNU C11 | TESTS | 4 | 46 | 3686400 | ||
176062036 | Vinni1247 | C | Oct. 13, 2022, 6:48 p.m. | OK | GNU C11 | TESTS | 4 | 46 | 3686400 | ||
176060515 | MazinIslam | C | Oct. 13, 2022, 6:34 p.m. | OK | GNU C11 | TESTS | 4 | 62 | 3686400 | ||
176066624 | jay_jayjay | C | Oct. 13, 2022, 7:35 p.m. | OK | GNU C11 | TESTS | 4 | 62 | 3686400 | ||
176056870 | kerolus_soliman | C | Oct. 13, 2022, 6:04 p.m. | OK | GNU C11 | TESTS | 4 | 62 | 3686400 | ||
176091102 | tokitsukaze | C | Oct. 14, 2022, 3:16 a.m. | OK | GNU C++14 | TESTS | 4 | 0 | 102400 | ||
176092801 | hacker_047 | C | Oct. 14, 2022, 3:40 a.m. | OK | GNU C++14 | TESTS | 4 | 15 | 0 | ||
176098124 | BrotherHong | C | Oct. 14, 2022, 4:55 a.m. | OK | GNU C++14 | TESTS | 4 | 15 | 0 | ||
176098210 | lixiangsanxun | C | Oct. 14, 2022, 4:56 a.m. | OK | GNU C++14 | TESTS | 4 | 15 | 0 | ||
176098485 | Dream4U | C | Oct. 14, 2022, 5 a.m. | OK | GNU C++14 | TESTS | 4 | 15 | 0 | ||
176103309 | TYB_Bellakira | C | Oct. 14, 2022, 5:52 a.m. | OK | GNU C++14 | TESTS | 4 | 15 | 0 | ||
176098927 | SadikMR | C | Oct. 14, 2022, 5:05 a.m. | OK | GNU C++14 | TESTS | 4 | 15 | 0 | ||
176102161 | Rahul_cd | C | Oct. 14, 2022, 5:41 a.m. | OK | GNU C++14 | TESTS | 4 | 15 | 0 | ||
176098965 | Shivam164 | C | Oct. 14, 2022, 5:06 a.m. | OK | GNU C++14 | TESTS | 4 | 15 | 0 | ||
176095145 | -Garbage_Collection- | C | Oct. 14, 2022, 4:14 a.m. | OK | GNU C++14 | TESTS | 4 | 15 | 0 | ||
176097150 | aman_212 | C | Oct. 14, 2022, 4:42 a.m. | OK | GNU C++17 | TESTS | 4 | 0 | 0 | ||
176059644 | manav2727 | C | Oct. 13, 2022, 6:27 p.m. | OK | GNU C++17 | TESTS | 4 | 0 | 1024000 | ||
176053268 | Pety | C | Oct. 13, 2022, 5:39 p.m. | OK | GNU C++17 | TESTS | 4 | 0 | 1024000 | ||
176056877 | vijay262 | C | Oct. 13, 2022, 6:04 p.m. | OK | GNU C++17 | TESTS | 4 | 0 | 1024000 | ||
176068524 | Saminamina | C | Oct. 13, 2022, 7:57 p.m. | OK | GNU C++17 | TESTS | 4 | 0 | 1024000 | ||
176060588 | AbdoAtiia542 | C | Oct. 13, 2022, 6:35 p.m. | OK | GNU C++17 | TESTS | 4 | 0 | 1024000 | ||
176103755 | Impredecible | C | Oct. 14, 2022, 5:56 a.m. | OK | GNU C++17 | TESTS | 4 | 15 | 0 | ||
176103791 | anurudh72 | C | Oct. 14, 2022, 5:57 a.m. | OK | GNU C++17 | TESTS | 4 | 15 | 0 | ||
176103700 | sakshamp10 | C | Oct. 14, 2022, 5:56 a.m. | OK | GNU C++17 | TESTS | 4 | 15 | 0 | ||
176104173 | piyush1_20 | C | Oct. 14, 2022, 6 a.m. | OK | GNU C++17 | TESTS | 4 | 15 | 0 | ||
176097397 | Prositka | C | Oct. 14, 2022, 4:45 a.m. | OK | GNU C++17 (64) | TESTS | 4 | 0 | 0 | ||
176058469 | SaadOoN | C | Oct. 13, 2022, 6:17 p.m. | OK | GNU C++17 (64) | TESTS | 4 | 0 | 1228800 | ||
176091086 | Kellyz | C | Oct. 14, 2022, 3:16 a.m. | OK | GNU C++17 (64) | TESTS | 4 | 15 | 0 | ||
176103756 | Md_Abu_Taleb | C | Oct. 14, 2022, 5:56 a.m. | OK | GNU C++17 (64) | TESTS | 4 | 15 | 0 | ||
176101607 | HP_BenLadeN | C | Oct. 14, 2022, 5:35 a.m. | OK | GNU C++17 (64) | TESTS | 4 | 15 | 0 | ||
176095062 | sahenulislam | C | Oct. 14, 2022, 4:13 a.m. | OK | GNU C++17 (64) | TESTS | 4 | 15 | 0 | ||
176093853 | Anton_Vdovin | C | Oct. 14, 2022, 3:55 a.m. | OK | GNU C++17 (64) | TESTS | 4 | 15 | 0 | ||
176093124 | __Rock_Star__ | C | Oct. 14, 2022, 3:45 a.m. | OK | GNU C++17 (64) | TESTS | 4 | 15 | 0 | ||
176089174 | s9212 | C | Oct. 14, 2022, 2:49 a.m. | OK | GNU C++17 (64) | TESTS | 4 | 15 | 0 | ||
176088863 | s7win99 | C | Oct. 14, 2022, 2:44 a.m. | OK | GNU C++17 (64) | TESTS | 4 | 15 | 0 | ||
176099829 | ihydra1611 | C | Oct. 14, 2022, 5:16 a.m. | OK | GNU C++20 (64) | TESTS | 4 | 0 | 0 | ||
176100062 | clux | C | Oct. 14, 2022, 5:18 a.m. | OK | GNU C++20 (64) | TESTS | 4 | 0 | 0 | ||
176100080 | yous_102008 | C | Oct. 14, 2022, 5:18 a.m. | OK | GNU C++20 (64) | TESTS | 4 | 0 | 0 | ||
176100224 | FoolestBoy | C | Oct. 14, 2022, 5:20 a.m. | OK | GNU C++20 (64) | TESTS | 4 | 0 | 0 | ||
176101970 | NurAlamJoy | C | Oct. 14, 2022, 5:39 a.m. | OK | GNU C++20 (64) | TESTS | 4 | 0 | 0 | ||
176102020 | Erfan_Yousefabadi | C | Oct. 14, 2022, 5:40 a.m. | OK | GNU C++20 (64) | TESTS | 4 | 0 | 0 | ||
176102282 | Sergey140146659 | C | Oct. 14, 2022, 5:42 a.m. | OK | GNU C++20 (64) | TESTS | 4 | 0 | 0 | ||
176102398 | GreyCollar | C | Oct. 14, 2022, 5:44 a.m. | OK | GNU C++20 (64) | TESTS | 4 | 0 | 0 | ||
176103859 | yangKF | C | Oct. 14, 2022, 5:57 a.m. | OK | GNU C++20 (64) | TESTS | 4 | 0 | 0 | ||
176104195 | gravitopple | C | Oct. 14, 2022, 6:01 a.m. | OK | GNU C++20 (64) | TESTS | 4 | 0 | 0 | ||
176070434 | shiro | C | Oct. 13, 2022, 8:21 p.m. | OK | Go | TESTS | 4 | 30 | 18534400 | ||
176091597 | graceoflives | C | Oct. 14, 2022, 3:23 a.m. | OK | Go | TESTS | 4 | 46 | 819200 | ||
176080376 | thevan96 | C | Oct. 14, 2022, 12:14 a.m. | OK | Go | TESTS | 4 | 62 | 18636800 | ||
176096403 | sf14t | C | Oct. 14, 2022, 4:32 a.m. | OK | Java 11 | TESTS | 4 | 155 | 0 | ||
176095353 | mk_0380 | C | Oct. 14, 2022, 4:18 a.m. | OK | Java 11 | TESTS | 4 | 156 | 0 | ||
176101387 | kartikpapney | C | Oct. 14, 2022, 5:32 a.m. | OK | Java 11 | TESTS | 4 | 171 | 0 | ||
176098079 | enuguru_2002 | C | Oct. 14, 2022, 4:54 a.m. | OK | Java 11 | TESTS | 4 | 171 | 0 | ||
176090885 | enviornment | C | Oct. 14, 2022, 3:13 a.m. | OK | Java 11 | TESTS | 4 | 187 | 0 | ||
176098205 | LoudSilence | C | Oct. 14, 2022, 4:56 a.m. | OK | Java 11 | TESTS | 4 | 202 | 0 | ||
176054027 | duped321 | C | Oct. 13, 2022, 5:44 p.m. | OK | Java 11 | TESTS | 4 | 202 | 25292800 | ||
176057334 | _bakytov_ | C | Oct. 13, 2022, 6:08 p.m. | OK | Java 11 | TESTS | 4 | 218 | 24576000 | ||
176054175 | Leenelmir | C | Oct. 13, 2022, 5:45 p.m. | OK | Java 11 | TESTS | 4 | 218 | 25292800 | ||
176053348 | duped321 | C | Oct. 13, 2022, 5:40 p.m. | OK | Java 11 | TESTS | 4 | 233 | 25292800 | ||
176088988 | zhaoxuelong | C | Oct. 14, 2022, 2:46 a.m. | OK | Java 17 | TESTS | 4 | 186 | 102400 | ||
176089264 | zhaoxuelong | C | Oct. 14, 2022, 2:50 a.m. | OK | Java 17 | TESTS | 4 | 187 | 0 | ||
176067144 | vaishantmakan | C | Oct. 13, 2022, 7:41 p.m. | OK | Java 17 | TESTS | 4 | 202 | 40140800 | ||
176093518 | maksutovnurda | C | Oct. 14, 2022, 3:51 a.m. | OK | Java 17 | TESTS | 4 | 217 | 102400 | ||
176059525 | ahmed_abo_sayed | C | Oct. 13, 2022, 6:26 p.m. | OK | Java 17 | TESTS | 4 | 217 | 40140800 | ||
176059426 | zaghaltariq007 | C | Oct. 13, 2022, 6:25 p.m. | OK | Java 17 | TESTS | 4 | 233 | 39833600 | ||
176097433 | shubhamgoel0711 | C | Oct. 14, 2022, 4:46 a.m. | OK | Java 17 | TESTS | 4 | 249 | 102400 | ||
176062535 | Suraj1607 | C | Oct. 13, 2022, 6:53 p.m. | OK | Java 17 | TESTS | 4 | 249 | 39628800 | ||
176055535 | baten005 | C | Oct. 13, 2022, 5:54 p.m. | OK | Java 17 | TESTS | 4 | 264 | 40448000 | ||
176074314 | operlaston | C | Oct. 13, 2022, 9:24 p.m. | OK | Java 17 | TESTS | 4 | 264 | 40652800 | ||
176093491 | Juhaied_nabid | C | Oct. 14, 2022, 3:50 a.m. | OK | Java 8 | TESTS | 4 | 77 | 0 | ||
176103489 | nice333 | C | Oct. 14, 2022, 5:54 a.m. | OK | Java 8 | TESTS | 4 | 93 | 0 | ||
176088552 | jkslyk | C | Oct. 14, 2022, 2:40 a.m. | OK | Java 8 | TESTS | 4 | 93 | 18841600 | ||
176076649 | BishoEzzat | C | Oct. 13, 2022, 10:14 p.m. | OK | Java 8 | TESTS | 4 | 93 | 18841600 | ||
176057837 | Mohamed308 | C | Oct. 13, 2022, 6:12 p.m. | OK | Java 8 | TESTS | 4 | 93 | 18841600 | ||
176054828 | youtsuha | C | Oct. 13, 2022, 5:49 p.m. | OK | Java 8 | TESTS | 4 | 93 | 18841600 | ||
176065109 | K_A_Y | C | Oct. 13, 2022, 7:19 p.m. | OK | Java 8 | TESTS | 4 | 93 | 18944000 | ||
176068036 | gagan_6730 | C | Oct. 13, 2022, 7:52 p.m. | OK | Java 8 | TESTS | 4 | 108 | 18739200 | ||
176089089 | frey4 | C | Oct. 14, 2022, 2:47 a.m. | OK | Java 8 | TESTS | 4 | 109 | 18739200 | ||
176056473 | Unrated_Pritam | C | Oct. 13, 2022, 6:01 p.m. | OK | Java 8 | TESTS | 4 | 109 | 18841600 | ||
176084028 | xiaohong888 | C | Oct. 14, 2022, 1:28 a.m. | OK | MS C++ 2017 | TESTS | 4 | 30 | 0 | ||
176091430 | jvhab | C | Oct. 14, 2022, 3:21 a.m. | OK | MS C++ 2017 | TESTS | 4 | 31 | 0 | ||
176095807 | onerr | C | Oct. 14, 2022, 4:24 a.m. | OK | MS C++ 2017 | TESTS | 4 | 46 | 0 | ||
176091677 | Bszhang | C | Oct. 14, 2022, 3:24 a.m. | OK | MS C++ 2017 | TESTS | 4 | 46 | 0 | ||
176081338 | sahalaxiaohaiyang | C | Oct. 14, 2022, 12:36 a.m. | OK | MS C++ 2017 | TESTS | 4 | 62 | 1126400 | ||
176086353 | caodong | C | Oct. 14, 2022, 2:09 a.m. | OK | MS C++ 2017 | TESTS | 4 | 77 | 0 | ||
176079960 | lxk_iKun | C | Oct. 14, 2022, 12:02 a.m. | OK | MS C++ 2017 | TESTS | 4 | 77 | 1126400 | ||
176094117 | yeling | C | Oct. 14, 2022, 3:59 a.m. | OK | Node.js | TESTS | 4 | 155 | 6758400 | ||
176079879 | wuhuhu | C | Oct. 13, 2022, 11:59 p.m. | OK | Node.js | TESTS | 4 | 171 | 11980800 | ||
176097782 | Yash_Nandwana | C | Oct. 14, 2022, 4:50 a.m. | OK | PyPy 3 | TESTS | 4 | 140 | 5427200 | ||
176054902 | sheshank10 | C | Oct. 13, 2022, 5:50 p.m. | OK | PyPy 3 | TESTS | 4 | 374 | 23449600 | ||
176079022 | randomlurker | C | Oct. 13, 2022, 11:27 p.m. | OK | PyPy 3 | TESTS | 4 | 389 | 27545600 | ||
176062611 | Sovi_11 | C | Oct. 13, 2022, 6:53 p.m. | OK | PyPy 3 | TESTS | 4 | 390 | 23552000 | ||
176059532 | jackson.souza | C | Oct. 13, 2022, 6:26 p.m. | OK | PyPy 3 | TESTS | 4 | 390 | 23756800 | ||
176053936 | xooose | C | Oct. 13, 2022, 5:44 p.m. | OK | PyPy 3 | TESTS | 4 | 405 | 24985600 | ||
176060861 | andrey.starodubtsev | C | Oct. 13, 2022, 6:38 p.m. | OK | PyPy 3 | TESTS | 4 | 436 | 25292800 | ||
176054150 | NicolasG | C | Oct. 13, 2022, 5:45 p.m. | OK | PyPy 3 | TESTS | 4 | 451 | 25395200 | ||
176067025 | praneeth_999 | C | Oct. 13, 2022, 7:40 p.m. | OK | PyPy 3 | TESTS | 4 | 467 | 26828800 | ||
176086651 | Midhilesh | C | Oct. 14, 2022, 2:14 a.m. | OK | PyPy 3 | TESTS | 4 | 468 | 8192000 | ||
176088252 | mintplz | C | Oct. 14, 2022, 2:36 a.m. | OK | PyPy 3-64 | TESTS | 4 | 77 | 6041600 | ||
176073699 | shivamgarg2005 | C | Oct. 13, 2022, 9:12 p.m. | OK | PyPy 3-64 | TESTS | 4 | 93 | 34816000 | ||
176100761 | Yansou | C | Oct. 14, 2022, 5:26 a.m. | OK | PyPy 3-64 | TESTS | 4 | 108 | 7884800 | ||
176070483 | nealzane | C | Oct. 13, 2022, 8:21 p.m. | OK | PyPy 3-64 | TESTS | 4 | 108 | 35328000 | ||
176076638 | crapcode | C | Oct. 13, 2022, 10:13 p.m. | OK | PyPy 3-64 | TESTS | 4 | 108 | 36147200 | ||
176058119 | AfsanHabib | C | Oct. 13, 2022, 6:15 p.m. | OK | PyPy 3-64 | TESTS | 4 | 108 | 36249600 | ||
176093217 | SHiden | C | Oct. 14, 2022, 3:47 a.m. | OK | PyPy 3-64 | TESTS | 4 | 124 | 8499200 | ||
176062337 | wasd2401 | C | Oct. 13, 2022, 6:51 p.m. | OK | PyPy 3-64 | TESTS | 4 | 124 | 36044800 | ||
176062864 | Ayushman_123 | C | Oct. 13, 2022, 6:56 p.m. | OK | PyPy 3-64 | TESTS | 4 | 155 | 39628800 | ||
176089424 | Waziri | C | Oct. 14, 2022, 2:52 a.m. | OK | PyPy 3-64 | TESTS | 4 | 296 | 8499200 | ||
176098311 | EvilityTT | C | Oct. 14, 2022, 4:57 a.m. | OK | Python 3 | TESTS | 4 | 77 | 0 | ||
176056024 | emmett.rayes | C | Oct. 13, 2022, 5:58 p.m. | OK | Python 3 | TESTS | 4 | 78 | 0 | ||
176103985 | 2009amit0509 | C | Oct. 14, 2022, 5:59 a.m. | OK | Python 3 | TESTS | 4 | 93 | 0 | ||
176101396 | 2010040119 | C | Oct. 14, 2022, 5:33 a.m. | OK | Python 3 | TESTS | 4 | 93 | 0 | ||
176095764 | eugalt | C | Oct. 14, 2022, 4:23 a.m. | OK | Python 3 | TESTS | 4 | 93 | 0 | ||
176095697 | eugalt | C | Oct. 14, 2022, 4:22 a.m. | OK | Python 3 | TESTS | 4 | 93 | 0 | ||
176093875 | Shivajiarjun117 | C | Oct. 14, 2022, 3:56 a.m. | OK | Python 3 | TESTS | 4 | 93 | 0 | ||
176093590 | PyPranav | C | Oct. 14, 2022, 3:52 a.m. | OK | Python 3 | TESTS | 4 | 93 | 0 | ||
176088368 | klu_2000031749 | C | Oct. 14, 2022, 2:37 a.m. | OK | Python 3 | TESTS | 4 | 93 | 0 | ||
176068562 | Fadi_H | C | Oct. 13, 2022, 7:58 p.m. | OK | Python 3 | TESTS | 4 | 93 | 0 | ||
176083883 | liut | C | Oct. 14, 2022, 1:26 a.m. | OK | Rust 2021 | TESTS | 4 | 15 | 0 | ||
176095786 | cycleke | C | Oct. 14, 2022, 4:23 a.m. | OK | Rust 2021 | TESTS | 4 | 46 | 0 |
Back to search problems