Codeforces Round 350 (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
670 Codeforces Round 350 (Div. 2) FINISHED False 9000 275061323 May 5, 2016, 4:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 15130 ) D2 Magic Powder - 2 PROGRAMMING binary search implementation 1500

B'The term of this problem is the same as the previous one, the only exception -- increased restrictions. The first line contains two positive integers n and k (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100 xe2 x80 x89000, xe2 x80 x891 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89k xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109) -- the number of ingredients and the number of grams of the magic powder. The second line contains the sequence a1, xe2 x80 x89a2, xe2 x80 x89..., xe2 x80 x89an (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89ai xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109), where the i-th number is equal to the number of grams of the i-th ingredient, needed to bake one cookie. The third line contains the sequence b1, xe2 x80 x89b2, xe2 x80 x89..., xe2 x80 x89bn (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89bi xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109), where the i-th number is equal to the number of grams of the i-th ingredient, which Apollinaria has. Print the maximum number of cookies, which Apollinaria will be able to bake using the ingredients that she has and the magic powder. '...

Tutorials

Codeforces Round #350 (Div.2) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
56759861 vjudge1 D2 July 9, 2019, 3:24 p.m. OK Clang++17 Diagnostics TESTS 150 155 0 1500
22860501 romanfixture1404 D2 Dec. 10, 2016, 4:22 p.m. OK FPC TESTS 150 62 819200 1500
27819423 KagamiharaNadeshiko D2 June 16, 2017, 7:34 a.m. OK FPC TESTS 150 62 1740800 1500
22471785 vvk_ten D2 Nov. 24, 2016, 4:39 p.m. OK FPC TESTS 150 62 3174400 1500
31237656 ChanChanChanChang D2 Oct. 12, 2017, 10:17 a.m. OK FPC TESTS 150 93 1638400 1500
56460001 jiang5ye D2 July 3, 2019, 6:22 a.m. OK FPC TESTS 150 93 2457600 1500
19923464 WalkingDeade D2 Aug. 17, 2016, 9:09 a.m. OK FPC TESTS 150 108 3174400 1500
19965939 vkozlovs D2 Aug. 19, 2016, 2:38 p.m. OK FPC TESTS 150 108 6553600 1500
26250202 rares1012 D2 April 10, 2017, 9:48 a.m. OK GNU C TESTS 150 46 2662400 1500
20027652 Who1 windniw D2 Aug. 21, 2016, 1:34 p.m. OK GNU C TESTS 150 61 3481600 1500
20411872 vjudge5 D2 Sept. 6, 2016, 4:43 a.m. OK GNU C TESTS 150 62 1638400 1500
19684269 vjudge5 D2 Aug. 7, 2016, 9:47 a.m. OK GNU C TESTS 150 62 3481600 1500
38152026 vjudge1 D2 May 13, 2018, 4:24 a.m. OK GNU C TESTS 150 62 4915200 1500
38152025 vjudge3 D2 May 13, 2018, 4:24 a.m. OK GNU C TESTS 150 62 4915200 1500
29355141 vjudge3 D2 Aug. 11, 2017, 2:19 p.m. OK GNU C TESTS 150 62 17920000 1500
29355137 vjudge3 D2 Aug. 11, 2017, 2:19 p.m. OK GNU C TESTS 150 62 17920000 1500
29355120 vjudge2 D2 Aug. 11, 2017, 2:18 p.m. OK GNU C TESTS 150 62 17920000 1500
28917768 A7medSS D2 July 27, 2017, 1:59 a.m. OK GNU C TESTS 150 62 17920000 1500
24599271 imverypupil D2 Feb. 12, 2017, 12:59 a.m. OK GNU C++ TESTS 150 30 2662400 1500
20467093 MosharrafOshy D2 Sept. 8, 2016, 6:19 p.m. OK GNU C++ TESTS 150 31 1638400 1500
21891575 ws_syx D2 Oct. 30, 2016, 11:50 a.m. OK GNU C++ TESTS 150 31 3174400 1500
32280581 gmhg D2 Nov. 13, 2017, 9:39 a.m. OK GNU C++ TESTS 150 46 614400 1500
29781576 vjudge2 D2 Aug. 25, 2017, 1:24 p.m. OK GNU C++ TESTS 150 46 614400 1500
20925744 alooochaat1998 D2 Sept. 26, 2016, 1:06 p.m. OK GNU C++ TESTS 150 46 819200 1500
19500865 asketagarwal96 D2 July 29, 2016, 6:22 p.m. OK GNU C++ TESTS 150 46 1638400 1500
34905191 vjudge3 D2 Feb. 3, 2018, 6:49 p.m. OK GNU C++ TESTS 150 46 2662400 1500
34905036 vjudge2 D2 Feb. 3, 2018, 6:45 p.m. OK GNU C++ TESTS 150 46 2662400 1500
34902710 vjudge5 D2 Feb. 3, 2018, 5:57 p.m. OK GNU C++ TESTS 150 46 2662400 1500
56850848 rainboy D2 July 11, 2019, 3:39 p.m. OK GNU C11 TESTS 150 61 819200 1500
68946308 kaiboy D2 Jan. 16, 2020, 4:18 p.m. OK GNU C11 TESTS 150 61 819200 1500
22885002 owner76 D2 Dec. 11, 2016, 4:48 p.m. OK GNU C11 TESTS 150 62 1638400 1500
61562321 vjudge2 D2 Sept. 30, 2019, 4 p.m. OK GNU C11 TESTS 150 62 3174400 1500
61562173 vjudge3 D2 Sept. 30, 2019, 3:57 p.m. OK GNU C11 TESTS 150 62 3174400 1500
40999330 LudwigVanBeethoven D2 July 31, 2018, 6:16 a.m. OK GNU C11 TESTS 150 78 1638400 1500
22652533 FISHTOBY D2 Dec. 2, 2016, 6:12 a.m. OK GNU C++11 TESTS 150 30 1638400 1500
59881229 yuy D2 Sept. 2, 2019, 5:04 a.m. OK GNU C++11 TESTS 150 31 819200 1500
40984496 ReaLNero1 D2 July 30, 2018, 7:25 p.m. OK GNU C++11 TESTS 150 31 1638400 1500
20453667 yukihana0416 D2 Sept. 8, 2016, 8:01 a.m. OK GNU C++11 TESTS 150 31 1638400 1500
35956441 ravi.kaushal97 D2 March 5, 2018, 5:15 a.m. OK GNU C++11 TESTS 150 31 3686400 1500
36865480 maratonando D2 April 1, 2018, 11:50 p.m. OK GNU C++11 TESTS 150 31 5120000 1500
69595199 vjudge1 D2 Jan. 27, 2020, 4:07 a.m. OK GNU C++11 TESTS 150 31 16076800 1500
49398442 yanjing1998 D2 Feb. 3, 2019, 1:31 p.m. OK GNU C++11 TESTS 150 46 614400 1500
62101063 vjudge4 D2 Oct. 8, 2019, 9:09 a.m. OK GNU C++11 TESTS 150 46 614400 1500
59837830 yuy D2 Sept. 1, 2019, 5:33 a.m. OK GNU C++11 TESTS 150 46 819200 1500
22404430 xiaoxiaobaozi D2 Nov. 22, 2016, 1:39 p.m. OK GNU C++14 TESTS 150 46 819200 1500
25274437 s_ranjan D2 March 5, 2017, 9:26 p.m. OK GNU C++14 TESTS 150 46 2662400 1500
27293987 pritam1989 D2 May 23, 2017, 4:35 a.m. OK GNU C++14 TESTS 150 46 7987200 1500
27284980 pritam1989 D2 May 22, 2017, 1:27 p.m. OK GNU C++14 TESTS 150 46 12083200 1500
50251795 McDreamy D2 Feb. 20, 2019, 5:38 p.m. OK GNU C++14 TESTS 150 61 819200 1500
45576147 OsaidDraidi D2 Nov. 11, 2018, 8:49 p.m. OK GNU C++14 TESTS 150 61 819200 1500
32529532 BThero D2 Nov. 21, 2017, 3:28 p.m. OK GNU C++14 TESTS 150 61 1536000 1500
32304482 shafikrony D2 Nov. 14, 2017, 6:26 a.m. OK GNU C++14 TESTS 150 61 1536000 1500
21418858 Hillmouse D2 Oct. 14, 2016, 8:50 a.m. OK GNU C++14 TESTS 150 61 3072000 1500
32172381 vjudge4 D2 Nov. 9, 2017, 4:33 p.m. OK GNU C++14 TESTS 150 61 3174400 1500
57122438 Raiden D2 July 16, 2019, 2:09 a.m. OK GNU C++17 TESTS 150 46 819200 1500
45682259 airomyst D2 Nov. 13, 2018, 3:59 p.m. OK GNU C++17 TESTS 150 46 1536000 1500
45237958 P4L D2 Nov. 3, 2018, 10:18 a.m. OK GNU C++17 TESTS 150 61 1024000 1500
45682394 airomyst D2 Nov. 13, 2018, 4:03 p.m. OK GNU C++17 TESTS 150 61 1536000 1500
59072133 CUCzzy D2 Aug. 19, 2019, 5:21 a.m. OK GNU C++17 TESTS 150 61 1536000 1500
51093824 vjudge5 D2 March 9, 2019, 3:26 p.m. OK GNU C++17 TESTS 150 62 819200 1500
57959428 mennasayed D2 July 29, 2019, 8:54 p.m. OK GNU C++17 TESTS 150 62 819200 1500
57959442 vjudge2 D2 July 29, 2019, 8:55 p.m. OK GNU C++17 TESTS 150 62 819200 1500
61212699 ghoster D2 Sept. 24, 2019, 11:56 a.m. OK GNU C++17 TESTS 150 62 819200 1500
67065420 run_time_terror D2 Dec. 17, 2019, 10:54 a.m. OK GNU C++17 TESTS 150 62 819200 1500
22110322 togatoga D2 Nov. 8, 2016, 10:43 a.m. OK Go TESTS 150 46 0 1500
46103963 davidguandev D2 Nov. 23, 2018, 7:58 a.m. OK Go TESTS 150 93 4505600 1500
22667862 opudalo D2 Dec. 3, 2016, 1:35 a.m. OK Haskell TESTS 150 249 35942400 1500
22667951 opudalo D2 Dec. 3, 2016, 1:55 a.m. OK Haskell TESTS 150 342 30617600 1500
22652622 kigorw D2 Dec. 2, 2016, 6:18 a.m. OK Haskell TESTS 150 452 21196800 1500
22611592 Menschenkindlein D2 Nov. 29, 2016, 10:56 p.m. OK Haskell TESTS 150 561 25395200 1500
22611555 Menschenkindlein D2 Nov. 29, 2016, 10:50 p.m. OK Haskell TESTS 150 592 21196800 1500
69587419 Bhavesh13 D2 Jan. 26, 2020, 8:16 p.m. OK Java 11 TESTS 150 436 0 1500
69552762 parth20 D2 Jan. 26, 2020, 7:17 a.m. OK Java 11 TESTS 150 436 0 1500
65731295 TedVu1841998 D2 Nov. 26, 2019, 5:16 a.m. OK Java 11 TESTS 150 451 0 1500
69599167 samuraisam01 D2 Jan. 27, 2020, 6:37 a.m. OK Java 11 TESTS 150 452 0 1500
69574117 cod_ninja D2 Jan. 26, 2020, 3 p.m. OK Java 11 TESTS 150 452 0 1500
69599084 samuraisam01 D2 Jan. 27, 2020, 6:35 a.m. OK Java 11 TESTS 150 467 0 1500
56292733 Seco_seco D2 June 30, 2019, 2:57 a.m. OK Java 8 TESTS 150 124 0 1500
55725572 kukreja-vlk D2 June 18, 2019, 5:31 p.m. OK Java 8 TESTS 150 124 0 1500
51952639 MaxHeap D2 March 28, 2019, 9:47 p.m. OK Java 8 TESTS 150 124 0 1500
49618086 cribabby D2 Feb. 8, 2019, 7:31 a.m. OK Java 8 TESTS 150 124 0 1500
44403090 Srinivasa_Ramanujan D2 Oct. 16, 2018, 1:45 p.m. OK Java 8 TESTS 150 124 0 1500
44397637 Srinivasa_Ramanujan D2 Oct. 16, 2018, 11:33 a.m. OK Java 8 TESTS 150 124 0 1500
25167177 kunal_khatri D2 March 3, 2017, 10:28 a.m. OK Java 8 TESTS 150 124 20275200 1500
25008546 PriyamV_181 D2 Feb. 25, 2017, 9:42 a.m. OK Java 8 TESTS 150 124 20889600 1500
37891612 ViciousCoder D2 May 4, 2018, 8:51 p.m. OK Java 8 TESTS 150 139 20684800 1500
40401207 bhautik_77 D2 July 16, 2018, 7:44 a.m. OK Java 8 TESTS 150 140 0 1500
22720793 wenqer D2 Dec. 5, 2016, 11:30 p.m. OK JavaScript TESTS 150 124 18739200 1500
22719490 grinevich D2 Dec. 5, 2016, 8:57 p.m. OK JavaScript TESTS 150 811 29900800 1500
23255235 JoeBlow D2 Dec. 23, 2016, 5:46 p.m. OK Kotlin TESTS 150 202 25804800 1500
22648560 dzharvis D2 Dec. 1, 2016, 9:08 p.m. OK Kotlin TESTS 150 296 10752000 1500
62440292 david_varela D2 Oct. 12, 2019, 7:06 p.m. OK Kotlin TESTS 150 405 10649600 1500
50992219 nemars D2 March 7, 2019, 11:47 p.m. OK Mono C# TESTS 150 483 37580800 1500
22822378 liss_mouse D2 Dec. 8, 2016, 10:16 p.m. OK MS C# TESTS 150 124 25600000 1500
19725321 Sid_Adams D2 Aug. 8, 2016, 9:53 a.m. OK MS C# TESTS 150 124 37683200 1500
22404124 pomjuice D2 Nov. 22, 2016, 1:26 p.m. OK MS C# TESTS 150 982 34816000 1500
49103375 vjudge2 D2 Jan. 28, 2019, 12:11 p.m. OK MS C++ TESTS 150 46 1638400 1500
19450988 vjudge1 D2 July 28, 2016, 12:21 a.m. OK MS C++ TESTS 150 46 1638400 1500
53305857 vjudge3 D2 April 26, 2019, 3:07 a.m. OK MS C++ TESTS 150 46 1638400 1500
44663445 vjudge3 D2 Oct. 21, 2018, 4:29 p.m. OK MS C++ TESTS 150 46 1843200 1500
45552645 vjudge5 D2 Nov. 11, 2018, 6:39 a.m. OK MS C++ TESTS 150 46 1843200 1500
34891149 vjudge2 D2 Feb. 3, 2018, 10:07 a.m. OK MS C++ TESTS 150 46 2867200 1500
34906203 vjudge4 D2 Feb. 3, 2018, 7:11 p.m. OK MS C++ TESTS 150 46 2867200 1500
23217534 scorpiowf D2 Dec. 22, 2016, 5:06 a.m. OK MS C++ TESTS 150 46 3072000 1500
49368579 vjudge3 D2 Feb. 2, 2019, 4:15 p.m. OK MS C++ TESTS 150 46 3174400 1500
34664228 vjudge4 D2 Jan. 29, 2018, 2:17 p.m. OK MS C++ TESTS 150 46 3686400 1500
50101955 whyamievenhere D2 Feb. 18, 2019, 3:21 p.m. OK MS C++ 2017 TESTS 150 78 1638400 1500
67630392 vjudge2 D2 Dec. 26, 2019, 3:27 a.m. OK MS C++ 2017 TESTS 150 78 1638400 1500
54901600 ZSTU-2018329621261 D2 June 1, 2019, 6:53 a.m. OK MS C++ 2017 TESTS 150 78 16076800 1500
66257936 vjudge5 D2 Dec. 4, 2019, 7:01 a.m. OK MS C++ 2017 TESTS 150 93 1638400 1500
54008531 emmanuelv02 D2 May 11, 2019, 10:29 p.m. OK MS C++ 2017 TESTS 150 202 819200 1500
64888875 yuanyuan2048 D2 Nov. 14, 2019, 2:02 p.m. OK MS C++ 2017 TESTS 150 233 1843200 1500
62895825 vjudge5 D2 Oct. 18, 2019, 11:49 p.m. OK MS C++ 2017 TESTS 150 233 3481600 1500
59979122 bahaaEldeen D2 Sept. 4, 2019, 7:26 a.m. OK MS C++ 2017 TESTS 150 234 3481600 1500
22650236 rodio D2 Dec. 2, 2016, 1:03 a.m. OK PyPy 2 TESTS 150 139 22528000 1500
19772973 sobir_bobiev D2 Aug. 10, 2016, 9:04 p.m. OK PyPy 2 TESTS 150 140 34713600 1500
22651386 Tetiana D2 Dec. 2, 2016, 4:12 a.m. OK PyPy 2 TESTS 150 280 13004800 1500
22519703 diunko D2 Nov. 27, 2016, 3:36 a.m. OK PyPy 2 TESTS 150 327 13926400 1500
33021016 latsyrc1123 D2 Dec. 8, 2017, 11:35 a.m. OK PyPy 2 TESTS 150 342 51404800 1500
58353047 param98 D2 Aug. 5, 2019, 6:02 p.m. OK PyPy 2 TESTS 150 373 11468800 1500
22687622 andrey.la D2 Dec. 4, 2016, 2:58 a.m. OK PyPy 2 TESTS 150 421 22016000 1500
22653117 Kucheriava D2 Dec. 2, 2016, 7:04 a.m. OK PyPy 2 TESTS 150 436 13004800 1500
22655575 mariana-scorp D2 Dec. 2, 2016, 10:20 a.m. OK PyPy 2 TESTS 150 452 16486400 1500
22407080 alyaxey D2 Nov. 22, 2016, 4:06 p.m. OK PyPy 2 TESTS 150 483 12595200 1500
49498878 Shashank_R D2 Feb. 5, 2019, 2:12 p.m. OK PyPy 3 TESTS 150 265 14643200 1500
19772903 sobir_bobiev D2 Aug. 10, 2016, 8:56 p.m. OK PyPy 3 TESTS 150 342 37171200 1500
61321869 codeguy12 D2 Sept. 26, 2019, 12:48 p.m. OK PyPy 3 TESTS 150 358 15667200 1500
65167259 Wilmetronw D2 Nov. 16, 2019, 1:48 p.m. OK PyPy 3 TESTS 150 374 13619200 1500
35045479 zvv D2 Feb. 8, 2018, 5:44 a.m. OK PyPy 3 TESTS 150 405 34713600 1500
61406680 lIn_nIl D2 Sept. 28, 2019, 7:15 a.m. OK PyPy 3 TESTS 150 436 15667200 1500
68641174 vishwesh18 D2 Jan. 12, 2020, 7:34 a.m. OK PyPy 3 TESTS 150 514 13926400 1500
54584556 Aidos D2 May 25, 2019, 6:21 a.m. OK PyPy 3 TESTS 150 530 17408000 1500
53885959 vjudge1 D2 May 8, 2019, 6:10 p.m. OK PyPy 3 TESTS 150 561 17408000 1500
60315377 Sevlll D2 Sept. 9, 2019, 5:38 p.m. OK PyPy 3 TESTS 150 576 15769600 1500
22641690 mariana-scorp D2 Dec. 1, 2016, 2:24 p.m. OK Python 2 TESTS 150 311 12800000 1500
22496103 abrikosik D2 Nov. 25, 2016, 7 p.m. OK Python 2 TESTS 150 420 15667200 1500
29364762 Khushboo05 D2 Aug. 11, 2017, 10:34 p.m. OK Python 2 TESTS 150 748 17920000 1500
31377925 vgom D2 Oct. 15, 2017, 9:26 p.m. OK Python 2 TESTS 150 810 11264000 1500
54582516 Aidos D2 May 25, 2019, 5:28 a.m. OK Python 3 TESTS 150 405 13721600 1500
22597552 komelianchuk D2 Nov. 29, 2016, 11:50 a.m. OK Python 3 TESTS 150 451 14950400 1500
19772873 sobir_bobiev D2 Aug. 10, 2016, 8:52 p.m. OK Python 3 TESTS 150 530 16896000 1500
61082418 saiful_azad D2 Sept. 22, 2019, 4:54 p.m. OK Python 3 TESTS 150 623 12083200 1500
19772717 sobir_bobiev D2 Aug. 10, 2016, 8:36 p.m. OK Python 3 TESTS 150 716 16588800 1500
49370343 vvv_jsr D2 Feb. 2, 2019, 5 p.m. OK Python 3 TESTS 150 764 11673600 1500
20292394 I_love_Ucdit D2 Aug. 31, 2016, 1:42 a.m. OK Python 3 TESTS 150 841 12390400 1500
20292405 I_love_Ucdit D2 Aug. 31, 2016, 1:44 a.m. OK Python 3 TESTS 150 857 11571200 1500
20292409 I_love_Ucdit D2 Aug. 31, 2016, 1:44 a.m. OK Python 3 TESTS 150 919 12390400 1500
19770759 sobir_bobiev D2 Aug. 10, 2016, 5:59 p.m. OK Python 3 TESTS 150 919 16486400 1500
25027062 krvss D2 Feb. 26, 2017, 3:06 a.m. OK Scala TESTS 150 857 33894400 1500

remove filters

Back to search problems