Codeforces Round 759 (Div. 2, based on Technocup 2022 Elimination Round 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
1591 Codeforces Round 759 (Div. 2, based on Technocup 2022 Elimination Round 3) FINISHED False 7200 97944263 Dec. 12, 2021, 3:15 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 336 ) F Non-equal Neighbours PROGRAMMING combinatorics data structures dp math

B'You are given an array of n positive integers a_1, a_2, ldots, a_n . Your task is to calculate the number of arrays of n positive integers b_1, b_2, ldots, b_n such that: The number of such arrays can be very large, so print it modulo 998 ,244 ,353 . The first line contains a single integer n ( 1 <= n <= 2 cdot 10^5 ) -- the length of the array a . The second line contains n integers a_1, a_2, ldots, a_n ( 1 <= a_i <= 10^9 ). Print the answer modulo 998 ,244 ,353 in a single line. In the first test case possible arrays are [1, 2, 1] and [2, 1, 2] . In the second test case possible arrays are [1, 2] , [1, 3] , [2, 1] and [2, 3] . '...

Tutorials

Codeforces Round #759 (Div. 2, based on Technocup 2022 Elimination Round 3) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
138949226 Kidding_Ma F Dec. 13, 2021, 4:31 a.m. OK GNU C++14 TESTS 36 62 7987200
138922915 alvingogo F Dec. 12, 2021, 5:14 p.m. OK GNU C++14 TESTS 35 77 3481600
138946126 NeverGonnaKnowWhoAmI F Dec. 13, 2021, 3:08 a.m. OK GNU C++14 TESTS 36 77 5632000
138917101 iamshroud F Dec. 12, 2021, 4:58 p.m. OK GNU C++14 TESTS 35 77 6451200
138920666 Hosimi F Dec. 12, 2021, 5:09 p.m. OK GNU C++14 TESTS 35 78 3174400
138916195 irreversible F Dec. 12, 2021, 4:55 p.m. OK GNU C++14 TESTS 35 78 6758400
138905077 WDCnew F Dec. 12, 2021, 4:23 p.m. OK GNU C++14 TESTS 35 78 7987200
138944448 rld F Dec. 13, 2021, 2:07 a.m. OK GNU C++14 TESTS 36 78 40038400
138924465 denniskim F Dec. 12, 2021, 5:47 p.m. OK GNU C++14 TESTS 35 93 7987200
138914424 rldd F Dec. 12, 2021, 4:49 p.m. OK GNU C++14 TESTS 35 93 7987200
138911480 Indialbedo F Dec. 12, 2021, 4:39 p.m. OK GNU C++17 TESTS 35 31 5324800
138952459 iaNTU F Dec. 13, 2021, 5:37 a.m. OK GNU C++17 TESTS 37 31 9113600
138924276 qingyun F Dec. 12, 2021, 5:47 p.m. OK GNU C++17 TESTS 35 61 3993600
138927669 Leeisateam F Dec. 12, 2021, 6:16 p.m. OK GNU C++17 TESTS 35 62 10035200
138925833 PetrNguyen F Dec. 12, 2021, 5:57 p.m. OK GNU C++17 TESTS 35 62 14028800
138925761 KayDeeEn F Dec. 12, 2021, 5:57 p.m. OK GNU C++17 TESTS 35 62 14028800
138924406 QuangBuiYT F Dec. 12, 2021, 5:47 p.m. OK GNU C++17 TESTS 35 77 1638400
138946048 Talentkkggg F Dec. 13, 2021, 3:06 a.m. OK GNU C++17 TESTS 36 77 3993600
138926663 Shady.scof F Dec. 12, 2021, 6:05 p.m. OK GNU C++17 TESTS 35 77 3993600
138912283 _FireGhost_ F Dec. 12, 2021, 4:42 p.m. OK GNU C++17 TESTS 35 77 4300800
138917813 voidf F Dec. 12, 2021, 5:01 p.m. OK GNU C++17 (64) TESTS 35 31 22937600
138926128 qwerE F Dec. 12, 2021, 6 p.m. OK GNU C++17 (64) TESTS 35 46 0
138917091 WiwiHo F Dec. 12, 2021, 4:58 p.m. OK GNU C++17 (64) TESTS 35 46 0
138905612 biection F Dec. 12, 2021, 4:24 p.m. OK GNU C++17 (64) TESTS 35 46 1638400
138949482 xiaoziyao F Dec. 13, 2021, 4:36 a.m. OK GNU C++17 (64) TESTS 36 46 2355200
138926808 TheDaVinci F Dec. 12, 2021, 6:06 p.m. OK GNU C++17 (64) TESTS 35 46 3174400
138925626 Andreasyan F Dec. 12, 2021, 5:55 p.m. OK GNU C++17 (64) TESTS 35 46 3379200
138944219 cherry_su F Dec. 13, 2021, 1:56 a.m. OK GNU C++17 (64) TESTS 36 46 7987200
138925881 MateoCV F Dec. 12, 2021, 5:58 p.m. OK GNU C++17 (64) TESTS 35 46 13824000
138910776 xyf007 F Dec. 12, 2021, 4:37 p.m. OK GNU C++17 (64) TESTS 35 46 16076800
138925327 fogsail F Dec. 12, 2021, 5:53 p.m. OK GNU C++20 (64) TESTS 35 31 2457600
138947944 black_white_tony F Dec. 13, 2021, 3:58 a.m. OK GNU C++20 (64) TESTS 36 31 24780800
138924589 DreamingLeaf F Dec. 12, 2021, 5:48 p.m. OK GNU C++20 (64) TESTS 35 46 0
138920361 Bugman F Dec. 12, 2021, 5:08 p.m. OK GNU C++20 (64) TESTS 35 46 1638400
138950683 akshaykhandelwal F Dec. 13, 2021, 5:02 a.m. OK GNU C++20 (64) TESTS 37 46 2048000
138950648 akshaykhandelwal F Dec. 13, 2021, 5:02 a.m. OK GNU C++20 (64) TESTS 37 46 2048000
138943940 czhang2718 F Dec. 13, 2021, 1:43 a.m. OK GNU C++20 (64) TESTS 36 46 3174400
138939216 fogsail F Dec. 12, 2021, 10:04 p.m. OK GNU C++20 (64) TESTS 36 46 3174400
138909478 zhaojianmin F Dec. 12, 2021, 4:33 p.m. OK GNU C++20 (64) TESTS 35 46 3174400
138934908 ScarletS F Dec. 12, 2021, 8:12 p.m. OK GNU C++20 (64) TESTS 35 46 5017600
138920060 beroul F Dec. 12, 2021, 5:08 p.m. OK Java 11 TESTS 35 405 0
138938577 Shobhit_Behl F Dec. 12, 2021, 9:43 p.m. OK Java 8 TESTS 36 202 0
138938177 Shobhit_Behl F Dec. 12, 2021, 9:32 p.m. OK Java 8 TESTS 36 218 0
138930287 PanZverski F Dec. 12, 2021, 6:50 p.m. OK MS C++ 2017 TESTS 35 140 819200
138924451 XeroxAuto F Dec. 12, 2021, 5:47 p.m. OK Perl TESTS 35 389 48947200
138904421 SPD_9X2 F Dec. 12, 2021, 4:21 p.m. OK PyPy 3 TESTS 35 421 21196800
138920865 runnie F Dec. 12, 2021, 5:10 p.m. OK PyPy 3 TESTS 35 499 21504000
138947081 conqueror_of_tourist F Dec. 13, 2021, 3:36 a.m. OK PyPy 3-64 TESTS 36 326 20684800
138924270 ulyss F Dec. 12, 2021, 5:47 p.m. OK PyPy 3-64 TESTS 35 327 22118400
138935534 OLOGY F Dec. 12, 2021, 8:26 p.m. OK Python 2 TESTS 35 389 18944000
138940647 OLOGY F Dec. 12, 2021, 11:01 p.m. OK Python 2 TESTS 36 405 18944000
138936301 OLOGY F Dec. 12, 2021, 8:45 p.m. OK Python 2 TESTS 36 421 18944000
138914803 HidderOvO F Dec. 12, 2021, 4:50 p.m. OK Python 3 TESTS 35 1263 39936000

remove filters

Back to search problems