Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

18683
13080
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.4 6056 3632 Accepted 100
1 1 2 4 5 0002.9 6056 3564 Accepted 100
2 1 2 4 5 0002.7 6056 3448 Accepted 100
3 1 2 4 5 0002.6 6056 3532 Accepted 100
4 1 2 4 5 0002.4 6056 3532 Accepted 100
5 1 2 4 5 0002.6 6056 3668 Accepted 100
6 1 2 4 5 0002.7 6056 3612 Accepted 100
7 1 2 4 5 0002.8 6056 3544 Accepted 100
8 1 2 4 5 0002.4 6056 3580 Accepted 100
9 2 4 5 0004.7 6056 3700 Accepted 100
10 2 4 5 0005.2 6056 3584 Accepted 100
11 2 4 5 0005.4 6056 3652 Accepted 100
12 2 4 5 0005.1 6056 3600 Accepted 100
13 2 4 5 0003.6 6056 3692 Accepted 100
14 2 4 5 0005.7 6056 3708 Accepted 100
15 2 4 5 0004.9 6056 3720 Accepted 100
16 2 4 5 0003.1 6056 3580 Accepted 100
17 3 4 5 0073.5 6056 3692 Accepted 100
18 3 4 5 0081.0 6056 3560 Accepted 100
19 3 4 5 0073.1 6056 3692 Accepted 100
20 3 4 5 0076.2 6056 3700 Accepted 100
21 3 4 5 0073.9 6056 3696 Accepted 100
22 3 4 5 0078.4 6056 3564 Accepted 100
23 3 4 5 0074.6 6056 3764 Accepted 100
24 4 5 0298.6 9488 7100 Accepted 100
25 4 5 0302.7 9488 7216 Accepted 100
26 4 5 0305.9 9620 7204 Accepted 100
27 4 5 0314.2 9488 7048 Accepted 100
28 4 5 0297.3 9488 6956 Accepted 100
29 4 5 0311.5 9620 7208 Accepted 100
30 4 5 0313.4 9488 7100 Accepted 100
31 4 5 0316.8 9620 7064 Accepted 100
32 4 5 0292.2 9356 6920 Accepted 100
33 4 5 0309.4 9620 7120 Accepted 100
34 4 5 0294.1 9488 6884 Accepted 100
35 4 5 0304.3 9620 7060 Accepted 100
36 5 0896.6 14768 12304 Accepted 100
37 5 0927.0 15032 12560 Accepted 100
38 5 0897.6 14900 12480 Accepted 100
39 5 0950.3 15164 12860 Accepted 100
40 5 0955.1 15164 12852 Accepted 100
41 5 0948.1 15032 12552 Accepted 100
42 5 0875.0 14636 12200 Accepted 100
43 5 0881.0 14636 12168 Accepted 100
44 5 0868.4 14636 12156 Accepted 100
45 5 0872.3 14504 11816 Accepted 100
46 5 0881.6 14636 12176 Accepted 100
47 5 0869.5 14504 12092 Accepted 100
48 5 0849.3 14372 11916 Accepted 100
49 5 0876.2 14768 12236 Accepted 100
50 5 0897.2 14768 12308 Accepted 100
51 5 0985.3 15428 13080 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
487 Bytes
Back to Top