2022-2023 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules, Preferably Teams)

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
1765 2022-2023 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules, Preferably Teams) FINISHED False 18000 67721063 Nov. 27, 2022, 10:35 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 627 ) F Chemistry Lab PROGRAMMING dp geometry probabilities 2200

B"Monocarp is planning on opening a chemistry lab. During the first month, he's going to distribute solutions of a certain acid. First, he will sign some contracts with a local chemistry factory. Each contract provides Monocarp with an unlimited supply of some solution of the same acid. The factory provides n contract options, numbered from 1 to n . The i -th solution has a concentration of x_i % , the contract costs w_i burles, and Monocarp will be able to sell it for c_i burles per liter. Monocarp is expecting k customers during the first month. Each customer will buy a liter of a y % -solution, where y is a real number chosen uniformly at random from 0 to 100 independently for each customer. More formally, the probability of number y being less than or equal to some t is P(y <= t) = frac{t}{100} . Monocarp can mix the solution that he signed the contracts with the factory for, at any ratio. More formally, if he has contracts for m solutions with concentrations x_1, x_2, ... , x_m , then, for these solutions, he picks their volumes a_1, a_2, ... , a_m so that sum limits_{i=1}^{m} a_i = 1 (exactly 1 since each customer wants exactly one liter of a certain solution). The concentration of the resulting solution is sum limits_{i=1}^{m} x_i cdot a_i . The price of the resulting solution is sum limits_{i=1}^{m} c_i cdot a_i . If Monocarp can obtain a solution of concentration y % , then he will do it while maximizing its price (the cost for the customer). Otherwise, the customer leaves without buying anything, and the price is considered equal to 0 . Monocarp wants to sign some contracts with a factory (possibly, none or all of them) so that the expected profit is maximized -- the expected total price of the sold solutions for all k customers minus the total cost of signing the contracts from the factory. Prin"...

Tutorials

