Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

11161
29468
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.7 18712 3560 Accepted 100
1 1 2 4 5 0002.4 18712 3524 Accepted 100
2 1 2 4 5 0002.6 18712 3556 Accepted 100
3 1 2 4 5 0002.6 18712 3516 Accepted 100
4 1 2 4 5 0002.6 18712 3560 Accepted 100
5 1 2 4 5 0002.5 18712 3548 Accepted 100
6 1 2 4 5 0002.4 18712 3516 Accepted 100
7 1 2 4 5 0002.5 18712 3616 Accepted 100
8 1 2 4 5 0002.4 18712 3512 Accepted 100
9 2 4 5 0003.6 18712 3688 Accepted 100
10 2 4 5 0003.8 18712 3632 Accepted 100
11 2 4 5 0003.8 18712 3704 Accepted 100
12 2 4 5 0003.4 18712 3580 Accepted 100
13 2 4 5 0003.0 18712 3580 Accepted 100
14 2 4 5 0003.7 18712 3624 Accepted 100
15 2 4 5 0003.7 18712 3616 Accepted 100
16 2 4 5 0002.7 18712 3392 Accepted 100
17 3 4 5 0035.6 18712 4984 Accepted 100
18 3 4 5 0037.4 18712 5156 Accepted 100
19 3 4 5 0036.2 18712 4964 Accepted 100
20 3 4 5 0036.1 18712 5020 Accepted 100
21 3 4 5 0035.4 18712 5012 Accepted 100
22 3 4 5 0037.0 18712 5032 Accepted 100
23 3 4 5 0036.1 18712 5004 Accepted 100
24 4 5 0167.8 23728 13040 Accepted 100
25 4 5 0171.1 23728 13128 Accepted 100
26 4 5 0174.1 23860 13292 Accepted 100
27 4 5 0171.7 23728 13112 Accepted 100
28 4 5 0167.1 23596 12948 Accepted 100
29 4 5 0175.7 23728 13288 Accepted 100
30 4 5 0170.6 23728 13092 Accepted 100
31 4 5 0171.5 23728 13140 Accepted 100
32 4 5 0164.6 23596 12804 Accepted 100
33 4 5 0172.2 23860 13296 Accepted 100
34 4 5 0165.6 23596 12720 Accepted 100
35 4 5 0174.5 23728 13224 Accepted 100
36 5 0552.7 31384 27652 Accepted 100
37 5 0575.2 31648 28280 Accepted 100
38 5 0565.3 31516 27952 Accepted 100
39 5 0597.1 31912 28768 Accepted 100
40 5 0572.1 31912 28688 Accepted 100
41 5 0571.8 31780 28408 Accepted 100
42 5 0536.7 31120 27296 Accepted 100
43 5 0551.7 31120 27040 Accepted 100
44 5 0527.3 30988 26936 Accepted 100
45 5 0521.1 30856 26564 Accepted 100
46 5 0523.1 31120 27120 Accepted 100
47 5 0530.6 30988 26916 Accepted 100
48 5 0515.9 30856 26704 Accepted 100
49 5 0547.6 31252 27440 Accepted 100
50 5 0539.7 31252 27488 Accepted 100
51 5 0582.9 32308 29468 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
850 Bytes
Back to Top