Codeforces Round 788 (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
1670 Codeforces Round 788 (Div. 2) FINISHED False 7200 79975499 May 6, 2022, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 987 ) F Jee, You See? PROGRAMMING bitmasks combinatorics dp 2400

B'During their training for the ICPC competitions, team "Jee You See" stumbled upon a very basic counting problem. After many "Wrong answer" verdicts, they finally decided to give up and destroy turn-off the PC. Now they want your help in up-solving the problem. You are given 4 integers n , l , r , and z . Count the number of arrays a of length n containing non-negative integers such that: Since the answer can be large, print it modulo 10^9+7 . The only line contains four integers n , l , r , z ( 1 <= n <= 1000 , 1 <= l <= r <= 10^{18} , 1 <= z <= 10^{18} ). Print the number of arrays a satisfying all requirements modulo 10^9+7 . The following arrays satisfy the conditions for the first sample: The following arrays satisfy the conditions for the second sample: '...

Tutorials

Tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
156120943 mban259 F May 6, 2022, 4:32 p.m. OK C# 8 TESTS 48 1013 3686400 2400
156111724 APenguin F May 6, 2022, 3:59 p.m. OK GNU C++14 TESTS 48 77 16179200 2400
156139696 Duck_sajin F May 6, 2022, 8:38 p.m. OK GNU C++14 TESTS 49 78 4300800 2400
156150608 liympanda F May 7, 2022, 2:09 a.m. OK GNU C++14 TESTS 49 108 10444800 2400
156117017 dlalswp25 F May 6, 2022, 4:17 p.m. OK GNU C++14 TESTS 48 109 9728000 2400
156114945 Kaitokid F May 6, 2022, 4:10 p.m. OK GNU C++14 TESTS 48 124 9216000 2400
156119874 Jimanbanashi F May 6, 2022, 4:29 p.m. OK GNU C++14 TESTS 48 139 4608000 2400
156152413 hjhjnnaaa F May 7, 2022, 2:47 a.m. OK GNU C++14 TESTS 49 140 9113600 2400
156150046 _jhq F May 7, 2022, 1:55 a.m. OK GNU C++14 TESTS 49 155 10854400 2400
156147177 L7-56 F May 7, 2022, 12:31 a.m. OK GNU C++14 TESTS 49 218 102400 2400
156142709 MYNAMEISSHARIFUL F May 6, 2022, 9:46 p.m. OK GNU C++14 TESTS 49 218 33280000 2400
156141290 Tinky-Winky F May 6, 2022, 9:11 p.m. OK GNU C++17 TESTS 49 109 33382400 2400
156124467 ButterflyDew F May 6, 2022, 5:27 p.m. OK GNU C++17 TESTS 48 187 39731200 2400
156159764 lddlinan F May 7, 2022, 5:13 a.m. OK GNU C++17 TESTS 52 218 8601600 2400
156126713 Awcotn_tct F May 6, 2022, 5:44 p.m. OK GNU C++17 TESTS 49 296 307200 2400
156158990 SiRiehn_nx F May 7, 2022, 4:59 a.m. OK GNU C++17 TESTS 52 311 16691200 2400
156124408 Naseem17 F May 6, 2022, 5:26 p.m. OK GNU C++17 TESTS 48 311 74342400 2400
156125024 Intercept F May 6, 2022, 5:30 p.m. OK GNU C++17 TESTS 49 312 921600 2400
156118510 xlk F May 6, 2022, 4:23 p.m. OK GNU C++17 TESTS 48 390 4198400 2400
156145435 The_Hallak F May 6, 2022, 11:23 p.m. OK GNU C++17 TESTS 49 405 3686400 2400
156160448 jaehyunp312 F May 7, 2022, 5:24 a.m. OK GNU C++17 TESTS 52 421 9523200 2400
156154690 CharlesWuQiushi F May 7, 2022, 3:34 a.m. OK GNU C++17 (64) TESTS 49 31 307200 2400
156153417 XZC__Bobby F May 7, 2022, 3:08 a.m. OK GNU C++17 (64) TESTS 49 62 307200 2400
156151726 tomato_potato F May 7, 2022, 2:34 a.m. OK GNU C++17 (64) TESTS 49 62 716800 2400
156112620 Timsei F May 6, 2022, 4:02 p.m. OK GNU C++17 (64) TESTS 48 93 8601600 2400
156128285 zlc1114 F May 6, 2022, 6 p.m. OK GNU C++17 (64) TESTS 49 93 16793600 2400
156152081 YYYLLL2021 F May 7, 2022, 2:41 a.m. OK GNU C++17 (64) TESTS 49 124 0 2400
156149773 XZC__Bobby F May 7, 2022, 1:49 a.m. OK GNU C++17 (64) TESTS 49 124 512000 2400
156124804 LayCurse F May 6, 2022, 5:29 p.m. OK GNU C++17 (64) TESTS 49 124 98918400 2400
156154595 CharlesWuQiushi F May 7, 2022, 3:32 a.m. OK GNU C++17 (64) TESTS 49 140 307200 2400
156137065 FatihSolak F May 6, 2022, 7:51 p.m. OK GNU C++17 (64) TESTS 49 156 1024000 2400
156140766 Bungmint F May 6, 2022, 9 p.m. OK GNU C++20 (64) TESTS 49 46 307200 2400
156123892 nskybytskyi F May 6, 2022, 5:24 p.m. OK GNU C++20 (64) TESTS 48 46 4710400 2400
156149458 Yamamoto_1919 F May 7, 2022, 1:40 a.m. OK GNU C++20 (64) TESTS 49 46 8601600 2400
156109584 neko_nyaaaaaaaaaaaaaaaaa F May 6, 2022, 3:52 p.m. OK GNU C++20 (64) TESTS 48 61 9523200 2400
156159896 SF-Manman F May 7, 2022, 5:16 a.m. OK GNU C++20 (64) TESTS 52 78 512000 2400
156158668 foreverlasting F May 7, 2022, 4:52 a.m. OK GNU C++20 (64) TESTS 52 108 4096000 2400
156132879 BaluconisTima F May 6, 2022, 6:52 p.m. OK GNU C++20 (64) TESTS 49 109 9113600 2400
156113156 hydro-bot1 F May 6, 2022, 4:03 p.m. OK GNU C++20 (64) TESTS 48 109 29286400 2400
156114318 jiangly F May 6, 2022, 4:08 p.m. OK GNU C++20 (64) TESTS 48 124 0 2400
156128405 Write_Hape_Code F May 6, 2022, 6:01 p.m. OK GNU C++20 (64) TESTS 49 124 74547200 2400
156153225 dzhi F May 7, 2022, 3:04 a.m. OK Java 11 TESTS 49 296 0 2400
156147440 henrychenOutlook F May 7, 2022, 12:40 a.m. OK Java 11 TESTS 49 436 6144000 2400
156112724 Beduardo F May 6, 2022, 4:02 p.m. OK Kotlin 1.4 TESTS 48 1497 9420800 2400
156151245 thegeman F May 7, 2022, 2:23 a.m. OK Kotlin 1.6 TESTS 49 764 0 2400
156152273 taiga0629 F May 7, 2022, 2:44 a.m. OK PyPy 3-64 TESTS 49 764 8908800 2400
156152376 taiga0629 F May 7, 2022, 2:47 a.m. OK PyPy 3-64 TESTS 49 904 7680000 2400
156113237 asdsasd F May 6, 2022, 4:04 p.m. OK PyPy 3-64 TESTS 48 1434 16588800 2400
156147439 sansen F May 7, 2022, 12:40 a.m. OK Rust 2021 TESTS 49 93 102400 2400

remove filters

Back to search problems