Codeforces Round 703 (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
1486 Codeforces Round 703 (Div. 2) FINISHED False 8100 123693911 Feb. 18, 2021, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 16530 ) B Eastern Exhibition PROGRAMMING geometry shortest paths sortings

B"You and your friends live in n houses. Each house is located on a 2D plane, in a point with integer coordinates. There might be different houses located in the same point. The mayor of the city is asking you for places for the building of the Eastern exhibition. You have to find the number of places (points with integer coordinates), so that the summary distance from all the houses to the exhibition is minimal. The exhibition can be built in the same point as some house. The distance between two points (x_1, y_1) and (x_2, y_2) is |x_1 - x_2| + |y_1 - y_2| , where |x| is the absolute value of x . First line contains a single integer t (1 <= q t <= q 1000) -- the number of test cases. The first line of each test case contains a single integer n (1 <= q n <= q 1000) . Next n lines describe the positions of the houses (x_i, y_i) (0 <= q x_i, y_i <= q 10^9) . It's guaranteed that the sum of all n does not exceed 1000 . For each test case output a single integer - the number of different positions for the exhibition. The exhibition can be built in the same point as some house. Here are the images for the example test cases. Blue dots stand for the houses, green -- possible positions for the exhibition. First test case. Second test case. Third test case. Fourth test case. Fifth test case. Sixth test case. Here both houses are located at (0, 0) . "...

Tutorials

