2020-2021 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules)

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
1468 2020-2021 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules) FINISHED False 18000 128456711 Dec. 25, 2020, 11:35 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 9024 ) E Four Segments PROGRAMMING greedy

B'Monocarp wants to draw four line segments on a sheet of paper. He wants the i -th segment to have its length equal to a_i ( 1 <= i <= 4 ). These segments can intersect with each other, and each segment should be either horizontal or vertical. Monocarp wants to draw the segments in such a way that they enclose a rectangular space, and the area of that rectangular space should be maximum possible. For example, if Monocarp wants to draw four segments with lengths 1 , 2 , 3 and 4 , he can do it the following way: Calculate the maximum area of a rectangle Monocarp can enclose with four segments. The first line contains one integer t ( 1 <= t <= 3 cdot 10^4 ) -- the number of test cases. Each test case consists of a single line containing four integers a_1 , a_2 , a_3 , a_4 ( 1 <= a_i <= 10^4 ) -- the lengths of the segments Monocarp wants to draw. For each test case, print one integer -- the maximum area of a rectangle Monocarp can enclose with four segments (it can be shown that the answer is always an integer). The first test case of the example is described in the statement. For the second test case, Monocarp can draw the segments AB , BC , CD and DA as follows: '...

Tutorials

Tutorial (PDF)

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
102308303 ruban E Dec. 25, 2020, 12:21 p.m. OK Delphi TESTS 6 62 4403200
102319989 KhavidBap E Dec. 25, 2020, 1:53 p.m. OK FPC TESTS 6 124 0
102305607 neily E Dec. 25, 2020, 12:02 p.m. OK GNU C11 TESTS 6 124 0
102306506 Codehunter666 _Akhil_3366 polneni_prashanth E Dec. 25, 2020, 12:08 p.m. OK GNU C11 TESTS 6 124 0
102307553 srlabib E Dec. 25, 2020, 12:16 p.m. OK GNU C11 TESTS 6 139 0
102306406 Para_normal an_andhbhakt insidious_2212 E Dec. 25, 2020, 12:07 p.m. OK GNU C11 TESTS 6 139 0
102335765 oldoldcoder E Dec. 25, 2020, 4:10 p.m. OK GNU C11 TESTS 6 140 0
102306270 Codehunter666 _Akhil_3366 polneni_prashanth E Dec. 25, 2020, 12:06 p.m. OK GNU C11 TESTS 6 140 0
102355554 farzana.tur E Dec. 25, 2020, 10:14 p.m. OK GNU C11 TESTS 6 140 0
102315232 Wasif_Hamid E Dec. 25, 2020, 1:15 p.m. OK GNU C11 TESTS 6 140 0
102322976 resimdekigozyaslari E Dec. 25, 2020, 2:18 p.m. OK GNU C11 TESTS 6 140 0
102317447 dev.20 Dev_Jb_007 E Dec. 25, 2020, 1:32 p.m. OK GNU C11 TESTS 6 156 0
102304566 RealMikeDuke jzp chr_ E Dec. 25, 2020, 11:54 a.m. OK GNU C++11 TESTS 6 31 0
102303603 C20192413 Lucky_Glass E Dec. 25, 2020, 11:48 a.m. OK GNU C++11 TESTS 6 31 0
102302941 _bom E Dec. 25, 2020, 11:44 a.m. OK GNU C++11 TESTS 6 31 0
102302922 RingweEH E Dec. 25, 2020, 11:44 a.m. OK GNU C++11 TESTS 6 31 0
102302782 George1123 Forever_Pursuit zzctommy E Dec. 25, 2020, 11:43 a.m. OK GNU C++11 TESTS 6 31 0
102365361 TLP.39 E Dec. 26, 2020, 4:53 a.m. OK GNU C++11 TESTS 6 31 0
102359418 angrysqrt3 E Dec. 26, 2020, 1:15 a.m. OK GNU C++11 TESTS 6 31 0
102311125 NSObject E Dec. 25, 2020, 12:42 p.m. OK GNU C++11 TESTS 6 31 0
102307601 5ab E Dec. 25, 2020, 12:16 p.m. OK GNU C++11 TESTS 6 31 0
102307441 i_m_a E Dec. 25, 2020, 12:15 p.m. OK GNU C++11 TESTS 6 31 0
102333742 1101_ E Dec. 25, 2020, 3:48 p.m. OK GNU C++14 TESTS 6 46 0
102325979 abhi_sinha60 E Dec. 25, 2020, 2:41 p.m. OK GNU C++14 TESTS 6 46 0
102346169 ishan_sharma E Dec. 25, 2020, 6:50 p.m. OK GNU C++14 TESTS 6 46 0
102360802 mmestrovic E Dec. 26, 2020, 2:14 a.m. OK GNU C++14 TESTS 6 46 0
102363666 Manila1 E Dec. 26, 2020, 4:04 a.m. OK GNU C++14 TESTS 6 46 0
102361714 shubham_9586 E Dec. 26, 2020, 2:54 a.m. OK GNU C++14 TESTS 6 46 0
102340475 Kali1314 E Dec. 25, 2020, 5:23 p.m. OK GNU C++14 TESTS 6 46 0
102339138 nakulchauhan2001 E Dec. 25, 2020, 5:03 p.m. OK GNU C++14 TESTS 6 46 0
102336422 Dean_student E Dec. 25, 2020, 4:18 p.m. OK GNU C++14 TESTS 6 46 0
102334927 whatisthis132 E Dec. 25, 2020, 4 p.m. OK GNU C++14 TESTS 6 46 0
102302174 top34051 RobeZH E Dec. 25, 2020, 11:39 a.m. OK GNU C++17 TESTS 6 31 0
102345072 abhishek.kehsihba E Dec. 25, 2020, 6:34 p.m. OK GNU C++17 TESTS 6 46 0
102363596 adarsh_19 E Dec. 26, 2020, 4:02 a.m. OK GNU C++17 TESTS 6 46 0
102362520 Xoldorov_Javohir E Dec. 26, 2020, 3:24 a.m. OK GNU C++17 TESTS 6 46 0
102362011 Greedyansh E Dec. 26, 2020, 3:07 a.m. OK GNU C++17 TESTS 6 46 0
102342953 MilosMilutinovic371 E Dec. 25, 2020, 6:06 p.m. OK GNU C++17 TESTS 6 46 0
102341048 arun__007 E Dec. 25, 2020, 5:33 p.m. OK GNU C++17 TESTS 6 46 0
102339490 dionysios E Dec. 25, 2020, 5:08 p.m. OK GNU C++17 TESTS 6 46 0
102339223 Monkey_de_Luffy E Dec. 25, 2020, 5:04 p.m. OK GNU C++17 TESTS 6 46 0
102338921 jharishimohan E Dec. 25, 2020, 4:59 p.m. OK GNU C++17 TESTS 6 46 0
102303293 Still_Frustrated E Dec. 25, 2020, 11:46 a.m. OK GNU C++17 (64) TESTS 6 31 0
102304051 Dk_utsa Saptak3315 Tanbin_Hasan E Dec. 25, 2020, 11:51 a.m. OK GNU C++17 (64) TESTS 6 31 0
102305857 ab.rar Bruteforcer101 LUMBERJACK_MAN E Dec. 25, 2020, 12:03 p.m. OK GNU C++17 (64) TESTS 6 31 0
102308659 arvindr9 E Dec. 25, 2020, 12:24 p.m. OK GNU C++17 (64) TESTS 6 31 0
102313186 user9029 E Dec. 25, 2020, 12:58 p.m. OK GNU C++17 (64) TESTS 6 31 0
102313442 mahbubhasanmht zeon_1903147 E Dec. 25, 2020, 1 p.m. OK GNU C++17 (64) TESTS 6 31 0
102315234 tuanio E Dec. 25, 2020, 1:15 p.m. OK GNU C++17 (64) TESTS 6 31 0
102316285 kyon2326 E Dec. 25, 2020, 1:23 p.m. OK GNU C++17 (64) TESTS 6 31 0
102331267 dhiraj-01 E Dec. 25, 2020, 3:26 p.m. OK GNU C++17 (64) TESTS 6 31 0
102347281 BrayanD David_Garcia E Dec. 25, 2020, 7:06 p.m. OK GNU C++17 (64) TESTS 6 31 0
102303370 insert_cool_handle E Dec. 25, 2020, 11:47 a.m. OK Java 11 TESTS 6 186 0
102303620 soumit915 E Dec. 25, 2020, 11:48 a.m. OK Java 11 TESTS 6 186 0
102303992 mr13dynamo akman10 E Dec. 25, 2020, 11:51 a.m. OK Java 11 TESTS 6 187 0
102305111 sf14t E Dec. 25, 2020, 11:58 a.m. OK Java 11 TESTS 6 187 0
102303348 devesh08 E Dec. 25, 2020, 11:46 a.m. OK Java 11 TESTS 6 202 0
102302367 typewriter999 E Dec. 25, 2020, 11:41 a.m. OK Java 11 TESTS 6 217 0
102302820 oggy_love_oly jethaji E Dec. 25, 2020, 11:43 a.m. OK Java 11 TESTS 6 217 0
102304221 Debojit219 E Dec. 25, 2020, 11:52 a.m. OK Java 11 TESTS 6 218 0
102302541 chris_11 E Dec. 25, 2020, 11:42 a.m. OK Java 11 TESTS 6 218 0
102303111 amit_chas Dalgona1lover E Dec. 25, 2020, 11:45 a.m. OK Java 11 TESTS 6 233 0
102306915 Pranay2516 E Dec. 25, 2020, 12:11 p.m. OK Java 8 TESTS 6 124 0
102302686 dewanshnigam E Dec. 25, 2020, 11:42 a.m. OK Java 8 TESTS 6 124 0
102302713 vikaschhipi2000 DarkOverlord999 _robindhankhar E Dec. 25, 2020, 11:43 a.m. OK Java 8 TESTS 6 140 0
102302702 d4rkc0de E Dec. 25, 2020, 11:42 a.m. OK Java 8 TESTS 6 140 0
102302700 nitin_codr sudhanshu_lucky E Dec. 25, 2020, 11:42 a.m. OK Java 8 TESTS 6 140 0
102302660 Error_2.0 UPSC1002 naitikvarshney77 E Dec. 25, 2020, 11:42 a.m. OK Java 8 TESTS 6 140 0
102333773 di_halt E Dec. 25, 2020, 3:49 p.m. OK Java 8 TESTS 6 140 0
102319384 godxpunk E Dec. 25, 2020, 1:49 p.m. OK Java 8 TESTS 6 140 0
102313913 kamel E Dec. 25, 2020, 1:04 p.m. OK Java 8 TESTS 6 140 0
102303513 present_sir PRIYANSH_TOMAR rachitpts.2454 E Dec. 25, 2020, 11:47 a.m. OK Java 8 TESTS 6 140 0
102359731 Spheniscine E Dec. 26, 2020, 1:29 a.m. OK Kotlin TESTS 6 124 0
102341322 TRR E Dec. 25, 2020, 5:39 p.m. OK Mono C# TESTS 6 249 3072000
102303476 sanitar606 RubikRr CaptainN E Dec. 25, 2020, 11:47 a.m. OK Mono C# TESTS 6 264 3072000
102315935 lepqtvl2002 E Dec. 25, 2020, 1:20 p.m. OK MS C++ 2017 TESTS 6 62 0
102307435 chysis E Dec. 25, 2020, 12:15 p.m. OK MS C++ 2017 TESTS 6 202 0
102368552 ScreaM99 E Dec. 26, 2020, 5:59 a.m. OK MS C++ 2017 TESTS 6 202 0
102311873 wu_sir E Dec. 25, 2020, 12:48 p.m. OK MS C++ 2017 TESTS 6 202 0
102306602 -Tarantula E Dec. 25, 2020, 12:09 p.m. OK MS C++ 2017 TESTS 6 202 0
102325882 Torehalt E Dec. 25, 2020, 2:41 p.m. OK MS C++ 2017 TESTS 6 217 0
102303896 FullMetalLeon E Dec. 25, 2020, 11:50 a.m. OK MS C++ 2017 TESTS 6 217 0
102303551 hoseindamavandii ahmad.hasheminajafi mstf.nakhaei E Dec. 25, 2020, 11:48 a.m. OK MS C++ 2017 TESTS 6 217 0
102340166 Gravekper E Dec. 25, 2020, 5:18 p.m. OK MS C++ 2017 TESTS 6 217 0
102336406 TheSachinChhillar E Dec. 25, 2020, 4:18 p.m. OK MS C++ 2017 TESTS 6 218 0
102332894 humblerex E Dec. 25, 2020, 3:40 p.m. OK .NET Core C# TESTS 6 296 3379200
102319429 tajulislam E Dec. 25, 2020, 1:49 p.m. OK PHP TESTS 6 155 0
102339021 kagu E Dec. 25, 2020, 5:01 p.m. OK PyPy 2 TESTS 6 529 1740800
102313531 Amr_elmowaled E Dec. 25, 2020, 1:01 p.m. OK PyPy 2 TESTS 6 577 2355200
102303052 Akhil_Rautela E Dec. 25, 2020, 11:44 a.m. OK PyPy 3 TESTS 6 187 4300800
102302555 manhar vishwas345code vermakunal088 E Dec. 25, 2020, 11:42 a.m. OK PyPy 3 TESTS 6 217 7577600
102303193 Hasv Achilles221B MohamedXyz E Dec. 25, 2020, 11:45 a.m. OK PyPy 3 TESTS 6 264 6860800
102321134 SlRy E Dec. 25, 2020, 2:03 p.m. OK PyPy 3 TESTS 6 280 7782400
102315014 wow_ok FlakeLCR conqueror_of_tourist E Dec. 25, 2020, 1:13 p.m. OK PyPy 3 TESTS 6 280 8294400
102318422 pedastrian57 E Dec. 25, 2020, 1:40 p.m. OK PyPy 3 TESTS 6 280 72089600
102302766 Kira_1234 KDVinit E Dec. 25, 2020, 11:43 a.m. OK PyPy 3 TESTS 6 295 8089600
102319566 FireBird23 E Dec. 25, 2020, 1:50 p.m. OK PyPy 3 TESTS 6 311 6963200
102305176 Abhishekgupta4981 E Dec. 25, 2020, 11:59 a.m. OK PyPy 3 TESTS 6 311 7065600
102302452 aswn_rj blackfyre01 E Dec. 25, 2020, 11:41 a.m. OK PyPy 3 TESTS 6 311 7577600
102305993 manjeet404 E Dec. 25, 2020, 12:04 p.m. OK Python 2 TESTS 6 389 512000
102315891 silvertint E Dec. 25, 2020, 1:20 p.m. OK Python 3 TESTS 6 202 409600
102316307 Sansaa mahfoudhi Otler E Dec. 25, 2020, 1:23 p.m. OK Python 3 TESTS 6 249 921600
102303072 deepak_ug E Dec. 25, 2020, 11:45 a.m. OK Python 3 TESTS 6 264 409600
102308790 yash12 E Dec. 25, 2020, 12:25 p.m. OK Python 3 TESTS 6 358 0
102305910 yash_cf E Dec. 25, 2020, 12:04 p.m. OK Python 3 TESTS 6 358 307200
102306380 surajhanvate07 E Dec. 25, 2020, 12:07 p.m. OK Python 3 TESTS 6 373 0
102302752 pupil_22 _-pratik_shukla-_ _maximum E Dec. 25, 2020, 11:43 a.m. OK Python 3 TESTS 6 373 0
102355525 med-halim E Dec. 25, 2020, 10:13 p.m. OK Python 3 TESTS 6 374 0
102350829 divyanshsikarwar E Dec. 25, 2020, 8:07 p.m. OK Python 3 TESTS 6 374 0
102350699 sh1194 E Dec. 25, 2020, 8:05 p.m. OK Python 3 TESTS 6 374 0
102346687 cyanfirestone E Dec. 25, 2020, 6:57 p.m. OK Ruby TESTS 6 592 307200
102307225 gniuxiao E Dec. 25, 2020, 12:13 p.m. OK Ruby TESTS 6 748 921600
102302231 sansen E Dec. 25, 2020, 11:40 a.m. OK Rust TESTS 6 46 1536000

remove filters

Back to search problems