Contest 2050 and Codeforces Round 718 (Div. 1 + Div. 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
1517 Contest 2050 and Codeforces Round 718 (Div. 1 + Div. 2) FINISHED False 9900 118164310 April 23, 2021, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 7973 ) D Explorer Space PROGRAMMING dp graphs shortest paths

B'You are wandering in the explorer space of the 2050 Conference. The explorer space can be viewed as an undirected weighted grid graph with size n x m . The set of vertices is {(i, j)|1 <= i <= n, 1 <= j <= m } . Two vertices (i_1,j_1) and (i_2, j_2) are connected by an edge if and only if |i_1-i_2|+|j_1-j_2|=1 . At each step, you can walk to any vertex connected by an edge with your current vertex. On each edge, there are some number of exhibits. Since you already know all the exhibits, whenever you go through an edge containing x exhibits, your boredness increases by x . For each starting vertex (i, j) , please answer the following question: What is the minimum possible boredness if you walk from (i, j) and go back to it after exactly k steps? You can use any edge for multiple times but the boredness on those edges are also counted for multiple times. At each step, you cannot stay on your current vertex. You also cannot change direction while going through an edge. Before going back to your starting vertex (i, j) after k steps, you can visit (i, j) (or not) freely. The first line contains three integers n , m and k ( 2 <= q n, m <= q 500, 1 <= q k <= q 20 ). The j -th number ( 1 <= j <= m - 1 ) in the i -th line of the following n lines is the number of exibits on the edge between vertex (i, j) and vertex (i, j+1) . The j -th number ( 1 <= j <= m ) in the i -th line of the following n-1 lines is the number of exibits on the edge between vertex (i, j) and vertex (i+1, j) . The number of exhibits on each edge is an integer between 1 and 10^6 . Output n lines with m numbers each. The j -th number in the i -th line, answer_{ij} , should be the minimum possible boredness if you walk from (i, j) and go back to it after exactly k steps. If you cannot go ba'...

Tutorials

