Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

12004
9736
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 12448 3604 Accepted 100
1 1 2 4 5 0002.7 12448 3500 Accepted 100
2 1 2 4 5 0002.7 12448 3668 Accepted 100
3 1 2 4 5 0002.5 12448 3500 Accepted 100
4 1 2 4 5 0002.5 12448 3588 Accepted 100
5 1 2 4 5 0002.7 12448 3592 Accepted 100
6 1 2 4 5 0002.6 12448 3592 Accepted 100
7 1 2 4 5 0002.6 12448 3656 Accepted 100
8 1 2 4 5 0002.5 12448 3496 Accepted 100
9 2 4 5 0003.9 12448 3640 Accepted 100
10 2 4 5 0004.2 12448 3608 Accepted 100
11 2 4 5 0004.2 12448 3612 Accepted 100
12 2 4 5 0003.6 12448 3636 Accepted 100
13 2 4 5 0003.2 12448 3636 Accepted 100
14 2 4 5 0004.3 12448 3688 Accepted 100
15 2 4 5 0004.1 12448 3512 Accepted 100
16 2 4 5 0003.0 12448 3592 Accepted 100
17 3 4 5 0057.4 12448 4368 Accepted 100
18 3 4 5 0059.0 12448 4376 Accepted 100
19 3 4 5 0056.5 12448 4372 Accepted 100
20 3 4 5 0057.1 12448 4372 Accepted 100
21 3 4 5 0055.9 12448 4364 Accepted 100
22 3 4 5 0059.3 12448 4356 Accepted 100
23 3 4 5 0056.4 12448 4200 Accepted 100
24 4 5 0184.9 12448 5728 Accepted 100
25 4 5 0186.0 12448 5872 Accepted 100
26 4 5 0191.0 12448 5936 Accepted 100
27 4 5 0189.6 12448 5848 Accepted 100
28 4 5 0183.9 12448 5876 Accepted 100
29 4 5 0193.3 12448 6028 Accepted 100
30 4 5 0186.0 12448 5868 Accepted 100
31 4 5 0188.7 12448 5932 Accepted 100
32 4 5 0179.8 12448 5772 Accepted 100
33 4 5 0193.2 12448 5888 Accepted 100
34 4 5 0185.2 12448 5800 Accepted 100
35 4 5 0190.6 12448 5976 Accepted 100
36 5 0578.7 12448 9376 Accepted 100
37 5 0591.4 12448 9468 Accepted 100
38 5 0584.0 12448 9444 Accepted 100
39 5 0618.0 12448 9568 Accepted 100
40 5 0621.9 12448 9624 Accepted 100
41 5 0596.6 12448 9488 Accepted 100
42 5 0562.9 12448 9292 Accepted 100
43 5 0559.2 12448 9224 Accepted 100
44 5 0597.2 12448 9160 Accepted 100
45 5 0556.9 12448 9048 Accepted 100
46 5 0587.9 12448 9208 Accepted 100
47 5 0565.0 12448 9156 Accepted 100
48 5 0544.6 12448 9052 Accepted 100
49 5 0562.6 12448 9324 Accepted 100
50 5 0556.1 12448 9248 Accepted 100
51 5 0613.7 12448 9736 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
887 Bytes
Back to Top