Back to Submissions List

Problem

Total Time (ms)

Max Memory (KiB)

Verdict

Score

10724
17144
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 3332 Accepted 100
1 1 2 4 5 0 3256 Accepted 100
2 1 2 4 5 0 3396 Accepted 100
3 1 2 4 5 0 3324 Accepted 100
4 1 2 4 5 0 3468 Accepted 100
5 1 2 4 5 0 3196 Accepted 100
6 1 2 4 5 0 3412 Accepted 100
7 1 2 4 5 0 3360 Accepted 100
8 1 2 4 5 0 3192 Accepted 100
9 2 4 5 0 3352 Accepted 100
10 2 4 5 0 3424 Accepted 100
11 2 4 5 0 3416 Accepted 100
12 2 4 5 0 3348 Accepted 100
13 2 4 5 0 3404 Accepted 100
14 2 4 5 0 3400 Accepted 100
15 2 4 5 0 3260 Accepted 100
16 2 4 5 0 3272 Accepted 100
17 3 4 5 32 3224 Accepted 100
18 3 4 5 32 3380 Accepted 100
19 3 4 5 32 3376 Accepted 100
20 3 4 5 32 3268 Accepted 100
21 3 4 5 32 3348 Accepted 100
22 3 4 5 36 3340 Accepted 100
23 3 4 5 32 3252 Accepted 100
24 4 5 168 8236 Accepted 100
25 4 5 172 8340 Accepted 100
26 4 5 172 8380 Accepted 100
27 4 5 172 8396 Accepted 100
28 4 5 172 8228 Accepted 100
29 4 5 176 8576 Accepted 100
30 4 5 176 8376 Accepted 100
31 4 5 180 8424 Accepted 100
32 4 5 164 8056 Accepted 100
33 4 5 172 8476 Accepted 100
34 4 5 168 8288 Accepted 100
35 4 5 172 8404 Accepted 100
36 5 524 16040 Accepted 100
37 5 544 16312 Accepted 100
38 5 536 16264 Accepted 100
39 5 560 16616 Accepted 100
40 5 552 16512 Accepted 100
41 5 544 16404 Accepted 100
42 5 532 15656 Accepted 100
43 5 520 15776 Accepted 100
44 5 512 15680 Accepted 100
45 5 504 15612 Accepted 100
46 5 508 15896 Accepted 100
47 5 504 15604 Accepted 100
48 5 492 15584 Accepted 100
49 5 516 15936 Accepted 100
50 5 508 15796 Accepted 100
51 5 576 17144 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
292 Bytes
Back to Top