Back to Submissions List

Problem

Total Time (ms)

Max Memory (KiB)

Verdict

Score

14808
18456
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 (KiB) Verdict Score
0 1 2 4 5 0 3472 Accepted 100
1 1 2 4 5 0 3244 Accepted 100
2 1 2 4 5 0 3392 Accepted 100
3 1 2 4 5 0 3244 Accepted 100
4 1 2 4 5 0 3252 Accepted 100
5 1 2 4 5 0 3352 Accepted 100
6 1 2 4 5 0 3372 Accepted 100
7 1 2 4 5 0 3316 Accepted 100
8 1 2 4 5 0 3296 Accepted 100
9 2 4 5 0 3412 Accepted 100
10 2 4 5 4 3364 Accepted 100
11 2 4 5 4 3368 Accepted 100
12 2 4 5 0 3292 Accepted 100
13 2 4 5 0 3244 Accepted 100
14 2 4 5 4 3468 Accepted 100
15 2 4 5 0 3464 Accepted 100
16 2 4 5 0 3436 Accepted 100
17 3 4 5 48 3684 Accepted 100
18 3 4 5 56 3656 Accepted 100
19 3 4 5 52 3656 Accepted 100
20 3 4 5 52 3816 Accepted 100
21 3 4 5 48 3736 Accepted 100
22 3 4 5 52 3608 Accepted 100
23 3 4 5 48 3688 Accepted 100
24 4 5 216 8360 Accepted 100
25 4 5 224 8828 Accepted 100
26 4 5 240 8628 Accepted 100
27 4 5 232 8696 Accepted 100
28 4 5 220 8460 Accepted 100
29 4 5 228 8680 Accepted 100
30 4 5 232 8700 Accepted 100
31 4 5 228 8764 Accepted 100
32 4 5 216 8404 Accepted 100
33 4 5 228 8708 Accepted 100
34 4 5 216 8360 Accepted 100
35 4 5 228 8764 Accepted 100
36 5 728 17420 Accepted 100
37 5 744 17744 Accepted 100
38 5 736 17336 Accepted 100
39 5 760 17948 Accepted 100
40 5 764 17992 Accepted 100
41 5 756 17684 Accepted 100
42 5 720 17148 Accepted 100
43 5 712 17144 Accepted 100
44 5 724 16860 Accepted 100
45 5 780 16552 Accepted 100
46 5 696 16944 Accepted 100
47 5 684 16868 Accepted 100
48 5 684 16608 Accepted 100
49 5 724 17164 Accepted 100
50 5 720 17160 Accepted 100
51 5 800 18456 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.47 KB
Back to Top