Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

10903
17220
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 6212 3560 Accepted 100
1 1 2 4 5 0002.7 6212 3588 Accepted 100
2 1 2 4 5 0002.7 6212 3696 Accepted 100
3 1 2 4 5 0002.5 6212 3692 Accepted 100
4 1 2 4 5 0002.5 6212 3552 Accepted 100
5 1 2 4 5 0002.5 6212 3564 Accepted 100
6 1 2 4 5 0002.5 6212 3564 Accepted 100
7 1 2 4 5 0002.5 6212 3548 Accepted 100
8 1 2 4 5 0002.4 6212 3592 Accepted 100
9 2 4 5 0003.6 6212 3452 Accepted 100
10 2 4 5 0003.9 6212 3640 Accepted 100
11 2 4 5 0003.7 6212 3640 Accepted 100
12 2 4 5 0003.3 6212 3672 Accepted 100
13 2 4 5 0003.0 6212 3652 Accepted 100
14 2 4 5 0003.7 6212 3692 Accepted 100
15 2 4 5 0003.6 6212 3584 Accepted 100
16 2 4 5 0002.8 6212 3648 Accepted 100
17 3 4 5 0032.1 6212 3548 Accepted 100
18 3 4 5 0033.0 6212 3724 Accepted 100
19 3 4 5 0030.9 6212 3588 Accepted 100
20 3 4 5 0032.0 6212 3656 Accepted 100
21 3 4 5 0030.7 6212 3720 Accepted 100
22 3 4 5 0032.7 6212 3424 Accepted 100
23 3 4 5 0031.1 6212 3612 Accepted 100
24 4 5 0166.3 11228 8552 Accepted 100
25 4 5 0165.4 11228 8676 Accepted 100
26 4 5 0172.2 11360 8764 Accepted 100
27 4 5 0166.9 11228 8560 Accepted 100
28 4 5 0163.2 11096 8596 Accepted 100
29 4 5 0175.7 11228 8700 Accepted 100
30 4 5 0163.4 11228 8616 Accepted 100
31 4 5 0165.1 11228 8664 Accepted 100
32 4 5 0155.3 11096 8496 Accepted 100
33 4 5 0165.4 11360 8704 Accepted 100
34 4 5 0166.7 11096 8608 Accepted 100
35 4 5 0170.6 11228 8736 Accepted 100
36 5 0555.2 18884 16256 Accepted 100
37 5 0558.6 19148 16540 Accepted 100
38 5 0543.0 19016 16524 Accepted 100
39 5 0564.4 19412 16860 Accepted 100
40 5 0560.6 19412 16840 Accepted 100
41 5 0555.1 19280 16664 Accepted 100
42 5 0552.6 18620 16028 Accepted 100
43 5 0551.3 18620 15856 Accepted 100
44 5 0519.3 18488 15932 Accepted 100
45 5 0496.7 18356 15532 Accepted 100
46 5 0529.2 18620 16120 Accepted 100
47 5 0513.1 18488 15848 Accepted 100
48 5 0521.3 18356 15748 Accepted 100
49 5 0507.2 18752 16272 Accepted 100
50 5 0531.4 18752 16156 Accepted 100
51 5 0575.1 19808 17220 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
392 Bytes
Back to Top