Codeforces Round 631 (Div. 1) - Thanks, Denis aramis Shitov!

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
1329 Codeforces Round 631 (Div. 1) - Thanks, Denis aramis Shitov! FINISHED False 7200 151255463 April 3, 2020, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 6741 ) B Dreamoon Likes Sequences PROGRAMMING bitmasks combinatorics dp math 1900

B"Dreamoon likes sequences very much. So he created a problem about the sequence that you can't find in OEIS: You are given two integers d, m , find the number of arrays a , satisfying the following constraints: Since the number of possible arrays may be too large, you need to find the answer modulo m . The first line contains an integer t ( 1 <= q t <= q 100 ) denoting the number of test cases in the input. Each of the next t lines contains two integers d, m ( 1 <= q d, m <= q 10^9 ). Note that m is not necessary the prime! For each test case, print the number of arrays a , satisfying all given constrains, modulo m . "...

Tutorials

Codeforces Round #631 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
75628660 a_natural B April 6, 2020, 6:14 a.m. OK Clang++17 Diagnostics TESTS 10 46 1024000 1900
75382527 Gassa B April 3, 2020, 3:26 p.m. OK D TESTS 10 15 0 1900
75355615 hos.lyric B April 3, 2020, 2:42 p.m. OK D TESTS 10 31 0 1900
75389221 iica B April 3, 2020, 3:40 p.m. OK D TESTS 10 31 102400 1900
75400022 avm B April 3, 2020, 4:04 p.m. OK D TESTS 10 62 25292800 1900
75467080 ruban B April 4, 2020, 8:20 a.m. OK Delphi TESTS 10 31 13824000 1900
75384027 pengin_2000 B April 3, 2020, 3:29 p.m. OK GNU C11 TESTS 10 15 0 1900
75412764 physics0523 B April 3, 2020, 4:32 p.m. OK GNU C11 TESTS 10 15 0 1900
75622679 zzzyh B April 6, 2020, 4:50 a.m. OK GNU C++11 TESTS 10 15 0 1900
75619941 wyy2004 B April 6, 2020, 3:37 a.m. OK GNU C++11 TESTS 10 15 0 1900
75569339 wasa855 B April 5, 2020, 12:45 p.m. OK GNU C++11 TESTS 10 15 0 1900
75524401 walnutwaldo20 B April 4, 2020, 10:50 p.m. OK GNU C++11 TESTS 10 15 0 1900
75501667 aa2985759 B April 4, 2020, 3:55 p.m. OK GNU C++11 TESTS 10 15 0 1900
75493984 birchtree B April 4, 2020, 2:27 p.m. OK GNU C++11 TESTS 10 15 0 1900
75704963 Binary_Search_Tree B April 7, 2020, 1:40 a.m. OK GNU C++11 TESTS 10 15 0 1900
75796820 hh1305 B April 8, 2020, 2:32 a.m. OK GNU C++11 TESTS 10 15 0 1900
75663087 zzkkaiming B April 6, 2020, 2:01 p.m. OK GNU C++11 TESTS 10 15 0 1900
75639779 mikoo B April 6, 2020, 9:01 a.m. OK GNU C++11 TESTS 10 15 0 1900
75832399 harsha1412 B April 8, 2020, 12:17 p.m. OK GNU C++14 TESTS 10 15 0 1900
75767782 luogu_bot2 B April 7, 2020, 4:53 p.m. OK GNU C++14 TESTS 10 15 0 1900
75767688 PinkRabbit B April 7, 2020, 4:52 p.m. OK GNU C++14 TESTS 10 15 0 1900
75724583 nitvjudge1 B April 7, 2020, 8:17 a.m. OK GNU C++14 TESTS 10 15 0 1900
75666836 swastik_0001 B April 6, 2020, 2:40 p.m. OK GNU C++14 TESTS 10 15 0 1900
75621794 ACMHIT B April 6, 2020, 4:28 a.m. OK GNU C++14 TESTS 10 15 0 1900
75621660 lightseba B April 6, 2020, 4:24 a.m. OK GNU C++14 TESTS 10 15 0 1900
75608942 practice909 B April 5, 2020, 9:31 p.m. OK GNU C++14 TESTS 10 15 0 1900
76002533 Valters07 B April 9, 2020, 2:40 p.m. OK GNU C++14 TESTS 10 15 0 1900
76016658 nimishagarg_ng B April 9, 2020, 4:49 p.m. OK GNU C++14 TESTS 10 15 0 1900
75936756 suyash-0603 B April 8, 2020, 11:12 p.m. OK GNU C++17 TESTS 10 15 0 1900
76270316 Taxman B April 11, 2020, 10:17 p.m. OK GNU C++17 TESTS 10 15 0 1900
76229709 Fuad B April 11, 2020, 4:03 a.m. OK GNU C++17 TESTS 10 15 0 1900
76091418 nexus_18 B April 10, 2020, 12:58 p.m. OK GNU C++17 TESTS 10 15 0 1900
76015222 adibur6 B April 9, 2020, 4:37 p.m. OK GNU C++17 TESTS 10 15 0 1900
76008466 Agrawal31 B April 9, 2020, 3:36 p.m. OK GNU C++17 TESTS 10 15 0 1900
75965586 SuperSuck B April 9, 2020, 7:56 a.m. OK GNU C++17 TESTS 10 15 0 1900
75943889 vjudge5 B April 9, 2020, 2:31 a.m. OK GNU C++17 TESTS 10 15 0 1900
75835353 staniewzki B April 8, 2020, 12:51 p.m. OK GNU C++17 TESTS 10 15 0 1900
75781933 tamionv B April 7, 2020, 7:49 p.m. OK GNU C++17 TESTS 10 15 0 1900
76274060 tyler B April 12, 2020, 12:03 a.m. OK GNU C++17 (64) TESTS 10 15 0 1900
76271410 tyler B April 11, 2020, 10:45 p.m. OK GNU C++17 (64) TESTS 10 15 0 1900
76036829 neal B April 9, 2020, 8:33 p.m. OK GNU C++17 (64) TESTS 10 15 0 1900
75708268 860579 B April 7, 2020, 3:24 a.m. OK GNU C++17 (64) TESTS 10 15 0 1900
75652147 Gaurang_Kothiya B April 6, 2020, 11:47 a.m. OK GNU C++17 (64) TESTS 10 15 0 1900
75590181 hackcyborg B April 5, 2020, 4:51 p.m. OK GNU C++17 (64) TESTS 10 15 0 1900
75581061 erray B April 5, 2020, 2:56 p.m. OK GNU C++17 (64) TESTS 10 15 0 1900
75553470 ggdwbg B April 5, 2020, 9:36 a.m. OK GNU C++17 (64) TESTS 10 15 0 1900
76274955 tyler B April 12, 2020, 12:33 a.m. OK GNU C++17 (64) TESTS 10 15 0 1900
76275789 LiChenKoh B April 12, 2020, 12:59 a.m. OK GNU C++17 (64) TESTS 10 15 0 1900
75726503 idgaf B April 7, 2020, 8:47 a.m. OK Java 11 TESTS 10 170 0 1900
75391286 Musin B April 3, 2020, 3:45 p.m. OK Java 11 TESTS 10 171 0 1900
75452094 happy15 B April 4, 2020, 4:07 a.m. OK Java 11 TESTS 10 186 0 1900
75365171 Lewin B April 3, 2020, 2:55 p.m. OK Java 11 TESTS 10 186 0 1900
75375002 mikit B April 3, 2020, 3:12 p.m. OK Java 11 TESTS 10 187 0 1900
75366668 uwi B April 3, 2020, 2:57 p.m. OK Java 11 TESTS 10 187 0 1900
75393699 sarthakmanna B April 3, 2020, 3:50 p.m. OK Java 11 TESTS 10 187 102400 1900
75779600 rs9 B April 7, 2020, 7:14 p.m. OK Java 11 TESTS 10 202 0 1900
75379185 Suzukaze B April 3, 2020, 3:20 p.m. OK Java 11 TESTS 10 202 0 1900
75413268 wackloner B April 3, 2020, 4:33 p.m. OK Java 11 TESTS 10 202 0 1900
75601975 Hemose B April 5, 2020, 7:25 p.m. OK Java 8 TESTS 10 108 0 1900
75539638 StayAwayFromBitches B April 5, 2020, 6:34 a.m. OK Java 8 TESTS 10 108 0 1900
75520868 lazypanda B April 4, 2020, 9:06 p.m. OK Java 8 TESTS 10 108 0 1900
75711725 Jonathan1234 B April 7, 2020, 4:56 a.m. OK Java 8 TESTS 10 109 0 1900
76242675 yaoct B April 11, 2020, 7:28 a.m. OK Java 8 TESTS 10 109 0 1900
75666004 adarsh000321 B April 6, 2020, 2:32 p.m. OK Java 8 TESTS 10 109 0 1900
75599664 spar5h B April 5, 2020, 6:53 p.m. OK Java 8 TESTS 10 109 0 1900
75523661 qlf9 B April 4, 2020, 10:23 p.m. OK Java 8 TESTS 10 109 0 1900
75418273 KharYusuf B April 3, 2020, 5:37 p.m. OK Java 8 TESTS 10 109 0 1900
75392097 Xylenox B April 3, 2020, 3:46 p.m. OK Java 8 TESTS 10 109 0 1900
75380165 Tlatoani B April 3, 2020, 3:22 p.m. OK Kotlin TESTS 10 139 0 1900
75376333 darnley B April 3, 2020, 3:14 p.m. OK Kotlin TESTS 10 140 0 1900
75441532 darnley B April 3, 2020, 10:40 p.m. OK Kotlin TESTS 10 155 0 1900
75373767 knightL B April 3, 2020, 3:09 p.m. OK Kotlin TESTS 10 155 0 1900
75409590 Hakiobo B April 3, 2020, 4:26 p.m. OK Kotlin TESTS 10 155 1228800 1900
75368407 keymoon B April 3, 2020, 3 p.m. OK Mono C# TESTS 10 46 3584000 1900
75383211 hibatibati B April 3, 2020, 3:28 p.m. OK Mono C# TESTS 10 61 1638400 1900
75370665 lxhgww B April 3, 2020, 3:04 p.m. OK MS C++ TESTS 10 30 0 1900
75382282 tarattata1 B April 3, 2020, 3:26 p.m. OK MS C++ TESTS 10 30 0 1900
75820824 vjudge3 B April 8, 2020, 9:53 a.m. OK MS C++ TESTS 10 31 0 1900
75799781 vjudge3 B April 8, 2020, 3:55 a.m. OK MS C++ TESTS 10 31 0 1900
75373619 math957963 B April 3, 2020, 3:09 p.m. OK MS C++ TESTS 10 31 1638400 1900
75403318 vpike B April 3, 2020, 4:11 p.m. OK MS C++ 2017 TESTS 10 31 0 1900
75785618 danilgrig B April 7, 2020, 8:52 p.m. OK MS C++ 2017 TESTS 10 31 0 1900
75629897 vjudge4 B April 6, 2020, 6:34 a.m. OK MS C++ 2017 TESTS 10 31 0 1900
75405735 Gravekper B April 3, 2020, 4:17 p.m. OK MS C++ 2017 TESTS 10 31 0 1900
75392794 danilgrig B April 3, 2020, 3:48 p.m. OK MS C++ 2017 TESTS 10 31 0 1900
75383537 CrashMaster B April 3, 2020, 3:28 p.m. OK MS C++ 2017 TESTS 10 31 0 1900
75378556 Dangl B April 3, 2020, 3:19 p.m. OK MS C++ 2017 TESTS 10 31 0 1900
75376066 MrLolthe1st B April 3, 2020, 3:14 p.m. OK MS C++ 2017 TESTS 10 31 0 1900
75380545 re_eVVorld B April 3, 2020, 3:22 p.m. OK MS C++ 2017 TESTS 10 31 102400 1900
75375367 pichulia B April 3, 2020, 3:12 p.m. OK MS C++ 2017 TESTS 10 31 3276800 1900
76235592 nadeemshaikh B April 11, 2020, 5:48 a.m. OK PyPy 2 TESTS 10 140 102400 1900
75368197 bcollet B April 3, 2020, 3 p.m. OK PyPy 2 TESTS 10 140 409600 1900
75379942 astrom.lars B April 3, 2020, 3:21 p.m. OK PyPy 2 TESTS 10 186 4608000 1900
75790848 yejung1234 B April 7, 2020, 11 p.m. OK PyPy 3 TESTS 10 140 1433600 1900
75421805 23sergey03 B April 3, 2020, 6:01 p.m. OK PyPy 3 TESTS 10 140 1433600 1900
75390438 titia B April 3, 2020, 3:43 p.m. OK PyPy 3 TESTS 10 140 1433600 1900
75365837 conqueror_of_tourist B April 3, 2020, 2:56 p.m. OK PyPy 3 TESTS 10 140 1433600 1900
76243474 codershuvo B April 11, 2020, 7:38 a.m. OK PyPy 3 TESTS 10 140 1536000 1900
75394572 SPD_9X2 B April 3, 2020, 3:52 p.m. OK PyPy 3 TESTS 10 155 1331200 1900
75403231 addammy B April 3, 2020, 4:11 p.m. OK PyPy 3 TESTS 10 155 1433600 1900
75397239 govind_lahoti B April 3, 2020, 3:57 p.m. OK PyPy 3 TESTS 10 155 1536000 1900
75389367 nagiss B April 3, 2020, 3:41 p.m. OK PyPy 3 TESTS 10 155 1536000 1900
75370438 anagohirame B April 3, 2020, 3:03 p.m. OK PyPy 3 TESTS 10 155 1536000 1900
75368779 nwi B April 3, 2020, 3:01 p.m. OK Python 2 TESTS 10 171 0 1900
75787576 roflmoqkz B April 7, 2020, 9:32 p.m. OK Python 3 TESTS 10 109 0 1900
75375747 Kiri8128 B April 3, 2020, 3:13 p.m. OK Python 3 TESTS 10 109 0 1900
75371787 Eva B April 3, 2020, 3:06 p.m. OK Python 3 TESTS 10 124 307200 1900
75793174 sansen B April 8, 2020, 12:26 a.m. OK Rust TESTS 10 30 0 1900

remove filters

Back to search problems