Codeforces Round 885 (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
1848 Codeforces Round 885 (Div. 2) FINISHED False 7200 47661863 July 16, 2023, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 812 ) E Vika and Stone Skipping PROGRAMMING brute force math number theory

B"In Vika's hometown, Vladivostok, there is a beautiful sea. Often you can see kids skimming stones. This is the process of throwing a stone into the sea at a small angle, causing it to fly far and bounce several times off the water surface. Vika has skimmed stones many times and knows that if you throw a stone from the shore perpendicular to the coastline with a force of f , it will first touch the water at a distance of f from the shore, then bounce off and touch the water again at a distance of f - 1 from the previous point of contact. The stone will continue to fly in a straight line, reducing the distances between the points where it touches the water, until it falls into the sea. Formally, the points at which the stone touches the water surface will have the following coordinates: f , f + (f - 1) , f + (f - 1) + (f - 2) , ... , f + (f - 1) + (f - 2) + ldots + 1 (assuming that 0 is the coordinate of the shoreline). Once, while walking along the embankment of Vladivostok in the evening, Vika saw a group of guys skipping stones across the sea, launching them from the same point with different forces. She became interested in what is the maximum number of guys who can launch a stone with their force f_i , so that all f_i are different positive integers, and all n stones touched the water at the point with the coordinate x (assuming that 0 is the coordinate of the shoreline). After thinking a little, Vika answered her question. After that, she began to analyze how the answer to her question would change if she multiplied the coordinate x by some positive integers x_1 , x_2 , ... , x_q , which she picked for analysis. Vika finds it difficult to cope with such analysis on her own, so she turned to you for help. Formally, Vika is interested in the answer to her question for the coordinates X_1 = x cdot x_1 , X_2 = X_1 cdot x_2 , ... , X_q = X_{q-1} cd"...

Tutorials

Codeforces Round #885 (Div.2) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
214134869 XG0000 E July 17, 2023, 1:23 a.m. OK GNU C++14 TESTS 34 93 9523200
214100511 awoo E July 16, 2023, 5:13 p.m. OK GNU C++14 TESTS 34 171 27648000
214130945 MYNAMEISSHARIFUL E July 17, 2023, 12:08 a.m. OK GNU C++14 TESTS 34 217 5427200
214112782 SuperJ6 E July 16, 2023, 7:20 p.m. OK GNU C++14 TESTS 34 249 7884800
214094236 DMCS E July 16, 2023, 4:32 p.m. OK GNU C++14 TESTS 33 312 33075200
214141512 caijianhong E July 17, 2023, 2:47 a.m. OK GNU C++14 TESTS 34 374 41984000
214104696 i_love_fumeShroom E July 16, 2023, 5:51 p.m. OK GNU C++14 TESTS 34 405 17100800
214099646 sigmoid114 E July 16, 2023, 5:07 p.m. OK GNU C++14 TESTS 34 530 12902400
214138758 Yuseki E July 17, 2023, 2:16 a.m. OK GNU C++14 TESTS 34 545 71065600
214138336 Suwan E July 17, 2023, 2:11 a.m. OK GNU C++14 TESTS 34 545 71065600
214146901 Morphymorphymorphy E July 17, 2023, 3:47 a.m. OK GNU C++17 TESTS 34 124 5427200
214153923 relyt871 E July 17, 2023, 5:33 a.m. OK GNU C++17 TESTS 34 156 28057600
214136973 TrivialMan E July 17, 2023, 1:54 a.m. OK GNU C++17 TESTS 34 171 24064000
214136863 TrivialMan E July 17, 2023, 1:53 a.m. OK GNU C++17 TESTS 34 171 24064000
214101570 TrivialMan E July 16, 2023, 5:21 p.m. OK GNU C++17 TESTS 34 187 56115200
214089525 shadow9236 E July 16, 2023, 4:19 p.m. OK GNU C++17 TESTS 33 264 7270400
214128716 huyaowen E July 16, 2023, 11:10 p.m. OK GNU C++17 TESTS 34 311 144281600
214137163 huyaowen E July 17, 2023, 1:57 a.m. OK GNU C++17 TESTS 34 342 144281600
214098126 liympanda E July 16, 2023, 4:58 p.m. OK GNU C++17 TESTS 33 358 1331200
214110615 jdurie E July 16, 2023, 6:55 p.m. OK GNU C++17 TESTS 34 483 9011200
214106483 lunchbox E July 16, 2023, 6:10 p.m. OK GNU C++17 (64) TESTS 34 78 20787200
214106417 lunchbox E July 16, 2023, 6:10 p.m. OK GNU C++17 (64) TESTS 34 78 20787200
214085667 Kude E July 16, 2023, 4:08 p.m. OK GNU C++17 (64) TESTS 33 93 16793600
214106576 lunchbox E July 16, 2023, 6:11 p.m. OK GNU C++17 (64) TESTS 34 93 20787200
214090760 kotatsugame E July 16, 2023, 4:23 p.m. OK GNU C++17 (64) TESTS 33 109 7987200
214139002 enslaved E July 17, 2023, 2:19 a.m. OK GNU C++17 (64) TESTS 34 124 9113600
214129739 chappy1 E July 16, 2023, 11:36 p.m. OK GNU C++17 (64) TESTS 34 202 25088000
214087057 jinhaoxian E July 16, 2023, 4:12 p.m. OK GNU C++17 (64) TESTS 33 234 20480000
214086437 tabr E July 16, 2023, 4:10 p.m. OK GNU C++17 (64) TESTS 33 265 10137600
214128505 SS80194 E July 16, 2023, 11:04 p.m. OK GNU C++17 (64) TESTS 34 265 16076800
214112171 silxi E July 16, 2023, 7:13 p.m. OK GNU C++20 (64) TESTS 34 140 28876800
214132485 Marckess E July 17, 2023, 12:43 a.m. OK GNU C++20 (64) TESTS 34 140 40140800
214132559 Marckess E July 17, 2023, 12:44 a.m. OK GNU C++20 (64) TESTS 34 155 24064000
214151204 secretman1312 E July 17, 2023, 4:53 a.m. OK GNU C++20 (64) TESTS 34 156 17510400
214150192 secretman1312 E July 17, 2023, 4:37 a.m. OK GNU C++20 (64) TESTS 34 156 17510400
214147625 ghoul932 E July 17, 2023, 3:56 a.m. OK GNU C++20 (64) TESTS 34 156 37171200
214113518 silxi E July 16, 2023, 7:28 p.m. OK GNU C++20 (64) TESTS 34 171 5120000
214102676 vbobrov E July 16, 2023, 5:31 p.m. OK GNU C++20 (64) TESTS 34 171 8396800
214130685 IanISam E July 17, 2023, 12:02 a.m. OK GNU C++20 (64) TESTS 34 171 36044800
214104621 abc864197532 E July 16, 2023, 5:50 p.m. OK GNU C++20 (64) TESTS 34 186 13107200
214131595 dzhi E July 17, 2023, 12:23 a.m. OK Java 11 TESTS 34 2074 0
214131422 dzhi E July 17, 2023, 12:19 a.m. OK Java 11 TESTS 34 2074 0
214091083 Dukkha E July 16, 2023, 4:24 p.m. OK Java 17 TESTS 33 701 10035200
214086681 Maruzensky E July 16, 2023, 4:11 p.m. OK PyPy 3-64 TESTS 33 576 65740800
214099955 huikang E July 16, 2023, 5:09 p.m. OK PyPy 3-64 TESTS 34 1372 109977600

remove filters

Back to search problems