Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

14024
16044
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 9332 3560 Accepted 100
1 1 2 4 5 0002.4 9332 3444 Accepted 100
2 1 2 4 5 0002.5 9332 3580 Accepted 100
3 1 2 4 5 0002.3 9332 3532 Accepted 100
4 1 2 4 5 0002.5 9332 3608 Accepted 100
5 1 2 4 5 0002.5 9332 3600 Accepted 100
6 1 2 4 5 0002.5 9332 3384 Accepted 100
7 1 2 4 5 0002.4 9332 3532 Accepted 100
8 1 2 4 5 0002.7 9332 3580 Accepted 100
9 2 4 5 0004.0 9332 3600 Accepted 100
10 2 4 5 0004.2 9332 3596 Accepted 100
11 2 4 5 0004.1 9332 3732 Accepted 100
12 2 4 5 0003.7 9332 3568 Accepted 100
13 2 4 5 0003.1 9332 3692 Accepted 100
14 2 4 5 0004.0 9332 3624 Accepted 100
15 2 4 5 0004.1 9332 3724 Accepted 100
16 2 4 5 0002.9 9332 3480 Accepted 100
17 3 4 5 0050.2 9332 3968 Accepted 100
18 3 4 5 0053.0 9332 4072 Accepted 100
19 3 4 5 0050.3 9332 3948 Accepted 100
20 3 4 5 0051.1 9332 3780 Accepted 100
21 3 4 5 0050.6 9332 3964 Accepted 100
22 3 4 5 0052.4 9332 3940 Accepted 100
23 3 4 5 0050.8 9332 3836 Accepted 100
24 4 5 0210.4 12764 7944 Accepted 100
25 4 5 0215.8 12764 8220 Accepted 100
26 4 5 0219.2 12896 8232 Accepted 100
27 4 5 0217.7 12764 8160 Accepted 100
28 4 5 0212.1 12764 8148 Accepted 100
29 4 5 0218.1 12896 8356 Accepted 100
30 4 5 0216.5 12764 8128 Accepted 100
31 4 5 0215.3 12764 8168 Accepted 100
32 4 5 0204.4 12632 7980 Accepted 100
33 4 5 0216.1 12896 8168 Accepted 100
34 4 5 0211.6 12632 8044 Accepted 100
35 4 5 0214.8 12764 8196 Accepted 100
36 5 0692.8 18044 15172 Accepted 100
37 5 0719.0 18308 15428 Accepted 100
38 5 0700.6 18176 15348 Accepted 100
39 5 0747.4 18440 15640 Accepted 100
40 5 0733.6 18440 15680 Accepted 100
41 5 0722.1 18308 15544 Accepted 100
42 5 0675.1 17912 15032 Accepted 100
43 5 0671.5 17912 14984 Accepted 100
44 5 0671.9 17780 14880 Accepted 100
45 5 0662.3 17648 14560 Accepted 100
46 5 0655.6 17780 14852 Accepted 100
47 5 0658.8 17780 14808 Accepted 100
48 5 0632.3 17648 14764 Accepted 100
49 5 0665.7 17912 15044 Accepted 100
50 5 0662.8 17912 15136 Accepted 100
51 5 0769.8 18704 16044 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
803 Bytes
Back to Top