Codeforces Round 957 (Div. 3)

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
1992 Codeforces Round 957 (Div. 3) FINISHED False 8100 16471463 July 11, 2024, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 3265 ) G Ultra-Meow PROGRAMMING combinatorics math number theory

B'K1o0n gave you an array a of length n , consisting of numbers 1, 2, ldots, n . Accept it? Of course! But what to do with it? Of course, calculate text{MEOW}(a) . Let text{MEX}(S, k) be the k -th positive (strictly greater than zero) integer in ascending order that is not present in the set S . Denote text{MEOW}(a) as the sum of text{MEX}(b, |b| + 1) , over all distinct subsets b of the array a . Examples of text{MEX}(S, k) values for sets: The first line contains a single integer t ( 1 <= t <= 10^4 ) -- the number of test cases. In a single line of each test case, an integer n ( 1 <= n <= 5000 ) is entered, the size of the array of gifted numbers. It is guaranteed that the sum of n^2 over all test cases does not exceed 25 cdot 10^6 . For each test case, output a single number -- text{MEOW}(a) . Since it may be very large, output it modulo 10^9 + 7 . '...

Tutorials

Shayan's Video Tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
270104015 zxh923 G July 12, 2024, 2:33 a.m. OK C++14 (GCC 6-32) TESTS 36 249 200806400
270118645 donbasta G July 12, 2024, 5:14 a.m. OK C++14 (GCC 6-32) TESTS 41 280 200806400
270103596 zxh923 G July 12, 2024, 2:27 a.m. OK C++14 (GCC 6-32) TESTS 36 281 200806400
270092304 Meeperbunny G July 11, 2024, 11:22 p.m. OK C++14 (GCC 6-32) TESTS 36 375 4096000
270092316 Meeperbunny G July 11, 2024, 11:23 p.m. OK C++14 (GCC 6-32) TESTS 36 390 4096000
270075971 Meeperbunny G July 11, 2024, 7:16 p.m. OK C++14 (GCC 6-32) TESTS 36 390 4096000
270100023 bfan G July 12, 2024, 1:40 a.m. OK C++14 (GCC 6-32) TESTS 36 405 200499200
270098775 Junz_LJL G July 12, 2024, 1:22 a.m. OK C++14 (GCC 6-32) TESTS 36 452 13824000
270104710 3449 G July 12, 2024, 2:41 a.m. OK C++14 (GCC 6-32) TESTS 36 468 16076800
270116536 Judgement_Core G July 12, 2024, 4:53 a.m. OK C++14 (GCC 6-32) TESTS 36 640 4812800
270078794 singlarohan G July 11, 2024, 7:45 p.m. OK C++17 (GCC 7-32) TESTS 36 46 0
270075750 eyadhjarray111 G July 11, 2024, 7:14 p.m. OK C++17 (GCC 7-32) TESTS 36 61 102400
270092303 myst-6 G July 11, 2024, 11:22 p.m. OK C++17 (GCC 7-32) TESTS 36 62 0
270078883 singlarohan G July 11, 2024, 7:46 p.m. OK C++17 (GCC 7-32) TESTS 36 62 102400
270067380 Mikudo39 G July 11, 2024, 6:03 p.m. OK C++17 (GCC 7-32) TESTS 36 77 0
270085030 Letholdus G July 11, 2024, 9:03 p.m. OK C++17 (GCC 7-32) TESTS 36 156 0
270053647 aditya_neer G July 11, 2024, 5:31 p.m. OK C++17 (GCC 7-32) TESTS 36 218 0
270053575 adi_neeraje G July 11, 2024, 5:30 p.m. OK C++17 (GCC 7-32) TESTS 36 218 0
270074867 Ivan_len G July 11, 2024, 7:06 p.m. OK C++17 (GCC 7-32) TESTS 36 249 0
270089335 BigBadWolf G July 11, 2024, 10:17 p.m. OK C++17 (GCC 7-32) TESTS 36 249 102400
270078582 tumu1t G July 11, 2024, 7:42 p.m. OK C++20 (GCC 13-64) TESTS 36 46 102400
270103880 NguyenDucHien G July 12, 2024, 2:31 a.m. OK C++20 (GCC 13-64) TESTS 36 46 307200
270119568 Djangle014 G July 12, 2024, 5:24 a.m. OK C++20 (GCC 13-64) TESTS 41 62 0
270069232 Mr_Turtle_ G July 11, 2024, 6:18 p.m. OK C++20 (GCC 13-64) TESTS 36 77 0
270090544 expertaq G July 11, 2024, 10:41 p.m. OK C++20 (GCC 13-64) TESTS 36 77 102400
270076491 AbeedShaik G July 11, 2024, 7:21 p.m. OK C++20 (GCC 13-64) TESTS 36 93 0
270076063 1doiliemkhiet G July 11, 2024, 7:17 p.m. OK C++20 (GCC 13-64) TESTS 36 93 0
270075824 namanbhardwaj1454 G July 11, 2024, 7:14 p.m. OK C++20 (GCC 13-64) TESTS 36 93 0
270117093 qqmy0220 G July 12, 2024, 4:59 a.m. OK C++20 (GCC 13-64) TESTS 36 93 102400
270099756 Susies_Rainyx_Elysia G July 12, 2024, 1:36 a.m. OK C++20 (GCC 13-64) TESTS 36 93 102400
270073238 dzhi G July 11, 2024, 6:51 p.m. OK Java 21 TESTS 36 515 1536000
270119422 minibin G July 12, 2024, 5:22 a.m. OK Java 21 TESTS 41 1874 1331200
270104391 rujuldwivedi G July 12, 2024, 2:37 a.m. OK Java 8 TESTS 36 2421 0
270101854 xyktyjayket G July 12, 2024, 2:05 a.m. OK PyPy 3-64 TESTS 36 156 8499200
270098021 RobinFromTheHood G July 12, 2024, 1:11 a.m. OK PyPy 3-64 TESTS 36 327 4096000
270097979 smilences G July 12, 2024, 1:11 a.m. OK PyPy 3-64 TESTS 36 328 4096000
270068088 sriragt G July 11, 2024, 6:08 p.m. OK PyPy 3-64 TESTS 36 359 3891200
270084597 gardengnome G July 11, 2024, 8:57 p.m. OK PyPy 3-64 TESTS 36 406 5324800
270089272 cy171 G July 11, 2024, 10:16 p.m. OK PyPy 3-64 TESTS 36 452 5017600
270070344 yuhangliu1224 G July 11, 2024, 6:27 p.m. OK PyPy 3-64 TESTS 36 452 7987200
270078997 rizoantoufiq G July 11, 2024, 7:47 p.m. OK PyPy 3-64 TESTS 36 453 6963200
270096491 Little_Sheep_Yawn G July 12, 2024, 12:47 a.m. OK PyPy 3-64 TESTS 36 467 8704000
270101094 vtber G July 12, 2024, 1:55 a.m. OK PyPy 3-64 TESTS 36 577 5017600

remove filters

Back to search problems