Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

17860
17348
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~8 $N \le 10$,且對所有 $i$,$S(i)=T(i)$ 17 / 17
2 0~16 $N \le 5000$ 13 / 13
3 17~23 $N \le 100000$,且對所有 $i$,$S(i)=T(i)$ 13 / 13
4 0~35 $N \le 300000$ 25 / 25
5 0~51 $N \le 800000$ 32 / 32

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 4 5 0002.7 6052 3636 Accepted 100
1 1 2 4 5 0002.6 6052 3504 Accepted 100
2 1 2 4 5 0002.5 6052 3672 Accepted 100
3 1 2 4 5 0002.5 6052 3504 Accepted 100
4 1 2 4 5 0002.5 6052 3744 Accepted 100
5 1 2 4 5 0002.4 6052 3700 Accepted 100
6 1 2 4 5 0002.4 6052 3600 Accepted 100
7 1 2 4 5 0002.4 6052 3636 Accepted 100
8 1 2 4 5 0002.4 6052 3628 Accepted 100
9 2 4 5 0004.5 6184 3660 Accepted 100
10 2 4 5 0005.0 6184 3740 Accepted 100
11 2 4 5 0005.0 6184 3816 Accepted 100
12 2 4 5 0004.1 6052 3720 Accepted 100
13 2 4 5 0003.4 6052 3708 Accepted 100
14 2 4 5 0004.9 6184 3700 Accepted 100
15 2 4 5 0004.7 6184 3664 Accepted 100
16 2 4 5 0002.9 6052 3760 Accepted 100
17 3 4 5 0067.3 6052 3628 Accepted 100
18 3 4 5 0071.6 6052 3668 Accepted 100
19 3 4 5 0067.0 6052 3764 Accepted 100
20 3 4 5 0068.6 6052 3772 Accepted 100
21 3 4 5 0066.8 6052 3696 Accepted 100
22 3 4 5 0069.9 6052 3704 Accepted 100
23 3 4 5 0067.6 6052 3640 Accepted 100
24 4 5 0287.8 11068 8600 Accepted 100
25 4 5 0295.9 11068 8588 Accepted 100
26 4 5 0301.1 11200 8700 Accepted 100
27 4 5 0296.5 11068 8732 Accepted 100
28 4 5 0283.5 11068 8604 Accepted 100
29 4 5 0298.6 11200 8664 Accepted 100
30 4 5 0289.0 11068 8632 Accepted 100
31 4 5 0296.3 11200 8712 Accepted 100
32 4 5 0277.8 10936 8416 Accepted 100
33 4 5 0301.6 11200 8640 Accepted 100
34 4 5 0287.1 10936 8548 Accepted 100
35 4 5 0296.0 11200 8712 Accepted 100
36 5 0854.0 18724 16336 Accepted 100
37 5 0884.2 18988 16652 Accepted 100
38 5 0862.2 18856 16460 Accepted 100
39 5 0891.4 19252 16836 Accepted 100
40 5 0911.7 19252 16884 Accepted 100
41 5 0877.4 19120 16504 Accepted 100
42 5 0839.7 18460 16132 Accepted 100
43 5 0838.1 18460 16092 Accepted 100
44 5 0827.9 18460 16024 Accepted 100
45 5 0835.9 18196 15644 Accepted 100
46 5 0839.8 18592 16172 Accepted 100
47 5 0844.0 18328 15900 Accepted 100
48 5 0813.0 18196 15756 Accepted 100
49 5 0874.0 18592 16184 Accepted 100
50 5 0859.3 18592 16200 Accepted 100
51 5 0960.1 19780 17348 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
410 Bytes
Back to Top