Codeforces Round #703 (Div. 2) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
107881540 sam_28 B Feb. 18, 2021, 7:33 p.m. OK GNU C11 TESTS 19 15 0
107883912 1435730 B Feb. 18, 2021, 8:11 p.m. OK GNU C11 TESTS 19 15 0
107904265 yubingzhe B Feb. 19, 2021, 4:50 a.m. OK GNU C11 TESTS 19 15 1638400
107901028 Thanh_khong_beo B Feb. 19, 2021, 4:03 a.m. OK GNU C++11 TESTS 19 15 0
107900640 lucky2507 B Feb. 19, 2021, 3:55 a.m. OK GNU C++11 TESTS 19 15 0
107908145 CSU_WJJJ B Feb. 19, 2021, 5:39 a.m. OK GNU C++11 TESTS 19 15 0
107900512 sleep__ B Feb. 19, 2021, 3:53 a.m. OK GNU C++11 TESTS 19 15 0
107904770 YeeBy B Feb. 19, 2021, 4:56 a.m. OK GNU C++11 TESTS 19 15 0
107904049 qiuzx B Feb. 19, 2021, 4:47 a.m. OK GNU C++11 TESTS 19 15 0
107902065 JCKeep B Feb. 19, 2021, 4:19 a.m. OK GNU C++11 TESTS 19 15 0
107907904 mp367981 B Feb. 19, 2021, 5:36 a.m. OK GNU C++11 TESTS 19 15 0
107909209 2019gzez04 B Feb. 19, 2021, 5:51 a.m. OK GNU C++11 TESTS 19 15 0
107907261 yaanzhao B Feb. 19, 2021, 5:29 a.m. OK GNU C++11 TESTS 19 15 0
107883283 Ferrarixxx B Feb. 18, 2021, 8 p.m. OK GNU C++14 TESTS 19 15 0
107876976 harry_122 B Feb. 18, 2021, 6:37 p.m. OK GNU C++14 TESTS 19 15 0
107874133 thunderdome_ B Feb. 18, 2021, 6:10 p.m. OK GNU C++14 TESTS 19 15 0
107870856 abpk B Feb. 18, 2021, 5:47 p.m. OK GNU C++14 TESTS 19 15 0
107869986 aqua_vein B Feb. 18, 2021, 5:43 p.m. OK GNU C++14 TESTS 19 15 0
107893592 AkaiLemon B Feb. 19, 2021, 1:21 a.m. OK GNU C++14 TESTS 19 15 0
107891307 shivam14sahu B Feb. 18, 2021, 11:49 p.m. OK GNU C++14 TESTS 19 15 0
107897076 Chitra_Kunal B Feb. 19, 2021, 2:52 a.m. OK GNU C++14 TESTS 19 15 0
107878474 Shivam_2611 B Feb. 18, 2021, 6:53 p.m. OK GNU C++14 TESTS 19 15 102400
107877840 sakibmalik B Feb. 18, 2021, 6:46 p.m. OK GNU C++14 TESTS 19 15 102400
107900660 digishek B Feb. 19, 2021, 3:55 a.m. OK GNU C++17 TESTS 19 15 0
107909954 Rebro B Feb. 19, 2021, 5:59 a.m. OK GNU C++17 TESTS 19 15 0
107909123 The_ayush B Feb. 19, 2021, 5:50 a.m. OK GNU C++17 TESTS 19 15 0
107906877 2007keshavraj B Feb. 19, 2021, 5:24 a.m. OK GNU C++17 TESTS 19 15 0
107904055 tawhidulbali00 B Feb. 19, 2021, 4:47 a.m. OK GNU C++17 TESTS 19 15 0
107903930 Dark_Lord_73 B Feb. 19, 2021, 4:45 a.m. OK GNU C++17 TESTS 19 15 0
107903627 Sinanck B Feb. 19, 2021, 4:41 a.m. OK GNU C++17 TESTS 19 15 0
107903006 kumarswaraj16 B Feb. 19, 2021, 4:33 a.m. OK GNU C++17 TESTS 19 15 0
107901638 jenish_k B Feb. 19, 2021, 4:13 a.m. OK GNU C++17 TESTS 19 15 0
107900554 Bust B Feb. 19, 2021, 3:54 a.m. OK GNU C++17 TESTS 19 15 0
107905947 Misbah_Uddin_Tareq1 B Feb. 19, 2021, 5:12 a.m. OK GNU C++17 (64) TESTS 19 15 0
107905292 Naruto_cm B Feb. 19, 2021, 5:04 a.m. OK GNU C++17 (64) TESTS 19 15 0
107904419 Zeroo0iq B Feb. 19, 2021, 4:52 a.m. OK GNU C++17 (64) TESTS 19 15 0
107903758 sic_mundus_creatus_est B Feb. 19, 2021, 4:43 a.m. OK GNU C++17 (64) TESTS 19 15 0
107899906 Ninad_0408 B Feb. 19, 2021, 3:43 a.m. OK GNU C++17 (64) TESTS 19 15 0
107897049 Anish_28 B Feb. 19, 2021, 2:51 a.m. OK GNU C++17 (64) TESTS 19 15 0
107896420 dmga44 B Feb. 19, 2021, 2:36 a.m. OK GNU C++17 (64) TESTS 19 15 0
107906619 19992147 B Feb. 19, 2021, 5:21 a.m. OK GNU C++17 (64) TESTS 19 15 0
107907626 Hidden_Tesla B Feb. 19, 2021, 5:33 a.m. OK GNU C++17 (64) TESTS 19 15 0
107909888 monster_coder B Feb. 19, 2021, 5:59 a.m. OK GNU C++17 (64) TESTS 19 15 0
107900712 namitnayan B Feb. 19, 2021, 3:56 a.m. OK Java 11 TESTS 19 171 0
107897616 pikachu_pika_pika B Feb. 19, 2021, 3:03 a.m. OK Java 11 TESTS 19 171 0
107882894 Pubg_Killlller B Feb. 18, 2021, 7:53 p.m. OK Java 11 TESTS 19 171 0
107873068 BlueBirdie B Feb. 18, 2021, 6:01 p.m. OK Java 11 TESTS 19 171 0
107901634 BiggEr. B Feb. 19, 2021, 4:13 a.m. OK Java 11 TESTS 19 186 0
107908370 zting B Feb. 19, 2021, 5:42 a.m. OK Java 11 TESTS 19 186 0
107904778 m0nk3y_d_luffy B Feb. 19, 2021, 4:57 a.m. OK Java 11 TESTS 19 186 0
107901497 sumit_1002 B Feb. 19, 2021, 4:11 a.m. OK Java 11 TESTS 19 186 0
107880570 NussairHroub B Feb. 18, 2021, 7:20 p.m. OK Java 11 TESTS 19 186 0
107909589 twinklaxia B Feb. 19, 2021, 5:55 a.m. OK Java 11 TESTS 19 187 0
107903253 thehjain B Feb. 19, 2021, 4:36 a.m. OK Java 8 TESTS 19 109 0
107894587 Billert B Feb. 19, 2021, 1:51 a.m. OK Java 8 TESTS 19 109 0
107894346 luchy0120 B Feb. 19, 2021, 1:44 a.m. OK Java 8 TESTS 19 109 0
107885418 Adi_7861 B Feb. 18, 2021, 8:40 p.m. OK Java 8 TESTS 19 109 0
107880491 Dstoical B Feb. 18, 2021, 7:19 p.m. OK Java 8 TESTS 19 109 0
107875172 RonWonWon B Feb. 18, 2021, 6:19 p.m. OK Java 8 TESTS 19 109 0
107872843 DemonSlayer18 B Feb. 18, 2021, 6 p.m. OK Java 8 TESTS 19 109 0
107870829 an09mous B Feb. 18, 2021, 5:47 p.m. OK Java 8 TESTS 19 109 0
107867089 killer_player B Feb. 18, 2021, 4:49 p.m. OK Java 8 TESTS 19 109 0
107907046 pramit1998 B Feb. 19, 2021, 5:26 a.m. OK Java 8 TESTS 19 124 0
107882829 Sakagam1 B Feb. 18, 2021, 7:52 p.m. OK Kotlin TESTS 19 186 1740800
107881942 koper B Feb. 18, 2021, 7:39 p.m. OK Kotlin TESTS 19 202 1843200
107870827 DMN B Feb. 18, 2021, 5:47 p.m. OK Mono C# TESTS 19 61 203161600
107902304 HcSoap B Feb. 19, 2021, 4:23 a.m. OK MS C++ TESTS 19 31 0
107890982 wjli B Feb. 18, 2021, 11:33 p.m. OK MS C++ 2017 TESTS 19 31 0
107870508 ustaritz B Feb. 18, 2021, 5:45 p.m. OK MS C++ 2017 TESTS 19 31 0
107873850 GPA_person B Feb. 18, 2021, 6:08 p.m. OK MS C++ 2017 TESTS 19 31 0
107900397 Harvey13 B Feb. 19, 2021, 3:51 a.m. OK MS C++ 2017 TESTS 19 31 0
107896968 Harshita_0304 B Feb. 19, 2021, 2:50 a.m. OK MS C++ 2017 TESTS 19 31 0
107899796 ch_hui B Feb. 19, 2021, 3:41 a.m. OK MS C++ 2017 TESTS 19 31 16076800
107905986 areniis B Feb. 19, 2021, 5:12 a.m. OK Node.js TESTS 19 62 1126400
107875859 tennisru B Feb. 18, 2021, 6:26 p.m. OK Node.js TESTS 19 77 1126400
107874353 aayush_1607 B Feb. 18, 2021, 6:12 p.m. OK PyPy 2 TESTS 19 93 1331200
107875510 maciaas B Feb. 18, 2021, 6:22 p.m. OK PyPy 2 TESTS 19 124 2560000
107883202 Leggasick B Feb. 18, 2021, 7:59 p.m. OK PyPy 3 TESTS 19 93 102400
107871492 khanter_ B Feb. 18, 2021, 5:51 p.m. OK PyPy 3 TESTS 19 93 102400
107900012 nanhtu B Feb. 19, 2021, 3:45 a.m. OK PyPy 3 TESTS 19 108 102400
107899739 ACoder_25 B Feb. 19, 2021, 3:40 a.m. OK PyPy 3 TESTS 19 108 102400
107880700 vivekpatel123 B Feb. 18, 2021, 7:22 p.m. OK PyPy 3 TESTS 19 108 102400
107874890 bhavyrajdev0 B Feb. 18, 2021, 6:16 p.m. OK PyPy 3 TESTS 19 108 102400
107878794 dutt_shouvik B Feb. 18, 2021, 6:57 p.m. OK PyPy 3 TESTS 19 108 409600
107905640 contrastnull B Feb. 19, 2021, 5:08 a.m. OK PyPy 3 TESTS 19 109 102400
107895185 Ilsa B Feb. 19, 2021, 2:07 a.m. OK PyPy 3 TESTS 19 109 102400
107869497 rivnam B Feb. 18, 2021, 5:42 p.m. OK PyPy 3 TESTS 19 109 102400
107872477 elistark B Feb. 18, 2021, 5:57 p.m. OK Python 2 TESTS 19 77 102400
107884950 Genius3435 B Feb. 18, 2021, 8:31 p.m. OK Python 3 TESTS 19 61 307200
107870534 raghurama_g B Feb. 18, 2021, 5:45 p.m. OK Python 3 TESTS 19 61 307200
107902842 Kunika_B B Feb. 19, 2021, 4:30 a.m. OK Python 3 TESTS 19 62 307200
107902789 vi_asmit B Feb. 19, 2021, 4:30 a.m. OK Python 3 TESTS 19 62 307200
107901974 sh1194 B Feb. 19, 2021, 4:18 a.m. OK Python 3 TESTS 19 62 307200
107900278 fork52 B Feb. 19, 2021, 3:49 a.m. OK Python 3 TESTS 19 62 307200
107896226 abhishekksahay.eee B Feb. 19, 2021, 2:32 a.m. OK Python 3 TESTS 19 62 307200
107896168 omkar.sunthankar B Feb. 19, 2021, 2:31 a.m. OK Python 3 TESTS 19 62 307200
107886434 piyush33patel B Feb. 18, 2021, 9:03 p.m. OK Python 3 TESTS 19 62 307200
107886413 no_cry B Feb. 18, 2021, 9:03 p.m. OK Python 3 TESTS 19 62 307200

remove filters

Back to search problems