Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

11432
17508
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.6 6044 3988 Accepted 100
1 1 2 4 5 0002.4 6044 3992 Accepted 100
2 1 2 4 5 0002.7 6044 3996 Accepted 100
3 1 2 4 5 0002.5 6044 3896 Accepted 100
4 1 2 4 5 0002.5 6044 3712 Accepted 100
5 1 2 4 5 0002.4 6044 3716 Accepted 100
6 1 2 4 5 0003.5 6044 3708 Accepted 100
7 1 2 4 5 0002.4 6044 3812 Accepted 100
8 1 2 4 5 0003.7 6044 3972 Accepted 100
9 2 4 5 0003.5 6176 3912 Accepted 100
10 2 4 5 0003.9 6176 3852 Accepted 100
11 2 4 5 0003.8 6176 3936 Accepted 100
12 2 4 5 0003.4 6044 3772 Accepted 100
13 2 4 5 0003.0 6044 3896 Accepted 100
14 2 4 5 0003.7 6176 3968 Accepted 100
15 2 4 5 0003.6 6176 3880 Accepted 100
16 2 4 5 0002.7 6044 3844 Accepted 100
17 3 4 5 0033.8 6044 3840 Accepted 100
18 3 4 5 0035.9 6044 3912 Accepted 100
19 3 4 5 0033.7 6044 3840 Accepted 100
20 3 4 5 0034.4 6044 3880 Accepted 100
21 3 4 5 0033.2 6044 3744 Accepted 100
22 3 4 5 0034.8 6044 3884 Accepted 100
23 3 4 5 0034.4 6044 3940 Accepted 100
24 4 5 0168.7 11060 8872 Accepted 100
25 4 5 0171.5 11060 8896 Accepted 100
26 4 5 0172.1 11192 8956 Accepted 100
27 4 5 0176.6 11060 8748 Accepted 100
28 4 5 0166.4 11060 8860 Accepted 100
29 4 5 0174.7 11192 9012 Accepted 100
30 4 5 0172.6 11060 9012 Accepted 100
31 4 5 0176.7 11192 8800 Accepted 100
32 4 5 0171.7 10928 8752 Accepted 100
33 4 5 0180.5 11192 9024 Accepted 100
34 4 5 0224.4 10928 8624 Accepted 100
35 4 5 0178.4 11192 8968 Accepted 100
36 5 0560.7 18716 16516 Accepted 100
37 5 0566.9 18980 16840 Accepted 100
38 5 0592.7 18848 16820 Accepted 100
39 5 0603.3 19244 17116 Accepted 100
40 5 0632.1 19244 17024 Accepted 100
41 5 0618.6 19112 16932 Accepted 100
42 5 0565.0 18452 16448 Accepted 100
43 5 0565.7 18452 16356 Accepted 100
44 5 0526.0 18452 16248 Accepted 100
45 5 0513.3 18188 16004 Accepted 100
46 5 0523.1 18584 16384 Accepted 100
47 5 0521.9 18320 16104 Accepted 100
48 5 0520.0 18188 15928 Accepted 100
49 5 0539.9 18584 16356 Accepted 100
50 5 0551.2 18584 16252 Accepted 100
51 5 0604.4 19772 17508 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
342 Bytes
Back to Top