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 |
---|---|---|---|---|---|---|
1303 | Educational Codeforces Round 82 (Rated for Div. 2) | FINISHED | False | 7200 | 150305099 | Feb. 12, 2020, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 12212 ) | C | Perfect Keyboard | PROGRAMMING | dfs and similar greedy implementation | 1500 |
B"Polycarp wants to assemble his own keyboard. Layouts with multiple rows are too complicated for him -- his keyboard will consist of only one row, where all 26 lowercase Latin letters will be arranged in some order. Polycarp uses the same password s on all websites where he is registered (it is bad, but he doesn't care). He wants to assemble a keyboard that will allow to type this password very easily. He doesn't like to move his fingers while typing the password, so, for each pair of adjacent characters in s , they should be adjacent on the keyboard. For example, if the password is abacaba, then the layout cabdefghi... is perfect, since characters a and c are adjacent on the keyboard, and a and b are adjacent on the keyboard. It is guaranteed that there are no two adjacent equal characters in s , so, for example, the password cannot be password (two characters s are adjacent). Can you help Polycarp with choosing the perfect layout of the keyboard, if it is possible? The first line contains one integer T ( 1 <= T <= 1000 ) -- the number of test cases. Then T lines follow, each containing one string s ( 1 <= |s| <= 200 ) representing the test case. s consists of lowercase Latin letters only. There are no two adjacent equal characters in s . For each test case, do the following: "... |
Educational Codeforces Round 82 |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
70904995 | SavicS | C | Feb. 12, 2020, 4:59 p.m. | OK | Clang++17 Diagnostics | TESTS | 12 | 155 | 3174400 | 1500 | |
70877009 | daut-dlang | C | Feb. 12, 2020, 3:27 p.m. | OK | D | TESTS | 12 | 31 | 4198400 | 1500 | |
70894346 | ruban | C | Feb. 12, 2020, 4:14 p.m. | OK | Delphi | TESTS | 12 | 46 | 29491200 | 1500 | |
70917942 | kaiboy | C | Feb. 12, 2020, 8:35 p.m. | OK | GNU C11 | TESTS | 12 | 31 | 0 | 1500 | |
70917930 | rainboy | C | Feb. 12, 2020, 8:34 p.m. | OK | GNU C11 | TESTS | 12 | 31 | 0 | 1500 | |
70905539 | kernel.bin | C | Feb. 12, 2020, 5:04 p.m. | OK | GNU C11 | TESTS | 12 | 31 | 0 | 1500 | |
70917991 | rainboy | C | Feb. 12, 2020, 8:36 p.m. | OK | GNU C11 | TESTS | 12 | 31 | 0 | 1500 | |
70872501 | StepMommy | C | Feb. 12, 2020, 3:17 p.m. | OK | GNU C11 | TESTS | 12 | 108 | 0 | 1500 | |
70885605 | Dream.to | C | Feb. 12, 2020, 3:49 p.m. | OK | GNU C11 | TESTS | 12 | 109 | 0 | 1500 | |
70883157 | 1_l | C | Feb. 12, 2020, 3:43 p.m. | OK | GNU C11 | TESTS | 12 | 109 | 0 | 1500 | |
70888824 | _Rebellion | C | Feb. 12, 2020, 3:58 p.m. | OK | GNU C11 | TESTS | 12 | 124 | 0 | 1500 | |
70872846 | fire033 | C | Feb. 12, 2020, 3:18 p.m. | OK | GNU C++11 | TESTS | 12 | 15 | 0 | 1500 | |
70923357 | ddytxdy | C | Feb. 13, 2020, 12:31 a.m. | OK | GNU C++11 | TESTS | 12 | 15 | 0 | 1500 | |
70896280 | swqeaaa | C | Feb. 12, 2020, 4:20 p.m. | OK | GNU C++11 | TESTS | 12 | 15 | 0 | 1500 | |
70894358 | lzoi.win | C | Feb. 12, 2020, 4:14 p.m. | OK | GNU C++11 | TESTS | 12 | 15 | 0 | 1500 | |
70888064 | zf_cjzhqdt | C | Feb. 12, 2020, 3:56 p.m. | OK | GNU C++11 | TESTS | 12 | 15 | 0 | 1500 | |
70885641 | bcr_233 | C | Feb. 12, 2020, 3:49 p.m. | OK | GNU C++11 | TESTS | 12 | 15 | 0 | 1500 | |
70876102 | qazswedx2 | C | Feb. 12, 2020, 3:25 p.m. | OK | GNU C++11 | TESTS | 12 | 15 | 102400 | 1500 | |
71042057 | HANGANG | C | Feb. 14, 2020, 7:13 a.m. | OK | GNU C++11 | TESTS | 12 | 30 | 0 | 1500 | |
71059915 | black_white_tony | C | Feb. 14, 2020, 1:09 p.m. | OK | GNU C++11 | TESTS | 12 | 30 | 0 | 1500 | |
71021337 | Hamoudi | C | Feb. 13, 2020, 8:31 p.m. | OK | GNU C++11 | TESTS | 12 | 30 | 0 | 1500 | |
70880382 | fishbowl | C | Feb. 12, 2020, 3:36 p.m. | OK | GNU C++14 | TESTS | 12 | 15 | 0 | 1500 | |
70875934 | shilaimu | C | Feb. 12, 2020, 3:25 p.m. | OK | GNU C++14 | TESTS | 12 | 15 | 0 | 1500 | |
70933902 | Ronin126 | C | Feb. 13, 2020, 6:03 a.m. | OK | GNU C++14 | TESTS | 12 | 15 | 0 | 1500 | |
70930107 | huhuyj | C | Feb. 13, 2020, 4:45 a.m. | OK | GNU C++14 | TESTS | 12 | 15 | 0 | 1500 | |
70924419 | lx_xl | C | Feb. 13, 2020, 1:27 a.m. | OK | GNU C++14 | TESTS | 12 | 15 | 0 | 1500 | |
70898193 | CompuPhysics | C | Feb. 12, 2020, 4:25 p.m. | OK | GNU C++14 | TESTS | 12 | 15 | 0 | 1500 | |
70921922 | SuperJ6 | C | Feb. 12, 2020, 11:05 p.m. | OK | GNU C++14 | TESTS | 12 | 15 | 0 | 1500 | |
70886143 | mn41 | C | Feb. 12, 2020, 3:51 p.m. | OK | GNU C++14 | TESTS | 12 | 15 | 0 | 1500 | |
70886112 | VineAsh | C | Feb. 12, 2020, 3:50 p.m. | OK | GNU C++14 | TESTS | 12 | 15 | 0 | 1500 | |
70881597 | Marmot_C | C | Feb. 12, 2020, 3:39 p.m. | OK | GNU C++14 | TESTS | 12 | 15 | 0 | 1500 | |
70928825 | thtsshz_bgwrswh | C | Feb. 13, 2020, 4:05 a.m. | OK | GNU C++17 | TESTS | 12 | 15 | 0 | 1500 | |
71040665 | YoJaHuang | C | Feb. 14, 2020, 6:50 a.m. | OK | GNU C++17 | TESTS | 12 | 15 | 0 | 1500 | |
70942852 | luogu_bot1 | C | Feb. 13, 2020, 8:58 a.m. | OK | GNU C++17 | TESTS | 12 | 15 | 0 | 1500 | |
70927136 | LowbieH | C | Feb. 13, 2020, 3:11 a.m. | OK | GNU C++17 | TESTS | 12 | 15 | 0 | 1500 | |
70925019 | caozhenlin | C | Feb. 13, 2020, 1:54 a.m. | OK | GNU C++17 | TESTS | 12 | 15 | 0 | 1500 | |
70917401 | Bigpig | C | Feb. 12, 2020, 8:21 p.m. | OK | GNU C++17 | TESTS | 12 | 15 | 0 | 1500 | |
70907215 | graveyard111 | C | Feb. 12, 2020, 5:23 p.m. | OK | GNU C++17 | TESTS | 12 | 15 | 0 | 1500 | |
70897587 | shange | C | Feb. 12, 2020, 4:23 p.m. | OK | GNU C++17 | TESTS | 12 | 15 | 0 | 1500 | |
70895803 | GusMG | C | Feb. 12, 2020, 4:18 p.m. | OK | GNU C++17 | TESTS | 12 | 15 | 0 | 1500 | |
70891967 | kkksc02 | C | Feb. 12, 2020, 4:07 p.m. | OK | GNU C++17 | TESTS | 12 | 15 | 0 | 1500 | |
70951704 | ktateish | C | Feb. 13, 2020, 11:34 a.m. | OK | Go | TESTS | 12 | 46 | 0 | 1500 | |
70908580 | synapse | C | Feb. 12, 2020, 5:41 p.m. | OK | Go | TESTS | 12 | 61 | 4505600 | 1500 | |
70908245 | synapse | C | Feb. 12, 2020, 5:36 p.m. | OK | Go | TESTS | 12 | 62 | 4505600 | 1500 | |
70886293 | nayix | C | Feb. 12, 2020, 3:51 p.m. | OK | Go | TESTS | 12 | 670 | 0 | 1500 | |
70941246 | uwi | C | Feb. 13, 2020, 8:28 a.m. | OK | Java 11 | TESTS | 12 | 186 | 0 | 1500 | |
70893930 | nick_301 | C | Feb. 12, 2020, 4:13 p.m. | OK | Java 11 | TESTS | 12 | 186 | 0 | 1500 | |
70891255 | AbdallahArafa | C | Feb. 12, 2020, 4:05 p.m. | OK | Java 11 | TESTS | 12 | 187 | 0 | 1500 | |
70892460 | Azakarka | C | Feb. 12, 2020, 4:09 p.m. | OK | Java 11 | TESTS | 12 | 202 | 0 | 1500 | |
70891446 | codebhavan | C | Feb. 12, 2020, 4:06 p.m. | OK | Java 11 | TESTS | 12 | 202 | 0 | 1500 | |
71087777 | about | C | Feb. 14, 2020, 10:29 p.m. | OK | Java 11 | TESTS | 12 | 218 | 0 | 1500 | |
70916351 | lightseba | C | Feb. 12, 2020, 7:56 p.m. | OK | Java 11 | TESTS | 12 | 218 | 0 | 1500 | |
70892831 | alankritanand001 | C | Feb. 12, 2020, 4:10 p.m. | OK | Java 11 | TESTS | 12 | 218 | 0 | 1500 | |
70883660 | Dukkha | C | Feb. 12, 2020, 3:44 p.m. | OK | Java 11 | TESTS | 12 | 218 | 0 | 1500 | |
70881568 | pikapika00 | C | Feb. 12, 2020, 3:39 p.m. | OK | Java 11 | TESTS | 12 | 218 | 0 | 1500 | |
71063517 | Nutella3000 | C | Feb. 14, 2020, 1:58 p.m. | OK | Java 8 | TESTS | 12 | 124 | 0 | 1500 | |
71015025 | polyakoff | C | Feb. 13, 2020, 6:21 p.m. | OK | Java 8 | TESTS | 12 | 124 | 0 | 1500 | |
71012260 | shubhampandey18 | C | Feb. 13, 2020, 5:48 p.m. | OK | Java 8 | TESTS | 12 | 124 | 0 | 1500 | |
70946654 | A5SAS51N | C | Feb. 13, 2020, 9:55 a.m. | OK | Java 8 | TESTS | 12 | 124 | 0 | 1500 | |
70937383 | niteshgowda | C | Feb. 13, 2020, 7:10 a.m. | OK | Java 8 | TESTS | 12 | 124 | 0 | 1500 | |
70937115 | nidhigoel | C | Feb. 13, 2020, 7:05 a.m. | OK | Java 8 | TESTS | 12 | 124 | 0 | 1500 | |
70930353 | bluesky111 | C | Feb. 13, 2020, 4:51 a.m. | OK | Java 8 | TESTS | 12 | 124 | 0 | 1500 | |
70927033 | AnandOza | C | Feb. 13, 2020, 3:08 a.m. | OK | Java 8 | TESTS | 12 | 124 | 0 | 1500 | |
70923956 | Java | C | Feb. 13, 2020, 1:03 a.m. | OK | Java 8 | TESTS | 12 | 124 | 0 | 1500 | |
70919971 | robinz62 | C | Feb. 12, 2020, 9:37 p.m. | OK | Java 8 | TESTS | 12 | 124 | 0 | 1500 | |
70944089 | Spheniscine | C | Feb. 13, 2020, 9:15 a.m. | OK | Kotlin | TESTS | 12 | 140 | 0 | 1500 |
Back to search problems