Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

10604
17164
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.4 6200 3552 Accepted 100
1 1 2 4 5 0002.7 6200 3584 Accepted 100
2 1 2 4 5 0002.5 6200 3588 Accepted 100
3 1 2 4 5 0002.4 6200 3540 Accepted 100
4 1 2 4 5 0002.6 6200 3620 Accepted 100
5 1 2 4 5 0002.5 6200 3568 Accepted 100
6 1 2 4 5 0002.5 6200 3688 Accepted 100
7 1 2 4 5 0002.4 6200 3484 Accepted 100
8 1 2 4 5 0002.5 6200 3460 Accepted 100
9 2 4 5 0003.7 6200 3616 Accepted 100
10 2 4 5 0003.8 6200 3636 Accepted 100
11 2 4 5 0003.7 6200 3704 Accepted 100
12 2 4 5 0003.3 6200 3612 Accepted 100
13 2 4 5 0003.0 6200 3724 Accepted 100
14 2 4 5 0003.7 6200 3652 Accepted 100
15 2 4 5 0003.5 6200 3616 Accepted 100
16 2 4 5 0002.7 6200 3652 Accepted 100
17 3 4 5 0031.3 6200 3592 Accepted 100
18 3 4 5 0033.5 6200 3552 Accepted 100
19 3 4 5 0031.1 6200 3592 Accepted 100
20 3 4 5 0032.7 6200 3668 Accepted 100
21 3 4 5 0031.4 6200 3664 Accepted 100
22 3 4 5 0033.0 6200 3664 Accepted 100
23 3 4 5 0031.4 6200 3484 Accepted 100
24 4 5 0159.8 11216 8556 Accepted 100
25 4 5 0165.1 11216 8520 Accepted 100
26 4 5 0172.6 11348 8756 Accepted 100
27 4 5 0169.8 11216 8672 Accepted 100
28 4 5 0159.9 11084 8600 Accepted 100
29 4 5 0168.0 11216 8744 Accepted 100
30 4 5 0162.6 11216 8724 Accepted 100
31 4 5 0168.1 11216 8560 Accepted 100
32 4 5 0160.7 11084 8500 Accepted 100
33 4 5 0177.2 11348 8764 Accepted 100
34 4 5 0159.3 11084 8500 Accepted 100
35 4 5 0169.5 11216 8688 Accepted 100
36 5 0521.2 18872 16296 Accepted 100
37 5 0529.2 19136 16568 Accepted 100
38 5 0522.1 19004 16468 Accepted 100
39 5 0546.6 19400 16852 Accepted 100
40 5 0554.6 19400 16836 Accepted 100
41 5 0539.7 19268 16528 Accepted 100
42 5 0515.8 18608 16028 Accepted 100
43 5 0503.2 18608 16012 Accepted 100
44 5 0512.1 18476 15832 Accepted 100
45 5 0495.6 18344 15692 Accepted 100
46 5 0508.1 18608 16128 Accepted 100
47 5 0490.0 18476 15748 Accepted 100
48 5 0493.4 18344 15744 Accepted 100
49 5 0507.9 18740 16044 Accepted 100
50 5 0520.1 18740 16108 Accepted 100
51 5 0577.7 19796 17164 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.2 KB
Back to Top