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 |
---|---|---|---|---|---|---|
1415 | Technocup 2021 - Elimination Round 2 | FINISHED | False | 7200 | 125189699 | Nov. 29, 2020, 7:05 a.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 10983 ) | C | Bouncing Ball | PROGRAMMING | brute force dp implementation |
B"You're creating a game level for some mobile game. The level should contain some number of cells aligned in a row from left to right and numbered with consecutive integers starting from 1 , and in each cell you can either put a platform or leave it empty. In order to pass a level, a player must throw a ball from the left so that it first lands on a platform in the cell p , then bounces off it, then bounces off a platform in the cell (p + k) , then a platform in the cell (p + 2k) , and so on every k -th platform until it goes farther than the last cell. If any of these cells has no platform, you can't pass the level with these p and k . You already have some level pattern a_1 , a_2 , a_3 , ..., a_n , where a_i = 0 means there is no platform in the cell i , and a_i = 1 means there is one. You want to modify it so that the level can be passed with given p and k . In x seconds you can add a platform in some empty cell. In y seconds you can remove the first cell completely, reducing the number of cells by one, and renumerating the other cells keeping their order. You can't do any other operation. You can not reduce the number of cells to less than p . What is the minimum number of seconds you need to make this level passable with given p and k ? The first line contains the number of test cases t ( 1 <= t <= 100 ). Description of test cases follows. The first line of each test case contains three integers n , p , and k ( 1 <= p <= n <= 10^5 , 1 <= k <= n ) -- the number of cells you have, the first cell that should contain a platform, and the period of ball bouncing required. The second line of each test case contains a string a_1 a_2 a_3 ldots a_n ( a_i = 0 or a_i = 1 ) -- the initial pattern written without spaces. The last line of each test case contains two integers x and y "... |
Editorial of Codeforces Round 687 (Technocup 2021 — Elimitation Round 2) |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
99873973 | xhhmylxrd | C | Nov. 29, 2020, 8:20 a.m. | OK | FPC | TESTS | 33 | 46 | 921600 | ||
99929055 | andrei102 | C | Nov. 29, 2020, 5:37 p.m. | OK | GNU C11 | TESTS | 33 | 31 | 512000 | ||
99871709 | foucault | C | Nov. 29, 2020, 8:13 a.m. | OK | GNU C++11 | TESTS | 33 | 31 | 307200 | ||
99949115 | fw_hz | C | Nov. 30, 2020, 3:09 a.m. | OK | GNU C++11 | TESTS | 33 | 31 | 307200 | ||
99899858 | Shining_xzl | C | Nov. 29, 2020, 11:51 a.m. | OK | GNU C++11 | TESTS | 33 | 31 | 307200 | ||
99899240 | yateng817 | C | Nov. 29, 2020, 11:43 a.m. | OK | GNU C++11 | TESTS | 33 | 31 | 512000 | ||
99875128 | marcheanin | C | Nov. 29, 2020, 8:23 a.m. | OK | GNU C++11 | TESTS | 33 | 31 | 614400 | ||
99861035 | Komershan | C | Nov. 29, 2020, 7:45 a.m. | OK | GNU C++11 | TESTS | 33 | 31 | 614400 | ||
99940980 | BL_HLD | C | Nov. 29, 2020, 11:29 p.m. | OK | GNU C++11 | TESTS | 33 | 31 | 614400 | ||
99947288 | GSHgsh | C | Nov. 30, 2020, 1:59 a.m. | OK | GNU C++11 | TESTS | 33 | 31 | 819200 | ||
99903801 | yangshaoqi | C | Nov. 29, 2020, 12:46 p.m. | OK | GNU C++11 | TESTS | 33 | 31 | 921600 | ||
99913785 | wjmsxbd | C | Nov. 29, 2020, 2:32 p.m. | OK | GNU C++11 | TESTS | 33 | 31 | 1024000 | ||
99904636 | uin | C | Nov. 29, 2020, 12:56 p.m. | OK | GNU C++14 | TESTS | 33 | 31 | 102400 | ||
99869781 | Manaeff.Ivan | C | Nov. 29, 2020, 8:08 a.m. | OK | GNU C++14 | TESTS | 33 | 31 | 307200 | ||
99899856 | shabad.k8244 | C | Nov. 29, 2020, 11:51 a.m. | OK | GNU C++14 | TESTS | 33 | 31 | 716800 | ||
99869307 | Hayk007 | C | Nov. 29, 2020, 8:06 a.m. | OK | GNU C++14 | TESTS | 33 | 31 | 716800 | ||
99857476 | UnstoppableMathMachine | C | Nov. 29, 2020, 7:37 a.m. | OK | GNU C++14 | TESTS | 33 | 31 | 716800 | ||
99926323 | rahulaclesharma33 | C | Nov. 29, 2020, 4:46 p.m. | OK | GNU C++14 | TESTS | 33 | 31 | 716800 | ||
99857223 | GrishaIvanenko | C | Nov. 29, 2020, 7:36 a.m. | OK | GNU C++14 | TESTS | 33 | 31 | 921600 | ||
99900956 | Code_devil2 | C | Nov. 29, 2020, 12:09 p.m. | OK | GNU C++14 | TESTS | 33 | 31 | 1024000 | ||
99875642 | nbarnnik165 | C | Nov. 29, 2020, 8:25 a.m. | OK | GNU C++14 | TESTS | 33 | 31 | 1024000 | ||
99924228 | aayush0912 | C | Nov. 29, 2020, 4:11 p.m. | OK | GNU C++14 | TESTS | 33 | 31 | 1024000 | ||
99948088 | Lixiaoban | C | Nov. 30, 2020, 2:30 a.m. | OK | GNU C++17 | TESTS | 33 | 31 | 102400 | ||
99851756 | Qqun_ | C | Nov. 29, 2020, 7:25 a.m. | OK | GNU C++17 | TESTS | 33 | 31 | 307200 | ||
99860127 | talant110726 | C | Nov. 29, 2020, 7:43 a.m. | OK | GNU C++17 | TESTS | 33 | 31 | 307200 | ||
99857937 | tentacion | C | Nov. 29, 2020, 7:38 a.m. | OK | GNU C++17 | TESTS | 33 | 31 | 409600 | ||
99872298 | VladimirM | C | Nov. 29, 2020, 8:15 a.m. | OK | GNU C++17 | TESTS | 33 | 31 | 409600 | ||
99870802 | rightways | C | Nov. 29, 2020, 8:11 a.m. | OK | GNU C++17 | TESTS | 33 | 31 | 512000 | ||
99868227 | Kimp13 | C | Nov. 29, 2020, 8:04 a.m. | OK | GNU C++17 | TESTS | 33 | 31 | 512000 | ||
99864422 | sermir2003 | C | Nov. 29, 2020, 7:53 a.m. | OK | GNU C++17 | TESTS | 33 | 31 | 512000 | ||
99853115 | ne4eHbKa | C | Nov. 29, 2020, 7:28 a.m. | OK | GNU C++17 | TESTS | 33 | 31 | 512000 | ||
99941582 | Rycerax | C | Nov. 30, 2020, 12:05 a.m. | OK | GNU C++17 | TESTS | 33 | 31 | 512000 | ||
99849417 | -lwl- | C | Nov. 29, 2020, 7:21 a.m. | OK | GNU C++17 (64) | TESTS | 33 | 15 | 307200 | ||
99849535 | gravitsapa | C | Nov. 29, 2020, 7:21 a.m. | OK | GNU C++17 (64) | TESTS | 33 | 30 | 921600 | ||
99860178 | Qwerty1232 | C | Nov. 29, 2020, 7:43 a.m. | OK | GNU C++17 (64) | TESTS | 33 | 30 | 1024000 | ||
99864388 | Didedoshka | C | Nov. 29, 2020, 7:53 a.m. | OK | GNU C++17 (64) | TESTS | 33 | 30 | 1126400 | ||
99867736 | Ziel | C | Nov. 29, 2020, 8:02 a.m. | OK | GNU C++17 (64) | TESTS | 33 | 30 | 1126400 | ||
99898669 | Zahidul_Islam | C | Nov. 29, 2020, 11:35 a.m. | OK | GNU C++17 (64) | TESTS | 33 | 30 | 7577600 | ||
99869227 | AlmadelX | C | Nov. 29, 2020, 8:06 a.m. | OK | GNU C++17 (64) | TESTS | 33 | 31 | 409600 | ||
99846703 | Petr1Furious | C | Nov. 29, 2020, 7:16 a.m. | OK | GNU C++17 (64) | TESTS | 33 | 31 | 512000 | ||
99866873 | Apelsinus | C | Nov. 29, 2020, 8 a.m. | OK | GNU C++17 (64) | TESTS | 33 | 31 | 512000 | ||
99875822 | man.yasakov | C | Nov. 29, 2020, 8:26 a.m. | OK | GNU C++17 (64) | TESTS | 33 | 31 | 614400 | ||
99933164 | singh.ankit2117 | C | Nov. 29, 2020, 6:56 p.m. | OK | Java 11 | TESTS | 33 | 187 | 0 | ||
99920399 | DetoAce | C | Nov. 29, 2020, 3:14 p.m. | OK | Java 11 | TESTS | 33 | 187 | 0 | ||
99921648 | kp_863 | C | Nov. 29, 2020, 3:31 p.m. | OK | Java 11 | TESTS | 33 | 202 | 0 | ||
99884458 | Tardimgg | C | Nov. 29, 2020, 8:56 a.m. | OK | Java 11 | TESTS | 33 | 233 | 0 | ||
99894244 | singh.ankit2117 | C | Nov. 29, 2020, 10:42 a.m. | OK | Java 11 | TESTS | 33 | 234 | 0 | ||
99889349 | moli2398 | C | Nov. 29, 2020, 9:54 a.m. | OK | Java 8 | TESTS | 33 | 124 | 0 | ||
99878234 | garey | C | Nov. 29, 2020, 8:34 a.m. | OK | Java 8 | TESTS | 33 | 124 | 0 | ||
99874614 | Zhuravlev_Vyacheslav | C | Nov. 29, 2020, 8:22 a.m. | OK | MS C++ 2017 | TESTS | 33 | 31 | 307200 | ||
99872753 | Boger1 | C | Nov. 29, 2020, 8:16 a.m. | OK | MS C++ 2017 | TESTS | 33 | 31 | 614400 | ||
99855669 | The_Lost_Desu | C | Nov. 29, 2020, 7:33 a.m. | OK | MS C++ 2017 | TESTS | 33 | 31 | 614400 | ||
99880309 | Gevorg_Boyakhchyan2004 | C | Nov. 29, 2020, 8:42 a.m. | OK | MS C++ 2017 | TESTS | 33 | 31 | 1024000 | ||
99879739 | gravura | C | Nov. 29, 2020, 8:39 a.m. | OK | MS C++ 2017 | TESTS | 33 | 31 | 1024000 | ||
99864941 | zdechex | C | Nov. 29, 2020, 7:55 a.m. | OK | MS C++ 2017 | TESTS | 33 | 31 | 1024000 | ||
99861848 | DarknessX | C | Nov. 29, 2020, 7:47 a.m. | OK | MS C++ 2017 | TESTS | 33 | 31 | 1024000 | ||
99860110 | ivanovan | C | Nov. 29, 2020, 7:43 a.m. | OK | MS C++ 2017 | TESTS | 33 | 31 | 1024000 | ||
99858437 | Hahahacker | C | Nov. 29, 2020, 7:39 a.m. | OK | MS C++ 2017 | TESTS | 33 | 31 | 1024000 | ||
99884164 | Zvyagintsev.A | C | Nov. 29, 2020, 8:55 a.m. | OK | MS C++ 2017 | TESTS | 33 | 31 | 1126400 | ||
99889880 | Nil2007 | C | Nov. 29, 2020, 9:58 a.m. | OK | PyPy 3 | TESTS | 33 | 155 | 2355200 | ||
99855324 | asvasil | C | Nov. 29, 2020, 7:32 a.m. | OK | PyPy 3 | TESTS | 33 | 156 | 2355200 | ||
99931525 | borgib | C | Nov. 29, 2020, 6:22 p.m. | OK | PyPy 3 | TESTS | 33 | 156 | 5017600 | ||
99862661 | gen4ik | C | Nov. 29, 2020, 7:49 a.m. | OK | PyPy 3 | TESTS | 33 | 170 | 2355200 | ||
99877891 | Gleefre | C | Nov. 29, 2020, 8:33 a.m. | OK | PyPy 3 | TESTS | 33 | 170 | 5222400 | ||
99865026 | rjhjdfyfvjht | C | Nov. 29, 2020, 7:55 a.m. | OK | PyPy 3 | TESTS | 33 | 171 | 2969600 | ||
99875100 | denshlk | C | Nov. 29, 2020, 8:23 a.m. | OK | PyPy 3 | TESTS | 33 | 171 | 4505600 | ||
99860157 | vit_72 | C | Nov. 29, 2020, 7:43 a.m. | OK | PyPy 3 | TESTS | 33 | 171 | 4505600 | ||
99924680 | aksh02 | C | Nov. 29, 2020, 4:17 p.m. | OK | PyPy 3 | TESTS | 33 | 171 | 5017600 | ||
99877663 | TheProgrammer256 | C | Nov. 29, 2020, 8:32 a.m. | OK | PyPy 3 | TESTS | 33 | 171 | 15052800 | ||
99951677 | KingVlad | C | Nov. 30, 2020, 4:15 a.m. | OK | Python 3 | TESTS | 33 | 156 | 3686400 | ||
99886104 | s22v_antonov | C | Nov. 29, 2020, 9:02 a.m. | OK | Python 3 | TESTS | 33 | 202 | 3686400 | ||
99952535 | abhishekJr | C | Nov. 30, 2020, 4:36 a.m. | OK | Python 3 | TESTS | 33 | 218 | 2457600 | ||
99930056 | Mortus | C | Nov. 29, 2020, 5:56 p.m. | OK | Python 3 | TESTS | 33 | 218 | 2457600 | ||
99879478 | Goshix | C | Nov. 29, 2020, 8:38 a.m. | OK | Python 3 | TESTS | 33 | 218 | 3276800 | ||
99883822 | CBist | C | Nov. 29, 2020, 8:53 a.m. | OK | Python 3 | TESTS | 33 | 234 | 3276800 | ||
99884735 | Mlko | C | Nov. 29, 2020, 8:57 a.m. | OK | Python 3 | TESTS | 33 | 249 | 614400 | ||
99950949 | bhargavraM882 | C | Nov. 30, 2020, 3:57 a.m. | OK | Python 3 | TESTS | 33 | 249 | 1228800 | ||
99878738 | PPPeaceDeath | C | Nov. 29, 2020, 8:36 a.m. | OK | Python 3 | TESTS | 33 | 249 | 3993600 | ||
99862624 | petushny | C | Nov. 29, 2020, 7:49 a.m. | OK | Python 3 | TESTS | 33 | 280 | 3686400 |
Back to search problems