Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

10691
17228
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 3568 Accepted 100
1 1 2 4 5 0002.4 6208 3692 Accepted 100
2 1 2 4 5 0002.5 6208 3584 Accepted 100
3 1 2 4 5 0002.5 6208 3584 Accepted 100
4 1 2 4 5 0002.6 6208 3564 Accepted 100
5 1 2 4 5 0002.4 6208 3548 Accepted 100
6 1 2 4 5 0002.4 6208 3448 Accepted 100
7 1 2 4 5 0002.4 6208 3556 Accepted 100
8 1 2 4 5 0002.4 6208 3624 Accepted 100
9 2 4 5 0003.6 6208 3688 Accepted 100
10 2 4 5 0003.7 6208 3624 Accepted 100
11 2 4 5 0003.7 6208 3652 Accepted 100
12 2 4 5 0003.4 6208 3680 Accepted 100
13 2 4 5 0003.0 6208 3620 Accepted 100
14 2 4 5 0003.6 6208 3524 Accepted 100
15 2 4 5 0003.5 6208 3648 Accepted 100
16 2 4 5 0002.7 6208 3604 Accepted 100
17 3 4 5 0030.8 6208 3584 Accepted 100
18 3 4 5 0032.1 6208 3596 Accepted 100
19 3 4 5 0030.5 6208 3660 Accepted 100
20 3 4 5 0031.3 6208 3664 Accepted 100
21 3 4 5 0030.4 6208 3584 Accepted 100
22 3 4 5 0032.2 6208 3584 Accepted 100
23 3 4 5 0030.7 6208 3596 Accepted 100
24 4 5 0165.0 11224 8680 Accepted 100
25 4 5 0166.1 11224 8672 Accepted 100
26 4 5 0172.1 11356 8716 Accepted 100
27 4 5 0166.4 11224 8624 Accepted 100
28 4 5 0163.7 11092 8600 Accepted 100
29 4 5 0171.3 11224 8680 Accepted 100
30 4 5 0165.2 11224 8592 Accepted 100
31 4 5 0168.8 11224 8664 Accepted 100
32 4 5 0156.7 11092 8420 Accepted 100
33 4 5 0167.0 11356 8704 Accepted 100
34 4 5 0157.1 11092 8456 Accepted 100
35 4 5 0166.6 11224 8648 Accepted 100
36 5 0522.5 18880 16236 Accepted 100
37 5 0551.5 19144 16544 Accepted 100
38 5 0539.0 19012 16520 Accepted 100
39 5 0569.9 19408 16804 Accepted 100
40 5 0558.1 19408 16828 Accepted 100
41 5 0547.2 19276 16644 Accepted 100
42 5 0520.1 18616 16088 Accepted 100
43 5 0515.7 18616 16028 Accepted 100
44 5 0506.5 18484 15876 Accepted 100
45 5 0504.7 18352 15704 Accepted 100
46 5 0511.3 18616 16128 Accepted 100
47 5 0499.3 18484 15876 Accepted 100
48 5 0486.1 18352 15668 Accepted 100
49 5 0514.1 18748 16172 Accepted 100
50 5 0513.4 18748 15980 Accepted 100
51 5 0578.8 19804 17228 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
687 Bytes
Back to Top