Codeforces Round 920 (Div. 3)

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
1921 Codeforces Round 920 (Div. 3) FINISHED False 8100 31850663 Jan. 15, 2024, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 44465 ) A Square PROGRAMMING greedy math

B'A square of positive (strictly greater than 0 ) area is located on the coordinate plane, with sides parallel to the coordinate axes. You are given the coordinates of its corners, in random order. Your task is to find the area of the square. Each test consists of several testcases. The first line contains one integer t ( 1 <= t <= 100 ) -- the number of testcases. The following is a description of the testcases. Each testcase contains four lines, each line contains two integers x_i, y_i ( -1000 <= x_i, y_i <= 1000 ), coordinates of the corners of the square. It is guaranteed that there is a square with sides parallel to the coordinate axes, with positive (strictly greater than 0 ) area, with corners in given points. For each test case, print a single integer, the area of the square. '...

Tutorials

Editorial for Codeforces Round 920 (Div. 3)

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
241861778 _Ghoco_ A Jan. 15, 2024, 10:13 p.m. OK C# 10 TESTS 4 31 512000
241877671 sh_arman A Jan. 16, 2024, 4:25 a.m. OK C# 10 TESTS 4 93 512000
241861240 bluemegane A Jan. 15, 2024, 9:55 p.m. OK C# 8 TESTS 4 139 716800
241851097 AmarEEE23 A Jan. 15, 2024, 6:55 p.m. OK Clang++17 Diagnostics TESTS 4 31 0
241884234 swamyyalla2004 A Jan. 16, 2024, 5:46 a.m. OK Clang++20 Diagnostics TESTS 4 31 0
241879819 1RINE A Jan. 16, 2024, 4:55 a.m. OK Clang++20 Diagnostics TESTS 4 31 0
241874117 cizzopp A Jan. 16, 2024, 3:31 a.m. OK Clang++20 Diagnostics TESTS 4 31 0
241872359 aquily A Jan. 16, 2024, 3:05 a.m. OK Clang++20 Diagnostics TESTS 4 46 2048000
241853152 coderpro11 A Jan. 15, 2024, 7:20 p.m. OK GNU C11 TESTS 4 15 0
241834555 agarwaladitya A Jan. 15, 2024, 4:54 p.m. OK GNU C11 TESTS 4 15 0
241854780 Raihan2500 A Jan. 15, 2024, 7:49 p.m. OK GNU C11 TESTS 4 15 0
241855551 sAmp0n A Jan. 15, 2024, 8 p.m. OK GNU C11 TESTS 4 15 0
241835384 Tawfiq_wahed A Jan. 15, 2024, 4:58 p.m. OK GNU C11 TESTS 4 15 0
241836987 Ron_Weasleyyy A Jan. 15, 2024, 5:05 p.m. OK GNU C11 TESTS 4 15 0
241838711 rishabh_sankla A Jan. 15, 2024, 5:15 p.m. OK GNU C11 TESTS 4 15 0
241841443 maruf_hasaN1 A Jan. 15, 2024, 5:33 p.m. OK GNU C11 TESTS 4 15 0
241849318 Kavi43252003274489856000 A Jan. 15, 2024, 6:36 p.m. OK GNU C11 TESTS 4 15 0
241851910 shreyansh_singh A Jan. 15, 2024, 7:03 p.m. OK GNU C11 TESTS 4 15 0
241885028 RTX7070Ti A Jan. 16, 2024, 5:53 a.m. OK GNU C++14 TESTS 4 0 0
241883914 Lokesh_YADAV15 A Jan. 16, 2024, 5:42 a.m. OK GNU C++14 TESTS 4 0 0
241883776 gruprttt A Jan. 16, 2024, 5:40 a.m. OK GNU C++14 TESTS 4 0 0
241882565 zhaoai A Jan. 16, 2024, 5:27 a.m. OK GNU C++14 TESTS 4 0 0
241882425 jintongyu A Jan. 16, 2024, 5:26 a.m. OK GNU C++14 TESTS 4 0 0
241881673 aabhiiii A Jan. 16, 2024, 5:18 a.m. OK GNU C++14 TESTS 4 0 0
241877161 simonsimple305 A Jan. 16, 2024, 4:17 a.m. OK GNU C++14 TESTS 4 0 0
241877040 NIRZON A Jan. 16, 2024, 4:14 a.m. OK GNU C++14 TESTS 4 0 0
241876693 i7xwn A Jan. 16, 2024, 4:09 a.m. OK GNU C++14 TESTS 4 0 0
241885701 fakeharsh013 A Jan. 16, 2024, 6:01 a.m. OK GNU C++14 TESTS 4 0 0
241882286 CrypticOwl5503 A Jan. 16, 2024, 5:24 a.m. OK GNU C++17 TESTS 4 0 0
241882597 ruchitr42 A Jan. 16, 2024, 5:28 a.m. OK GNU C++17 TESTS 4 0 0
241883071 smit.07 A Jan. 16, 2024, 5:33 a.m. OK GNU C++17 TESTS 4 0 0
241883466 FunRoom A Jan. 16, 2024, 5:37 a.m. OK GNU C++17 TESTS 4 0 0
241883894 Range123k A Jan. 16, 2024, 5:42 a.m. OK GNU C++17 TESTS 4 0 0
241884039 FireGumz007 A Jan. 16, 2024, 5:43 a.m. OK GNU C++17 TESTS 4 0 0
241884327 Dario22lc A Jan. 16, 2024, 5:47 a.m. OK GNU C++17 TESTS 4 0 0
241884862 akibb123 A Jan. 16, 2024, 5:52 a.m. OK GNU C++17 TESTS 4 0 0
241884969 swapnil.20261 A Jan. 16, 2024, 5:53 a.m. OK GNU C++17 TESTS 4 0 0
241882205 MikeF A Jan. 16, 2024, 5:24 a.m. OK GNU C++17 TESTS 4 0 0
241880617 wrj2023 A Jan. 16, 2024, 5:06 a.m. OK GNU C++17 (64) TESTS 4 0 0
241885762 CCMu04 A Jan. 16, 2024, 6:02 a.m. OK GNU C++17 (64) TESTS 4 0 0
241883979 shock_wav3 A Jan. 16, 2024, 5:43 a.m. OK GNU C++17 (64) TESTS 4 0 0
241883971 thess A Jan. 16, 2024, 5:43 a.m. OK GNU C++17 (64) TESTS 4 0 0
241883715 Munkh-Orgil416 A Jan. 16, 2024, 5:40 a.m. OK GNU C++17 (64) TESTS 4 0 0
241883529 ShawnJD A Jan. 16, 2024, 5:38 a.m. OK GNU C++17 (64) TESTS 4 0 0
241881970 abcdwiwi A Jan. 16, 2024, 5:21 a.m. OK GNU C++17 (64) TESTS 4 0 0
241880912 KingBob A Jan. 16, 2024, 5:09 a.m. OK GNU C++17 (64) TESTS 4 0 0
241880204 SzHeN A Jan. 16, 2024, 5:01 a.m. OK GNU C++17 (64) TESTS 4 0 0
241880058 sanjidaislam A Jan. 16, 2024, 4:59 a.m. OK GNU C++17 (64) TESTS 4 0 0
241883638 JotaroKujo1308 A Jan. 16, 2024, 5:39 a.m. OK GNU C++20 (64) TESTS 4 0 0
241884060 maahi07 A Jan. 16, 2024, 5:44 a.m. OK GNU C++20 (64) TESTS 4 0 0
241884160 M.A.D_17 A Jan. 16, 2024, 5:45 a.m. OK GNU C++20 (64) TESTS 4 0 0
241884653 Hossam_El-Nemr A Jan. 16, 2024, 5:50 a.m. OK GNU C++20 (64) TESTS 4 0 0
241885086 LA_plumaLOVE A Jan. 16, 2024, 5:54 a.m. OK GNU C++20 (64) TESTS 4 0 0
241885130 JustJie A Jan. 16, 2024, 5:54 a.m. OK GNU C++20 (64) TESTS 4 0 0
241885145 Blinov_Artemii A Jan. 16, 2024, 5:55 a.m. OK GNU C++20 (64) TESTS 4 0 0
241885424 de_coding_life A Jan. 16, 2024, 5:58 a.m. OK GNU C++20 (64) TESTS 4 0 0
241885556 damaniaditya27 A Jan. 16, 2024, 5:59 a.m. OK GNU C++20 (64) TESTS 4 0 0
241885611 Zulll A Jan. 16, 2024, 6 a.m. OK GNU C++20 (64) TESTS 4 0 0
241870138 tom_pan1901 A Jan. 16, 2024, 2:26 a.m. OK Go TESTS 4 15 0
241838253 lovefyf A Jan. 15, 2024, 5:12 p.m. OK Go TESTS 4 15 102400
241882474 Hinnawi24 A Jan. 16, 2024, 5:26 a.m. OK Java 11 TESTS 4 155 0
241861237 sunaj A Jan. 15, 2024, 9:55 p.m. OK Java 11 TESTS 4 155 0
241858105 Nick A Jan. 15, 2024, 8:44 p.m. OK Java 11 TESTS 4 155 0
241854525 wat2 A Jan. 15, 2024, 7:45 p.m. OK Java 11 TESTS 4 155 0
241875141 formidablechief27 A Jan. 16, 2024, 3:47 a.m. OK Java 11 TESTS 4 171 0
241857218 vinayak_20 A Jan. 15, 2024, 8:28 p.m. OK Java 11 TESTS 4 187 0
241835733 nischal_g A Jan. 15, 2024, 4:59 p.m. OK Java 11 TESTS 4 187 0
241843326 AkshatSaxena_05 A Jan. 15, 2024, 5:47 p.m. OK Java 11 TESTS 4 202 0
241865359 Omthegod A Jan. 16, 2024, 12:32 a.m. OK Java 11 TESTS 4 202 0
241843675 anandh_87 A Jan. 15, 2024, 5:49 p.m. OK Java 11 TESTS 4 202 0
241880339 AshIsH_001 A Jan. 16, 2024, 5:03 a.m. OK Java 17 TESTS 4 171 0
241868017 Jatinydv17 A Jan. 16, 2024, 1:38 a.m. OK Java 17 TESTS 4 171 0
241876735 202152321 A Jan. 16, 2024, 4:10 a.m. OK Java 17 TESTS 4 171 204800
241841759 Andr0Dev A Jan. 15, 2024, 5:35 p.m. OK Java 17 TESTS 4 186 409600
241852377 dauletomarov1130 A Jan. 15, 2024, 7:09 p.m. OK Java 17 TESTS 4 187 0
241863431 herztard A Jan. 15, 2024, 11:18 p.m. OK Java 17 TESTS 4 187 204800
241862931 karimkimo.amremam A Jan. 15, 2024, 10:58 p.m. OK Java 17 TESTS 4 187 307200
241834147 __.ravi.kumar.__ A Jan. 15, 2024, 4:53 p.m. OK Java 17 TESTS 4 187 307200
241882779 9549599343 A Jan. 16, 2024, 5:30 a.m. OK Java 17 TESTS 4 202 0
241857879 Girniiiii A Jan. 15, 2024, 8:40 p.m. OK Java 17 TESTS 4 202 0
241846951 priyaroy3370 A Jan. 15, 2024, 6:14 p.m. OK Java 21 TESTS 4 186 0
241878203 VvyLw A Jan. 16, 2024, 4:33 a.m. OK Java 21 TESTS 4 202 204800
241872254 ChongQY A Jan. 16, 2024, 3:03 a.m. OK Java 21 TESTS 4 218 25600000
241874498 mxny A Jan. 16, 2024, 3:37 a.m. OK Java 21 TESTS 4 233 0
241835926 vkprogrammer001 A Jan. 15, 2024, 5 p.m. OK Java 21 TESTS 4 249 0
241836558 yogesg_25 A Jan. 15, 2024, 5:03 p.m. OK Java 21 TESTS 4 264 102400
241880793 catlinh A Jan. 16, 2024, 5:08 a.m. OK Java 21 TESTS 4 280 0
241842828 whitespace07 A Jan. 15, 2024, 5:43 p.m. OK Java 21 TESTS 4 280 0
241880708 CraigGarth A Jan. 16, 2024, 5:07 a.m. OK Java 21 TESTS 4 280 102400
241866238 K.NIKHIL A Jan. 16, 2024, 12:57 a.m. OK Java 21 TESTS 4 280 409600
241854428 Sumitsingh7 A Jan. 15, 2024, 7:44 p.m. OK Java 8 TESTS 4 93 5734400
241839500 k.SUMANTH A Jan. 15, 2024, 5:20 p.m. OK Java 8 TESTS 4 108 0
241840538 bipiniitkgp A Jan. 15, 2024, 5:26 p.m. OK Java 8 TESTS 4 124 0
241835373 tirthgohil1410 A Jan. 15, 2024, 4:58 p.m. OK Java 8 TESTS 4 156 0
241859224 arvindf232 A Jan. 15, 2024, 9:06 p.m. OK Kotlin 1.9 TESTS 4 202 0
241881610 Asad_Mlk A Jan. 16, 2024, 5:17 a.m. OK MS C++ 2017 TESTS 4 0 0
241868450 leijh A Jan. 16, 2024, 1:49 a.m. OK MS C++ 2017 TESTS 4 0 0
241857196 Gadi A Jan. 15, 2024, 8:28 p.m. OK MS C++ 2017 TESTS 4 0 0
241843625 rajdeepbiswasndp A Jan. 15, 2024, 5:49 p.m. OK MS C++ 2017 TESTS 4 0 0
241840972 ArunRoy69 A Jan. 15, 2024, 5:29 p.m. OK MS C++ 2017 TESTS 4 0 0
241832282 ssup_nigga A Jan. 15, 2024, 4:48 p.m. OK MS C++ 2017 TESTS 4 0 0
241885703 Alxyddog A Jan. 16, 2024, 6:01 a.m. OK MS C++ 2017 TESTS 4 15 0
241880925 Merge_404 A Jan. 16, 2024, 5:09 a.m. OK MS C++ 2017 TESTS 4 15 0
241867327 HLQ12 A Jan. 16, 2024, 1:24 a.m. OK MS C++ 2017 TESTS 4 15 0
241860041 poseidon577 A Jan. 15, 2024, 9:24 p.m. OK MS C++ 2017 TESTS 4 15 0
241865592 albom45674 A Jan. 16, 2024, 12:40 a.m. OK PHP TESTS 4 0 0
241878117 yoralbayev A Jan. 16, 2024, 4:32 a.m. OK PHP TESTS 4 31 0
241863378 crapcode A Jan. 15, 2024, 11:16 p.m. OK PHP TESTS 4 31 0
241834877 cheaters404 A Jan. 15, 2024, 4:55 p.m. OK PyPy 3 TESTS 4 92 1331200
241844977 2speek A Jan. 15, 2024, 5:59 p.m. OK PyPy 3 TESTS 4 92 1433600
241836051 arslan_dilshad A Jan. 15, 2024, 5:01 p.m. OK PyPy 3 TESTS 4 92 1433600
241871660 Elmurat A Jan. 16, 2024, 2:54 a.m. OK PyPy 3 TESTS 4 93 0
241863875 rvronak A Jan. 15, 2024, 11:37 p.m. OK PyPy 3 TESTS 4 93 0
241849053 erudition_0705 A Jan. 15, 2024, 6:33 p.m. OK PyPy 3 TESTS 4 93 0
241882461 Ayushman_123 A Jan. 16, 2024, 5:26 a.m. OK PyPy 3 TESTS 4 186 4710400
241881379 Arj139 A Jan. 16, 2024, 5:14 a.m. OK PyPy 3-64 TESTS 4 46 0
241881295 Warlock_007 A Jan. 16, 2024, 5:13 a.m. OK PyPy 3-64 TESTS 4 46 0
241869750 Drunkula A Jan. 16, 2024, 2:19 a.m. OK PyPy 3-64 TESTS 4 46 0
241866665 dp04 A Jan. 16, 2024, 1:07 a.m. OK PyPy 3-64 TESTS 4 46 0
241865452 IAmMyselfRL35584 A Jan. 16, 2024, 12:36 a.m. OK PyPy 3-64 TESTS 4 46 0
241860104 Zoopie A Jan. 15, 2024, 9:25 p.m. OK PyPy 3-64 TESTS 4 46 0
241857705 Quick-One A Jan. 15, 2024, 8:37 p.m. OK PyPy 3-64 TESTS 4 46 0
241852644 jasmineheart A Jan. 15, 2024, 7:13 p.m. OK PyPy 3-64 TESTS 4 46 0
241849984 kurony A Jan. 15, 2024, 6:43 p.m. OK PyPy 3-64 TESTS 4 46 0
241841874 convit A Jan. 15, 2024, 5:36 p.m. OK PyPy 3-64 TESTS 4 46 0
241839218 OLOGY A Jan. 15, 2024, 5:18 p.m. OK Python 2 TESTS 4 15 0
241866549 justjoker44 A Jan. 16, 2024, 1:04 a.m. OK Python 2 TESTS 4 46 0
241882519 wjndecf A Jan. 16, 2024, 5:27 a.m. OK Python 3 TESTS 4 30 0
241865227 eugalt A Jan. 16, 2024, 12:28 a.m. OK Python 3 TESTS 4 30 0
241862718 vented A Jan. 15, 2024, 10:48 p.m. OK Python 3 TESTS 4 30 0
241847218 Sanjeev_waste A Jan. 15, 2024, 6:17 p.m. OK Python 3 TESTS 4 30 0
241843189 Nibal.Raed.A172 A Jan. 15, 2024, 5:46 p.m. OK Python 3 TESTS 4 30 0
241842392 gritty_learner A Jan. 15, 2024, 5:40 p.m. OK Python 3 TESTS 4 30 0
241842090 ViettNguyen21 A Jan. 15, 2024, 5:38 p.m. OK Python 3 TESTS 4 30 0
241841570 palestep A Jan. 15, 2024, 5:34 p.m. OK Python 3 TESTS 4 30 0
241837582 Arnab_11 A Jan. 15, 2024, 5:09 p.m. OK Python 3 TESTS 4 30 0
241865360 eugalt A Jan. 16, 2024, 12:32 a.m. OK Python 3 TESTS 4 30 2150400
241863314 0x81 A Jan. 15, 2024, 11:13 p.m. OK Ruby 3 TESTS 4 389 512000
241857999 liut A Jan. 15, 2024, 8:42 p.m. OK Rust 2021 TESTS 4 0 0
241854816 mutbuffereduint512_t A Jan. 15, 2024, 7:49 p.m. OK Rust 2021 TESTS 4 0 0

remove filters

Back to search problems