Back to Submissions List

Problem

Total Time (ms)

Max Memory (KiB)

Verdict

Score

3892
5928
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 3040 Accepted 100
1 1 2 4 5 0 3236 Accepted 100
2 1 2 4 5 0 3216 Accepted 100
3 1 2 4 5 0 3212 Accepted 100
4 1 2 4 5 0 3332 Accepted 100
5 1 2 4 5 0 3104 Accepted 100
6 1 2 4 5 0 3112 Accepted 100
7 1 2 4 5 0 3276 Accepted 100
8 1 2 4 5 0 3340 Accepted 100
9 2 4 5 0 3076 Accepted 100
10 2 4 5 0 3200 Accepted 100
11 2 4 5 0 3268 Accepted 100
12 2 4 5 0 3212 Accepted 100
13 2 4 5 0 3124 Accepted 100
14 2 4 5 0 3292 Accepted 100
15 2 4 5 0 3280 Accepted 100
16 2 4 5 0 3252 Accepted 100
17 3 4 5 20 3292 Accepted 100
18 3 4 5 20 3104 Accepted 100
19 3 4 5 20 3340 Accepted 100
20 3 4 5 20 3304 Accepted 100
21 3 4 5 20 3100 Accepted 100
22 3 4 5 20 3168 Accepted 100
23 3 4 5 20 3220 Accepted 100
24 4 5 64 3816 Accepted 100
25 4 5 64 3824 Accepted 100
26 4 5 64 3796 Accepted 100
27 4 5 64 3704 Accepted 100
28 4 5 64 3800 Accepted 100
29 4 5 64 3812 Accepted 100
30 4 5 64 3732 Accepted 100
31 4 5 64 3776 Accepted 100
32 4 5 60 3848 Accepted 100
33 4 5 64 3824 Accepted 100
34 4 5 64 3780 Accepted 100
35 4 5 68 3916 Accepted 100
36 5 180 5680 Accepted 100
37 5 188 5668 Accepted 100
38 5 188 5584 Accepted 100
39 5 192 5680 Accepted 100
40 5 196 5708 Accepted 100
41 5 192 5696 Accepted 100
42 5 200 5632 Accepted 100
43 5 192 5632 Accepted 100
44 5 176 5496 Accepted 100
45 5 176 5500 Accepted 100
46 5 180 5728 Accepted 100
47 5 176 5744 Accepted 100
48 5 176 5440 Accepted 100
49 5 180 5752 Accepted 100
50 5 188 5772 Accepted 100
51 5 204 5928 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
1.25 KB
Back to Top