Codeforces Round 632 (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
1333 Codeforces Round 632 (Div. 2) FINISHED False 7200 150823463 April 8, 2020, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1711 ) E Road to 1600 PROGRAMMING brute force constructive algorithms

B"Egor wants to achieve a rating of 1600 points on the well-known chess portal ChessForces and he needs your help! Before you start solving the problem, Egor wants to remind you how the chess pieces move. Chess rook moves along straight lines up and down, left and right, as many squares as it wants. And when it wants, it can stop. The queen walks in all directions vertically and diagonally at any distance. You can see the examples below. To reach the goal, Egor should research the next topic: There is an N x N board. Each cell of the board has a number from 1 to N ^ 2 in it and numbers in all cells are distinct. In the beginning, some chess figure stands in the cell with the number 1 . Note that this cell is already considered as visited. After that every move is determined by the following rules: Egor should find an N x N board on which the rook pays strictly less vuns than the queen during the round with this numbering. Help him to find such N x N numbered board, or tell that it doesn't exist. The only line contains one integer N -- the size of the board, 1 <= N <= 500 . The output should contain N lines. In i -th line output N numbers -- numbers on the i -th row of the board. All numbers from 1 to N x N must be used exactly once. On your board rook must pay strictly less vuns than the queen. If there are no solutions, print -1 . If there are several solutions, you can output any of them. In case we have 1 x 1 board, both rook and queen do not have a chance to pay fees. In second sample rook goes through cells 1 to 3 to 4 to 6 to 9 to 5 to 7 to 13 to 2 to 8 to 16 to 11 to 10 to 12 to 15 to textbf{(1 vun)} to 14 . Queen goes through 1 to 3 to 4 to 2 to 5 to 6 to 9 to 7 to 13 to 8 to 11 to 10 to 12 to 15 to textbf{(1 vun)} to 14 to textbf{(1 vun)} to 16 . As a result rook pays 1 vun and qu"...

Tutorials

