Technocup 2020 - Elimination Round 3

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
1227 Technocup 2020 - Elimination Round 3 FINISHED False 7200 162856487 Nov. 24, 2019, 8:05 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1507 ) E Arson In Berland Forest PROGRAMMING binary search graphs graphs shortest paths 2200

B'The Berland Forest can be represented as an infinite cell plane. Every cell contains a tree. That is, contained before the recent events. A destructive fire raged through the Forest, and several trees were damaged by it. Precisely speaking, you have a n x m rectangle map which represents the damaged part of the Forest. The damaged trees were marked as "X" while the remaining ones were marked as ".". You are sure that all burnt trees are shown on the map. All the trees outside the map are undamaged. The firemen quickly extinguished the fire, and now they are investigating the cause of it. The main version is that there was an arson: at some moment of time (let 's consider it as 0 ) some trees were set on fire. At the beginning of minute 0 , only the trees that were set on fire initially were burning. At the end of each minute, the fire spread from every burning tree to each of 8 neighboring trees. At the beginning of minute T , the fire was extinguished. The firemen want to find the arsonists as quickly as possible. The problem is, they know neither the value of T (how long the fire has been raging) nor the coordinates of the trees that were initially set on fire. They want you to find the maximum value of T (to know how far could the arsonists escape) and a possible set of trees that could be initially set on fire. Note that you 'd like to maximize value T but the set of trees can be arbitrary. The first line contains two integer n and m ( 1 <= n, m <= 10^6 , 1 <= n cdot m <= 10^6 ) -- the sizes of the map. Next n lines contain the map. The i -th line corresponds to the i -th row of the map and contains m -character string. The j -th character of the i -th string is "X" if the corresponding tree is burnt and "." otherwise. It 's guaranteed that the map contains at least one "X". In the first line print the single integer T -- the maximum time the'...

Tutorials

Разбор задач №2

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
67498567 luogu_bot2 E Dec. 24, 2019, 2:11 a.m. OK GNU C++11 TESTS 59 436 65126400 2200
67498498 SDSZ-WZZ E Dec. 24, 2019, 2:06 a.m. OK GNU C++11 TESTS 59 436 65126400 2200
69937997 luogu_bot5 E Feb. 1, 2020, 4:58 a.m. OK GNU C++11 TESTS 59 467 85299200 2200
66411347 smiken E Dec. 6, 2019, 3:26 p.m. OK GNU C++11 TESTS 59 623 264704000 2200
65928697 sakib_muhit E Nov. 28, 2019, 7:38 p.m. OK GNU C++11 TESTS 59 654 96460800 2200
66045656 xht37 E Nov. 30, 2019, 2:57 p.m. OK GNU C++11 TESTS 59 655 108339200 2200
69062402 beginner1010 E Jan. 18, 2020, 5:06 p.m. OK GNU C++11 TESTS 59 702 112332800 2200
65700856 Ghastlcon E Nov. 25, 2019, 10:43 a.m. OK GNU C++11 TESTS 56 748 96460800 2200
65695274 huanggs E Nov. 25, 2019, 7:42 a.m. OK GNU C++11 TESTS 56 1076 108441600 2200
69457022 wasa855 E Jan. 24, 2020, 9:04 a.m. OK GNU C++11 TESTS 59 1185 129433600 2200
66186326 tuananh238 E Dec. 2, 2019, 2:38 p.m. OK GNU C++14 TESTS 59 280 83148800 2200
65652218 MForest E Nov. 24, 2019, 9:54 a.m. OK GNU C++14 TESTS 52 327 88371200 2200
65672804 balakrishnan E Nov. 24, 2019, 4:40 p.m. OK GNU C++14 TESTS 56 327 189132800 2200
65688305 jiangly E Nov. 25, 2019, 2:31 a.m. OK GNU C++14 TESTS 56 405 80384000 2200
69925436 MyK_00L E Jan. 31, 2020, 8:08 p.m. OK GNU C++14 TESTS 59 405 116633600 2200
66164509 NoTeamName E Dec. 2, 2019, 6:47 a.m. OK GNU C++14 TESTS 59 436 60313600 2200
66642229 VladKov E Dec. 11, 2019, 3:11 p.m. OK GNU C++14 TESTS 59 530 109158400 2200
65827162 Mirbek_aka E Nov. 27, 2019, 12:59 p.m. OK GNU C++14 TESTS 59 607 112537600 2200
66463366 Mlxa E Dec. 7, 2019, 3:38 p.m. OK GNU C++14 TESTS 59 639 72396800 2200
66423883 imbr92 E Dec. 6, 2019, 8:13 p.m. OK GNU C++14 TESTS 59 670 156364800 2200
65908943 Sonechko E Nov. 28, 2019, 12:09 p.m. OK GNU C++17 TESTS 59 171 9011200 2200
65717332 paradox E Nov. 25, 2019, 5:13 p.m. OK GNU C++17 TESTS 56 171 87961600 2200
65922425 heartsker E Nov. 28, 2019, 4:50 p.m. OK GNU C++17 TESTS 59 218 36454400 2200
65697557 the_timur E Nov. 25, 2019, 9:05 a.m. OK GNU C++17 TESTS 56 264 56320000 2200
65731678 Serega_Balyuk E Nov. 26, 2019, 5:27 a.m. OK GNU C++17 TESTS 57 264 64409600 2200
65703539 Enkognit E Nov. 25, 2019, 11:43 a.m. OK GNU C++17 TESTS 56 264 157491200 2200
65765594 Rip_robot E Nov. 26, 2019, 5:47 p.m. OK GNU C++17 TESTS 58 280 24268800 2200
65766113 hrustim25 E Nov. 26, 2019, 6:02 p.m. OK GNU C++17 TESTS 58 311 88473600 2200
65687056 HatsuneMikuo E Nov. 25, 2019, 1:05 a.m. OK GNU C++17 TESTS 56 311 169164800 2200
65695959 pootis E Nov. 25, 2019, 8:11 a.m. OK GNU C++17 TESTS 56 327 104448000 2200
65725474 4mda4mda E Nov. 25, 2019, 10:25 p.m. OK Java 8 TESTS 57 779 120115200 2200
65690840 tmwilliamlin168 E Nov. 25, 2019, 4:43 a.m. OK Java 8 TESTS 56 998 131072000 2200
66458838 darkkcyan E Dec. 7, 2019, 2:06 p.m. OK Kotlin TESTS 59 1809 140083200 2200

remove filters

Back to search problems