Contest 2050 and Codeforces Round #718 (Div.1 + Div.2) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
114040789 Gassa D April 23, 2021, 5:13 p.m. OK D TESTS 24 327 13721600
114037441 ruban D April 23, 2021, 4:58 p.m. OK Delphi TESTS 24 358 102195200
114047537 Luca D April 23, 2021, 6:23 p.m. OK GNU C11 TESTS 26 155 13516800
114047303 ThiagoMM D April 23, 2021, 6:19 p.m. OK GNU C11 TESTS 26 202 13516800
114059566 rainboy D April 23, 2021, 9:56 p.m. OK GNU C11 TESTS 26 998 3993600
114047382 Luca D April 23, 2021, 6:21 p.m. OK GNU C11 TESTS 26 1014 13516800
114047028 Luca D April 23, 2021, 6:15 p.m. OK GNU C11 TESTS 26 1029 13516800
114044104 Luca D April 23, 2021, 5:47 p.m. OK GNU C11 TESTS 25 1029 13516800
114044809 Luca D April 23, 2021, 5:54 p.m. OK GNU C11 TESTS 25 1044 13516800
114059333 rainboy D April 23, 2021, 9:50 p.m. OK GNU C11 TESTS 26 1653 2969600
114065483 Mr_Eight D April 24, 2021, 1:39 a.m. OK GNU C++11 TESTS 26 93 13209600
114029780 tiangua D April 23, 2021, 4:25 p.m. OK GNU C++11 TESTS 24 108 23961600
114068348 jsz666 D April 24, 2021, 3:03 a.m. OK GNU C++11 TESTS 26 109 15052800
114063284 et3_tsy D April 24, 2021, 12:09 a.m. OK GNU C++11 TESTS 26 139 16384000
114029887 huangxubin D April 23, 2021, 4:26 p.m. OK GNU C++11 TESTS 24 140 14643200
114066043 C20200522 D April 24, 2021, 1:57 a.m. OK GNU C++11 TESTS 26 140 17408000
114035298 myx12345 D April 23, 2021, 4:48 p.m. OK GNU C++11 TESTS 24 140 29696000
114029880 chiyo D April 23, 2021, 4:26 p.m. OK GNU C++11 TESTS 24 155 15360000
114049141 MQFLLY D April 23, 2021, 6:47 p.m. OK GNU C++11 TESTS 26 156 4300800
114065794 1443356159 final_trump RPChe_ D April 24, 2021, 1:49 a.m. OK GNU C++11 TESTS 26 156 29696000
114036733 SidneyMars D April 23, 2021, 4:55 p.m. OK GNU C++14 TESTS 24 171 4198400
114070555 tbzard D April 24, 2021, 3:53 a.m. OK GNU C++14 TESTS 26 186 17408000
114065786 SF-Manman D April 24, 2021, 1:49 a.m. OK GNU C++14 TESTS 26 187 4096000
114046614 playf D April 23, 2021, 6:11 p.m. OK GNU C++14 TESTS 26 187 13312000
114037872 abstract1 D April 23, 2021, 5 p.m. OK GNU C++14 TESTS 24 202 4300800
114039027 MaxXxym D April 23, 2021, 5:05 p.m. OK GNU C++14 TESTS 24 202 4403200
114032044 sain2801 D April 23, 2021, 4:34 p.m. OK GNU C++14 TESTS 24 202 4505600
114066298 juno_cu D April 24, 2021, 2:05 a.m. OK GNU C++14 TESTS 26 202 15052800
114065264 lost_boy20 D April 24, 2021, 1:31 a.m. OK GNU C++14 TESTS 26 202 15052800
114046589 playf D April 23, 2021, 6:10 p.m. OK GNU C++14 TESTS 26 202 16076800
114056425 zucyo05 D April 23, 2021, 8:47 p.m. OK GNU C++17 TESTS 26 78 6246400
114032725 kal013 D April 23, 2021, 4:37 p.m. OK GNU C++17 TESTS 24 124 5734400
114035406 Aur_Batao D April 23, 2021, 4:49 p.m. OK GNU C++17 TESTS 24 155 4300800
114057549 AhmetAla D April 23, 2021, 9:09 p.m. OK GNU C++17 TESTS 26 171 13312000
114033657 Akshatvj D April 23, 2021, 4:41 p.m. OK GNU C++17 TESTS 24 186 3993600
114035174 neo11235 D April 23, 2021, 4:48 p.m. OK GNU C++17 TESTS 24 186 3993600
114047052 IshtiaQ99 D April 23, 2021, 6:15 p.m. OK GNU C++17 TESTS 26 186 15360000
114046568 playf D April 23, 2021, 6:10 p.m. OK GNU C++17 TESTS 26 186 16076800
114031958 bernardo_amorim D April 23, 2021, 4:34 p.m. OK GNU C++17 TESTS 24 186 24985600
114047913 sanchit24 D April 23, 2021, 6:30 p.m. OK GNU C++17 TESTS 26 187 3993600
114065559 zjjws D April 24, 2021, 1:41 a.m. OK GNU C++17 (64) TESTS 26 124 6246400
114059576 rainboy D April 23, 2021, 9:57 p.m. OK GNU C++17 (64) TESTS 26 140 3891200
114065593 Lavine D April 24, 2021, 1:42 a.m. OK GNU C++17 (64) TESTS 26 140 4403200
114073346 sayanmedya D April 24, 2021, 4:47 a.m. OK GNU C++17 (64) TESTS 26 140 13004800
114045202 outline D April 23, 2021, 5:57 p.m. OK GNU C++17 (64) TESTS 26 155 4505600
114032417 ColobocCodeforces D April 23, 2021, 4:36 p.m. OK GNU C++17 (64) TESTS 24 155 8704000
114061431 morty D April 23, 2021, 10:55 p.m. OK GNU C++17 (64) TESTS 26 155 26624000
114043901 Ermachkov.Yaroslav D April 23, 2021, 5:46 p.m. OK GNU C++17 (64) TESTS 25 155 63078400
114044742 twoslowaf D April 23, 2021, 5:53 p.m. OK GNU C++17 (64) TESTS 25 156 7680000
114033102 StickBuerak D April 23, 2021, 4:39 p.m. OK GNU C++17 (64) TESTS 24 156 13414400
114072748 0x3F D April 24, 2021, 4:36 a.m. OK Go TESTS 26 623 41676800
114030116 insert_cool_handle D April 23, 2021, 4:27 p.m. OK Java 11 TESTS 24 327 12902400
114064151 mbfeci D April 24, 2021, 12:46 a.m. OK Java 11 TESTS 26 343 921600
114068340 142 D April 24, 2021, 3:02 a.m. OK Java 11 TESTS 26 358 0
114034833 soumit915 D April 23, 2021, 4:46 p.m. OK Java 11 TESTS 24 389 44646400
114044734 hulk_man D April 23, 2021, 5:53 p.m. OK Java 11 TESTS 25 452 40140800
114032070 nick_301 D April 23, 2021, 4:34 p.m. OK Java 11 TESTS 24 514 19148800
114035459 vishu1999 D April 23, 2021, 4:49 p.m. OK Java 11 TESTS 24 514 42598400
114060172 bittubittu D April 23, 2021, 10:13 p.m. OK Java 11 TESTS 26 529 19660800
114031990 Ste D April 23, 2021, 4:34 p.m. OK Java 11 TESTS 24 530 42496000
114029789 natonato D April 23, 2021, 4:26 p.m. OK Java 11 TESTS 24 561 41984000
114056146 hu_tao D April 23, 2021, 8:42 p.m. OK Java 8 TESTS 26 217 3686400
114073389 _robindhankhar D April 24, 2021, 4:48 a.m. OK Java 8 TESTS 26 280 0
114063673 tiwariabhishek D April 24, 2021, 12:27 a.m. OK Java 8 TESTS 26 295 11673600
114032677 Agnimandur D April 23, 2021, 4:37 p.m. OK Java 8 TESTS 24 296 0
114046254 LiandrysAnguish D April 23, 2021, 6:07 p.m. OK Java 8 TESTS 26 342 17203200
114048677 Abdallah_Ragab00 D April 23, 2021, 6:40 p.m. OK Java 8 TESTS 26 358 4915200
114049366 Abdallah_Ragab00 D April 23, 2021, 6:50 p.m. OK Java 8 TESTS 26 358 4915200
114046689 Lynny D April 23, 2021, 6:11 p.m. OK Java 8 TESTS 26 421 18841600
114053652 honeysingh18 D April 23, 2021, 8:02 p.m. OK Java 8 TESTS 26 499 41267200
114033405 Whiplash99 D April 23, 2021, 4:40 p.m. OK Java 8 TESTS 24 654 78336000
114058031 stopthecount D April 23, 2021, 9:19 p.m. OK Kotlin TESTS 26 358 24371200
114056472 koper D April 23, 2021, 8:48 p.m. OK Kotlin TESTS 26 467 38604800
114064495 icecomet D April 24, 2021, 1:02 a.m. OK MS C++ 2017 TESTS 26 498 69427200
114039507 yur_ka D April 23, 2021, 5:07 p.m. OK MS C++ 2017 TESTS 24 561 4300800
114038839 tbalint57 D April 23, 2021, 5:04 p.m. OK MS C++ 2017 TESTS 24 607 7577600
114041009 Myao D April 23, 2021, 5:14 p.m. OK MS C++ 2017 TESTS 24 623 36044800
114065545 qing_lin D April 24, 2021, 1:41 a.m. OK MS C++ 2017 TESTS 26 639 13312000
114041525 uttfuczmuo D April 23, 2021, 5:16 p.m. OK MS C++ 2017 TESTS 24 686 23552000
114031815 fitisovartyom123 D April 23, 2021, 4:33 p.m. OK MS C++ 2017 TESTS 24 748 31948800
114048500 fairy_lettuce D April 23, 2021, 6:38 p.m. OK .NET Core C# TESTS 26 233 43315200
114071882 sakapon D April 24, 2021, 4:20 a.m. OK .NET Core C# TESTS 26 280 30617600
114069538 sakapon D April 24, 2021, 3:32 a.m. OK .NET Core C# TESTS 26 295 29798400
114051209 CLown1331 D April 23, 2021, 7:21 p.m. OK .NET Core C# TESTS 26 436 55398400
114034961 Mukundan314 D April 23, 2021, 4:47 p.m. OK PyPy 2 TESTS 24 623 23552000
114068771 dolphinigle D April 24, 2021, 3:14 a.m. OK PyPy 2 TESTS 26 1060 53760000
114069067 dolphinigle D April 24, 2021, 3:21 a.m. OK PyPy 2 TESTS 26 1200 65740800
114068852 dolphinigle D April 24, 2021, 3:16 a.m. OK PyPy 2 TESTS 26 1231 66662400
114068992 dolphinigle D April 24, 2021, 3:19 a.m. OK PyPy 2 TESTS 26 1809 67481600
114068249 dolphinigle D April 24, 2021, 3 a.m. OK PyPy 2 TESTS 26 1887 90112000
114068323 dolphinigle D April 24, 2021, 3:02 a.m. OK PyPy 2 TESTS 26 1918 70348800
114047457 FlakeLCR D April 23, 2021, 6:22 p.m. OK PyPy 3 TESTS 26 514 27750400
114042414 agarus D April 23, 2021, 5:19 p.m. OK PyPy 3 TESTS 24 608 15360000
114032802 silentone D April 23, 2021, 4:37 p.m. OK PyPy 3 TESTS 24 623 27852800
114072940 Melmetal D April 24, 2021, 4:40 a.m. OK PyPy 3 TESTS 26 639 32563200
114044566 yuusanlondon D April 23, 2021, 5:52 p.m. OK PyPy 3 TESTS 25 654 47616000
114072890 Melmetal D April 24, 2021, 4:39 a.m. OK PyPy 3 TESTS 26 810 33382400
114042303 mikasaloveseren D April 23, 2021, 5:19 p.m. OK PyPy 3 TESTS 24 888 31948800
114046733 Genius3435 D April 23, 2021, 6:12 p.m. OK PyPy 3 TESTS 26 889 20787200
114030070 eepsilon D April 23, 2021, 4:27 p.m. OK PyPy 3 TESTS 24 920 18022400
114036413 mrchair2170 D April 23, 2021, 4:53 p.m. OK PyPy 3 TESTS 24 935 12800000
114043999 toomer D April 23, 2021, 5:47 p.m. OK Rust TESTS 25 187 14745600
114038003 professor-flux D April 23, 2021, 5 p.m. OK Rust TESTS 24 295 36147200
114029491 GraphTheory D April 23, 2021, 4:24 p.m. OK Rust TESTS 24 842 65638400

remove filters

Back to search problems