Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

6333
6672
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.5 9324 3616 Accepted 100
1 1 2 4 5 0002.6 9324 3628 Accepted 100
2 1 2 4 5 0002.4 9324 3540 Accepted 100
3 1 2 4 5 0002.6 9324 3556 Accepted 100
4 1 2 4 5 0002.5 9324 3512 Accepted 100
5 1 2 4 5 0002.5 9324 3516 Accepted 100
6 1 2 4 5 0002.5 9324 3624 Accepted 100
7 1 2 4 5 0002.4 9324 3624 Accepted 100
8 1 2 4 5 0002.5 9324 3628 Accepted 100
9 2 4 5 0003.2 9324 3560 Accepted 100
10 2 4 5 0003.4 9324 3572 Accepted 100
11 2 4 5 0003.3 9324 3564 Accepted 100
12 2 4 5 0003.0 9324 3632 Accepted 100
13 2 4 5 0002.7 9324 3464 Accepted 100
14 2 4 5 0003.2 9324 3644 Accepted 100
15 2 4 5 0003.2 9324 3576 Accepted 100
16 2 4 5 0002.7 9324 3456 Accepted 100
17 3 4 5 0034.9 9324 3940 Accepted 100
18 3 4 5 0036.4 9324 4064 Accepted 100
19 3 4 5 0034.3 9324 3932 Accepted 100
20 3 4 5 0035.6 9324 3980 Accepted 100
21 3 4 5 0034.2 9324 3984 Accepted 100
22 3 4 5 0036.4 9324 3996 Accepted 100
23 3 4 5 0035.0 9324 4048 Accepted 100
24 4 5 0108.2 9324 4596 Accepted 100
25 4 5 0108.2 9324 4748 Accepted 100
26 4 5 0110.5 9324 4840 Accepted 100
27 4 5 0107.8 9324 4692 Accepted 100
28 4 5 0107.5 9324 4700 Accepted 100
29 4 5 0108.4 9324 4704 Accepted 100
30 4 5 0109.3 9324 4760 Accepted 100
31 4 5 0109.4 9324 4596 Accepted 100
32 4 5 0103.8 9324 4632 Accepted 100
33 4 5 0111.0 9324 4784 Accepted 100
34 4 5 0105.9 9324 4676 Accepted 100
35 4 5 0110.7 9324 4704 Accepted 100
36 5 0292.2 9324 6416 Accepted 100
37 5 0300.4 9324 6516 Accepted 100
38 5 0300.0 9324 6584 Accepted 100
39 5 0308.3 9324 6452 Accepted 100
40 5 0310.2 9324 6576 Accepted 100
41 5 0309.1 9324 6584 Accepted 100
42 5 0290.8 9324 6500 Accepted 100
43 5 0293.8 9324 6336 Accepted 100
44 5 0285.7 9324 6364 Accepted 100
45 5 0288.6 9324 6256 Accepted 100
46 5 0289.9 9324 6380 Accepted 100
47 5 0285.5 9324 6292 Accepted 100
48 5 0283.9 9324 6328 Accepted 100
49 5 0289.1 9324 6396 Accepted 100
50 5 0290.2 9324 6396 Accepted 100
51 5 0320.5 9324 6672 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.75 KB
Back to Top