Codeforces Round 691 (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
1459 Codeforces Round 691 (Div. 2) FINISHED False 7200 128982311 Dec. 19, 2020, 9:35 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 15420 ) B Move and Turn PROGRAMMING dp math

B'A robot is standing at the origin of the infinite two-dimensional plane. Each second the robot moves exactly 1 meter in one of the four cardinal directions: north, south, west, and east. For the first step the robot can choose any of the four directions, but then at the end of every second it has to turn 90 degrees left or right with respect to the direction it just moved in. For example, if the robot has just moved north or south, the next step it takes has to be either west or east, and vice versa. The robot makes exactly n steps from its starting position according to the rules above. How many different points can the robot arrive to at the end? The final orientation of the robot can be ignored. The only line contains a single integer n ( 1 <= q n <= q 1000 ) -- the number of steps the robot makes. Print a single integer -- the number of different possible locations after exactly n steps. In the first sample case, the robot will end up 1 meter north, south, west, or east depending on its initial direction. In the second sample case, the robot will always end up sqrt{2} meters north-west, north-east, south-west, or south-east. '...

Tutorials

Codeforces Round #691 Editorial (finished)

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
101779818 ruban B Dec. 19, 2020, 2:41 p.m. OK Delphi TESTS 18 46 8806400
101779983 ruban B Dec. 19, 2020, 2:44 p.m. OK Delphi TESTS 18 46 8806400
101813325 sudheer1 B Dec. 20, 2020, 2:45 a.m. OK GNU C11 TESTS 18 15 0
101755470 AU-biu-biu B Dec. 19, 2020, 11:04 a.m. OK GNU C11 TESTS 18 30 0
101764967 _Paradise_ B Dec. 19, 2020, 11:31 a.m. OK GNU C11 TESTS 18 30 0
101764985 an_andhbhakt B Dec. 19, 2020, 11:31 a.m. OK GNU C11 TESTS 18 31 0
101765717 hyyyyy B Dec. 19, 2020, 11:33 a.m. OK GNU C11 TESTS 18 31 0
101813920 C111111 B Dec. 20, 2020, 3:08 a.m. OK GNU C11 TESTS 18 31 0
101765071 Para_normal B Dec. 19, 2020, 11:31 a.m. OK GNU C11 TESTS 18 31 0
101769770 dongmaoqiang B Dec. 19, 2020, 12:28 p.m. OK GNU C11 TESTS 18 31 0
101798887 interesting_algo. B Dec. 19, 2020, 6:59 p.m. OK GNU C11 TESTS 18 31 0
101809284 SeongMenJeon B Dec. 19, 2020, 11:49 p.m. OK GNU C11 TESTS 18 31 0
101770986 EricQian B Dec. 19, 2020, 12:40 p.m. OK GNU C++11 TESTS 18 15 0
101818343 HUNTERman B Dec. 20, 2020, 5:13 a.m. OK GNU C++11 TESTS 18 15 0
101814192 dutouyvluori B Dec. 20, 2020, 3:18 a.m. OK GNU C++11 TESTS 18 15 0
101813150 Piwry B Dec. 20, 2020, 2:38 a.m. OK GNU C++11 TESTS 18 15 0
101791522 548163 B Dec. 19, 2020, 5:17 p.m. OK GNU C++11 TESTS 18 15 0
101791288 z-bb B Dec. 19, 2020, 5:14 p.m. OK GNU C++11 TESTS 18 15 0
101779265 20010816feng B Dec. 19, 2020, 2:31 p.m. OK GNU C++11 TESTS 18 15 0
101776986 bismitpht2000 B Dec. 19, 2020, 1:51 p.m. OK GNU C++11 TESTS 18 15 0
101770713 Pizzay B Dec. 19, 2020, 12:38 p.m. OK GNU C++11 TESTS 18 15 0
101765520 guichen B Dec. 19, 2020, 11:32 a.m. OK GNU C++11 TESTS 18 15 0
101756864 sharmaharisam B Dec. 19, 2020, 11:08 a.m. OK GNU C++14 TESTS 18 15 0
101770276 prashantcod456 B Dec. 19, 2020, 12:33 p.m. OK GNU C++14 TESTS 18 15 0
101786295 thnhan2005 B Dec. 19, 2020, 4:15 p.m. OK GNU C++14 TESTS 18 30 0
101788207 vjudge1 B Dec. 19, 2020, 4:38 p.m. OK GNU C++14 TESTS 18 30 0
101809235 PROD B Dec. 19, 2020, 11:46 p.m. OK GNU C++14 TESTS 18 30 0
101807452 invincible_M15 B Dec. 19, 2020, 10:15 p.m. OK GNU C++14 TESTS 18 30 0
101820114 kashiza B Dec. 20, 2020, 5:48 a.m. OK GNU C++14 TESTS 18 30 0
101820873 deba98 B Dec. 20, 2020, 6:02 a.m. OK GNU C++14 TESTS 18 30 0
101817388 f20190635 B Dec. 20, 2020, 4:52 a.m. OK GNU C++14 TESTS 18 30 0
101792516 pranavsindura B Dec. 19, 2020, 5:29 p.m. OK GNU C++14 TESTS 18 30 0
101766356 FashionSE B Dec. 19, 2020, 11:34 a.m. OK GNU C++17 TESTS 18 15 0
101758506 Nokismet B Dec. 19, 2020, 11:13 a.m. OK GNU C++17 TESTS 18 15 0
101757867 ritikgupta28 B Dec. 19, 2020, 11:11 a.m. OK GNU C++17 TESTS 18 15 0
101755562 Xetnys_Rorre B Dec. 19, 2020, 11:04 a.m. OK GNU C++17 TESTS 18 15 0
101771083 vermakartik20 B Dec. 19, 2020, 12:41 p.m. OK GNU C++17 TESTS 18 15 0
101761019 sAksham-Ar B Dec. 19, 2020, 11:20 a.m. OK GNU C++17 TESTS 18 15 0
101807441 RitikBaid B Dec. 19, 2020, 10:14 p.m. OK GNU C++17 TESTS 18 15 0
101783828 AlexMari B Dec. 19, 2020, 3:45 p.m. OK GNU C++17 TESTS 18 15 0
101765709 codeforces_judge B Dec. 19, 2020, 11:33 a.m. OK GNU C++17 TESTS 18 15 3174400
101820468 kumnahi B Dec. 20, 2020, 5:55 a.m. OK GNU C++17 TESTS 18 30 0
101808065 timf1089 B Dec. 19, 2020, 10:47 p.m. OK GNU C++17 (64) TESTS 18 15 0
101820505 Pedestrian1 B Dec. 20, 2020, 5:56 a.m. OK GNU C++17 (64) TESTS 18 15 0
101818817 scnucjh B Dec. 20, 2020, 5:22 a.m. OK GNU C++17 (64) TESTS 18 15 0
101816186 NooB_MB B Dec. 20, 2020, 4:18 a.m. OK GNU C++17 (64) TESTS 18 15 0
101792077 akshatarun17 B Dec. 19, 2020, 5:23 p.m. OK GNU C++17 (64) TESTS 18 15 0
101791282 Ari B Dec. 19, 2020, 5:14 p.m. OK GNU C++17 (64) TESTS 18 15 0
101788185 mahbubhasanmht B Dec. 19, 2020, 4:38 p.m. OK GNU C++17 (64) TESTS 18 15 0
101787494 jeaf_dean B Dec. 19, 2020, 4:30 p.m. OK GNU C++17 (64) TESTS 18 15 0
101778020 idgaf_99 B Dec. 19, 2020, 2:08 p.m. OK GNU C++17 (64) TESTS 18 15 0
101768743 Geothermal B Dec. 19, 2020, 12:19 p.m. OK GNU C++17 (64) TESTS 18 15 0
101814939 lfer B Dec. 20, 2020, 3:41 a.m. OK Go TESTS 18 46 102400
101817363 ricky8233 B Dec. 20, 2020, 4:51 a.m. OK Java 11 TESTS 18 170 0
101814325 Prince_Nandha B Dec. 20, 2020, 3:22 a.m. OK Java 11 TESTS 18 171 0
101816402 Arjun_Zaraki B Dec. 20, 2020, 4:24 a.m. OK Java 11 TESTS 18 171 0
101775409 Codeispower B Dec. 19, 2020, 1:28 p.m. OK Java 11 TESTS 18 171 0
101771519 DetoAce B Dec. 19, 2020, 12:46 p.m. OK Java 11 TESTS 18 171 0
101771466 DetoAce B Dec. 19, 2020, 12:45 p.m. OK Java 11 TESTS 18 171 0
101771034 zhkvn B Dec. 19, 2020, 12:41 p.m. OK Java 11 TESTS 18 171 0
101769519 gssakash B Dec. 19, 2020, 12:26 p.m. OK Java 11 TESTS 18 171 0
101761271 JHZhou B Dec. 19, 2020, 11:21 a.m. OK Java 11 TESTS 18 171 0
101759739 tirtho2107 B Dec. 19, 2020, 11:17 a.m. OK Java 11 TESTS 18 171 0
101808491 sushant-kun B Dec. 19, 2020, 11:07 p.m. OK Java 8 TESTS 18 108 0
101770154 ronitchopda14 B Dec. 19, 2020, 12:32 p.m. OK Java 8 TESTS 18 108 0
101798092 Dhananjay.07 B Dec. 19, 2020, 6:45 p.m. OK Java 8 TESTS 18 108 0
101766419 kingash101 B Dec. 19, 2020, 11:34 a.m. OK Java 8 TESTS 18 109 0
101789522 DemonSlayer18 B Dec. 19, 2020, 4:53 p.m. OK Java 8 TESTS 18 109 0
101781220 rdsaurabh97 B Dec. 19, 2020, 3:05 p.m. OK Java 8 TESTS 18 109 0
101770576 lindsey-nihao B Dec. 19, 2020, 12:36 p.m. OK Java 8 TESTS 18 109 0
101816411 Bodz204 B Dec. 20, 2020, 4:24 a.m. OK Java 8 TESTS 18 109 0
101800369 vishu03 B Dec. 19, 2020, 7:24 p.m. OK Java 8 TESTS 18 109 0
101789726 sudhanshu_lucky B Dec. 19, 2020, 4:55 p.m. OK Java 8 TESTS 18 109 0
101774103 Spheniscine B Dec. 19, 2020, 1:14 p.m. OK Kotlin TESTS 18 109 0
101802105 koper B Dec. 19, 2020, 7:56 p.m. OK Kotlin TESTS 18 109 0
101804042 b0bl0blaw B Dec. 19, 2020, 8:37 p.m. OK Kotlin TESTS 18 124 0
101765216 1bin B Dec. 19, 2020, 11:32 a.m. OK MS C++ 2017 TESTS 18 31 0
101756586 huanyue1111 B Dec. 19, 2020, 11:07 a.m. OK MS C++ 2017 TESTS 18 31 0
101762026 zoomzyl B Dec. 19, 2020, 11:23 a.m. OK MS C++ 2017 TESTS 18 31 0
101809160 OMgL B Dec. 19, 2020, 11:41 p.m. OK MS C++ 2017 TESTS 18 31 0
101806466 Myao B Dec. 19, 2020, 9:38 p.m. OK MS C++ 2017 TESTS 18 31 0
101790056 ustaritz B Dec. 19, 2020, 4:59 p.m. OK MS C++ 2017 TESTS 18 31 0
101785582 gever_gever B Dec. 19, 2020, 4:06 p.m. OK MS C++ 2017 TESTS 18 31 0
101781832 Praveensen B Dec. 19, 2020, 3:15 p.m. OK MS C++ 2017 TESTS 18 31 0
101759878 g-point B Dec. 19, 2020, 11:17 a.m. OK MS C++ 2017 TESTS 18 31 4198400
101777015 winjun B Dec. 19, 2020, 1:51 p.m. OK MS C++ 2017 TESTS 18 46 0
101759464 orloffm B Dec. 19, 2020, 11:16 a.m. OK .NET Core C# TESTS 18 93 0
101796054 mban259 B Dec. 19, 2020, 6:16 p.m. OK .NET Core C# TESTS 18 93 102400
101784159 ravinem1 B Dec. 19, 2020, 3:50 p.m. OK .NET Core C# TESTS 18 109 102400
101760283 progin B Dec. 19, 2020, 11:18 a.m. OK PHP TESTS 18 46 409600
101781959 bazzyadb B Dec. 19, 2020, 3:17 p.m. OK PyPy 2 TESTS 18 109 0
101775523 Bhagi069 B Dec. 19, 2020, 1:29 p.m. OK PyPy 3 TESTS 18 124 0
101759509 ankiisnap B Dec. 19, 2020, 11:16 a.m. OK PyPy 3 TESTS 18 124 0
101781708 Abhishekgupta4981 B Dec. 19, 2020, 3:13 p.m. OK PyPy 3 TESTS 18 139 0
101774620 sourabhgol1999 B Dec. 19, 2020, 1:20 p.m. OK PyPy 3 TESTS 18 139 0
101772648 generic_placeholder_name B Dec. 19, 2020, 12:57 p.m. OK PyPy 3 TESTS 18 139 0
101765469 786yashdhiman B Dec. 19, 2020, 11:32 a.m. OK PyPy 3 TESTS 18 139 0
101764207 Wauer B Dec. 19, 2020, 11:29 a.m. OK PyPy 3 TESTS 18 139 0
101763345 Coder_Bhavansh B Dec. 19, 2020, 11:27 a.m. OK PyPy 3 TESTS 18 139 0
101762872 s_prateek26 B Dec. 19, 2020, 11:26 a.m. OK PyPy 3 TESTS 18 139 307200
101806254 kis B Dec. 19, 2020, 9:30 p.m. OK PyPy 3 TESTS 18 140 0
101789926 eugalt B Dec. 19, 2020, 4:58 p.m. OK Python 2 TESTS 18 155 0
101788914 eugalt B Dec. 19, 2020, 4:46 p.m. OK Python 2 TESTS 18 155 0
101789232 eugalt B Dec. 19, 2020, 4:50 p.m. OK Python 2 TESTS 18 156 0
101759588 thuglife69 B Dec. 19, 2020, 11:16 a.m. OK Python 2 TESTS 18 156 0
101816427 XxSupremeLordxX B Dec. 20, 2020, 4:25 a.m. OK Python 3 TESTS 18 92 0
101789383 sh1194 B Dec. 19, 2020, 4:51 p.m. OK Python 3 TESTS 18 93 0
101780200 rummansadik B Dec. 19, 2020, 2:48 p.m. OK Python 3 TESTS 18 93 0
101755439 pola_anurag B Dec. 19, 2020, 11:04 a.m. OK Python 3 TESTS 18 93 0
101772537 divrthor345 B Dec. 19, 2020, 12:56 p.m. OK Python 3 TESTS 18 93 0
101756605 vyas_samarth11 B Dec. 19, 2020, 11:07 a.m. OK Python 3 TESTS 18 93 0
101756399 houyp B Dec. 19, 2020, 11:07 a.m. OK Python 3 TESTS 18 93 0
101779077 samyaksrivastava9 B Dec. 19, 2020, 2:27 p.m. OK Python 3 TESTS 18 93 0
101784215 arin17bishwa B Dec. 19, 2020, 3:50 p.m. OK Python 3 TESTS 18 93 307200
101775893 sjthakar27 B Dec. 19, 2020, 1:34 p.m. OK Python 3 TESTS 18 93 307200
101808186 arcanewizard37 B Dec. 19, 2020, 10:53 p.m. OK Rust TESTS 18 31 0

remove filters

Back to search problems