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 |
---|---|---|---|---|---|---|
1814 | Educational Codeforces Round 146 (Rated for Div. 2) | FINISHED | False | 8100 | 56474663 | April 6, 2023, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 31262 ) | A | Coins | PROGRAMMING | math | #1806 A |
B'In Berland, there are two types of coins, having denominations of 2 and k burles. Your task is to determine whether it is possible to represent n burles in coins, i. xe2 x80 x89e. whether there exist non-negative integers x and y such that 2 cdot x + k cdot y = n . The first line contains a single integer t ( 1 <= t <= 10^4 ) -- the number of test cases. The only line of each test case contains two integers n and k ( 1 <= k <= n <= 10^{18} ; k ne 2 ). For each test case, print YES if it is possible to represent n burles in coins; otherwise, print NO. You may print each letter in any case (YES, yes, Yes will all be recognized as positive answer, NO, no and nO will all be recognized as negative answer). In the first test case, you can take one coin with denomination 2 and one coin with denomination k = 3 . In the second test case, you can take three coins with denomination 2 . Alternatively, you can take six coins with denomination k = 1 . In the third test case, there is no way to represent 7 burles. In the fourth test case, you can take one coin with denomination k = 8 . '... |
Educational Codeforces Round 146 Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
201071485 | xdliw | A | April 6, 2023, 7:57 p.m. | OK | C# 10 | TESTS | 3 | 61 | 2457600 | ||
201069057 | alsomalo | A | April 6, 2023, 7:26 p.m. | OK | C# 10 | TESTS | 3 | 61 | 3481600 | ||
201069196 | alsomalo | A | April 6, 2023, 7:28 p.m. | OK | C# 10 | TESTS | 3 | 77 | 3481600 | ||
201093203 | Nutmeg21 | A | April 7, 2023, 3:40 a.m. | OK | C# 10 | TESTS | 3 | 93 | 3379200 | ||
201093608 | kuguadawang | A | April 7, 2023, 3:49 a.m. | OK | Clang++17 Diagnostics | TESTS | 3 | 31 | 1024000 | ||
201073148 | Inzamaaaaammmm | A | April 6, 2023, 8:17 p.m. | OK | Clang++17 Diagnostics | TESTS | 3 | 186 | 0 | ||
201081611 | RidWain101 | A | April 6, 2023, 11 p.m. | OK | Clang++20 Diagnostics | TESTS | 3 | 171 | 0 | ||
201088034 | thegiraffegod | A | April 7, 2023, 1:37 a.m. | OK | Clang++20 Diagnostics | TESTS | 3 | 202 | 0 | ||
201060000 | wnttbmmrtl | A | April 6, 2023, 5:45 p.m. | OK | Clang++20 Diagnostics | TESTS | 3 | 202 | 0 | ||
201069520 | NenadDapic | A | April 6, 2023, 7:32 p.m. | OK | FPC | TESTS | 3 | 46 | 0 | ||
201046262 | georgekpg | A | April 6, 2023, 4:22 p.m. | OK | FPC | TESTS | 3 | 61 | 204800 | ||
201060008 | thewhite_crackers | A | April 6, 2023, 5:45 p.m. | OK | GNU C11 | TESTS | 3 | 46 | 0 | ||
201087587 | HQLF | A | April 7, 2023, 1:26 a.m. | OK | GNU C11 | TESTS | 3 | 46 | 0 | ||
201090674 | NasorHidar | A | April 7, 2023, 2:47 a.m. | OK | GNU C11 | TESTS | 3 | 46 | 0 | ||
201099121 | Ehety | A | April 7, 2023, 5:23 a.m. | OK | GNU C11 | TESTS | 3 | 46 | 0 | ||
201100044 | ishrat02 | A | April 7, 2023, 5:37 a.m. | OK | GNU C11 | TESTS | 3 | 46 | 0 | ||
201048346 | Kenil_Patel_183 | A | April 6, 2023, 4:31 p.m. | OK | GNU C11 | TESTS | 3 | 46 | 0 | ||
201048788 | Eason_3w | A | April 6, 2023, 4:33 p.m. | OK | GNU C11 | TESTS | 3 | 46 | 0 | ||
201057961 | shamim_5 | A | April 6, 2023, 5:26 p.m. | OK | GNU C11 | TESTS | 3 | 46 | 0 | ||
201059031 | program_hunt | A | April 6, 2023, 5:35 p.m. | OK | GNU C11 | TESTS | 3 | 46 | 0 | ||
201068968 | NimaHn | A | April 6, 2023, 7:24 p.m. | OK | GNU C11 | TESTS | 3 | 46 | 0 | ||
201063030 | Shubh08am | A | April 6, 2023, 6:16 p.m. | OK | GNU C++14 | TESTS | 3 | 0 | 0 | ||
201085593 | aCssen | A | April 7, 2023, 12:34 a.m. | OK | GNU C++14 | TESTS | 3 | 0 | 0 | ||
201081294 | gregority9 | A | April 6, 2023, 10:53 p.m. | OK | GNU C++14 | TESTS | 3 | 0 | 0 | ||
201069296 | omeganot | A | April 6, 2023, 7:29 p.m. | OK | GNU C++14 | TESTS | 3 | 0 | 0 | ||
201068922 | yhhuang | A | April 6, 2023, 7:24 p.m. | OK | GNU C++14 | TESTS | 3 | 0 | 0 | ||
201100075 | Anumoy_nandy | A | April 7, 2023, 5:37 a.m. | OK | GNU C++14 | TESTS | 3 | 0 | 2662400 | ||
201100057 | MiaoQiu | A | April 7, 2023, 5:37 a.m. | OK | GNU C++14 | TESTS | 3 | 15 | 0 | ||
201101874 | Halym2007 | A | April 7, 2023, 6:01 a.m. | OK | GNU C++14 | TESTS | 3 | 15 | 0 | ||
201101642 | Junz_LJL | A | April 7, 2023, 5:58 a.m. | OK | GNU C++14 | TESTS | 3 | 15 | 0 | ||
201101313 | Mr_yin9701 | A | April 7, 2023, 5:54 a.m. | OK | GNU C++14 | TESTS | 3 | 15 | 0 | ||
201072326 | gabriel88766 | A | April 6, 2023, 8:07 p.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
201072671 | mostafa.es | A | April 6, 2023, 8:11 p.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
201077823 | mohammad_1 | A | April 6, 2023, 9:17 p.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
201091933 | Ayush_0016 | A | April 7, 2023, 3:12 a.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
201097686 | PhoenixBrkallmts1 | A | April 7, 2023, 5:03 a.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
201098466 | mohammad_1 | A | April 7, 2023, 5:15 a.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
201099568 | 5-gon | A | April 7, 2023, 5:30 a.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
201058429 | n09 | A | April 6, 2023, 5:30 p.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
201058166 | abhishek_mankame | A | April 6, 2023, 5:28 p.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
201057089 | Loser- | A | April 6, 2023, 5:19 p.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
201045655 | Si_jo | A | April 6, 2023, 4:20 p.m. | OK | GNU C++17 (64) | TESTS | 3 | 0 | 0 | ||
201092719 | Terryjoy | A | April 7, 2023, 3:30 a.m. | OK | GNU C++17 (64) | TESTS | 3 | 0 | 0 | ||
201089101 | Amigomust | A | April 7, 2023, 2:06 a.m. | OK | GNU C++17 (64) | TESTS | 3 | 0 | 0 | ||
201084661 | fairy_land | A | April 7, 2023, 12:10 a.m. | OK | GNU C++17 (64) | TESTS | 3 | 0 | 0 | ||
201069955 | nksrivastava18 | A | April 6, 2023, 7:37 p.m. | OK | GNU C++17 (64) | TESTS | 3 | 0 | 0 | ||
201086925 | xioachou | A | April 7, 2023, 1:11 a.m. | OK | GNU C++17 (64) | TESTS | 3 | 15 | 0 | ||
201089234 | linxd | A | April 7, 2023, 2:11 a.m. | OK | GNU C++17 (64) | TESTS | 3 | 15 | 0 | ||
201092405 | LeonardSchulman | A | April 7, 2023, 3:23 a.m. | OK | GNU C++17 (64) | TESTS | 3 | 15 | 0 | ||
201094886 | Njaso | A | April 7, 2023, 4:16 a.m. | OK | GNU C++17 (64) | TESTS | 3 | 15 | 0 | ||
201095239 | Soonic | A | April 7, 2023, 4:23 a.m. | OK | GNU C++17 (64) | TESTS | 3 | 15 | 0 | ||
201098511 | tesst999 | A | April 7, 2023, 5:15 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
201098725 | bnu20DT | A | April 7, 2023, 5:17 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
201099278 | shift. | A | April 7, 2023, 5:26 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
201100333 | csai-H | A | April 7, 2023, 5:40 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
201100347 | EnterYourName | A | April 7, 2023, 5:41 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
201097544 | harshit_jain52 | A | April 7, 2023, 5:01 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
201097461 | acmkz | A | April 7, 2023, 5 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
201096845 | pas-trop-de-zele | A | April 7, 2023, 4:51 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
201096441 | smgr | A | April 7, 2023, 4:44 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
201095920 | chen62540 | A | April 7, 2023, 4:36 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
201087301 | 17110906047 | A | April 7, 2023, 1:19 a.m. | OK | Go | TESTS | 3 | 982 | 1126400 | ||
201050157 | Tiksy | A | April 6, 2023, 4:38 p.m. | OK | Go | TESTS | 3 | 997 | 1536000 | ||
201080729 | ETHANHUNTMI5 | A | April 6, 2023, 10:41 p.m. | OK | Java 11 | TESTS | 3 | 156 | 0 | ||
201068876 | vijender_8601 | A | April 6, 2023, 7:23 p.m. | OK | Java 11 | TESTS | 3 | 171 | 0 | ||
201047550 | k314 | A | April 6, 2023, 4:28 p.m. | OK | Java 11 | TESTS | 3 | 202 | 0 | ||
201082358 | Ayyylmao | A | April 6, 2023, 11:17 p.m. | OK | Java 11 | TESTS | 3 | 218 | 0 | ||
201055291 | g_square | A | April 6, 2023, 5:04 p.m. | OK | Java 11 | TESTS | 3 | 233 | 0 | ||
201045617 | anonyman637 | A | April 6, 2023, 4:20 p.m. | OK | Java 11 | TESTS | 3 | 233 | 0 | ||
201059826 | Kempachi | A | April 6, 2023, 5:43 p.m. | OK | Java 11 | TESTS | 3 | 249 | 0 | ||
201059570 | rishirajpatel172 | A | April 6, 2023, 5:41 p.m. | OK | Java 11 | TESTS | 3 | 280 | 0 | ||
201069456 | abdalla20068440 | A | April 6, 2023, 7:31 p.m. | OK | Java 11 | TESTS | 3 | 280 | 0 | ||
201058624 | archieagarwal | A | April 6, 2023, 5:32 p.m. | OK | Java 11 | TESTS | 3 | 280 | 0 | ||
201091363 | cnlonces | A | April 7, 2023, 3:02 a.m. | OK | Java 17 | TESTS | 3 | 155 | 204800 | ||
201091706 | Suraj1607 | A | April 7, 2023, 3:08 a.m. | OK | Java 17 | TESTS | 3 | 170 | 0 | ||
201064201 | romanrich89 | A | April 6, 2023, 6:28 p.m. | OK | Java 17 | TESTS | 3 | 170 | 0 | ||
201071452 | m0rka1 | A | April 6, 2023, 7:57 p.m. | OK | Java 17 | TESTS | 3 | 171 | 0 | ||
201050724 | leoxiao2015 | A | April 6, 2023, 4:41 p.m. | OK | Java 17 | TESTS | 3 | 171 | 0 | ||
201099261 | mukhopadhyaypushan42 | A | April 7, 2023, 5:26 a.m. | OK | Java 17 | TESTS | 3 | 171 | 102400 | ||
201087092 | Dividends | A | April 7, 2023, 1:14 a.m. | OK | Java 17 | TESTS | 3 | 186 | 0 | ||
201069781 | aishwarykesarwani | A | April 6, 2023, 7:35 p.m. | OK | Java 17 | TESTS | 3 | 186 | 0 | ||
201054376 | imprayas12 | A | April 6, 2023, 4:57 p.m. | OK | Java 17 | TESTS | 3 | 186 | 0 | ||
201061244 | Danger_Don | A | April 6, 2023, 5:58 p.m. | OK | Java 17 | TESTS | 3 | 187 | 0 | ||
201049176 | swarup_312 | A | April 6, 2023, 4:34 p.m. | OK | Java 8 | TESTS | 3 | 77 | 0 | ||
201100131 | tejasS-27 | A | April 7, 2023, 5:38 a.m. | OK | Java 8 | TESTS | 3 | 108 | 0 | ||
201084414 | Blue_BEE | A | April 7, 2023, 12:03 a.m. | OK | Java 8 | TESTS | 3 | 109 | 0 | ||
201070479 | Zicode | A | April 6, 2023, 7:44 p.m. | OK | Java 8 | TESTS | 3 | 109 | 0 | ||
201059195 | __SSB__ | A | April 6, 2023, 5:37 p.m. | OK | Java 8 | TESTS | 3 | 109 | 0 | ||
201048024 | luojiawhu | A | April 6, 2023, 4:30 p.m. | OK | Java 8 | TESTS | 3 | 140 | 0 | ||
201061292 | toufique_husein | A | April 6, 2023, 5:58 p.m. | OK | Java 8 | TESTS | 3 | 155 | 0 | ||
201057206 | elgamel | A | April 6, 2023, 5:20 p.m. | OK | Java 8 | TESTS | 3 | 155 | 0 | ||
201064303 | Parth_Pandey | A | April 6, 2023, 6:29 p.m. | OK | Java 8 | TESTS | 3 | 170 | 0 | ||
201096923 | vivek_2102 | A | April 7, 2023, 4:52 a.m. | OK | Java 8 | TESTS | 3 | 217 | 0 | ||
201089672 | MustafaMahmoud15 | A | April 7, 2023, 2:25 a.m. | OK | Kotlin 1.7 | TESTS | 3 | 638 | 19865600 | ||
201094123 | shashank4628 | A | April 7, 2023, 4 a.m. | OK | MS C++ 2017 | TESTS | 3 | 46 | 0 | ||
201087583 | Ahmed_El-Sayed_Mahmoud | A | April 7, 2023, 1:26 a.m. | OK | MS C++ 2017 | TESTS | 3 | 46 | 0 | ||
201077002 | mukhaledd | A | April 6, 2023, 9:05 p.m. | OK | MS C++ 2017 | TESTS | 3 | 46 | 0 | ||
201090342 | Pranay32 | A | April 7, 2023, 2:41 a.m. | OK | MS C++ 2017 | TESTS | 3 | 61 | 0 | ||
201090206 | ishybee | A | April 7, 2023, 2:37 a.m. | OK | MS C++ 2017 | TESTS | 3 | 61 | 0 | ||
201090867 | hritt | A | April 7, 2023, 2:52 a.m. | OK | MS C++ 2017 | TESTS | 3 | 62 | 2457600 | ||
201090020 | JRose1121 | A | April 7, 2023, 2:33 a.m. | OK | MS C++ 2017 | TESTS | 3 | 77 | 0 | ||
201083796 | romanrich89 | A | April 6, 2023, 11:52 p.m. | OK | Node.js | TESTS | 3 | 46 | 4710400 | ||
201083475 | romanrich89 | A | April 6, 2023, 11:44 p.m. | OK | Node.js | TESTS | 3 | 61 | 4710400 | ||
201088064 | romanrich89 | A | April 7, 2023, 1:38 a.m. | OK | Node.js | TESTS | 3 | 61 | 4812800 | ||
201083359 | romanrich89 | A | April 6, 2023, 11:41 p.m. | OK | Node.js | TESTS | 3 | 61 | 5017600 | ||
201086339 | romanrich89 | A | April 7, 2023, 12:52 a.m. | OK | Node.js | TESTS | 3 | 62 | 5222400 | ||
201087019 | romanrich89 | A | April 7, 2023, 1:13 a.m. | OK | Node.js | TESTS | 3 | 62 | 5632000 | ||
201080101 | fsddfs | A | April 6, 2023, 10:26 p.m. | OK | Node.js | TESTS | 3 | 78 | 4812800 | ||
201080199 | fsddfs | A | April 6, 2023, 10:29 p.m. | OK | Node.js | TESTS | 3 | 92 | 5632000 | ||
201080161 | fsddfs | A | April 6, 2023, 10:28 p.m. | OK | Node.js | TESTS | 3 | 93 | 5734400 | ||
201084232 | varrick | A | April 7, 2023, midnight | OK | Ocaml | TESTS | 3 | 31 | 204800 | ||
201047604 | rajbunsha | A | April 6, 2023, 4:28 p.m. | OK | PyPy 3 | TESTS | 3 | 186 | 7987200 | ||
201083568 | NonprincipalUltrafilter | A | April 6, 2023, 11:46 p.m. | OK | PyPy 3 | TESTS | 3 | 187 | 7168000 | ||
201092175 | jvatsal0709 | A | April 7, 2023, 3:18 a.m. | OK | PyPy 3 | TESTS | 3 | 202 | 6246400 | ||
201045465 | rasheed_ashen_one | A | April 6, 2023, 4:20 p.m. | OK | PyPy 3 | TESTS | 3 | 295 | 6656000 | ||
201045725 | rasheed_ashen_one | A | April 6, 2023, 4:20 p.m. | OK | PyPy 3 | TESTS | 3 | 296 | 6656000 | ||
201095597 | mtang24 | A | April 7, 2023, 4:31 a.m. | OK | PyPy 3 | TESTS | 3 | 296 | 6963200 | ||
201077482 | shriomks | A | April 6, 2023, 9:12 p.m. | OK | PyPy 3 | TESTS | 3 | 296 | 6963200 | ||
201048741 | RespectableCODER | A | April 6, 2023, 4:32 p.m. | OK | PyPy 3 | TESTS | 3 | 311 | 7168000 | ||
201089018 | Youarenotgood | A | April 7, 2023, 2:04 a.m. | OK | PyPy 3-64 | TESTS | 3 | 77 | 8192000 | ||
201053430 | CinaDor | A | April 6, 2023, 4:52 p.m. | OK | PyPy 3-64 | TESTS | 3 | 77 | 8499200 | ||
201094230 | bandiaoz | A | April 7, 2023, 4:03 a.m. | OK | PyPy 3-64 | TESTS | 3 | 93 | 5120000 | ||
201096396 | I_Am_That | A | April 7, 2023, 4:44 a.m. | OK | PyPy 3-64 | TESTS | 3 | 93 | 8192000 | ||
201069696 | isekun | A | April 6, 2023, 7:34 p.m. | OK | PyPy 3-64 | TESTS | 3 | 93 | 8499200 | ||
201053991 | Quick-One | A | April 6, 2023, 4:55 p.m. | OK | PyPy 3-64 | TESTS | 3 | 93 | 8601600 | ||
201047630 | krishna369 | A | April 6, 2023, 4:28 p.m. | OK | PyPy 3-64 | TESTS | 3 | 93 | 8601600 | ||
201063199 | SophieHatter | A | April 6, 2023, 6:18 p.m. | OK | PyPy 3-64 | TESTS | 3 | 93 | 9113600 | ||
201058439 | venkataakhil4518 | A | April 6, 2023, 5:30 p.m. | OK | PyPy 3-64 | TESTS | 3 | 108 | 6963200 | ||
201094389 | alexwice | A | April 7, 2023, 4:06 a.m. | OK | PyPy 3-64 | TESTS | 3 | 108 | 7884800 | ||
201067675 | BabyBlue0514 | A | April 6, 2023, 7:09 p.m. | OK | Python 3 | TESTS | 3 | 46 | 0 | ||
201051499 | FaroukM | A | April 6, 2023, 4:44 p.m. | OK | Python 3 | TESTS | 3 | 61 | 1024000 | ||
201054171 | tu144x | A | April 6, 2023, 4:56 p.m. | OK | Python 3 | TESTS | 3 | 62 | 512000 | ||
201063473 | Garrixer05 | A | April 6, 2023, 6:21 p.m. | OK | Python 3 | TESTS | 3 | 77 | 0 | ||
201056181 | _Phoenix_7 | A | April 6, 2023, 5:11 p.m. | OK | Python 3 | TESTS | 3 | 77 | 0 | ||
201049543 | tahmurazzz | A | April 6, 2023, 4:36 p.m. | OK | Python 3 | TESTS | 3 | 93 | 0 | ||
201048901 | EL_2000040020 | A | April 6, 2023, 4:33 p.m. | OK | Python 3 | TESTS | 3 | 93 | 0 | ||
201046386 | kalyanamvenkat686 | A | April 6, 2023, 4:23 p.m. | OK | Python 3 | TESTS | 3 | 93 | 0 | ||
201058951 | mansur_from_documentolog | A | April 6, 2023, 5:35 p.m. | OK | Python 3 | TESTS | 3 | 93 | 409600 | ||
201099822 | karthik_g_k | A | April 7, 2023, 5:34 a.m. | OK | Python 3 | TESTS | 3 | 108 | 0 | ||
201047971 | M4H1D | A | April 6, 2023, 4:29 p.m. | OK | Ruby 3 | TESTS | 3 | 265 | 102400 | ||
201046365 | 80r0_V41 | A | April 6, 2023, 4:23 p.m. | OK | Ruby 3 | TESTS | 3 | 265 | 102400 | ||
201094106 | IcyF | A | April 7, 2023, 4 a.m. | OK | Rust 2021 | TESTS | 3 | 62 | 0 | ||
201101806 | qingqyang | A | April 7, 2023, 6 a.m. | OK | Rust 2021 | TESTS | 3 | 77 | 0 |
Back to search problems