Codeforces Round 889 (Div. 1)

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
1854 Codeforces Round 889 (Div. 1) FINISHED False 9000 41181899 July 29, 2023, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 432 ) E Game Bundles PROGRAMMING constructive algorithms

B'Rishi is developing games in the 2D metaverse and wants to offer game bundles to his customers. Each game has an associated enjoyment value. A game bundle consists of a subset of games whose total enjoyment value adds up to 60 . Your task is to choose k games, where 1 <= q k <= q 60 , along with their respective enjoyment values a_1, a_2, ... , a_k , in such a way that exactly m distinct game bundles can be formed. The input is a single integer m ( 1 <= m <= 10^{10} ) -- the desired number of game bundles. The first line should contain an integer k ( 1 <= k <= 60 ) -- the number of games. The second line should contain k integers, a_1, a_2, ... , a_k ( 1 <= a_1, a_2, ... , a_k <= 60 ) -- the enjoyment values of the k games. In the first sample, any subset of size 3 is a game bundle. There are 4 such subsets. '...

Tutorials

Editorial of Codeforces Round 889 (Div. 1 + Div. 2)

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
216340134 0wuming0 E July 29, 2023, 5:03 p.m. OK GNU C++14 TESTS 148 15 204800
216312130 emptyhope E July 29, 2023, 4:15 p.m. OK GNU C++14 TESTS 148 31 512000
216375787 CJ_xde_lt E July 29, 2023, 10:59 p.m. OK GNU C++14 TESTS 148 31 4300800
216344540 EnofTaiPeople E July 29, 2023, 5:44 p.m. OK GNU C++14 TESTS 148 31 4300800
216331168 Alex_Wei E July 29, 2023, 4:49 p.m. OK GNU C++14 TESTS 148 31 8192000
216358460 amirasaqr E July 29, 2023, 7:17 p.m. OK GNU C++17 TESTS 148 15 0
216315892 PEIMUDA E July 29, 2023, 4:21 p.m. OK GNU C++17 TESTS 148 31 102400
216323110 MyAngelBocchi E July 29, 2023, 4:34 p.m. OK GNU C++17 TESTS 148 31 307200
216332887 Meeena E July 29, 2023, 4:52 p.m. OK GNU C++17 TESTS 148 46 4096000
216317452 int65536 E July 29, 2023, 4:24 p.m. OK GNU C++17 TESTS 148 109 307200
216336955 Um_nik E July 29, 2023, 4:59 p.m. OK GNU C++17 TESTS 148 1060 52428800
216338182 fauna E July 29, 2023, 5:01 p.m. OK GNU C++17 TESTS 148 1465 17305600
216377156 sevlll777 E July 29, 2023, 11:32 p.m. OK GNU C++17 (64) TESTS 148 15 0
216367402 neal E July 29, 2023, 8:48 p.m. OK GNU C++17 (64) TESTS 148 15 0
216351804 Rubikun E July 29, 2023, 6:22 p.m. OK GNU C++17 (64) TESTS 148 15 0
216349070 Rubikun E July 29, 2023, 6:05 p.m. OK GNU C++17 (64) TESTS 148 15 0
216347388 Rubikun E July 29, 2023, 5:56 p.m. OK GNU C++17 (64) TESTS 148 15 0
216334493 Geothermal E July 29, 2023, 4:55 p.m. OK GNU C++17 (64) TESTS 148 15 0
216331076 zihouzhong E July 29, 2023, 4:49 p.m. OK GNU C++17 (64) TESTS 148 15 0
216317371 sevlll777 E July 29, 2023, 4:24 p.m. OK GNU C++17 (64) TESTS 148 15 0
216312084 duality E July 29, 2023, 4:14 p.m. OK GNU C++17 (64) TESTS 148 15 0
216295876 neal E July 29, 2023, 3:48 p.m. OK GNU C++17 (64) TESTS 148 15 0
216395945 cabbit E July 30, 2023, 4:56 a.m. OK GNU C++20 (64) TESTS 148 15 0
216375425 SalihSahin E July 29, 2023, 10:51 p.m. OK GNU C++20 (64) TESTS 148 15 0
216375260 SalihSahin E July 29, 2023, 10:47 p.m. OK GNU C++20 (64) TESTS 148 15 0
216375128 SalihSahin E July 29, 2023, 10:44 p.m. OK GNU C++20 (64) TESTS 148 15 0
216359345 __sleep E July 29, 2023, 7:27 p.m. OK GNU C++20 (64) TESTS 148 15 0
216359305 Low-Deny-Cup E July 29, 2023, 7:26 p.m. OK GNU C++20 (64) TESTS 148 15 0
216359270 __sleep E July 29, 2023, 7:26 p.m. OK GNU C++20 (64) TESTS 148 15 0
216359191 353cerega E July 29, 2023, 7:25 p.m. OK GNU C++20 (64) TESTS 148 15 0
216358607 Omer223 E July 29, 2023, 7:19 p.m. OK GNU C++20 (64) TESTS 148 15 0
216358395 __sleep E July 29, 2023, 7:17 p.m. OK GNU C++20 (64) TESTS 148 15 0
216379148 conqueror_of_tourist E July 30, 2023, 12:22 a.m. OK PyPy 3 TESTS 148 202 7270400
216378994 conqueror_of_tourist E July 30, 2023, 12:18 a.m. OK PyPy 3 TESTS 148 2885 11468800
216367981 conqueror_of_tourist E July 29, 2023, 8:54 p.m. OK PyPy 3-64 TESTS 148 2995 11264000
216334503 sansen E July 29, 2023, 4:55 p.m. OK Rust 2021 TESTS 148 15 0
216309767 qwerty787788 E July 29, 2023, 4:11 p.m. OK Rust 2021 TESTS 148 15 0

remove filters

Back to search problems