Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

6685
4860
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 0001.3 6868 1684 Accepted 100
1 1 2 4 5 0001.3 6868 1744 Accepted 100
2 1 2 4 5 0001.3 6868 1720 Accepted 100
3 1 2 4 5 0001.3 6868 1688 Accepted 100
4 1 2 4 5 0001.3 6868 1668 Accepted 100
5 1 2 4 5 0001.3 6868 1672 Accepted 100
6 1 2 4 5 0001.3 6868 1628 Accepted 100
7 1 2 4 5 0001.3 6868 1708 Accepted 100
8 1 2 4 5 0001.3 6868 1692 Accepted 100
9 2 4 5 0002.1 6868 1652 Accepted 100
10 2 4 5 0002.3 6868 1660 Accepted 100
11 2 4 5 0002.3 6868 1736 Accepted 100
12 2 4 5 0001.9 6868 1764 Accepted 100
13 2 4 5 0001.8 6868 1648 Accepted 100
14 2 4 5 0002.2 6868 1688 Accepted 100
15 2 4 5 0002.2 6868 1664 Accepted 100
16 2 4 5 0001.5 6868 1680 Accepted 100
17 3 4 5 0034.7 6868 2028 Accepted 100
18 3 4 5 0036.6 6868 2048 Accepted 100
19 3 4 5 0034.5 6868 2052 Accepted 100
20 3 4 5 0035.5 6868 2120 Accepted 100
21 3 4 5 0034.2 6868 2028 Accepted 100
22 3 4 5 0036.4 6868 2104 Accepted 100
23 3 4 5 0044.5 6868 2120 Accepted 100
24 4 5 0113.4 6868 2796 Accepted 100
25 4 5 0114.7 6868 2804 Accepted 100
26 4 5 0118.5 6868 2908 Accepted 100
27 4 5 0114.7 6868 2836 Accepted 100
28 4 5 0115.1 6868 2824 Accepted 100
29 4 5 0118.5 6868 2932 Accepted 100
30 4 5 0115.4 6868 2880 Accepted 100
31 4 5 0115.6 6868 2852 Accepted 100
32 4 5 0111.7 6868 2824 Accepted 100
33 4 5 0117.9 6868 2888 Accepted 100
34 4 5 0112.3 6868 2820 Accepted 100
35 4 5 0117.7 6868 2884 Accepted 100
36 5 0312.6 6868 4564 Accepted 100
37 5 0316.2 6868 4624 Accepted 100
38 5 0312.0 6868 4600 Accepted 100
39 5 0325.7 6868 4652 Accepted 100
40 5 0324.5 6868 4724 Accepted 100
41 5 0327.0 6868 4628 Accepted 100
42 5 0308.2 6868 4532 Accepted 100
43 5 0316.4 6868 4492 Accepted 100
44 5 0305.1 6868 4452 Accepted 100
45 5 0301.3 6868 4488 Accepted 100
46 5 0310.7 6868 4504 Accepted 100
47 5 0303.1 6868 4488 Accepted 100
48 5 0296.2 6868 4448 Accepted 100
49 5 0310.8 6868 4496 Accepted 100
50 5 0305.6 6868 4544 Accepted 100
51 5 0339.3 6868 4860 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
702 Bytes
Back to Top