Back to Submissions List

Problem

Total Time (ms)

Max Memory (KiB)

Verdict

Score

18084
28020
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 1376 Accepted 100
1 1 2 4 5 0 1388 Accepted 100
2 1 2 4 5 0 1372 Accepted 100
3 1 2 4 5 0 1364 Accepted 100
4 1 2 4 5 0 1396 Accepted 100
5 1 2 4 5 0 1480 Accepted 100
6 1 2 4 5 0 1392 Accepted 100
7 1 2 4 5 0 1352 Accepted 100
8 1 2 4 5 0 1368 Accepted 100
9 2 4 5 0 1528 Accepted 100
10 2 4 5 0 1556 Accepted 100
11 2 4 5 0 1592 Accepted 100
12 2 4 5 0 1540 Accepted 100
13 2 4 5 0 1404 Accepted 100
14 2 4 5 0 1540 Accepted 100
15 2 4 5 0 1504 Accepted 100
16 2 4 5 0 1400 Accepted 100
17 3 4 5 52 5484 Accepted 100
18 3 4 5 56 5620 Accepted 100
19 3 4 5 52 5476 Accepted 100
20 3 4 5 52 5480 Accepted 100
21 3 4 5 52 5336 Accepted 100
22 3 4 5 56 5572 Accepted 100
23 3 4 5 56 5440 Accepted 100
24 4 5 288 12336 Accepted 100
25 4 5 288 12500 Accepted 100
26 4 5 304 12576 Accepted 100
27 4 5 304 12460 Accepted 100
28 4 5 284 12248 Accepted 100
29 4 5 296 12664 Accepted 100
30 4 5 292 12416 Accepted 100
31 4 5 288 12488 Accepted 100
32 4 5 280 12088 Accepted 100
33 4 5 292 12640 Accepted 100
34 4 5 280 12196 Accepted 100
35 4 5 292 12528 Accepted 100
36 5 900 26244 Accepted 100
37 5 904 26792 Accepted 100
38 5 892 26500 Accepted 100
39 5 936 27348 Accepted 100
40 5 932 27260 Accepted 100
41 5 916 26996 Accepted 100
42 5 884 25888 Accepted 100
43 5 864 25832 Accepted 100
44 5 852 25560 Accepted 100
45 5 856 25276 Accepted 100
46 5 868 25920 Accepted 100
47 5 852 25552 Accepted 100
48 5 860 25300 Accepted 100
49 5 872 26016 Accepted 100
50 5 872 26000 Accepted 100
51 5 960 28020 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
2.2 KB
Back to Top