Codeforces Round 529 (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
1095 Codeforces Round 529 (Div. 3) FINISHED False 7200 185901899 Dec. 27, 2018, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 22196 ) B Array Stabilization PROGRAMMING implementation 1000

B'You are given an array a consisting of n integer numbers. Let instability of the array be the following value: max limits_{i = 1}^{n} a_i - min limits_{i = 1}^{n} a_i . You have to remove exactly one element from this array to minimize instability of the resulting (n-1) -elements array. Your task is to calculate the minimum possible instability. The first line of the input contains one integer n ( 2 <= n <= 10^5 ) -- the number of elements in the array a . The second line of the input contains n integers a_1, a_2, ... , a_n ( 1 <= a_i <= 10^5 ) -- elements of the array a . Print one integer -- the minimum possible instability of the array if you have to remove exactly one element from the array a . In the first example you can remove 7 then instability of the remaining array will be 3 - 1 = 2 . In the second example you can remove either 1 or 100000 then instability of the remaining array will be 100000 - 100000 = 0 and 1 - 1 = 0 correspondingly. '...

Tutorials

Codeforces Round #529 (Div. 3) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
50265703 SaiCharan_Janapareddi B Feb. 21, 2019, 4:14 a.m. OK Clang++17 Diagnostics TESTS 111 77 0 1000
48095348 smit.mangukiya B Jan. 8, 2019, 4:27 p.m. OK Clang++17 Diagnostics TESTS 111 436 409600 1000
48783614 sweetbaby B Jan. 23, 2019, 7:53 a.m. OK Clang++17 Diagnostics TESTS 111 467 409600 1000
49116089 rishabh570 B Jan. 28, 2019, 5:01 p.m. OK Clang++17 Diagnostics TESTS 111 483 409600 1000
50387601 sandrab2k B Feb. 23, 2019, 1:02 p.m. OK Clang++17 Diagnostics TESTS 111 483 819200 1000
47725662 Arthur-Lugh B Dec. 30, 2018, 2:06 p.m. OK Clang++17 Diagnostics TESTS 111 483 1331200 1000
48095335 harshrajani460 B Jan. 8, 2019, 4:27 p.m. OK Clang++17 Diagnostics TESTS 111 498 409600 1000
48096110 Fire.Spirits B Jan. 8, 2019, 4:57 p.m. OK Clang++17 Diagnostics TESTS 111 499 409600 1000
58080159 ahmat B July 31, 2019, 1:40 p.m. OK D TESTS 111 61 4198400 1000
54813716 Denor B May 29, 2019, 6:24 p.m. OK Delphi TESTS 111 31 102400 1000
47646708 ImanKz B Dec. 28, 2018, 3:54 p.m. OK Delphi TESTS 111 46 512000 1000
48640869 binarmo B Jan. 20, 2019, 3:22 p.m. OK FPC TESTS 111 31 409600 1000
48059995 tin2016_ndhanh B Jan. 7, 2019, 2:34 p.m. OK FPC TESTS 111 31 409600 1000
47717918 Kostin2020 B Dec. 30, 2018, 9:11 a.m. OK FPC TESTS 111 31 409600 1000
47714547 Ahriman B Dec. 30, 2018, 6:41 a.m. OK FPC TESTS 111 31 409600 1000
58322149 naranja011223 B Aug. 5, 2019, 6:18 a.m. OK FPC TESTS 111 31 1638400 1000
48295669 Meibisu B Jan. 12, 2019, 2:28 p.m. OK FPC TESTS 111 46 409600 1000
48059887 tin2016_ndhanh B Jan. 7, 2019, 2:31 p.m. OK FPC TESTS 111 46 409600 1000
47684049 lcnltv2019 B Dec. 29, 2018, 1:42 p.m. OK FPC TESTS 111 46 409600 1000
51751578 chaorenhaha B March 23, 2019, 9:45 a.m. OK FPC TESTS 111 46 614400 1000
64641209 vjudge3 B Nov. 10, 2019, 1:13 p.m. OK FPC TESTS 111 46 819200 1000
50267096 swathi_kasikala B Feb. 21, 2019, 5:09 a.m. OK GNU C11 TESTS 111 31 0 1000
52261891 tieulac305 B April 3, 2019, 9:18 a.m. OK GNU C11 TESTS 111 31 0 1000
52577023 padth4i B April 10, 2019, 4:55 p.m. OK GNU C11 TESTS 111 31 0 1000
53284927 vissutha20 B April 25, 2019, 1:32 p.m. OK GNU C11 TESTS 111 31 0 1000
53477081 Satya_Prabhasa B April 28, 2019, 4:20 p.m. OK GNU C11 TESTS 111 31 0 1000
53479025 kondapi.niharika12 B April 28, 2019, 5:56 p.m. OK GNU C11 TESTS 111 31 0 1000
54571271 rainboy B May 24, 2019, 7:26 p.m. OK GNU C11 TESTS 111 31 0 1000
49367187 sayan1706 B Feb. 2, 2019, 3:37 p.m. OK GNU C11 TESTS 111 31 0 1000
50266963 starkspi B Feb. 21, 2019, 5:04 a.m. OK GNU C11 TESTS 111 31 0 1000
52261797 tieulac305 B April 3, 2019, 9:15 a.m. OK GNU C11 TESTS 111 31 0 1000
48316038 vjudge2 B Jan. 13, 2019, 6:36 a.m. OK GNU C++11 TESTS 111 31 0 1000
64561920 vjudge2 B Nov. 9, 2019, 6:20 a.m. OK GNU C++11 TESTS 111 31 0 1000
47723332 jhlee1108 B Dec. 30, 2018, 12:44 p.m. OK GNU C++11 TESTS 111 31 0 1000
47723451 jhlee1108 B Dec. 30, 2018, 12:49 p.m. OK GNU C++11 TESTS 111 31 0 1000
48175103 2044760548 B Jan. 10, 2019, 9:07 a.m. OK GNU C++11 TESTS 111 31 0 1000
48434941 rohan_prakash B Jan. 15, 2019, 7:43 p.m. OK GNU C++11 TESTS 111 31 204800 1000
58567018 zengpeichen B Aug. 11, 2019, 8:25 a.m. OK GNU C++11 TESTS 111 31 204800 1000
48568530 0codeGod0 B Jan. 19, 2019, 10:51 a.m. OK GNU C++11 TESTS 111 31 204800 1000
48565617 Trick-t B Jan. 19, 2019, 9:24 a.m. OK GNU C++11 TESTS 111 31 204800 1000
57727804 vjudge2 B July 25, 2019, 7:41 a.m. OK GNU C++11 TESTS 111 31 204800 1000
48425262 ykgcool B Jan. 15, 2019, 2:36 p.m. OK GNU C++14 TESTS 111 31 409600 1000
48497807 Sashka_proger B Jan. 17, 2019, 1:41 p.m. OK GNU C++14 TESTS 111 31 409600 1000
48281382 hopeAconce B Jan. 12, 2019, 8:09 a.m. OK GNU C++14 TESTS 111 31 409600 1000
47790918 RisingFlag B Dec. 31, 2018, 1:22 p.m. OK GNU C++14 TESTS 111 31 409600 1000
47716293 yashdusing B Dec. 30, 2018, 7:58 a.m. OK GNU C++14 TESTS 111 31 409600 1000
47685003 nic11 B Dec. 29, 2018, 2:17 p.m. OK GNU C++14 TESTS 111 31 409600 1000
47619899 williamandrea B Dec. 28, 2018, 12:19 p.m. OK GNU C++14 TESTS 111 31 409600 1000
49755410 yangshuang B Feb. 11, 2019, 6:03 a.m. OK GNU C++14 TESTS 111 31 614400 1000
52525270 2018031601006 B April 9, 2019, 11:09 a.m. OK GNU C++14 TESTS 111 31 819200 1000
48169379 LeGross B Jan. 10, 2019, 5:21 a.m. OK GNU C++14 TESTS 111 31 1228800 1000
53580641 buklyakey B April 30, 2019, 3:28 p.m. OK GNU C++17 TESTS 111 31 0 1000
48869918 vjudge5 B Jan. 24, 2019, 5:27 a.m. OK GNU C++17 TESTS 111 31 409600 1000
50229311 liv23333 B Feb. 20, 2019, 8:30 a.m. OK GNU C++17 TESTS 111 31 409600 1000
51975295 SumaiyaAny B March 29, 2019, 2:06 p.m. OK GNU C++17 TESTS 111 31 409600 1000
56056771 liexss B June 26, 2019, 12:55 a.m. OK GNU C++17 TESTS 111 31 409600 1000
58410483 AOTime B Aug. 7, 2019, 1:19 a.m. OK GNU C++17 TESTS 111 31 409600 1000
48368472 19170243 B Jan. 14, 2019, 1:36 a.m. OK GNU C++17 TESTS 111 31 409600 1000
50390539 vjudge3 B Feb. 23, 2019, 1:47 p.m. OK GNU C++17 TESTS 111 31 819200 1000
53455329 rookie_WAN B April 28, 2019, 1:52 a.m. OK GNU C++17 TESTS 111 31 1126400 1000
66074214 Sevastyanov B Nov. 30, 2019, 9:39 p.m. OK GNU C++17 TESTS 111 46 0 1000
48775241 tokitsukaze B Jan. 23, 2019, 3:29 a.m. OK Go TESTS 111 46 716800 1000
47929101 chinababka B Jan. 4, 2019, 3:57 p.m. OK Go TESTS 111 61 0 1000
47668969 davidguandev B Dec. 29, 2018, 4:03 a.m. OK Go TESTS 111 61 0 1000
50504231 vchilikov B Feb. 25, 2019, 6:44 p.m. OK Go TESTS 111 93 716800 1000
57633595 jmazon B July 24, 2019, 9:43 a.m. OK Haskell TESTS 111 265 7372800 1000
51677873 jedikni B March 22, 2019, 11:23 a.m. OK Haskell TESTS 111 265 9523200 1000
52497234 Veirisa B April 8, 2019, 2:16 p.m. OK Haskell TESTS 111 311 18944000 1000
47866031 cyand1317 B Jan. 3, 2019, 9:46 a.m. OK Haskell TESTS 111 374 27545600 1000
47669914 danielfleischman B Dec. 29, 2018, 4:56 a.m. OK Haskell TESTS 111 405 27545600 1000
65110365 pizzaEater B Nov. 15, 2019, 9:56 p.m. OK Java 11 TESTS 111 202 0 1000
68090286 rohan101 B Jan. 2, 2020, 5:52 p.m. OK Java 11 TESTS 111 218 0 1000
67251051 Elghareb B Dec. 19, 2019, 7:08 p.m. OK Java 11 TESTS 111 327 0 1000
69698478 imadoxx B Jan. 28, 2020, 9:59 p.m. OK Java 11 TESTS 111 343 0 1000
67224294 saratarek B Dec. 19, 2019, 3:18 p.m. OK Java 11 TESTS 111 374 0 1000
52365796 BeyondPerception B April 6, 2019, 1:16 a.m. OK Java 8 TESTS 111 109 0 1000
47809282 In_The_Name_Of_Love B Jan. 1, 2019, 9:57 a.m. OK Java 8 TESTS 111 109 0 1000
47613169 Anonymous B Dec. 28, 2018, 9:09 a.m. OK Java 8 TESTS 111 109 0 1000
69940083 luchy0120 B Feb. 1, 2020, 5:50 a.m. OK Java 8 TESTS 111 124 0 1000
68088233 rohan101 B Jan. 2, 2020, 5:05 p.m. OK Java 8 TESTS 111 124 0 1000
67413140 adzi B Dec. 22, 2019, 9 a.m. OK Java 8 TESTS 111 124 0 1000
67018887 sanskriti0512 B Dec. 16, 2019, 12:21 p.m. OK Java 8 TESTS 111 124 0 1000
64662816 BerserkVl B Nov. 10, 2019, 10:26 p.m. OK Java 8 TESTS 111 124 0 1000
59694650 LOBsTerr B Aug. 30, 2019, 7:58 a.m. OK Java 8 TESTS 111 124 0 1000
58602213 Bhavya_Arora B Aug. 11, 2019, 1:37 p.m. OK Java 8 TESTS 111 124 0 1000
62603773 nuralamcse024 B Oct. 15, 2019, 6:50 a.m. OK JavaScript TESTS 111 93 13824000 1000
47616501 Killer45 B Dec. 28, 2018, 10:45 a.m. OK Kotlin TESTS 111 202 1433600 1000
49877040 vjudge1 B Feb. 13, 2019, 4:22 p.m. OK Kotlin TESTS 111 202 6860800 1000
49875883 slemus B Feb. 13, 2019, 3:50 p.m. OK Kotlin TESTS 111 217 6758400 1000
48266261 furmansd B Jan. 11, 2019, 8:27 p.m. OK Kotlin TESTS 111 218 4096000 1000
58324304 Spheniscine B Aug. 5, 2019, 7:09 a.m. OK Kotlin TESTS 111 233 1433600 1000
47847159 Rushan B Jan. 2, 2019, 3:23 p.m. OK Kotlin TESTS 111 233 3686400 1000
69542645 Tangerine B Jan. 25, 2020, 10:46 p.m. OK Kotlin TESTS 111 248 5120000 1000
69542578 Tangerine B Jan. 25, 2020, 10:42 p.m. OK Kotlin TESTS 111 249 4096000 1000
51992686 abarragan B March 29, 2019, 9:24 p.m. OK Kotlin TESTS 111 249 5120000 1000
49640837 vjudge3 B Feb. 8, 2019, 9:48 p.m. OK Kotlin TESTS 111 249 5120000 1000
53958257 og.kostya B May 10, 2019, 12:52 p.m. OK Mono C# TESTS 111 62 409600 1000
52583330 Mosyagin B April 10, 2019, 8:51 p.m. OK Mono C# TESTS 111 62 6656000 1000
47648477 mantuitazur B Dec. 28, 2018, 4:03 p.m. OK Mono C# TESTS 111 62 6656000 1000
54947812 m1_k3 B June 1, 2019, 5 p.m. OK Mono C# TESTS 111 77 307200 1000
48879156 TRR B Jan. 24, 2019, 9:29 a.m. OK Mono C# TESTS 111 77 6656000 1000
47670973 Xtreemist B Dec. 29, 2018, 5:55 a.m. OK Mono C# TESTS 111 77 6656000 1000
47824468 Skryden B Jan. 1, 2019, 8:42 p.m. OK Mono C# TESTS 111 77 6656000 1000
48429664 danik114162 B Jan. 15, 2019, 4:40 p.m. OK Mono C# TESTS 111 77 6656000 1000
47826439 Roka B Jan. 1, 2019, 11:58 p.m. OK Mono C# TESTS 111 77 11264000 1000
67440042 Balloon_Master B Dec. 22, 2019, 6:51 p.m. OK Mono C# TESTS 111 77 11366400 1000
47715058 vjudge1 B Dec. 30, 2018, 7:01 a.m. OK MS C++ TESTS 111 31 0 1000
52151821 vjudge2 B April 1, 2019, 11:54 a.m. OK MS C++ TESTS 111 31 409600 1000
57716350 vjudge3 B July 25, 2019, 2:53 a.m. OK MS C++ TESTS 111 31 409600 1000
52149734 vjudge4 B April 1, 2019, 11:08 a.m. OK MS C++ TESTS 111 31 409600 1000
52067430 MiaoTangYuan B March 31, 2019, 6:13 a.m. OK MS C++ TESTS 111 31 409600 1000
51109475 vjudge4 B March 10, 2019, 3:04 a.m. OK MS C++ TESTS 111 31 409600 1000
50807312 powerkeke B March 5, 2019, 6:23 a.m. OK MS C++ TESTS 111 31 409600 1000
50627290 SUSTech-Vegetable B March 1, 2019, 6:52 a.m. OK MS C++ TESTS 111 31 409600 1000
50390339 vjudge2 B Feb. 23, 2019, 1:43 p.m. OK MS C++ TESTS 111 31 409600 1000
52218591 vjudge1 B April 2, 2019, 4:51 a.m. OK MS C++ TESTS 111 31 409600 1000
49819667 tangbinjie B Feb. 12, 2019, 8:08 a.m. OK MS C++ 2017 TESTS 111 46 0 1000
64568065 vjudge2 B Nov. 9, 2019, 8:14 a.m. OK MS C++ 2017 TESTS 111 46 409600 1000
58637177 ZSTU-2018329621261 B Aug. 12, 2019, 1:17 a.m. OK MS C++ 2017 TESTS 111 46 409600 1000
57994402 pmitkov B July 30, 2019, 2:28 p.m. OK MS C++ 2017 TESTS 111 46 409600 1000
57717145 vjudge4 B July 25, 2019, 3:15 a.m. OK MS C++ 2017 TESTS 111 46 1228800 1000
63117759 Ekrte B Oct. 22, 2019, 10:02 a.m. OK MS C++ 2017 TESTS 111 61 409600 1000
56156455 petko_mitkov B June 27, 2019, 10:26 a.m. OK MS C++ 2017 TESTS 111 61 2048000 1000
54660765 hwangganzi B May 26, 2019, 10:42 a.m. OK MS C++ 2017 TESTS 111 62 409600 1000
58228953 yorky B Aug. 3, 2019, 3:47 p.m. OK MS C++ 2017 TESTS 111 78 0 1000
58904183 Y_JARVIS B Aug. 16, 2019, 10:21 a.m. OK MS C++ 2017 TESTS 111 93 0 1000
47646254 pirvu.catalin94 B Dec. 28, 2018, 3:51 p.m. OK Node.js TESTS 111 186 11776000 1000
48302590 moballack B Jan. 12, 2019, 5:47 p.m. OK Node.js TESTS 111 186 11980800 1000
47822143 Arkanec B Jan. 1, 2019, 6:32 p.m. OK PascalABC.NET TESTS 111 77 2764800 1000
47617013 drmountyweb B Dec. 28, 2018, 11 a.m. OK PascalABC.NET TESTS 111 93 3993600 1000
56418722 Gimber B July 2, 2019, 6:17 a.m. OK PascalABC.NET TESTS 111 249 0 1000
51149214 Orunbaev B March 11, 2019, 6:28 a.m. OK PascalABC.NET TESTS 111 264 0 1000
51862651 mm944 B March 26, 2019, 1:49 p.m. OK PascalABC.NET TESTS 111 358 102400 1000
47615165 katalama B Dec. 28, 2018, 10:07 a.m. OK PHP TESTS 111 62 12595200 1000
47819976 hoxit B Jan. 1, 2019, 5 p.m. OK PHP TESTS 111 124 7987200 1000
58686920 wolffd B Aug. 13, 2019, 12:26 a.m. OK PyPy 2 TESTS 111 140 6451200 1000
47812080 apoorv1999 B Jan. 1, 2019, 12:02 p.m. OK PyPy 2 TESTS 111 202 6860800 1000
47893525 DUANKK B Jan. 4, 2019, 8:37 a.m. OK PyPy 3 TESTS 111 170 10547200 1000
49478513 aaulakh B Feb. 4, 2019, 8:53 p.m. OK PyPy 3 TESTS 111 171 11161600 1000
48418064 bartek.brzoza B Jan. 15, 2019, 11:36 a.m. OK PyPy 3 TESTS 111 171 11161600 1000
47828852 vjudge3 B Jan. 2, 2019, 4:22 a.m. OK PyPy 3 TESTS 111 186 9625600 1000
64444117 AnkushSharma B Nov. 7, 2019, 5:49 a.m. OK PyPy 3 TESTS 111 186 10444800 1000
47893127 DUANKK B Jan. 4, 2019, 8:19 a.m. OK PyPy 3 TESTS 111 186 10547200 1000
52384019 Ainur_Mukhtarow B April 6, 2019, 11:21 a.m. OK PyPy 3 TESTS 111 186 10649600 1000
65300760 denisoff.nickolay B Nov. 18, 2019, 1:10 p.m. OK PyPy 3 TESTS 111 186 10752000 1000
50929347 GangizzKhan B March 7, 2019, 1:15 p.m. OK PyPy 3 TESTS 111 186 11161600 1000
48061784 nobe0716 B Jan. 7, 2019, 3:43 p.m. OK PyPy 3 TESTS 111 186 11161600 1000
48016759 peggy B Jan. 5, 2019, 11:59 p.m. OK Python 2 TESTS 111 218 5632000 1000
47860021 FlyingBag65 B Jan. 3, 2019, 5:12 a.m. OK Python 2 TESTS 111 218 5632000 1000
47618370 I__Am_Andrew B Dec. 28, 2018, 11:40 a.m. OK Python 2 TESTS 111 218 5632000 1000
47854085 kaif_7 B Jan. 2, 2019, 7:55 p.m. OK Python 2 TESTS 111 218 5632000 1000
53319545 bsr011 B April 26, 2019, 12:13 p.m. OK Python 2 TESTS 111 218 5632000 1000
52066746 kpiiitb B March 31, 2019, 5:52 a.m. OK Python 2 TESTS 111 218 5632000 1000
49644381 vjudge5 B Feb. 9, 2019, 2:41 a.m. OK Python 2 TESTS 111 218 5632000 1000
49771132 vjudge2 B Feb. 11, 2019, 1:42 p.m. OK Python 2 TESTS 111 233 5632000 1000
52067142 kpiiitb B March 31, 2019, 6:04 a.m. OK Python 2 TESTS 111 233 5632000 1000
52613008 moh2222 B April 11, 2019, 4:56 p.m. OK Python 2 TESTS 111 233 5632000 1000
47893496 MRcylinder B Jan. 4, 2019, 8:36 a.m. OK Python 3 TESTS 111 139 7680000 1000
49609387 Link-God B Feb. 7, 2019, 10:04 p.m. OK Python 3 TESTS 111 139 7680000 1000
48098301 krylov.sergey.1999 B Jan. 8, 2019, 6:26 p.m. OK Python 3 TESTS 111 139 7782400 1000
47893235 Luka__ B Jan. 4, 2019, 8:23 a.m. OK Python 3 TESTS 111 139 7782400 1000
48085406 bhoneshchawla B Jan. 8, 2019, 10:59 a.m. OK Python 3 TESTS 111 139 7782400 1000
47622079 Tauzn B Dec. 28, 2018, 1:16 p.m. OK Python 3 TESTS 111 140 6041600 1000
67573556 cp_noob B Dec. 24, 2019, 11:03 p.m. OK Python 3 TESTS 111 140 7168000 1000
48493791 dem7699 B Jan. 17, 2019, 12:06 p.m. OK Python 3 TESTS 111 140 7372800 1000
60500796 mahmuz B Sept. 13, 2019, 6:35 p.m. OK Python 3 TESTS 111 140 7372800 1000
67699591 KamilRizatdinov B Dec. 27, 2019, 2:02 p.m. OK Python 3 TESTS 111 140 7372800 1000
47944397 cielavenir B Jan. 4, 2019, 6:51 p.m. OK Ruby TESTS 111 92 9830400 1000
56026507 tuna_salad B June 25, 2019, 7:09 a.m. OK Rust TESTS 111 31 1536000 1000
47680213 Dx18 B Dec. 29, 2018, 11:41 a.m. OK Rust TESTS 111 31 2150400 1000
48165255 hot_yoghurt B Jan. 9, 2019, 11:58 p.m. OK Scala TESTS 111 608 8499200 1000

remove filters

Back to search problems