Back to Submissions List

Problem

Total Time (ms)

Max Memory (KiB)

Verdict

Score

8628
18072
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 3024 Accepted 100
1 1 2 4 5 0 3296 Accepted 100
2 1 2 4 5 0 3192 Accepted 100
3 1 2 4 5 0 3244 Accepted 100
4 1 2 4 5 0 3408 Accepted 100
5 1 2 4 5 0 3212 Accepted 100
6 1 2 4 5 0 3316 Accepted 100
7 1 2 4 5 0 3120 Accepted 100
8 1 2 4 5 0 3408 Accepted 100
9 2 4 5 0 3340 Accepted 100
10 2 4 5 0 3484 Accepted 100
11 2 4 5 0 3320 Accepted 100
12 2 4 5 0 3260 Accepted 100
13 2 4 5 0 3448 Accepted 100
14 2 4 5 0 3460 Accepted 100
15 2 4 5 0 3312 Accepted 100
16 2 4 5 0 3336 Accepted 100
17 3 4 5 20 4172 Accepted 100
18 3 4 5 20 4164 Accepted 100
19 3 4 5 20 4260 Accepted 100
20 3 4 5 20 4372 Accepted 100
21 3 4 5 20 4368 Accepted 100
22 3 4 5 20 4420 Accepted 100
23 3 4 5 20 4164 Accepted 100
24 4 5 132 9256 Accepted 100
25 4 5 156 9424 Accepted 100
26 4 5 128 9348 Accepted 100
27 4 5 132 9312 Accepted 100
28 4 5 124 9328 Accepted 100
29 4 5 132 9608 Accepted 100
30 4 5 128 9404 Accepted 100
31 4 5 132 9424 Accepted 100
32 4 5 124 9084 Accepted 100
33 4 5 132 9532 Accepted 100
34 4 5 124 9264 Accepted 100
35 4 5 128 9588 Accepted 100
36 5 424 16888 Accepted 100
37 5 444 17336 Accepted 100
38 5 428 17096 Accepted 100
39 5 448 17576 Accepted 100
40 5 452 17480 Accepted 100
41 5 444 17504 Accepted 100
42 5 420 16608 Accepted 100
43 5 416 16820 Accepted 100
44 5 408 16780 Accepted 100
45 5 404 16480 Accepted 100
46 5 408 16644 Accepted 100
47 5 404 16676 Accepted 100
48 5 408 16248 Accepted 100
49 5 428 16868 Accepted 100
50 5 480 16812 Accepted 100
51 5 500 18072 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
713 Bytes
Back to Top