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 |
---|---|---|---|---|---|---|
1709 | Educational Codeforces Round 132 (Rated for Div. 2) | FINISHED | False | 7200 | 73409099 | July 21, 2022, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 29736 ) | A | Three Doors | PROGRAMMING | brute force dfs and similar math |
B'There are three doors in front of you, numbered from 1 to 3 from left to right. Each door has a lock on it, which can only be opened with a key with the same number on it as the number on the door. There are three keys -- one for each door. Two of them are hidden behind the doors, so that there is no more than one key behind each door. So two doors have one key behind them, one door doesn 't have a key behind it. To obtain a key hidden behind a door, you should first unlock that door. The remaining key is in your hands. Can you open all the doors? The first line contains a single integer t ( 1 <= t <= 18 ) -- the number of testcases. The first line of each testcase contains a single integer x ( 1 <= x <= 3 ) -- the number on the key in your hands. The second line contains three integers a, b and c ( 0 <= a, b, c <= 3 ) -- the number on the key behind each of the doors. If there is no key behind the door, the number is equal to 0 . Values 1, 2 and 3 appear exactly once among x, a, b and c . For each testcase, print "YES" if you can open all the doors. Otherwise, print "NO". '... |
105164 |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
165225307 | shutirtharoy | A | July 21, 2022, 5:44 p.m. | OK | C# 10 | TESTS | 2 | 62 | 0 | ||
165251086 | szzz- | A | July 22, 2022, 1:43 a.m. | OK | C# 10 | TESTS | 2 | 93 | 0 | ||
165232032 | JellybinAddciter | A | July 21, 2022, 7 p.m. | OK | Clang++17 Diagnostics | TESTS | 2 | 15 | 0 | ||
165225225 | rakshitjain40 | A | July 21, 2022, 5:43 p.m. | OK | Clang++20 Diagnostics | TESTS | 2 | 31 | 0 | ||
165253457 | hieuhfgr | A | July 22, 2022, 2:17 a.m. | OK | FPC | TESTS | 2 | 0 | 0 | ||
165239151 | protogrammer | A | July 21, 2022, 9:01 p.m. | OK | GNU C11 | TESTS | 2 | 0 | 0 | ||
165242188 | Sn1kes | A | July 21, 2022, 10:08 p.m. | OK | GNU C11 | TESTS | 2 | 0 | 0 | ||
165248388 | p5imoes | A | July 22, 2022, 12:57 a.m. | OK | GNU C11 | TESTS | 2 | 0 | 0 | ||
165253630 | Aisha993 | A | July 22, 2022, 2:19 a.m. | OK | GNU C11 | TESTS | 2 | 0 | 0 | ||
165259508 | eugalt | A | July 22, 2022, 3:40 a.m. | OK | GNU C11 | TESTS | 2 | 0 | 0 | ||
165223824 | Sarna_Das | A | July 21, 2022, 5:30 p.m. | OK | GNU C11 | TESTS | 2 | 0 | 0 | ||
165239014 | protogrammer | A | July 21, 2022, 8:58 p.m. | OK | GNU C11 | TESTS | 2 | 0 | 0 | ||
165219497 | sharifrayhan | A | July 21, 2022, 4:58 p.m. | OK | GNU C11 | TESTS | 2 | 0 | 0 | ||
165268230 | vjudge5 | A | July 22, 2022, 5:42 a.m. | OK | GNU C11 | TESTS | 2 | 15 | 0 | ||
165265913 | hemachandra_m | A | July 22, 2022, 5:11 a.m. | OK | GNU C11 | TESTS | 2 | 15 | 0 | ||
165269201 | Avi_afrid | A | July 22, 2022, 5:54 a.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | ||
165269135 | kumar.kr.abhinav | A | July 22, 2022, 5:53 a.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | ||
165269062 | adimak | A | July 22, 2022, 5:53 a.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | ||
165268980 | hiralal__05 | A | July 22, 2022, 5:52 a.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | ||
165268536 | lbw_nb | A | July 22, 2022, 5:46 a.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | ||
165268349 | FlyingChicken | A | July 22, 2022, 5:44 a.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | ||
165269901 | adityaprak01 | A | July 22, 2022, 6:02 a.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | ||
165269815 | asifmansuri1688 | A | July 22, 2022, 6:01 a.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | ||
165269718 | Ecrade_ | A | July 22, 2022, 6 a.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | ||
165269400 | Noobie_9911 | A | July 22, 2022, 5:57 a.m. | OK | GNU C++14 | TESTS | 2 | 0 | 0 | ||
165269498 | ambhay99 | A | July 22, 2022, 5:58 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | ||
165269713 | LCPlayer | A | July 22, 2022, 6 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | ||
165269729 | code143 | A | July 22, 2022, 6 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | ||
165269881 | csk13586 | A | July 22, 2022, 6:02 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | ||
165269909 | aditya.poptani | A | July 22, 2022, 6:02 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | ||
165269913 | 7nooOoOoon | A | July 22, 2022, 6:02 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | ||
165269174 | rish_khemani | A | July 22, 2022, 5:54 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | ||
165269034 | ranajay206 | A | July 22, 2022, 5:52 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | ||
165269005 | zwu2020015020 | A | July 22, 2022, 5:52 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | ||
165268916 | JJ_29 | A | July 22, 2022, 5:51 a.m. | OK | GNU C++17 | TESTS | 2 | 0 | 0 | ||
165265920 | nagisa2333 | A | July 22, 2022, 5:11 a.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | ||
165268200 | dugh3 | A | July 22, 2022, 5:42 a.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | ||
165267553 | fytftyf | A | July 22, 2022, 5:33 a.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | ||
165266893 | sugam10 | A | July 22, 2022, 5:24 a.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | ||
165266643 | bhumit__joshi | A | July 22, 2022, 5:20 a.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | ||
165265856 | joecai | A | July 22, 2022, 5:10 a.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | ||
165265515 | Rish106 | A | July 22, 2022, 5:05 a.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | ||
165264235 | ayman-tech | A | July 22, 2022, 4:48 a.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | ||
165261795 | Azmee | A | July 22, 2022, 4:13 a.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | ||
165260583 | DOngPH19 | A | July 22, 2022, 3:57 a.m. | OK | GNU C++17 (64) | TESTS | 2 | 0 | 0 | ||
165267537 | ldh081122 | A | July 22, 2022, 5:33 a.m. | OK | GNU C++20 (64) | TESTS | 2 | 0 | 0 | ||
165267549 | yeobo1729 | A | July 22, 2022, 5:33 a.m. | OK | GNU C++20 (64) | TESTS | 2 | 0 | 0 | ||
165267714 | utkarsh143singh | A | July 22, 2022, 5:35 a.m. | OK | GNU C++20 (64) | TESTS | 2 | 0 | 0 | ||
165267998 | Akib_2612 | A | July 22, 2022, 5:39 a.m. | OK | GNU C++20 (64) | TESTS | 2 | 0 | 0 | ||
165268252 | r-tron18 | A | July 22, 2022, 5:43 a.m. | OK | GNU C++20 (64) | TESTS | 2 | 0 | 0 | ||
165268253 | Ricarpy_ | A | July 22, 2022, 5:43 a.m. | OK | GNU C++20 (64) | TESTS | 2 | 0 | 0 | ||
165268392 | BADHON30 | A | July 22, 2022, 5:44 a.m. | OK | GNU C++20 (64) | TESTS | 2 | 0 | 0 | ||
165268624 | Md_Rashadul_Islam_Rabbi | A | July 22, 2022, 5:47 a.m. | OK | GNU C++20 (64) | TESTS | 2 | 0 | 0 | ||
165268725 | Golden_azy | A | July 22, 2022, 5:48 a.m. | OK | GNU C++20 (64) | TESTS | 2 | 0 | 0 | ||
165269884 | fan_of_tourist | A | July 22, 2022, 6:02 a.m. | OK | GNU C++20 (64) | TESTS | 2 | 0 | 0 | ||
165254606 | luoshieryi | A | July 22, 2022, 2:33 a.m. | OK | Go | TESTS | 2 | 0 | 0 | ||
165267812 | nbhakar | A | July 22, 2022, 5:37 a.m. | OK | Java 11 | TESTS | 2 | 124 | 0 | ||
165260732 | diksha_singh | A | July 22, 2022, 3:59 a.m. | OK | Java 11 | TESTS | 2 | 139 | 0 | ||
165234897 | suhas5979 | A | July 21, 2022, 7:45 p.m. | OK | Java 11 | TESTS | 2 | 139 | 0 | ||
165261758 | __Serendipity | A | July 22, 2022, 4:13 a.m. | OK | Java 11 | TESTS | 2 | 140 | 0 | ||
165229474 | praduman14 | A | July 21, 2022, 6:29 p.m. | OK | Java 11 | TESTS | 2 | 140 | 0 | ||
165226569 | sharmaakhil574 | A | July 21, 2022, 5:56 p.m. | OK | Java 11 | TESTS | 2 | 140 | 0 | ||
165263608 | vijender_8601 | A | July 22, 2022, 4:38 a.m. | OK | Java 11 | TESTS | 2 | 155 | 0 | ||
165252777 | smlj | A | July 22, 2022, 2:07 a.m. | OK | Java 11 | TESTS | 2 | 155 | 0 | ||
165250747 | aditya2024 | A | July 22, 2022, 1:38 a.m. | OK | Java 11 | TESTS | 2 | 155 | 0 | ||
165250060 | KleinZhuang | A | July 22, 2022, 1:27 a.m. | OK | Java 11 | TESTS | 2 | 155 | 0 | ||
165221651 | Divyanshu09 | A | July 21, 2022, 5:12 p.m. | OK | Java 17 | TESTS | 2 | 155 | 204800 | ||
165255577 | VF_Requiem | A | July 22, 2022, 2:46 a.m. | OK | Java 17 | TESTS | 2 | 155 | 409600 | ||
165236603 | mzhang0213 | A | July 21, 2022, 8:13 p.m. | OK | Java 17 | TESTS | 2 | 155 | 409600 | ||
165224073 | Divyanshu09 | A | July 21, 2022, 5:33 p.m. | OK | Java 17 | TESTS | 2 | 170 | 0 | ||
165219804 | Marbik | A | July 21, 2022, 5 p.m. | OK | Java 8 | TESTS | 2 | 46 | 0 | ||
165267283 | tanishq044 | A | July 22, 2022, 5:29 a.m. | OK | Java 8 | TESTS | 2 | 62 | 0 | ||
165214561 | priyaroy3370 | A | July 21, 2022, 4:36 p.m. | OK | Java 8 | TESTS | 2 | 62 | 0 | ||
165260724 | less_ordinary | A | July 22, 2022, 3:59 a.m. | OK | Java 8 | TESTS | 2 | 77 | 0 | ||
165248322 | imsd_14 | A | July 22, 2022, 12:55 a.m. | OK | Java 8 | TESTS | 2 | 77 | 0 | ||
165226667 | MagentaCobra | A | July 21, 2022, 5:57 p.m. | OK | Java 8 | TESTS | 2 | 77 | 0 | ||
165219641 | Abdallah_Ragab00 | A | July 21, 2022, 4:59 p.m. | OK | Java 8 | TESTS | 2 | 77 | 0 | ||
165222754 | Diaa12360 | A | July 21, 2022, 5:21 p.m. | OK | Java 8 | TESTS | 2 | 92 | 0 | ||
165244171 | yousef03 | A | July 21, 2022, 11 p.m. | OK | Java 8 | TESTS | 2 | 93 | 0 | ||
165239512 | 510619099.satyam | A | July 21, 2022, 9:10 p.m. | OK | Java 8 | TESTS | 2 | 93 | 0 | ||
165234447 | cyildirim | A | July 21, 2022, 7:37 p.m. | OK | Kotlin 1.5 | TESTS | 2 | 170 | 0 | ||
165268204 | N_Z_X | A | July 22, 2022, 5:42 a.m. | OK | Kotlin 1.6 | TESTS | 2 | 186 | 0 | ||
165256867 | ripity | A | July 22, 2022, 3:03 a.m. | OK | Kotlin 1.6 | TESTS | 2 | 217 | 409600 | ||
165264517 | 6ziv | A | July 22, 2022, 4:52 a.m. | OK | MS C++ 2017 | TESTS | 2 | 0 | 0 | ||
165261561 | shanzr | A | July 22, 2022, 4:10 a.m. | OK | MS C++ 2017 | TESTS | 2 | 0 | 0 | ||
165250743 | M_zhi | A | July 22, 2022, 1:38 a.m. | OK | MS C++ 2017 | TESTS | 2 | 0 | 0 | ||
165244509 | laym0n | A | July 21, 2022, 11:10 p.m. | OK | MS C++ 2017 | TESTS | 2 | 0 | 0 | ||
165217618 | Ak956 | A | July 21, 2022, 4:48 p.m. | OK | MS C++ 2017 | TESTS | 2 | 0 | 0 | ||
165223993 | 784 | A | July 21, 2022, 5:32 p.m. | OK | Perl | TESTS | 2 | 15 | 0 | ||
165262695 | DYHARD | A | July 22, 2022, 4:25 a.m. | OK | PyPy 3 | TESTS | 2 | 46 | 0 | ||
165223834 | Techcoder | A | July 21, 2022, 5:30 p.m. | OK | PyPy 3 | TESTS | 2 | 61 | 0 | ||
165223785 | Sovi_11 | A | July 21, 2022, 5:30 p.m. | OK | PyPy 3 | TESTS | 2 | 61 | 0 | ||
165267418 | rajn5181 | A | July 22, 2022, 5:31 a.m. | OK | PyPy 3 | TESTS | 2 | 77 | 0 | ||
165240700 | hosamcv0 | A | July 21, 2022, 9:35 p.m. | OK | PyPy 3 | TESTS | 2 | 77 | 0 | ||
165219308 | burrito123456 | A | July 21, 2022, 4:57 p.m. | OK | PyPy 3 | TESTS | 2 | 77 | 0 | ||
165224470 | Techcoder | A | July 21, 2022, 5:36 p.m. | OK | PyPy 3 | TESTS | 2 | 77 | 409600 | ||
165260686 | NKUCristiano | A | July 22, 2022, 3:59 a.m. | OK | PyPy 3 | TESTS | 2 | 93 | 1740800 | ||
165234130 | parkaway | A | July 21, 2022, 7:32 p.m. | OK | PyPy 3 | TESTS | 2 | 140 | 4505600 | ||
165265835 | kabrashivam5 | A | July 22, 2022, 5:10 a.m. | OK | PyPy 3-64 | TESTS | 2 | 30 | 0 | ||
165262499 | sp_Piyush | A | July 22, 2022, 4:23 a.m. | OK | PyPy 3-64 | TESTS | 2 | 30 | 0 | ||
165224558 | only_noob | A | July 21, 2022, 5:37 p.m. | OK | PyPy 3-64 | TESTS | 2 | 31 | 0 | ||
165222087 | gotcoding124 | A | July 21, 2022, 5:16 p.m. | OK | PyPy 3-64 | TESTS | 2 | 31 | 0 | ||
165268101 | Atomus | A | July 22, 2022, 5:41 a.m. | OK | PyPy 3-64 | TESTS | 2 | 46 | 0 | ||
165266158 | Andaloo | A | July 22, 2022, 5:14 a.m. | OK | PyPy 3-64 | TESTS | 2 | 46 | 0 | ||
165252225 | zhang_yue_yi | A | July 22, 2022, 1:59 a.m. | OK | PyPy 3-64 | TESTS | 2 | 46 | 0 | ||
165251718 | Youarenotgood | A | July 22, 2022, 1:52 a.m. | OK | PyPy 3-64 | TESTS | 2 | 46 | 0 | ||
165249971 | Fasih.sundar | A | July 22, 2022, 1:26 a.m. | OK | PyPy 3-64 | TESTS | 2 | 46 | 0 | ||
165238705 | G1ebS | A | July 21, 2022, 8:51 p.m. | OK | PyPy 3-64 | TESTS | 2 | 46 | 0 | ||
165250360 | _syed_badar_ | A | July 22, 2022, 1:32 a.m. | OK | Python 3 | TESTS | 2 | 15 | 0 | ||
165250037 | Fur_Philosophy | A | July 22, 2022, 1:27 a.m. | OK | Python 3 | TESTS | 2 | 15 | 0 | ||
165230707 | nurm22r | A | July 21, 2022, 6:43 p.m. | OK | Python 3 | TESTS | 2 | 15 | 0 | ||
165228041 | codeproamz | A | July 21, 2022, 6:15 p.m. | OK | Python 3 | TESTS | 2 | 15 | 0 | ||
165266753 | varungolusupudi | A | July 22, 2022, 5:22 a.m. | OK | Python 3 | TESTS | 2 | 30 | 0 | ||
165248136 | conrad001 | A | July 22, 2022, 12:51 a.m. | OK | Python 3 | TESTS | 2 | 30 | 0 | ||
165245238 | khaledrajaie5 | A | July 21, 2022, 11:33 p.m. | OK | Python 3 | TESTS | 2 | 30 | 0 | ||
165242624 | Gorrion_ | A | July 21, 2022, 10:18 p.m. | OK | Python 3 | TESTS | 2 | 30 | 0 | ||
165229878 | nurm22r | A | July 21, 2022, 6:33 p.m. | OK | Python 3 | TESTS | 2 | 30 | 0 | ||
165225874 | Arkp | A | July 21, 2022, 5:49 p.m. | OK | Python 3 | TESTS | 2 | 30 | 0 | ||
165253019 | Niklassanden | A | July 22, 2022, 2:10 a.m. | OK | Rust 2021 | TESTS | 2 | 0 | 0 |
Back to search problems