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 |
---|---|---|---|---|---|---|
1585 | Technocup 2022 - Elimination Round 3 | FINISHED | False | 7200 | 92501099 | Dec. 12, 2021, 3:15 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 1256 ) | F | Non-equal Neighbours | PROGRAMMING | combinatorics 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] . '... |
Codeforces Round #759 (Div. 2, based on Technocup 2022 Elimination Round 3) Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
139035753 | ynsm | F | Dec. 14, 2021, 2:56 a.m. | OK | GNU C++17 | TESTS | 38 | 62 | 4300800 | ||
139011301 | said_v15 | F | Dec. 13, 2021, 5:29 p.m. | OK | GNU C++17 | TESTS | 38 | 109 | 5939200 | ||
138993671 | YaoBIG | F | Dec. 13, 2021, 2:22 p.m. | OK | GNU C++17 | TESTS | 38 | 529 | 15257600 | ||
138986628 | hxa_juruo | F | Dec. 13, 2021, 1:09 p.m. | OK | GNU C++17 | TESTS | 38 | 1122 | 501043200 | ||
139027962 | Alfeh | F | Dec. 13, 2021, 9:54 p.m. | OK | GNU C++17 | TESTS | 38 | 1247 | 147046400 | ||
139009586 | huayouhan | F | Dec. 13, 2021, 5:11 p.m. | OK | GNU C++17 (64) | TESTS | 38 | 46 | 1945600 | ||
139009334 | huayouhan | F | Dec. 13, 2021, 5:09 p.m. | OK | GNU C++17 (64) | TESTS | 38 | 390 | 1945600 | ||
138993164 | SHK84 | F | Dec. 13, 2021, 2:16 p.m. | OK | GNU C++17 (64) | TESTS | 38 | 405 | 45772800 | ||
139025350 | Wailydest | F | Dec. 13, 2021, 8:57 p.m. | OK | GNU C++20 (64) | TESTS | 38 | 186 | 5734400 |
Back to search problems