Back to Submissions List

Problem

Total Time (ms)

Max Memory (KiB)

Verdict

Score

19360
19792
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 (KiB) Verdict Score
0 1 2 4 5 0 3340 Accepted 100
1 1 2 4 5 0 3356 Accepted 100
2 1 2 4 5 0 3400 Accepted 100
3 1 2 4 5 0 3272 Accepted 100
4 1 2 4 5 0 3276 Accepted 100
5 1 2 4 5 0 3368 Accepted 100
6 1 2 4 5 0 3320 Accepted 100
7 1 2 4 5 0 3284 Accepted 100
8 1 2 4 5 0 3292 Accepted 100
9 2 4 5 4 3384 Accepted 100
10 2 4 5 4 3428 Accepted 100
11 2 4 5 4 3408 Accepted 100
12 2 4 5 0 3400 Accepted 100
13 2 4 5 0 3408 Accepted 100
14 2 4 5 4 3408 Accepted 100
15 2 4 5 4 3476 Accepted 100
16 2 4 5 0 3384 Accepted 100
17 3 4 5 80 5456 Accepted 100
18 3 4 5 84 5372 Accepted 100
19 3 4 5 76 5372 Accepted 100
20 3 4 5 80 5232 Accepted 100
21 3 4 5 76 5352 Accepted 100
22 3 4 5 80 5492 Accepted 100
23 3 4 5 80 5356 Accepted 100
24 4 5 300 11492 Accepted 100
25 4 5 352 11584 Accepted 100
26 4 5 308 11444 Accepted 100
27 4 5 300 11536 Accepted 100
28 4 5 292 11500 Accepted 100
29 4 5 312 11536 Accepted 100
30 4 5 324 11448 Accepted 100
31 4 5 316 11552 Accepted 100
32 4 5 284 11556 Accepted 100
33 4 5 308 11552 Accepted 100
34 4 5 304 11492 Accepted 100
35 4 5 320 11500 Accepted 100
36 5 948 19692 Accepted 100
37 5 956 19692 Accepted 100
38 5 960 19748 Accepted 100
39 5 980 19692 Accepted 100
40 5 984 19756 Accepted 100
41 5 960 19712 Accepted 100
42 5 996 19696 Accepted 100
43 5 960 19776 Accepted 100
44 5 904 19792 Accepted 100
45 5 880 19708 Accepted 100
46 5 916 19752 Accepted 100
47 5 908 19760 Accepted 100
48 5 884 19696 Accepted 100
49 5 916 19708 Accepted 100
50 5 912 19764 Accepted 100
51 5 1000 19668 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.3 KB
Back to Top