Back to Submissions List

Problem

Total Time (ms)

Max Memory (KiB)

Verdict

Score

8616
16420
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 2516 Accepted 100
1 1 2 4 5 0 2580 Accepted 100
2 1 2 4 5 0 2584 Accepted 100
3 1 2 4 5 0 2652 Accepted 100
4 1 2 4 5 0 2488 Accepted 100
5 1 2 4 5 0 2580 Accepted 100
6 1 2 4 5 0 2576 Accepted 100
7 1 2 4 5 0 2596 Accepted 100
8 1 2 4 5 0 2584 Accepted 100
9 2 4 5 0 2588 Accepted 100
10 2 4 5 0 2648 Accepted 100
11 2 4 5 0 2680 Accepted 100
12 2 4 5 0 2736 Accepted 100
13 2 4 5 0 2688 Accepted 100
14 2 4 5 0 2700 Accepted 100
15 2 4 5 0 2676 Accepted 100
16 2 4 5 0 2568 Accepted 100
17 3 4 5 20 2660 Accepted 100
18 3 4 5 20 2584 Accepted 100
19 3 4 5 20 2692 Accepted 100
20 3 4 5 20 2748 Accepted 100
21 3 4 5 20 2732 Accepted 100
22 3 4 5 20 2740 Accepted 100
23 3 4 5 20 2744 Accepted 100
24 4 5 128 7696 Accepted 100
25 4 5 132 7800 Accepted 100
26 4 5 132 7796 Accepted 100
27 4 5 128 7676 Accepted 100
28 4 5 124 7692 Accepted 100
29 4 5 132 7676 Accepted 100
30 4 5 124 7644 Accepted 100
31 4 5 128 7716 Accepted 100
32 4 5 120 7608 Accepted 100
33 4 5 132 7692 Accepted 100
34 4 5 124 7668 Accepted 100
35 4 5 136 7668 Accepted 100
36 5 432 15328 Accepted 100
37 5 448 15628 Accepted 100
38 5 432 15568 Accepted 100
39 5 456 15816 Accepted 100
40 5 480 15828 Accepted 100
41 5 464 15712 Accepted 100
42 5 432 15172 Accepted 100
43 5 424 15176 Accepted 100
44 5 420 14976 Accepted 100
45 5 408 14740 Accepted 100
46 5 408 15144 Accepted 100
47 5 416 15016 Accepted 100
48 5 400 14824 Accepted 100
49 5 420 15308 Accepted 100
50 5 424 15176 Accepted 100
51 5 472 16420 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
673 Bytes
Back to Top