109642

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
182899727 Jimanbanashi F Nov. 27, 2022, 12:17 p.m. OK GNU C++14 TESTS 46 46 102400 2200
182958138 omeganot F Nov. 28, 2022, 12:22 a.m. OK GNU C++14 TESTS 46 78 102400 2200
182913746 you_dont_know_me_yet Prince_Kassad Geo_Ghaffar F Nov. 27, 2022, 2:02 p.m. OK GNU C++14 TESTS 46 108 15872000 2200
182910765 dreamoon_love_AA A_A_ F Nov. 27, 2022, 1:38 p.m. OK GNU C++14 TESTS 46 187 20992000 2200
182924065 Bazoka13 JJLeo 2sozx F Nov. 27, 2022, 3:31 p.m. OK GNU C++14 TESTS 46 327 512000 2200
182921561 aa2985759 F Nov. 27, 2022, 3:08 p.m. OK GNU C++17 TESTS 46 61 307200 2200
182900776 fanache99 F Nov. 27, 2022, 12:24 p.m. OK GNU C++17 TESTS 46 62 204800 2200
182922914 Agreb F Nov. 27, 2022, 3:21 p.m. OK GNU C++17 TESTS 46 62 307200 2200
182774028 xuanquang1999 6aren chemthan F Nov. 27, 2022, 11:38 a.m. OK GNU C++17 TESTS 46 62 512000 2200
182774566 Merkurev Um_nik F Nov. 27, 2022, 11:41 a.m. OK GNU C++17 TESTS 46 93 204800 2200
182804316 Karuna jhhope1 L0TUS F Nov. 27, 2022, 11:49 a.m. OK GNU C++17 TESTS 46 187 301875200 2200
182903941 xxk2006 mabolong2006 Mr_Snail F Nov. 27, 2022, 12:46 p.m. OK GNU C++17 TESTS 46 202 302080000 2200
182889905 dragoon Alpha_Q F Nov. 27, 2022, 12:10 p.m. OK GNU C++17 TESTS 46 249 204800 2200
182921607 DeadlyPillow F Nov. 27, 2022, 3:08 p.m. OK GNU C++17 TESTS 46 265 512000 2200
182900120 fsociety00 acraider F Nov. 27, 2022, 12:20 p.m. OK GNU C++17 TESTS 46 436 204800 2200
182910547 YaoBIG kimoyami F Nov. 27, 2022, 1:37 p.m. OK GNU C++17 (64) TESTS 46 31 102400 2200
182907200 Toxel F Nov. 27, 2022, 1:11 p.m. OK GNU C++17 (64) TESTS 46 31 102400 2200
182872781 Mr_Eight He_Ren Qingyu F Nov. 27, 2022, 12:03 p.m. OK GNU C++17 (64) TESTS 46 31 204800 2200
182906556 cuiaoxiang F Nov. 27, 2022, 1:06 p.m. OK GNU C++17 (64) TESTS 46 31 409600 2200
182914437 Juanzhang zihouzhong Arraiter F Nov. 27, 2022, 2:07 p.m. OK GNU C++17 (64) TESTS 46 46 102400 2200
182906139 kotatsugame F Nov. 27, 2022, 1:03 p.m. OK GNU C++17 (64) TESTS 46 46 102400 2200
182903409 pachico mtsd F Nov. 27, 2022, 12:42 p.m. OK GNU C++17 (64) TESTS 46 46 204800 2200
182902934 SSRS_ F Nov. 27, 2022, 12:39 p.m. OK GNU C++17 (64) TESTS 46 46 204800 2200
182913416 JustNik77 _Stefan_ alexchist F Nov. 27, 2022, 1:59 p.m. OK GNU C++17 (64) TESTS 46 46 307200 2200
182889982 Zappeko errorgorn rama_pang F Nov. 27, 2022, 12:11 p.m. OK GNU C++17 (64) TESTS 46 46 307200 2200
182945110 nh_nayeem F Nov. 27, 2022, 7:32 p.m. OK GNU C++20 (64) TESTS 46 30 204800 2200
182905450 KbltQaQ sjc061031 F Nov. 27, 2022, 12:57 p.m. OK GNU C++20 (64) TESTS 46 31 102400 2200
182941478 nweeks F Nov. 27, 2022, 6:22 p.m. OK GNU C++20 (64) TESTS 46 31 204800 2200
182909810 arman_ferdous ruhan.habib39 MH_Parag F Nov. 27, 2022, 1:31 p.m. OK GNU C++20 (64) TESTS 46 31 204800 2200
182900255 Gary2005 platelet LZDQ F Nov. 27, 2022, 12:21 p.m. OK GNU C++20 (64) TESTS 46 31 204800 2200
182908449 jiuruifu 10circle acwing_meow F Nov. 27, 2022, 1:21 p.m. OK GNU C++20 (64) TESTS 46 46 0 2200
182922711 CC2021zyz F Nov. 27, 2022, 3:19 p.m. OK GNU C++20 (64) TESTS 46 46 102400 2200
182905719 hellojim SanweiTreap GeZhiyuan F Nov. 27, 2022, 12:59 p.m. OK GNU C++20 (64) TESTS 46 46 102400 2200
182905075 Maripium jefrai nvmdava F Nov. 27, 2022, 12:55 p.m. OK GNU C++20 (64) TESTS 46 46 102400 2200
182902640 AdaptiveControl AlternatingCurrent njwrz F Nov. 27, 2022, 12:37 p.m. OK GNU C++20 (64) TESTS 46 46 102400 2200
182928423 insert_cool_handle F Nov. 27, 2022, 4:11 p.m. OK Java 11 TESTS 46 327 0 2200
182900025 arvindf232 F Nov. 27, 2022, 12:19 p.m. OK Kotlin 1.6 TESTS 46 436 0 2200
182924308 Vladik vilcheuski F Nov. 27, 2022, 3:32 p.m. OK MS C++ 2017 TESTS 46 1591 4505600 2200
182947490 Vladik F Nov. 27, 2022, 8:12 p.m. OK MS C++ 2017 TESTS 46 1716 4505600 2200
182903647 Adam_GS conqueror_of_tourist nor F Nov. 27, 2022, 12:44 p.m. OK PyPy 3 TESTS 46 701 13619200 2200

remove filters

Back to search problems