Codeforces Round #632 (Div. 2) editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
75926653 ruban E April 8, 2020, 7:53 p.m. OK Delphi TESTS 110 78 32153600
75922373 rainboy E April 8, 2020, 7 p.m. OK GNU C11 TESTS 110 826 1024000
75948294 2018liuzhiyuan E April 9, 2020, 4:03 a.m. OK GNU C++11 TESTS 110 31 1331200
75962454 2018liuzhiyuan E April 9, 2020, 7:21 a.m. OK GNU C++11 TESTS 110 46 1024000
75944911 xh092113 E April 9, 2020, 2:52 a.m. OK GNU C++11 TESTS 110 46 1228800
75962803 dysyn1314 E April 9, 2020, 7:24 a.m. OK GNU C++11 TESTS 110 46 3379200
75973227 danya090699 E April 9, 2020, 9:23 a.m. OK GNU C++11 TESTS 110 61 1024000
75927903 cugel E April 8, 2020, 8:10 p.m. OK GNU C++11 TESTS 110 62 819200
76062641 Flamire E April 10, 2020, 6:51 a.m. OK GNU C++11 TESTS 110 62 819200
76058862 Hongzy E April 10, 2020, 5:55 a.m. OK GNU C++11 TESTS 110 62 819200
75977699 DepletedPrism E April 9, 2020, 10:15 a.m. OK GNU C++11 TESTS 110 62 819200
75999676 BelowLuminous E April 9, 2020, 2:13 p.m. OK GNU C++11 TESTS 110 62 921600
75964348 MediationalField E April 9, 2020, 7:41 a.m. OK GNU C++14 TESTS 110 46 1024000
75936376 m.mahdi2414 E April 8, 2020, 11 p.m. OK GNU C++14 TESTS 110 46 1024000
75929350 linesekarenge E April 8, 2020, 8:32 p.m. OK GNU C++14 TESTS 110 46 1024000
75988492 jindaliuzi E April 9, 2020, 12:17 p.m. OK GNU C++14 TESTS 110 46 1024000
75915972 Zoli9 E April 8, 2020, 6:07 p.m. OK GNU C++14 TESTS 110 46 1228800
76320627 knifeman E April 12, 2020, 11:37 a.m. OK GNU C++14 TESTS 110 61 1024000
76211793 manuel30 E April 10, 2020, 8:15 p.m. OK GNU C++14 TESTS 110 61 1024000
76097233 777777777Plus E April 10, 2020, 2 p.m. OK GNU C++14 TESTS 110 61 1024000
76081871 stefantaga E April 10, 2020, 11:09 a.m. OK GNU C++14 TESTS 110 61 1024000
76323018 _grand E April 12, 2020, 12:13 p.m. OK GNU C++14 TESTS 110 61 1024000
76035866 vivace_jr E April 9, 2020, 8:17 p.m. OK GNU C++17 TESTS 110 46 1024000
75968560 atodo E April 9, 2020, 8:30 a.m. OK GNU C++17 TESTS 110 46 1024000
75952809 TAISA_ E April 9, 2020, 5:24 a.m. OK GNU C++17 TESTS 110 46 1024000
75945947 zerotrac E April 9, 2020, 3:15 a.m. OK GNU C++17 TESTS 110 46 1024000
76053353 SnipErrr E April 10, 2020, 4:02 a.m. OK GNU C++17 TESTS 110 46 1024000
76281419 zzidun E April 12, 2020, 3:26 a.m. OK GNU C++17 TESTS 110 46 1126400
76048275 rures E April 10, 2020, 1:44 a.m. OK GNU C++17 TESTS 110 46 1433600
76032138 Anji E April 9, 2020, 7:25 p.m. OK GNU C++17 TESTS 110 46 1433600
75911541 SSRS_ E April 8, 2020, 4:34 p.m. OK GNU C++17 TESTS 110 61 0
76273371 njwrz E April 11, 2020, 11:41 p.m. OK GNU C++17 TESTS 110 61 1024000
75909939 KasugaAyumu E April 8, 2020, 4:31 p.m. OK GNU C++17 (64) TESTS 110 46 1024000
76138160 ddtd E April 10, 2020, 3:12 p.m. OK GNU C++17 (64) TESTS 110 46 1024000
76098278 erray E April 10, 2020, 2:10 p.m. OK GNU C++17 (64) TESTS 110 46 1024000
76004181 Phortox E April 9, 2020, 2:55 p.m. OK GNU C++17 (64) TESTS 110 46 1024000
75950956 WGree E April 9, 2020, 4:55 a.m. OK GNU C++17 (64) TESTS 110 46 1024000
75935817 timf1089 E April 8, 2020, 10:44 p.m. OK GNU C++17 (64) TESTS 110 46 1024000
75921459 Vax E April 8, 2020, 6:51 p.m. OK GNU C++17 (64) TESTS 110 46 1024000
75919181 znirzej E April 8, 2020, 6:31 p.m. OK GNU C++17 (64) TESTS 110 46 1024000
75915693 collares E April 8, 2020, 6:06 p.m. OK GNU C++17 (64) TESTS 110 46 1024000
76062021 okura E April 10, 2020, 6:42 a.m. OK GNU C++17 (64) TESTS 110 46 1126400
76067857 avijit_agarwal E April 10, 2020, 8:04 a.m. OK Java 11 TESTS 110 202 0
76068043 avijit_agarwal E April 10, 2020, 8:06 a.m. OK Java 11 TESTS 110 217 0
75917662 Anithas_love_for_tries E April 8, 2020, 6:19 p.m. OK Java 11 TESTS 110 248 0
75917799 TheDarBear E April 8, 2020, 6:20 p.m. OK Java 11 TESTS 110 982 0
75950552 14visheshjain E April 9, 2020, 4:48 a.m. OK Java 11 TESTS 110 997 0
75985647 foumani E April 9, 2020, 11:46 a.m. OK Java 11 TESTS 110 998 0
75934493 procrastinate7 E April 8, 2020, 10:11 p.m. OK Java 8 TESTS 110 140 0
75930960 Oopsimbad E April 8, 2020, 8:58 p.m. OK Java 8 TESTS 110 155 0
76031191 asafiul E April 9, 2020, 7:12 p.m. OK Java 8 TESTS 110 155 0
75950802 PizzaLovers007 E April 9, 2020, 4:53 a.m. OK Java 8 TESTS 110 155 0
76285429 Sharon E April 12, 2020, 4:43 a.m. OK Java 8 TESTS 110 156 0
76019472 NatInTheHat E April 9, 2020, 5:13 p.m. OK Java 8 TESTS 110 171 0
75923089 DarLam E April 8, 2020, 7:08 p.m. OK Java 8 TESTS 110 187 0
76433431 dg2004 E April 12, 2020, 10:13 p.m. OK Java 8 TESTS 110 904 0
75928857 jonas.havelka.42 E April 8, 2020, 8:24 p.m. OK Kotlin TESTS 110 186 204800
75916842 Sugimoto E April 8, 2020, 6:11 p.m. OK Kotlin TESTS 110 217 13107200
75904953 camypaper E April 8, 2020, 4:22 p.m. OK Mono C# TESTS 110 108 8192000
75968444 wp32pw E April 9, 2020, 8:28 a.m. OK MS C++ 2017 TESTS 110 155 1126400
75973495 SendThemToHell E April 9, 2020, 9:26 a.m. OK MS C++ 2017 TESTS 110 156 1024000
75994292 vjudge2 E April 9, 2020, 1:20 p.m. OK MS C++ 2017 TESTS 110 156 1024000
75918625 Flkanjin E April 8, 2020, 6:27 p.m. OK MS C++ 2017 TESTS 110 156 1126400
75915982 Flkanjin E April 8, 2020, 6:07 p.m. OK MS C++ 2017 TESTS 110 171 1126400
75906748 grey E April 8, 2020, 4:25 p.m. OK MS C++ 2017 TESTS 110 171 2150400
76011642 lethehaiau E April 9, 2020, 4:05 p.m. OK Node.js TESTS 110 218 23244800
75916039 pajenegod E April 8, 2020, 6:07 p.m. OK PyPy 2 TESTS 110 156 8396800
75908531 marko312 E April 8, 2020, 4:29 p.m. OK PyPy 3 TESTS 110 265 4812800
75977844 MAO1112 E April 9, 2020, 10:17 a.m. OK PyPy 3 TESTS 110 265 8704000
76048920 NocturneBflat E April 10, 2020, 2:05 a.m. OK PyPy 3 TESTS 110 280 4096000
75937966 conqueror_of_tourist E April 8, 2020, 11:51 p.m. OK PyPy 3 TESTS 110 280 4300800
75917339 nagiss E April 8, 2020, 6:16 p.m. OK PyPy 3 TESTS 110 280 4915200
76068251 anagohirame E April 10, 2020, 8:09 a.m. OK PyPy 3 TESTS 110 311 9523200
75921043 zgonnikov E April 8, 2020, 6:47 p.m. OK PyPy 3 TESTS 110 327 9728000
76029845 FireBird23 E April 9, 2020, 6:55 p.m. OK PyPy 3 TESTS 110 358 9728000
75902475 goodred E April 8, 2020, 4:16 p.m. OK PyPy 3 TESTS 110 421 10240000
76079771 ComptineDunAutreEte E April 10, 2020, 10:42 a.m. OK Python 2 TESTS 110 327 5017600
75901809 minkythepenguin E April 8, 2020, 4:15 p.m. OK Python 3 TESTS 110 529 307200
75951692 RaDaDiYaMoHiT E April 9, 2020, 5:07 a.m. OK Python 3 TESTS 110 561 7168000

remove filters

Back to search problems