Технокубок 2021 - Финал

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
1482 Технокубок 2021 - Финал FINISHED False 10800 115501199 March 21, 2021, 10:20 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 20489 ) A Prison Break PROGRAMMING

B"Michael is accused of violating the social distancing rules and creating a risk of spreading coronavirus. He is now sent to prison. Luckily, Michael knows exactly what the prison looks like from the inside, especially since it's very simple. The prison can be represented as a rectangle a x b which is divided into ab cells, each representing a prison cell, common sides being the walls between cells, and sides on the perimeter being the walls leading to freedom. Before sentencing, Michael can ask his friends among the prison employees to make (very well hidden) holes in some of the walls (including walls between cells and the outermost walls). Michael wants to be able to get out of the prison after this, no matter which cell he is placed in. However, he also wants to break as few walls as possible. Your task is to find out the smallest number of walls to be broken so that there is a path to the outside from every cell after this. The first line contains a single integer t ( 1 <= q t <= q 100 ) -- the number of test cases. Each of the following t lines contains two integers a and b ( 1 <= q a, b <= q 100 ), representing a corresponding test case. For each test case print the single integer on a separate line -- the answer to the problem. Some possible escape plans for the example test cases are shown below. Broken walls are shown in gray, not broken walls are shown in black. "...

Tutorials

