Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

7846
28052
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 22436 2980 Accepted 100
1 1 2 4 5 0002.4 22436 2988 Accepted 100
2 1 2 4 5 0002.4 22436 3076 Accepted 100
3 1 2 4 5 0002.3 22436 2984 Accepted 100
4 1 2 4 5 0002.3 22436 2936 Accepted 100
5 1 2 4 5 0002.3 22436 2932 Accepted 100
6 1 2 4 5 0002.4 22436 2936 Accepted 100
7 1 2 4 5 0002.2 22436 2932 Accepted 100
8 1 2 4 5 0002.3 22436 3068 Accepted 100
9 2 4 5 0002.9 22568 3164 Accepted 100
10 2 4 5 0003.1 22568 3244 Accepted 100
11 2 4 5 0003.0 22568 3008 Accepted 100
12 2 4 5 0002.9 22436 3000 Accepted 100
13 2 4 5 0002.7 22436 2944 Accepted 100
14 2 4 5 0002.9 22568 3032 Accepted 100
15 2 4 5 0003.0 22568 3000 Accepted 100
16 2 4 5 0002.5 22436 2928 Accepted 100
17 3 4 5 0018.3 22436 4304 Accepted 100
18 3 4 5 0018.7 22436 4128 Accepted 100
19 3 4 5 0017.9 22436 4108 Accepted 100
20 3 4 5 0018.5 22436 4136 Accepted 100
21 3 4 5 0017.9 22436 4300 Accepted 100
22 3 4 5 0018.5 22436 4124 Accepted 100
23 3 4 5 0018.1 22436 4076 Accepted 100
24 4 5 0113.8 27452 12160 Accepted 100
25 4 5 0115.2 27452 12296 Accepted 100
26 4 5 0117.1 27584 12284 Accepted 100
27 4 5 0118.6 27452 12104 Accepted 100
28 4 5 0111.1 27452 11980 Accepted 100
29 4 5 0117.8 27584 12220 Accepted 100
30 4 5 0115.0 27452 12052 Accepted 100
31 4 5 0120.3 27584 12172 Accepted 100
32 4 5 0110.0 27320 11820 Accepted 100
33 4 5 0116.7 27584 12300 Accepted 100
34 4 5 0114.9 27320 11944 Accepted 100
35 4 5 0118.7 27584 12228 Accepted 100
36 5 0406.4 35108 26216 Accepted 100
37 5 0412.1 35372 26772 Accepted 100
38 5 0396.5 35240 26724 Accepted 100
39 5 0421.4 35636 27276 Accepted 100
40 5 0406.9 35636 27444 Accepted 100
41 5 0414.8 35504 26976 Accepted 100
42 5 0382.0 34844 26048 Accepted 100
43 5 0384.5 34844 26040 Accepted 100
44 5 0379.5 34844 25584 Accepted 100
45 5 0371.2 34580 25248 Accepted 100
46 5 0365.9 34976 26020 Accepted 100
47 5 0360.7 34712 25536 Accepted 100
48 5 0378.5 34580 25236 Accepted 100
49 5 0397.1 34976 26184 Accepted 100
50 5 0379.2 34976 25960 Accepted 100
51 5 0427.9 36164 28052 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
892 Bytes
Back to Top