Back to Submissions List

Problem

Total Time (ms)

Max Memory (KiB)

Verdict

Score

7428
4400
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 2 1312 Accepted 100
1 1 2 4 5 2 1312 Accepted 100
2 1 2 4 5 1 1312 Accepted 100
3 1 2 4 5 1 1308 Accepted 100
4 1 2 4 5 2 1312 Accepted 100
5 1 2 4 5 2 1308 Accepted 100
6 1 2 4 5 2 1308 Accepted 100
7 1 2 4 5 2 1308 Accepted 100
8 1 2 4 5 3 1312 Accepted 100
9 2 4 5 6 1328 Accepted 100
10 2 4 5 6 1328 Accepted 100
11 2 4 5 3 1328 Accepted 100
12 2 4 5 3 1320 Accepted 100
13 2 4 5 3 1320 Accepted 100
14 2 4 5 3 1328 Accepted 100
15 2 4 5 3 1324 Accepted 100
16 2 4 5 2 1316 Accepted 100
17 3 4 5 49 1672 Accepted 100
18 3 4 5 48 1688 Accepted 100
19 3 4 5 42 1668 Accepted 100
20 3 4 5 43 1680 Accepted 100
21 3 4 5 47 1672 Accepted 100
22 3 4 5 46 1684 Accepted 100
23 3 4 5 43 1676 Accepted 100
24 4 5 137 2440 Accepted 100
25 4 5 134 2444 Accepted 100
26 4 5 137 2468 Accepted 100
27 4 5 135 2448 Accepted 100
28 4 5 132 2428 Accepted 100
29 4 5 139 2468 Accepted 100
30 4 5 136 2448 Accepted 100
31 4 5 139 2452 Accepted 100
32 4 5 130 2408 Accepted 100
33 4 5 137 2472 Accepted 100
34 4 5 132 2424 Accepted 100
35 4 5 136 2460 Accepted 100
36 5 381 4176 Accepted 100
37 5 387 4244 Accepted 100
38 5 383 4208 Accepted 100
39 5 403 4308 Accepted 100
40 5 396 4300 Accepted 100
41 5 352 4268 Accepted 100
42 5 312 4132 Accepted 100
43 5 309 4128 Accepted 100
44 5 305 4096 Accepted 100
45 5 296 4052 Accepted 100
46 5 318 4128 Accepted 100
47 5 304 4092 Accepted 100
48 5 301 4060 Accepted 100
49 5 326 4152 Accepted 100
50 5 318 4144 Accepted 100
51 5 349 4400 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
684 Bytes
Back to Top