Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

11057
17136
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 6208 3536 Accepted 100
1 1 2 4 5 0002.7 6208 3560 Accepted 100
2 1 2 4 5 0002.6 6208 3580 Accepted 100
3 1 2 4 5 0002.5 6208 3400 Accepted 100
4 1 2 4 5 0002.6 6208 3520 Accepted 100
5 1 2 4 5 0002.6 6208 3560 Accepted 100
6 1 2 4 5 0002.6 6208 3380 Accepted 100
7 1 2 4 5 0002.5 6208 3516 Accepted 100
8 1 2 4 5 0002.6 6208 3524 Accepted 100
9 2 4 5 0003.4 6208 3588 Accepted 100
10 2 4 5 0004.0 6208 3740 Accepted 100
11 2 4 5 0003.8 6208 3612 Accepted 100
12 2 4 5 0003.3 6208 3592 Accepted 100
13 2 4 5 0003.1 6208 3632 Accepted 100
14 2 4 5 0003.9 6208 3568 Accepted 100
15 2 4 5 0003.7 6208 3612 Accepted 100
16 2 4 5 0002.7 6208 3556 Accepted 100
17 3 4 5 0035.1 6208 3568 Accepted 100
18 3 4 5 0036.4 6208 3476 Accepted 100
19 3 4 5 0034.8 6208 3564 Accepted 100
20 3 4 5 0035.8 6208 3700 Accepted 100
21 3 4 5 0034.5 6208 3568 Accepted 100
22 3 4 5 0036.1 6208 3416 Accepted 100
23 3 4 5 0035.1 6208 3592 Accepted 100
24 4 5 0166.4 11224 8548 Accepted 100
25 4 5 0170.2 11224 8604 Accepted 100
26 4 5 0174.8 11356 8676 Accepted 100
27 4 5 0169.3 11224 8612 Accepted 100
28 4 5 0172.8 11092 8420 Accepted 100
29 4 5 0179.2 11224 8644 Accepted 100
30 4 5 0171.3 11224 8480 Accepted 100
31 4 5 0176.2 11224 8748 Accepted 100
32 4 5 0167.8 11092 8312 Accepted 100
33 4 5 0178.4 11356 8524 Accepted 100
34 4 5 0166.7 11092 8296 Accepted 100
35 4 5 0171.7 11224 8492 Accepted 100
36 5 0539.8 18880 16248 Accepted 100
37 5 0557.6 19144 16544 Accepted 100
38 5 0547.0 19012 16492 Accepted 100
39 5 0590.0 19408 16784 Accepted 100
40 5 0567.0 19408 16744 Accepted 100
41 5 0564.7 19276 16736 Accepted 100
42 5 0525.3 18616 16032 Accepted 100
43 5 0525.0 18616 15988 Accepted 100
44 5 0521.6 18484 15912 Accepted 100
45 5 0516.6 18352 15684 Accepted 100
46 5 0523.5 18616 15892 Accepted 100
47 5 0518.0 18484 15820 Accepted 100
48 5 0504.0 18352 15644 Accepted 100
49 5 0554.1 18748 16128 Accepted 100
50 5 0536.4 18748 15980 Accepted 100
51 5 0602.4 19804 17136 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
490 Bytes
Back to Top