Technocup 2017 - Elimination Round 2

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
729 Technocup 2017 - Elimination Round 2 FINISHED False 7200 252190499 Nov. 20, 2016, 9:05 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 7985 ) B Spotlights PROGRAMMING dp implementation 1300

B"Theater stage is a rectangular field of size n xe2 x80 x89 xc3 x97 xe2 x80 x89m. The director gave you the stage's plan which actors will follow. For each cell it is stated in the plan if there would be an actor in this cell or not. You are to place a spotlight on the stage in some good position. The spotlight will project light in one of the four directions (if you look at the stage from above) -- left, right, up or down. Thus, the spotlight's position is a cell it is placed to and a direction it shines. A position is good if two conditions hold: Count the number of good positions for placing the spotlight. Two positions of spotlight are considered to be different if the location cells or projection direction differ. The first line contains two positive integers n and m (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x891000) -- the number of rows and the number of columns in the plan. The next n lines contain m integers, 0 or 1 each -- the description of the plan. Integer 1, means there will be an actor in the corresponding cell, while 0 means the cell will remain empty. It is guaranteed that there is at least one actor in the plan. Print one integer -- the number of good positions for placing the spotlight. In the first example the following positions are good: Therefore, there are 9 good positions in this example. "...

Tutorials

Technocup 2017 — Elimination Round 2 (and Codeforces Round 380) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
30542580 Glow16 B Sept. 20, 2017, 11:19 a.m. OK Delphi TESTS 72 62 9011200 1300
22348253 Cabpacob B Nov. 20, 2016, 9:35 a.m. OK Delphi TESTS 72 77 1126400 1300
22666055 ab176 B Dec. 2, 2016, 9:05 p.m. OK Delphi TESTS 72 77 3993600 1300
22348084 KillYourself B Nov. 20, 2016, 9:34 a.m. OK Delphi TESTS 72 77 32460800 1300
30580182 GunDone B Sept. 21, 2017, 2:09 p.m. OK Delphi TESTS 72 78 4198400 1300
22345261 Holidin B Nov. 20, 2016, 9:19 a.m. OK Delphi TESTS 72 93 12083200 1300
22348565 Leonid18101999 B Nov. 20, 2016, 9:37 a.m. OK Delphi TESTS 72 108 4096000 1300
22345102 MRedor B Nov. 20, 2016, 9:19 a.m. OK Delphi TESTS 72 108 20070400 1300
22355389 Davletshina_Kamilla B Nov. 20, 2016, 10:25 a.m. OK Delphi TESTS 72 109 4096000 1300
52613584 ruban B April 11, 2019, 5:11 p.m. OK Delphi TESTS 72 124 97587200 1300
33860482 ycc.yennhi B Jan. 2, 2018, 8:58 a.m. OK FPC TESTS 72 109 2560000 1300
33860065 phuocdu20 B Jan. 2, 2018, 8:24 a.m. OK FPC TESTS 72 109 2560000 1300
33860198 sanhlike B Jan. 2, 2018, 8:35 a.m. OK FPC TESTS 72 109 101888000 1300
33860194 Ngocquy B Jan. 2, 2018, 8:35 a.m. OK FPC TESTS 72 124 2560000 1300
33860265 heovip313 B Jan. 2, 2018, 8:41 a.m. OK FPC TESTS 72 124 10649600 1300
41810822 chaorenhaha B Aug. 19, 2018, 2:56 a.m. OK FPC TESTS 72 139 12083200 1300
22388594 alavrov B Nov. 21, 2016, 4:55 p.m. OK FPC TESTS 72 140 1024000 1300
22347841 SergeyRoyt B Nov. 20, 2016, 9:33 a.m. OK FPC TESTS 72 140 1024000 1300
22645963 FunnyGoblin B Dec. 1, 2016, 6:09 p.m. OK FPC TESTS 72 140 3993600 1300
22353205 monc B Nov. 20, 2016, 10:09 a.m. OK FPC TESTS 72 140 3993600 1300
34433956 RccHD B Jan. 22, 2018, 5:56 a.m. OK GNU C TESTS 72 31 1843200 1300
34433112 RccHD B Jan. 22, 2018, 5:21 a.m. OK GNU C TESTS 72 140 5939200 1300
24095900 Zmaster B Jan. 24, 2017, 4:58 p.m. OK GNU C TESTS 72 140 12492800 1300
27206648 LbitPhantom B May 19, 2017, 2:35 a.m. OK GNU C TESTS 72 155 3993600 1300
27311272 CarlosGCA B May 23, 2017, 10:05 p.m. OK GNU C TESTS 72 156 3993600 1300
22930241 AAGROH5066 B Dec. 13, 2016, 3:52 p.m. OK GNU C TESTS 72 156 3993600 1300
22394504 AmantedelaComida B Nov. 22, 2016, 2 a.m. OK GNU C TESTS 72 156 4096000 1300
27202699 bvez B May 18, 2017, 6:28 p.m. OK GNU C TESTS 72 156 7987200 1300
22384080 branimir116 B Nov. 21, 2016, 1:25 p.m. OK GNU C TESTS 72 171 0 1300
26880690 Udit_Maniyar B May 5, 2017, 12:46 p.m. OK GNU C TESTS 72 171 3993600 1300
28326839 zhuml B July 6, 2017, 12:33 p.m. OK GNU C++ TESTS 72 31 14233600 1300
28326708 vjudge1 B July 6, 2017, 12:28 p.m. OK GNU C++ TESTS 72 31 14233600 1300
22350731 dublour3061 B Nov. 20, 2016, 9:51 a.m. OK GNU C++ TESTS 72 46 8192000 1300
25892742 vjudge2 B March 29, 2017, 10:10 a.m. OK GNU C++ TESTS 72 140 2150400 1300
25891912 vjudge1 B March 29, 2017, 9:24 a.m. OK GNU C++ TESTS 72 140 2150400 1300
25271263 MarcoRoZa B March 5, 2017, 6:32 p.m. OK GNU C++ TESTS 72 140 2150400 1300
28326067 vjudge1 B July 6, 2017, 12:01 p.m. OK GNU C++ TESTS 72 140 3072000 1300
27102963 PiscesCrabC B May 14, 2017, 8:16 a.m. OK GNU C++ TESTS 72 140 3891200 1300
22944304 vjudge1 B Dec. 14, 2016, 8:22 a.m. OK GNU C++ TESTS 72 140 3891200 1300
22503977 vjudge5 B Nov. 26, 2016, 8:30 a.m. OK GNU C++ TESTS 72 140 3891200 1300
51940645 marcivanovofearth B March 28, 2019, 2:19 p.m. OK GNU C11 TESTS 72 140 3993600 1300
60813283 kaiboy B Sept. 18, 2019, 6:49 p.m. OK GNU C11 TESTS 72 140 3993600 1300
63958002 MHHasan B Nov. 1, 2019, 3:18 a.m. OK GNU C11 TESTS 72 140 4096000 1300
25892526 vjudge1 B March 29, 2017, 9:58 a.m. OK GNU C11 TESTS 72 140 9932800 1300
25892428 vjudge4 B March 29, 2017, 9:51 a.m. OK GNU C11 TESTS 72 155 9932800 1300
60822079 kaiboy B Sept. 19, 2019, 1:04 a.m. OK GNU C11 TESTS 72 156 16076800 1300
23337438 aditya.todi B Dec. 26, 2016, 10:05 a.m. OK GNU C11 TESTS 72 171 5836800 1300
22399873 sanju1118 B Nov. 22, 2016, 9:27 a.m. OK GNU C11 TESTS 72 202 3993600 1300
40983385 ReaLNero1 B July 30, 2018, 6:50 p.m. OK GNU C++11 TESTS 72 46 0 1300
22420069 Arch0n B Nov. 23, 2016, 9:35 a.m. OK GNU C++11 TESTS 72 46 1126400 1300
22344230 kefaa B Nov. 20, 2016, 9:14 a.m. OK GNU C++11 TESTS 72 46 4096000 1300
22675707 y_shindoh B Dec. 3, 2016, 11:47 a.m. OK GNU C++11 TESTS 72 46 5836800 1300
22344761 Vladik B Nov. 20, 2016, 9:17 a.m. OK GNU C++11 TESTS 72 46 7577600 1300
52492876 zbctd B April 8, 2019, 12:25 p.m. OK GNU C++11 TESTS 72 46 12185600 1300
23226538 akvasha B Dec. 22, 2016, 2:02 p.m. OK GNU C++11 TESTS 72 46 32153600 1300
23226642 akvasha B Dec. 22, 2016, 2:10 p.m. OK GNU C++11 TESTS 72 46 36249600 1300
22492536 chamow B Nov. 25, 2016, 3:39 p.m. OK GNU C++11 TESTS 72 61 7987200 1300
22376075 Jhamra B Nov. 21, 2016, 4:06 a.m. OK GNU C++11 TESTS 72 62 3993600 1300
57461153 GrimReaper42 B July 21, 2019, 1:42 p.m. OK GNU C++14 TESTS 72 62 1126400 1300
28285769 pushpendra1997 B July 4, 2017, 5:01 p.m. OK GNU C++14 TESTS 72 62 2969600 1300
57352783 vishnu_m B July 20, 2019, 4:45 a.m. OK GNU C++14 TESTS 72 124 0 1300
23018992 ayushkmr B Dec. 15, 2016, 9:30 p.m. OK GNU C++14 TESTS 72 124 1024000 1300
30967739 hnam288 B Oct. 3, 2017, 12:56 p.m. OK GNU C++14 TESTS 72 124 4710400 1300
30967650 hnam288 B Oct. 3, 2017, 12:52 p.m. OK GNU C++14 TESTS 72 124 8704000 1300
67165928 Manvendra256 B Dec. 18, 2019, 3:33 p.m. OK GNU C++14 TESTS 72 140 4300800 1300
49166079 codexharsh B Jan. 29, 2019, 4:31 p.m. OK GNU C++14 TESTS 72 140 4300800 1300
26773036 Karasick B April 30, 2017, 6:06 p.m. OK GNU C++14 TESTS 72 140 10137600 1300
38965257 vjudge2 B June 5, 2018, 10:17 a.m. OK GNU C++14 TESTS 72 140 23859200 1300
46387831 robot-dreams B Nov. 30, 2018, 1:54 a.m. OK GNU C++17 TESTS 72 140 307200 1300
58843587 wjli B Aug. 15, 2019, 3:39 a.m. OK GNU C++17 TESTS 72 140 921600 1300
52441855 vjudge5 B April 7, 2019, 6:38 a.m. OK GNU C++17 TESTS 72 140 3993600 1300
67278900 vjudge3 B Dec. 20, 2019, 12:29 p.m. OK GNU C++17 TESTS 72 140 4096000 1300
56073432 mlyean B June 26, 2019, 11:40 a.m. OK GNU C++17 TESTS 72 140 4300800 1300
56389858 skyler7 B July 1, 2019, 12:07 p.m. OK GNU C++17 TESTS 72 140 4300800 1300
57004247 t_swizzle141 B July 14, 2019, 5:46 a.m. OK GNU C++17 TESTS 72 140 4300800 1300
67068914 vjudge5 B Dec. 17, 2019, 12:06 p.m. OK GNU C++17 TESTS 72 140 12083200 1300
52789992 Revenant_ B April 15, 2019, 4:46 p.m. OK GNU C++17 TESTS 72 140 12902400 1300
55653429 mad_i B June 16, 2019, 3:47 p.m. OK GNU C++17 TESTS 72 155 4300800 1300
58036280 Seco_seco B July 30, 2019, 6:07 p.m. OK Java 8 TESTS 72 140 0 1300
26708702 Rwolfx B April 27, 2017, 7:21 p.m. OK Java 8 TESTS 72 140 20582400 1300
28793583 ChippingEye B July 23, 2017, 6:38 a.m. OK Java 8 TESTS 72 140 20684800 1300
22415440 hama-du B Nov. 23, 2016, 3:16 a.m. OK Java 8 TESTS 72 155 0 1300
49396258 rohan03 B Feb. 3, 2019, 12:30 p.m. OK Java 8 TESTS 72 155 17510400 1300
23483616 Aegon B Jan. 1, 2017, 12:55 p.m. OK Java 8 TESTS 72 155 20582400 1300
23845211 cgrunau B Jan. 15, 2017, 3:19 p.m. OK Java 8 TESTS 72 155 20684800 1300
22666584 bobi4597 B Dec. 2, 2016, 10:05 p.m. OK Java 8 TESTS 72 170 0 1300
69279703 Modi_sarkar B Jan. 22, 2020, 5:13 a.m. OK Java 8 TESTS 72 171 0 1300
49345847 sanju98 B Feb. 2, 2019, 5:28 a.m. OK Java 8 TESTS 72 171 0 1300
57321351 sjx233 B July 19, 2019, 10:10 a.m. OK JavaScript TESTS 72 124 11161600 1300
22411062 Noccto B Nov. 22, 2016, 8:47 p.m. OK JavaScript TESTS 72 451 16281600 1300
23023684 JoeBlow B Dec. 16, 2016, 7:01 a.m. OK Kotlin TESTS 72 249 409600 1300
23023064 JoeBlow B Dec. 16, 2016, 6:14 a.m. OK Kotlin TESTS 72 467 1024000 1300
55509513 bubuta B June 12, 2019, 8:40 p.m. OK Mono C# TESTS 72 202 13312000 1300
51895899 nemars B March 27, 2019, 11:32 a.m. OK Mono C# TESTS 72 280 9830400 1300
22385560 artsin666 B Nov. 21, 2016, 2:39 p.m. OK MS C# TESTS 72 124 4300800 1300
22624067 ersul B Nov. 30, 2016, 1:07 p.m. OK MS C# TESTS 72 124 5324800 1300
22347902 basfor2022 B Nov. 20, 2016, 9:33 a.m. OK MS C# TESTS 72 186 15257600 1300
22355593 grandleak B Nov. 20, 2016, 10:27 a.m. OK MS C# TESTS 72 202 8294400 1300
22372517 Sorryforpartyrocking B Nov. 20, 2016, 8:14 p.m. OK MS C# TESTS 72 249 7270400 1300
22359233 igolod B Nov. 20, 2016, 10:55 a.m. OK MS C# TESTS 72 280 11878400 1300
52931787 vjudge5 B April 18, 2019, 3:02 a.m. OK MS C++ TESTS 72 124 3993600 1300
46387742 vjudge2 B Nov. 30, 2018, 1:44 a.m. OK MS C++ TESTS 72 124 3993600 1300
52931806 vjudge5 B April 18, 2019, 3:03 a.m. OK MS C++ TESTS 72 124 3993600 1300
52931825 vjudge2 B April 18, 2019, 3:04 a.m. OK MS C++ TESTS 72 124 3993600 1300
46365052 vjudge2 B Nov. 29, 2018, 12:52 p.m. OK MS C++ TESTS 72 124 4096000 1300
46304906 vjudge2 B Nov. 28, 2018, 9:29 a.m. OK MS C++ TESTS 72 124 4096000 1300
46439524 vjudge2 B Dec. 1, 2018, 11:09 a.m. OK MS C++ TESTS 72 124 4096000 1300
46431832 vjudge3 B Dec. 1, 2018, 6:14 a.m. OK MS C++ TESTS 72 124 4096000 1300
46399278 vjudge5 B Nov. 30, 2018, 11:28 a.m. OK MS C++ TESTS 72 124 4915200 1300
46429723 vjudge3 B Dec. 1, 2018, 4:30 a.m. OK MS C++ TESTS 72 124 12390400 1300
67520830 vjudge1 B Dec. 24, 2019, 12:21 p.m. OK MS C++ 2017 TESTS 72 249 4096000 1300
53934359 Still_Theory B May 9, 2019, 8:28 p.m. OK MS C++ 2017 TESTS 72 545 21094400 1300
23403651 Mahakarma B Dec. 29, 2016, 5:07 p.m. OK Perl TESTS 72 951 3993600 1300
23367740 SendThemToHell B Dec. 27, 2016, 9:50 p.m. OK PyPy 2 TESTS 72 249 30105600 1300
56010992 chaudhary_19 B June 24, 2019, 6:06 p.m. OK PyPy 2 TESTS 72 280 13721600 1300
22616892 nealzane B Nov. 30, 2016, 8:24 a.m. OK PyPy 2 TESTS 72 389 23142400 1300
43513494 soumyasarkar1998 B Sept. 28, 2018, 2:26 a.m. OK PyPy 2 TESTS 72 530 38400000 1300
47389344 yellowflash B Dec. 23, 2018, 7:10 a.m. OK PyPy 3 TESTS 72 374 9420800 1300
65254071 r57shell B Nov. 17, 2019, 12:53 p.m. OK PyPy 3 TESTS 72 421 11366400 1300
51952099 cs1g B March 28, 2019, 9:11 p.m. OK PyPy 3 TESTS 72 452 24883200 1300
50531382 toysheeyeyraku B Feb. 26, 2019, 1:47 p.m. OK PyPy 3 TESTS 72 467 15052800 1300
23367748 SendThemToHell B Dec. 27, 2016, 9:51 p.m. OK PyPy 3 TESTS 72 467 32563200 1300
58825578 teekteek B Aug. 14, 2019, 3:43 p.m. OK PyPy 3 TESTS 72 482 18227200 1300
62955424 scheduler B Oct. 19, 2019, 8:14 p.m. OK PyPy 3 TESTS 72 482 19148800 1300
57877353 a_m_0811 B July 28, 2019, 6:07 a.m. OK PyPy 3 TESTS 72 483 11059200 1300
58492732 sprkgoyal B Aug. 9, 2019, 10:41 a.m. OK PyPy 3 TESTS 72 483 14540800 1300
62379614 arnav_jain1006 B Oct. 11, 2019, 6:35 p.m. OK PyPy 3 TESTS 72 498 11264000 1300
30324009 isgulkov B Sept. 14, 2017, 9:30 a.m. OK Python 2 TESTS 72 670 102400 1300
22368015 kenseen8404 B Nov. 20, 2016, 3:52 p.m. OK Python 3 TESTS 72 311 11468800 1300
22514664 yellow_mango B Nov. 26, 2016, 5:59 p.m. OK Python 3 TESTS 72 358 11571200 1300
22514736 yellow_mango B Nov. 26, 2016, 6:03 p.m. OK Python 3 TESTS 72 436 11366400 1300
22353546 Vassiliev B Nov. 20, 2016, 10:11 a.m. OK Python 3 TESTS 72 483 2867200 1300
31144420 iamlerushka B Oct. 8, 2017, 12:48 p.m. OK Python 3 TESTS 72 483 3276800 1300
32518912 treasuryonly B Nov. 21, 2017, 7:50 a.m. OK Python 3 TESTS 72 499 2969600 1300
22913776 merolish B Dec. 12, 2016, 8:40 p.m. OK Python 3 TESTS 72 514 2150400 1300
29239949 Qumeric B Aug. 6, 2017, 11:31 a.m. OK Python 3 TESTS 72 514 6860800 1300
52528176 vjudge2 B April 9, 2019, 12:23 p.m. OK Python 3 TESTS 72 561 1843200 1300
22348920 Crocus B Nov. 20, 2016, 9:39 a.m. OK Python 3 TESTS 72 577 11776000 1300
22383037 cielavenir B Nov. 21, 2016, 12:36 p.m. OK Ruby TESTS 72 686 15462400 1300
22381293 cielavenir B Nov. 21, 2016, 10:54 a.m. OK Ruby TESTS 72 717 13516800 1300
22498168 reldan B Nov. 25, 2016, 9:42 p.m. OK Scala TESTS 72 577 10137600 1300

remove filters

Back to search problems