Technocup 2021: Final Round and Codeforces Round #709 — tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
110779282 CastleBravo A March 23, 2021, 3:40 a.m. OK GNU C11 TESTS 9 15 0
110740572 qianxuehao A March 22, 2021, 1:44 p.m. OK GNU C++11 TESTS 9 15 0
110739791 zjjws A March 22, 2021, 1:35 p.m. OK GNU C++11 TESTS 9 15 0
110737692 huagaohan A March 22, 2021, 1:11 p.m. OK GNU C++11 TESTS 9 15 0
110725886 zhengjc A March 22, 2021, 11:06 a.m. OK GNU C++11 TESTS 9 15 0
110722965 zlxFTH A March 22, 2021, 10:31 a.m. OK GNU C++11 TESTS 9 15 0
110721573 Andrey73 A March 22, 2021, 10:13 a.m. OK GNU C++11 TESTS 9 15 0
110699661 shib0 A March 22, 2021, 5:14 a.m. OK GNU C++11 TESTS 9 15 0
110698395 luogu_bot5 A March 22, 2021, 4:49 a.m. OK GNU C++11 TESTS 9 15 0
110741964 luogu_bot4 A March 22, 2021, 2 p.m. OK GNU C++11 TESTS 9 15 0
110743096 5HeadMan A March 22, 2021, 2:14 p.m. OK GNU C++11 TESTS 9 15 0
110606923 AURRUM A March 21, 2021, 10:25 a.m. OK GNU C++14 TESTS 9 15 0
110606741 katushkins A March 21, 2021, 10:24 a.m. OK GNU C++14 TESTS 9 15 0
110606704 juggernaut A March 21, 2021, 10:24 a.m. OK GNU C++14 TESTS 9 15 0
110606620 tim2005 A March 21, 2021, 10:23 a.m. OK GNU C++14 TESTS 9 15 0
110606590 ZuZKho A March 21, 2021, 10:23 a.m. OK GNU C++14 TESTS 9 15 0
110606552 CNik A March 21, 2021, 10:23 a.m. OK GNU C++14 TESTS 9 15 0
110606346 VictorBulov A March 21, 2021, 10:22 a.m. OK GNU C++14 TESTS 9 15 0
110606211 goncharovmike A March 21, 2021, 10:22 a.m. OK GNU C++14 TESTS 9 15 0
110606208 BY_KUTBILIM A March 21, 2021, 10:22 a.m. OK GNU C++14 TESTS 9 15 0
110752067 Ogneopasno A March 22, 2021, 3:58 p.m. OK GNU C++14 TESTS 9 15 0
110771394 candeia A March 22, 2021, 9:32 p.m. OK GNU C++17 TESTS 9 15 0
110762009 AbbyLuna A March 22, 2021, 6:15 p.m. OK GNU C++17 TESTS 9 15 0
110746134 igorfardoc A March 22, 2021, 2:48 p.m. OK GNU C++17 TESTS 9 15 0
110745316 f20190766 A March 22, 2021, 2:39 p.m. OK GNU C++17 TESTS 9 15 0
110739583 LetMeFly A March 22, 2021, 1:32 p.m. OK GNU C++17 TESTS 9 15 0
110726641 soosoo A March 22, 2021, 11:14 a.m. OK GNU C++17 TESTS 9 15 0
110725854 Sa1Lmc A March 22, 2021, 11:06 a.m. OK GNU C++17 TESTS 9 15 0
110725162 Suraj_Palod A March 22, 2021, 10:57 a.m. OK GNU C++17 TESTS 9 15 0
110724713 Brodicico A March 22, 2021, 10:52 a.m. OK GNU C++17 TESTS 9 15 0
110771815 thienlongtpct A March 22, 2021, 9:46 p.m. OK GNU C++17 TESTS 9 15 0
110737611 jimm89 A March 22, 2021, 1:10 p.m. OK GNU C++17 (64) TESTS 9 15 0
110727861 alexxx998 A March 22, 2021, 11:27 a.m. OK GNU C++17 (64) TESTS 9 15 0
110725412 maozining0306 A March 22, 2021, 11 a.m. OK GNU C++17 (64) TESTS 9 15 0
110724235 shiv_17 A March 22, 2021, 10:46 a.m. OK GNU C++17 (64) TESTS 9 15 0
110714340 Il9 A March 22, 2021, 8:44 a.m. OK GNU C++17 (64) TESTS 9 15 0
110690301 Mhdz A March 22, 2021, 12:21 a.m. OK GNU C++17 (64) TESTS 9 15 0
110690156 HashemZerei A March 22, 2021, 12:14 a.m. OK GNU C++17 (64) TESTS 9 15 0
110681340 T_a_z_i_m A March 21, 2021, 6:55 p.m. OK GNU C++17 (64) TESTS 9 15 0
110680440 funchoza A March 21, 2021, 6:40 p.m. OK GNU C++17 (64) TESTS 9 15 0
110608769 ColobocCodeforces A March 21, 2021, 10:44 a.m. OK GNU C++17 (64) TESTS 9 15 0
110607265 Tardimgg A March 21, 2021, 10:29 a.m. OK Java 11 TESTS 9 171 0
110606096 LordOrbit A March 21, 2021, 10:21 a.m. OK Java 11 TESTS 9 171 0
110607144 Shokersss A March 21, 2021, 10:28 a.m. OK Java 8 TESTS 9 109 0
110690698 ezraft A March 22, 2021, 12:42 a.m. OK Java 8 TESTS 9 124 0
110687284 4mda4mda A March 21, 2021, 9:48 p.m. OK Java 8 TESTS 9 124 0
110676466 kocko A March 21, 2021, 5:42 p.m. OK Java 8 TESTS 9 124 0
110690169 peripatetic A March 22, 2021, 12:15 a.m. OK Java 8 TESTS 9 140 0
110690107 peripatetic A March 22, 2021, 12:12 a.m. OK Java 8 TESTS 9 171 0
110723208 InoxBall A March 22, 2021, 10:34 a.m. OK MS C++ 2017 TESTS 9 15 0
110721077 Dericle A March 22, 2021, 10:07 a.m. OK MS C++ 2017 TESTS 9 15 0
110690650 kimpika A March 22, 2021, 12:38 a.m. OK MS C++ 2017 TESTS 9 15 0
110607087 Zhuravlev_Vyacheslav A March 21, 2021, 10:27 a.m. OK MS C++ 2017 TESTS 9 15 0
110607007 NewLul A March 21, 2021, 10:26 a.m. OK MS C++ 2017 TESTS 9 15 0
110606663 ShvarcstNeger A March 21, 2021, 10:23 a.m. OK MS C++ 2017 TESTS 9 15 0
110606594 dragon_pemp A March 21, 2021, 10:23 a.m. OK MS C++ 2017 TESTS 9 15 0
110607046 Gold_Fridge A March 21, 2021, 10:26 a.m. OK MS C++ 2017 TESTS 9 15 307200
110607174 MaxTax A March 21, 2021, 10:28 a.m. OK MS C++ 2017 TESTS 9 30 0
110606417 timoxa5651 A March 21, 2021, 10:23 a.m. OK MS C++ 2017 TESTS 9 30 0
110754220 watarimaycry2 A March 22, 2021, 4:26 p.m. OK Node.js TESTS 9 46 204800
110606721 Zvyagintsev.A A March 21, 2021, 10:24 a.m. OK PyPy 3 TESTS 9 77 0
110606678 MrGlaz A March 21, 2021, 10:23 a.m. OK PyPy 3 TESTS 9 77 0
110606289 23sergey03 A March 21, 2021, 10:22 a.m. OK PyPy 3 TESTS 9 77 0
110606825 FAbrickA A March 21, 2021, 10:24 a.m. OK PyPy 3 TESTS 9 92 0
110606681 Aleksey2006 A March 21, 2021, 10:23 a.m. OK PyPy 3 TESTS 9 92 0
110606621 EzikBro A March 21, 2021, 10:23 a.m. OK PyPy 3 TESTS 9 92 0
110759614 mif14777 A March 22, 2021, 5:39 p.m. OK PyPy 3 TESTS 9 93 0
110732923 KabirIvan A March 22, 2021, 12:19 p.m. OK PyPy 3 TESTS 9 93 0
110691177 imadilkhan A March 22, 2021, 1:03 a.m. OK PyPy 3 TESTS 9 93 0
110607137 AnnaMyagkova2005 A March 21, 2021, 10:28 a.m. OK PyPy 3 TESTS 9 93 0
110723574 gandalftix A March 22, 2021, 10:39 a.m. OK Python 3 TESTS 9 46 0
110606495 seleznev_dima A March 21, 2021, 10:23 a.m. OK Python 3 TESTS 9 46 0
110607042 snnt A March 21, 2021, 10:26 a.m. OK Python 3 TESTS 9 61 0
110606613 sdhd A March 21, 2021, 10:23 a.m. OK Python 3 TESTS 9 61 0
110606367 FynjyBath A March 21, 2021, 10:22 a.m. OK Python 3 TESTS 9 61 0
110605967 crazyilian A March 21, 2021, 10:21 a.m. OK Python 3 TESTS 9 61 0
110772355 abinashstack A March 22, 2021, 10:06 p.m. OK Python 3 TESTS 9 62 0
110726660 mamurashko A March 22, 2021, 11:14 a.m. OK Python 3 TESTS 9 62 0
110725244 1Demiurg A March 22, 2021, 10:58 a.m. OK Python 3 TESTS 9 62 0
110693656 mah_python A March 22, 2021, 2:44 a.m. OK Python 3 TESTS 9 62 0
110706140 kanik0 A March 22, 2021, 6:53 a.m. OK Rust TESTS 9 15 102400

remove filters

Back to search problems