Educational Codeforces Round 58 (Rated for 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
1101 Educational Codeforces Round 58 (Rated for Div. 2) FINISHED False 7200 184605899 Jan. 11, 2019, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 17496 ) A Minimum Integer PROGRAMMING math 1100

B'You are given q queries in the following form: Given three integers l_i , r_i and d_i , find minimum positive integer x_i such that it is divisible by d_i and it does not belong to the segment [l_i, r_i] . Can you answer all the queries? Recall that a number x belongs to segment [l, r] if l <= x <= r . The first line contains one integer q ( 1 <= q <= 500 ) -- the number of queries. Then q lines follow, each containing a query given in the format l_i r_i d_i ( 1 <= l_i <= r_i <= 10^9 , 1 <= d_i <= 10^9 ). l_i , r_i and d_i are integers. For each query print one integer: the answer to this query. '...

Tutorials

64483

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
57836823 vjudge5 A July 27, 2019, 7:52 a.m. OK Clang++17 Diagnostics TESTS 168 46 0 1100
48444102 grape97 A Jan. 16, 2019, 6:25 a.m. OK Clang++17 Diagnostics TESTS 168 46 0 1100
48605024 amruth_kumar A Jan. 20, 2019, 10:23 a.m. OK Clang++17 Diagnostics TESTS 168 46 0 1100
57832695 vjudge1 A July 27, 2019, 6:33 a.m. OK Clang++17 Diagnostics TESTS 168 46 0 1100
57835107 vjudge2 A July 27, 2019, 7:17 a.m. OK Clang++17 Diagnostics TESTS 168 46 0 1100
57835387 vjudge1 A July 27, 2019, 7:23 a.m. OK Clang++17 Diagnostics TESTS 168 46 0 1100
57838947 vjudge1 A July 27, 2019, 8:35 a.m. OK Clang++17 Diagnostics TESTS 168 46 0 1100
57837866 vjudge4 A July 27, 2019, 8:13 a.m. OK Clang++17 Diagnostics TESTS 168 46 0 1100
48880978 Muhammad-2004 A Jan. 24, 2019, 10:17 a.m. OK Clang++17 Diagnostics TESTS 168 62 0 1100
57830322 vjudge1 A July 27, 2019, 5:47 a.m. OK Clang++17 Diagnostics TESTS 168 62 0 1100
62966774 sash0 A Oct. 20, 2019, 5:04 a.m. OK D TESTS 168 31 0 1100
49385825 swin A Feb. 3, 2019, 6:47 a.m. OK D TESTS 168 31 0 1100
56687634 luogu_bot1 A July 8, 2019, 12:55 a.m. OK FPC TESTS 168 31 0 1100
48376079 hoangmaicongdat2001 A Jan. 14, 2019, 7:39 a.m. OK FPC TESTS 168 31 0 1100
48294435 Kecapgiacmo A Jan. 12, 2019, 2 p.m. OK FPC TESTS 168 31 0 1100
48306070 Meibisu A Jan. 12, 2019, 7:53 p.m. OK FPC TESTS 168 46 0 1100
49042112 PhuongPeu A Jan. 27, 2019, 6:57 a.m. OK FPC TESTS 168 46 102400 1100
54892028 kholevenkova A May 31, 2019, 9:16 p.m. OK FPC TESTS 168 46 307200 1100
53603168 minhquaningenious A May 1, 2019, 8:53 a.m. OK FPC TESTS 168 46 307200 1100
51751522 Raikels A March 23, 2019, 9:44 a.m. OK FPC TESTS 168 46 307200 1100
51252218 hkwalker A March 13, 2019, 9:19 a.m. OK FPC TESTS 168 46 307200 1100
65456038 DevJewel A Nov. 20, 2019, 8:38 p.m. OK GNU C11 TESTS 168 31 0 1100
60801335 loud_mouth A Sept. 18, 2019, 5:10 p.m. OK GNU C11 TESTS 168 31 0 1100
61869838 sivadurga A Oct. 4, 2019, 5:46 p.m. OK GNU C11 TESTS 168 31 0 1100
63019477 yigezhe A Oct. 20, 2019, 2 p.m. OK GNU C11 TESTS 168 31 0 1100
64137950 von-Neumann A Nov. 3, 2019, 7:41 a.m. OK GNU C11 TESTS 168 31 0 1100
57948478 khasrulShihab A July 29, 2019, 3:21 p.m. OK GNU C11 TESTS 168 31 0 1100
65663484 farhanitrate A Nov. 24, 2019, 1:20 p.m. OK GNU C11 TESTS 168 31 0 1100
66050374 Mashiyat A Nov. 30, 2019, 4:56 p.m. OK GNU C11 TESTS 168 31 0 1100
66664034 Revanth27 A Dec. 12, 2019, 6:14 a.m. OK GNU C11 TESTS 168 31 0 1100
57948342 khasrulShihab A July 29, 2019, 3:17 p.m. OK GNU C11 TESTS 168 31 0 1100
68127220 OishikBiswas A Jan. 3, 2020, 3:38 p.m. OK GNU C++11 TESTS 168 31 0 1100
68420886 vjudge4 A Jan. 8, 2020, 10:02 p.m. OK GNU C++11 TESTS 168 31 0 1100
68420917 N0fal A Jan. 8, 2020, 10:04 p.m. OK GNU C++11 TESTS 168 31 0 1100
68735693 jaglannikhil888 A Jan. 13, 2020, 8:04 p.m. OK GNU C++11 TESTS 168 31 0 1100
68948287 _Kema_ A Jan. 16, 2020, 5 p.m. OK GNU C++11 TESTS 168 31 0 1100
69091696 20170945 A Jan. 19, 2020, 10:24 a.m. OK GNU C++11 TESTS 168 31 0 1100
69285010 RoKnight A Jan. 22, 2020, 7:46 a.m. OK GNU C++11 TESTS 168 31 0 1100
69523264 ma6755501 A Jan. 25, 2020, 2:04 p.m. OK GNU C++11 TESTS 168 31 0 1100
69879768 Ravan_2070 A Jan. 31, 2020, 5:52 a.m. OK GNU C++11 TESTS 168 31 0 1100
69936468 GG_LC A Feb. 1, 2020, 4:05 a.m. OK GNU C++11 TESTS 168 31 0 1100
48910599 mr.piggy A Jan. 25, 2019, 1:50 a.m. OK GNU C++14 TESTS 168 30 0 1100
69649178 Robukhi A Jan. 28, 2020, 4:01 a.m. OK GNU C++14 TESTS 168 31 0 1100
69690345 Shadow_Master A Jan. 28, 2020, 6:23 p.m. OK GNU C++14 TESTS 168 31 0 1100
69611462 Robukhi A Jan. 27, 2020, 11:39 a.m. OK GNU C++14 TESTS 168 31 0 1100
69260868 RedGlassesGuy A Jan. 21, 2020, 5 p.m. OK GNU C++14 TESTS 168 31 0 1100
69229391 new_newbie A Jan. 21, 2020, 8:50 a.m. OK GNU C++14 TESTS 168 31 0 1100
69208065 kashiza A Jan. 20, 2020, 6:44 p.m. OK GNU C++14 TESTS 168 31 0 1100
69016773 socho A Jan. 18, 2020, 5:30 a.m. OK GNU C++14 TESTS 168 31 0 1100
68916691 ragee A Jan. 16, 2020, 8:37 a.m. OK GNU C++14 TESTS 168 31 0 1100
68860196 zytxdy A Jan. 15, 2020, 11:51 a.m. OK GNU C++14 TESTS 168 31 0 1100
48317139 Cro-Marmot A Jan. 13, 2019, 7:11 a.m. OK GNU C++17 TESTS 168 30 307200 1100
69461392 Shashank_Chugh A Jan. 24, 2020, 10:57 a.m. OK GNU C++17 TESTS 168 31 0 1100
69475143 ron_weasley27 A Jan. 24, 2020, 3:53 p.m. OK GNU C++17 TESTS 168 31 0 1100
69518215 nitk2038 A Jan. 25, 2020, 12:39 p.m. OK GNU C++17 TESTS 168 31 0 1100
69549732 Islamshaheb A Jan. 26, 2020, 5:48 a.m. OK GNU C++17 TESTS 168 31 0 1100
69627046 mrinaaldogra19 A Jan. 27, 2020, 4:06 p.m. OK GNU C++17 TESTS 168 31 0 1100
69683689 gowthamkishoreindukuri A Jan. 28, 2020, 4:23 p.m. OK GNU C++17 TESTS 168 31 0 1100
69863898 Saurav_1703041 A Jan. 30, 2020, 7:34 p.m. OK GNU C++17 TESTS 168 31 0 1100
69930197 Moon1999 A Jan. 31, 2020, 11:04 p.m. OK GNU C++17 TESTS 168 31 0 1100
69424468 P_h_A_n_T_o_M A Jan. 23, 2020, 3:22 p.m. OK GNU C++17 TESTS 168 31 0 1100
48538661 lolopat2 A Jan. 18, 2019, 3:32 p.m. OK Go TESTS 168 46 0 1100
50296162 vchilikov A Feb. 21, 2019, 8:41 p.m. OK Go TESTS 168 62 0 1100
48448236 codemania A Jan. 16, 2019, 8:42 a.m. OK Haskell TESTS 168 31 8499200 1100
48307276 Hillmouse A Jan. 12, 2019, 8:48 p.m. OK Haskell TESTS 168 31 8499200 1100
57699334 jmazon A July 24, 2019, 5:22 p.m. OK Haskell TESTS 168 46 102400 1100
67049797 CodAR A Dec. 17, 2019, 3:03 a.m. OK Java 11 TESTS 168 218 0 1100
68131208 GeekDomain A Jan. 3, 2020, 5:06 p.m. OK Java 11 TESTS 168 234 0 1100
67760129 Baraa_Atta A Dec. 27, 2019, 9:39 p.m. OK Java 11 TESTS 168 280 0 1100
48407591 Psp_98 A Jan. 15, 2019, 5:22 a.m. OK Java 8 TESTS 168 109 0 1100
48312761 Faizan A Jan. 13, 2019, 4:03 a.m. OK Java 8 TESTS 168 109 0 1100
68939996 StEpAn_123 A Jan. 16, 2020, 2:07 p.m. OK Java 8 TESTS 168 124 0 1100
67275814 Mann_27__ A Dec. 20, 2019, 10:10 a.m. OK Java 8 TESTS 168 124 0 1100
64743022 Keyur21 A Nov. 12, 2019, 12:36 p.m. OK Java 8 TESTS 168 124 0 1100
59709180 AmmarKayaliite A Aug. 30, 2019, 1:56 p.m. OK Java 8 TESTS 168 124 0 1100
59344477 Bhavya_Arora A Aug. 23, 2019, 9:04 a.m. OK Java 8 TESTS 168 124 0 1100
59343452 T_Nady A Aug. 23, 2019, 8:36 a.m. OK Java 8 TESTS 168 124 0 1100
55874397 foreverlearner A June 21, 2019, 4:42 p.m. OK Java 8 TESTS 168 124 0 1100
55486408 harshkrr.151 A June 12, 2019, 8:05 a.m. OK Java 8 TESTS 168 124 0 1100
48266508 nuralamcse024 A Jan. 11, 2019, 8:37 p.m. OK JavaScript TESTS 168 46 1126400 1100
48266450 nuralamcse024 A Jan. 11, 2019, 8:35 p.m. OK JavaScript TESTS 168 46 1126400 1100
48631496 Askander A Jan. 20, 2019, 1:30 p.m. OK JavaScript TESTS 168 46 1228800 1100
48455089 SergeySh A Jan. 16, 2019, 12:21 p.m. OK JavaScript TESTS 168 46 1228800 1100
48283498 Ablay_adil A Jan. 12, 2019, 9:05 a.m. OK JavaScript TESTS 168 46 1228800 1100
58105269 arboreal A Aug. 1, 2019, 3:48 a.m. OK JavaScript TESTS 168 46 1433600 1100
64507631 Spheniscine A Nov. 8, 2019, 7:33 a.m. OK Kotlin TESTS 168 124 0 1100
48887336 Killer45 A Jan. 24, 2019, 12:49 p.m. OK Kotlin TESTS 168 124 0 1100
53983623 Farwent A May 11, 2019, 8:28 a.m. OK Kotlin TESTS 168 156 0 1100
49906952 TaurenChief A Feb. 14, 2019, 12:27 p.m. OK Kotlin TESTS 168 171 0 1100
51992477 abarragan A March 29, 2019, 9:13 p.m. OK Kotlin TESTS 168 171 0 1100
50932657 jhw866 A March 7, 2019, 2:39 p.m. OK Kotlin TESTS 168 171 0 1100
48280176 islamdidarmd A Jan. 12, 2019, 7:37 a.m. OK Kotlin TESTS 168 171 204800 1100
60458745 rego97 A Sept. 12, 2019, 7:20 p.m. OK Kotlin TESTS 168 171 204800 1100
48681828 AnitaK A Jan. 21, 2019, 1:37 p.m. OK Kotlin TESTS 168 171 204800 1100
49263724 nagooba A Jan. 31, 2019, 1:28 p.m. OK Kotlin TESTS 168 171 21299200 1100
53957911 og.kostya A May 10, 2019, 12:43 p.m. OK Mono C# TESTS 168 61 102400 1100
48268658 IleksaNott A Jan. 11, 2019, 10:47 p.m. OK Mono C# TESTS 168 62 102400 1100
50399899 Valera_Grinenko A Feb. 23, 2019, 5:43 p.m. OK Mono C# TESTS 168 62 102400 1100
49396767 nastya1199 A Feb. 3, 2019, 12:43 p.m. OK Mono C# TESTS 168 62 102400 1100
48945050 Kon567889 A Jan. 25, 2019, 6:38 p.m. OK Mono C# TESTS 168 62 102400 1100
48940772 nemars A Jan. 25, 2019, 4:24 p.m. OK Mono C# TESTS 168 62 102400 1100
48621462 zazak A Jan. 20, 2019, 12:43 p.m. OK Mono C# TESTS 168 62 102400 1100
48569541 y5bcit A Jan. 19, 2019, 11:19 a.m. OK Mono C# TESTS 168 62 102400 1100
48307587 StudyApps A Jan. 12, 2019, 9:04 p.m. OK Mono C# TESTS 168 62 102400 1100
48280536 ken_love_rin A Jan. 12, 2019, 7:47 a.m. OK Mono C# TESTS 168 62 102400 1100
60750861 vjudge2 A Sept. 18, 2019, 6:11 a.m. OK MS C++ TESTS 168 31 0 1100
60750176 vjudge2 A Sept. 18, 2019, 5:44 a.m. OK MS C++ TESTS 168 31 0 1100
57800424 vjudge2 A July 26, 2019, 1:04 p.m. OK MS C++ TESTS 168 31 0 1100
57736462 vjudge1 A July 25, 2019, 10:05 a.m. OK MS C++ TESTS 168 31 0 1100
57735003 vjudge1 A July 25, 2019, 9:41 a.m. OK MS C++ TESTS 168 31 0 1100
67201962 platter A Dec. 19, 2019, 11:13 a.m. OK MS C++ TESTS 168 31 0 1100
66552909 dipercf A Dec. 9, 2019, 3:36 p.m. OK MS C++ TESTS 168 31 0 1100
61261560 gzl A Sept. 25, 2019, 11:43 a.m. OK MS C++ TESTS 168 31 0 1100
61259639 Nidhogg A Sept. 25, 2019, 11:15 a.m. OK MS C++ TESTS 168 31 0 1100
60751765 vjudge3 A Sept. 18, 2019, 6:43 a.m. OK MS C++ TESTS 168 31 0 1100
55073986 hwangganzi A June 4, 2019, 7:40 a.m. OK MS C++ 2017 TESTS 168 31 0 1100
62198157 vjudge1 A Oct. 9, 2019, 11:23 a.m. OK MS C++ 2017 TESTS 168 31 0 1100
58333282 ZSTU-2018329621261 A Aug. 5, 2019, 10:21 a.m. OK MS C++ 2017 TESTS 168 31 0 1100
58111110 Pricolno A Aug. 1, 2019, 7:11 a.m. OK MS C++ 2017 TESTS 168 31 0 1100
57733335 vjudge4 A July 25, 2019, 9:12 a.m. OK MS C++ 2017 TESTS 168 31 0 1100
57732661 vjudge1 A July 25, 2019, 9:01 a.m. OK MS C++ 2017 TESTS 168 31 0 1100
57727826 vjudge3 A July 25, 2019, 7:41 a.m. OK MS C++ 2017 TESTS 168 31 0 1100
56700378 KATAYPEPE A July 8, 2019, 8:50 a.m. OK MS C++ 2017 TESTS 168 31 0 1100
55230747 badalyadav A June 7, 2019, 5:28 a.m. OK MS C++ 2017 TESTS 168 31 0 1100
54801372 Mad112233 A May 29, 2019, 12:06 p.m. OK MS C++ 2017 TESTS 168 31 0 1100
49739418 Rara. A Feb. 10, 2019, 6:30 p.m. OK Node.js TESTS 168 202 1433600 1100
48302774 moballack A Jan. 12, 2019, 5:52 p.m. OK Node.js TESTS 168 202 1433600 1100
48299986 pirvu.catalin94 A Jan. 12, 2019, 4:23 p.m. OK Node.js TESTS 168 202 1433600 1100
48963120 thevirtual A Jan. 26, 2019, 6:46 a.m. OK Ocaml TESTS 168 31 0 1100
49198486 bochkov A Jan. 30, 2019, 11:31 a.m. OK PascalABC.NET TESTS 168 202 0 1100
67250069 28Nik A Dec. 19, 2019, 6:42 p.m. OK PascalABC.NET TESTS 168 311 204800 1100
51919384 AMC2 A March 28, 2019, 2:35 a.m. OK PascalABC.NET TESTS 168 312 307200 1100
48380271 WhoCaresWhoAndWhy A Jan. 14, 2019, 10:06 a.m. OK PascalABC.NET TESTS 168 312 409600 1100
51313395 mm944 A March 14, 2019, 9:08 p.m. OK PascalABC.NET TESTS 168 326 204800 1100
48273410 Kecapgiacmo A Jan. 12, 2019, 4:09 a.m. OK PascalABC.NET TESTS 168 326 307200 1100
51150229 byb0nd A March 11, 2019, 7:10 a.m. OK PascalABC.NET TESTS 168 327 307200 1100
49011742 brw A Jan. 26, 2019, 4:39 p.m. OK PascalABC.NET TESTS 168 374 307200 1100
48988105 raven_47 A Jan. 26, 2019, 1:13 p.m. OK PyPy 2 TESTS 168 155 102400 1100
48278006 masonsbro A Jan. 12, 2019, 6:42 a.m. OK PyPy 2 TESTS 168 170 102400 1100
49335665 taha777 A Feb. 1, 2019, 6:20 p.m. OK PyPy 2 TESTS 168 171 0 1100
48269939 cherry_su A Jan. 12, 2019, 12:49 a.m. OK PyPy 2 TESTS 168 171 102400 1100
48329500 haribhatt34 A Jan. 13, 2019, 1:39 p.m. OK PyPy 3 TESTS 168 140 0 1100
48300697 III_Wolverine_III A Jan. 12, 2019, 4:45 p.m. OK PyPy 3 TESTS 168 156 0 1100
52507329 iamprayush A April 8, 2019, 7:31 p.m. OK PyPy 3 TESTS 168 156 307200 1100
49655409 SarveshDubey A Feb. 9, 2019, 9:39 a.m. OK PyPy 3 TESTS 168 156 307200 1100
48573660 shiv1470 A Jan. 19, 2019, 1:06 p.m. OK PyPy 3 TESTS 168 156 409600 1100
48371057 freedom_dr A Jan. 14, 2019, 4:19 a.m. OK PyPy 3 TESTS 168 156 409600 1100
61840776 kopok2 A Oct. 4, 2019, 9:34 a.m. OK PyPy 3 TESTS 168 156 1433600 1100
57070986 noratee5 A July 15, 2019, 2:33 a.m. OK PyPy 3 TESTS 168 156 1843200 1100
51975055 CodeMaster A March 29, 2019, 2:01 p.m. OK PyPy 3 TESTS 168 170 307200 1100
48439337 MajAK A Jan. 16, 2019, 1:12 a.m. OK PyPy 3 TESTS 168 170 307200 1100
53319013 bsr011 A April 26, 2019, 11:58 a.m. OK Python 2 TESTS 168 171 0 1100
52944657 franckmy A April 18, 2019, 11 a.m. OK Python 2 TESTS 168 171 0 1100
48541489 gatsko A Jan. 18, 2019, 4:58 p.m. OK Python 2 TESTS 168 171 0 1100
48517518 vjudge1 A Jan. 18, 2019, 5:17 a.m. OK Python 2 TESTS 168 171 0 1100
48390365 kaif_7 A Jan. 14, 2019, 3:01 p.m. OK Python 2 TESTS 168 171 0 1100
48301529 scambret A Jan. 12, 2019, 5:11 p.m. OK Python 2 TESTS 168 171 0 1100
48318067 saurabhshahpur A Jan. 13, 2019, 7:43 a.m. OK Python 2 TESTS 168 171 102400 1100
48472119 piblolq A Jan. 16, 2019, 9:38 p.m. OK Python 2 TESTS 168 186 0 1100
48367560 nealzane A Jan. 14, 2019, 12:21 a.m. OK Python 2 TESTS 168 186 0 1100
67373810 kalpurussh A Dec. 21, 2019, 2:38 p.m. OK Python 2 TESTS 168 187 0 1100
54697850 T_AB A May 26, 2019, 8:12 p.m. OK Python 3 TESTS 168 109 0 1100
54455154 NewGame A May 21, 2019, 3:26 p.m. OK Python 3 TESTS 168 109 0 1100
52340993 vincentviktor A April 5, 2019, 10:30 a.m. OK Python 3 TESTS 168 109 0 1100
52136508 HomeDragon A April 1, 2019, 3:15 a.m. OK Python 3 TESTS 168 109 0 1100
50811100 evenharder A March 5, 2019, 8:49 a.m. OK Python 3 TESTS 168 109 0 1100
50793467 LuckT A March 4, 2019, 5 p.m. OK Python 3 TESTS 168 109 0 1100
50140107 kika4 A Feb. 18, 2019, 9:07 p.m. OK Python 3 TESTS 168 109 0 1100
49909888 MatveyVologdin A Feb. 14, 2019, 1:42 p.m. OK Python 3 TESTS 168 109 0 1100
49764430 saku7 A Feb. 11, 2019, 10:55 a.m. OK Python 3 TESTS 168 109 0 1100
49442353 tchr A Feb. 3, 2019, 10:11 p.m. OK Python 3 TESTS 168 109 0 1100
48318155 ShortCode A Jan. 13, 2019, 7:46 a.m. OK Ruby TESTS 168 77 204800 1100
48503213 rahdpp A Jan. 17, 2019, 4:16 p.m. OK Ruby TESTS 168 108 102400 1100
48357853 cielavenir A Jan. 13, 2019, 5:02 p.m. OK Ruby TESTS 168 171 204800 1100
61290197 matijap A Sept. 25, 2019, 8:16 p.m. OK Rust TESTS 168 46 0 1100
48324202 rustaurance A Jan. 13, 2019, 10:57 a.m. OK Rust TESTS 168 46 0 1100
48271807 hr567 A Jan. 12, 2019, 2:48 a.m. OK Rust TESTS 168 46 0 1100
56064767 tuna_salad A June 26, 2019, 7:22 a.m. OK Rust TESTS 168 46 307200 1100
48953221 dandersonw A Jan. 26, 2019, 2:17 a.m. OK Scala TESTS 168 498 0 1100
48305718 kihen A Jan. 12, 2019, 7:38 p.m. OK Scala TESTS 168 499 0 1100

remove filters

Back to search problems