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 |
---|---|---|---|---|---|---|
1227 | Technocup 2020 - Elimination Round 3 | FINISHED | False | 7200 | 157240499 | Nov. 24, 2019, 8:05 a.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 1832 ) | F1 | Wrong Answer on test 233 (Easy Version) | PROGRAMMING | dp | 2100 |
B"This is the easier version of the problem. In this version 1 <= n <= 2000 . You can hack this problem only if you solve and lock both problems. The problem is about a test containing n one-choice-questions. Each of the questions contains k options, and only one of them is correct. The answer to the i -th question is h_{i} , and if your answer of the question i is h_{i} , you earn 1 point, otherwise, you earn 0 points for this question. The values h_1, h_2, ... , h_n are known to you in this problem. However, you have a mistake in your program. It moves the answer clockwise! Consider all the n answers are written in a circle. Due to the mistake in your program, they are shifted by one cyclically. Formally, the mistake moves the answer for the question i to the question i bmod n + 1 . So it moves the answer for the question 1 to question 2 , the answer for the question 2 to the question 3 , ..., the answer for the question n to the question 1 . We call all the n answers together an answer suit. There are k^n possible answer suits in total. You're wondering, how many answer suits satisfy the following condition: after moving clockwise by 1 , the total number of points of the new answer suit is strictly larger than the number of points of the old one. You need to find the answer modulo 998 ,244 ,353 . For example, if n = 5 , and your answer suit is a=[1,2,3,4,5] , it will submitted as a'=[5,1,2,3,4] because of a mistake. If the correct answer suit is h=[5,2,2,3,4] , the answer suit a earns 1 point and the answer suite a' earns 4 points. Since 4 > 1 , the answer suit a=[1,2,3,4,5] should be counted. The first line contains two integers n , k ( 1 <= n <= 2000 , 1 <= k <= 10^9 ) -- the number of questions and the number of possible answers to each quest"... |
Разбор задач №2 |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
66898600 | luogu_bot4 | F1 | Dec. 15, 2019, 3:50 a.m. | OK | GNU C++11 | TESTS | 23 | 15 | 3993600 | 2100 | |
66967570 | _Ikun_ | F1 | Dec. 15, 2019, 12:18 p.m. | OK | GNU C++11 | TESTS | 23 | 15 | 24268800 | 2100 | |
66423302 | vjudge2 | F1 | Dec. 6, 2019, 7:55 p.m. | OK | GNU C++11 | TESTS | 23 | 31 | 1638400 | 2100 | |
69455704 | wasa855 | F1 | Jan. 24, 2020, 8:32 a.m. | OK | GNU C++11 | TESTS | 23 | 31 | 4812800 | 2100 | |
69162527 | yasugongshang | F1 | Jan. 20, 2020, 1:19 a.m. | OK | GNU C++11 | TESTS | 23 | 31 | 5632000 | 2100 | |
68386117 | luogu_bot5 | F1 | Jan. 8, 2020, 6 a.m. | OK | GNU C++11 | TESTS | 23 | 31 | 41062400 | 2100 | |
66409063 | smiken | F1 | Dec. 6, 2019, 2:39 p.m. | OK | GNU C++11 | TESTS | 23 | 46 | 160358400 | 2100 | |
66045631 | xht37 | F1 | Nov. 30, 2019, 2:56 p.m. | OK | GNU C++11 | TESTS | 23 | 61 | 36454400 | 2100 | |
67261444 | He_Ren | F1 | Dec. 20, 2019, 3:46 a.m. | OK | GNU C++11 | TESTS | 23 | 78 | 0 | 2100 | |
66573576 | yuzhechuan | F1 | Dec. 10, 2019, 6:04 a.m. | OK | GNU C++11 | TESTS | 23 | 78 | 64512000 | 2100 | |
66165922 | NoTeamName | F1 | Dec. 2, 2019, 7:36 a.m. | OK | GNU C++14 | TESTS | 23 | 15 | 1638400 | 2100 | |
65687800 | jiangly | F1 | Nov. 25, 2019, 2:01 a.m. | OK | GNU C++14 | TESTS | 23 | 30 | 0 | 2100 | |
65764507 | VladProg | F1 | Nov. 26, 2019, 5:17 p.m. | OK | GNU C++14 | TESTS | 23 | 30 | 3174400 | 2100 | |
65725532 | x20 | F1 | Nov. 25, 2019, 10:30 p.m. | OK | GNU C++14 | TESTS | 23 | 31 | 0 | 2100 | |
67195260 | dhr_1 | F1 | Dec. 19, 2019, 8:46 a.m. | OK | GNU C++14 | TESTS | 23 | 31 | 1638400 | 2100 | |
69049306 | MegaOwIer | F1 | Jan. 18, 2020, 12:06 p.m. | OK | GNU C++14 | TESTS | 23 | 31 | 2457600 | 2100 | |
65794073 | Temirulan | F1 | Nov. 27, 2019, 2:34 a.m. | OK | GNU C++14 | TESTS | 23 | 31 | 2457600 | 2100 | |
68158618 | INNERCIRCLE | F1 | Jan. 4, 2020, 9:55 a.m. | OK | GNU C++14 | TESTS | 23 | 31 | 6451200 | 2100 | |
65706802 | Purple_wzy | F1 | Nov. 25, 2019, 12:54 p.m. | OK | GNU C++14 | TESTS | 23 | 31 | 8089600 | 2100 | |
68470014 | allfadeaway | F1 | Jan. 10, 2020, 12:28 a.m. | OK | GNU C++14 | TESTS | 23 | 31 | 12083200 | 2100 | |
65725357 | krijgertje | F1 | Nov. 25, 2019, 10:17 p.m. | OK | GNU C++17 | TESTS | 23 | 30 | 5632000 | 2100 | |
65697104 | pootis | F1 | Nov. 25, 2019, 8:50 a.m. | OK | GNU C++17 | TESTS | 23 | 31 | 0 | 2100 | |
65652767 | _overrated_ | F1 | Nov. 24, 2019, 9:56 a.m. | OK | GNU C++17 | TESTS | 23 | 31 | 1638400 | 2100 | |
65647441 | receed | F1 | Nov. 24, 2019, 9:30 a.m. | OK | GNU C++17 | TESTS | 23 | 31 | 6451200 | 2100 | |
66294767 | LightInShadow | F1 | Dec. 5, 2019, 3:13 a.m. | OK | GNU C++17 | TESTS | 23 | 31 | 7987200 | 2100 | |
65654066 | Kuyan | F1 | Nov. 24, 2019, 10:02 a.m. | OK | GNU C++17 | TESTS | 23 | 31 | 8089600 | 2100 | |
65667522 | SGHD | F1 | Nov. 24, 2019, 2:32 p.m. | OK | GNU C++17 | TESTS | 23 | 46 | 8089600 | 2100 | |
66275412 | Fyodor | F1 | Dec. 4, 2019, 2:27 p.m. | OK | GNU C++17 | TESTS | 23 | 46 | 16076800 | 2100 | |
66447086 | Rafaaaaaaaaaaaam | F1 | Dec. 7, 2019, 10:03 a.m. | OK | GNU C++17 | TESTS | 23 | 46 | 17203200 | 2100 | |
65687065 | HatsuneMikuo | F1 | Nov. 25, 2019, 1:06 a.m. | OK | GNU C++17 | TESTS | 23 | 46 | 18944000 | 2100 | |
65697931 | IslamTalipovTop | F1 | Nov. 25, 2019, 9:18 a.m. | OK | Java 11 | TESTS | 23 | 389 | 78336000 | 2100 | |
65726581 | 4mda4mda | F1 | Nov. 26, 2019, 12:04 a.m. | OK | Java 8 | TESTS | 23 | 124 | 0 | 2100 | |
66252531 | satya26 | F1 | Dec. 4, 2019, 3:19 a.m. | OK | Java 8 | TESTS | 23 | 342 | 77516800 | 2100 | |
69901279 | pulkit14 | F1 | Jan. 31, 2020, 1:05 p.m. | OK | Java 8 | TESTS | 23 | 639 | 76492800 | 2100 | |
66463356 | darkkcyan | F1 | Dec. 7, 2019, 3:37 p.m. | OK | Kotlin | TESTS | 23 | 452 | 0 | 2100 | |
66975548 | sruthi_1729 | F1 | Dec. 15, 2019, 2:33 p.m. | OK | Python 3 | TESTS | 23 | 717 | 4915200 | 2100 |
Back to search problems