Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

12058
17304
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.4 6212 3560 Accepted 100
1 1 2 4 5 0002.8 6212 3564 Accepted 100
2 1 2 4 5 0002.7 6212 3628 Accepted 100
3 1 2 4 5 0002.7 6212 3392 Accepted 100
4 1 2 4 5 0002.7 6212 3624 Accepted 100
5 1 2 4 5 0002.5 6212 3564 Accepted 100
6 1 2 4 5 0002.4 6212 3480 Accepted 100
7 1 2 4 5 0002.4 6212 3660 Accepted 100
8 1 2 4 5 0002.4 6212 3484 Accepted 100
9 2 4 5 0003.5 6212 3548 Accepted 100
10 2 4 5 0004.0 6212 3640 Accepted 100
11 2 4 5 0003.8 6212 3628 Accepted 100
12 2 4 5 0003.4 6212 3444 Accepted 100
13 2 4 5 0003.0 6212 3600 Accepted 100
14 2 4 5 0004.0 6212 3660 Accepted 100
15 2 4 5 0003.7 6212 3620 Accepted 100
16 2 4 5 0003.0 6212 3604 Accepted 100
17 3 4 5 0032.0 6212 3620 Accepted 100
18 3 4 5 0033.1 6212 3432 Accepted 100
19 3 4 5 0031.5 6212 3596 Accepted 100
20 3 4 5 0034.1 6212 3560 Accepted 100
21 3 4 5 0032.2 6212 3596 Accepted 100
22 3 4 5 0034.6 6212 3620 Accepted 100
23 3 4 5 0032.5 6212 3556 Accepted 100
24 4 5 0180.7 11228 8552 Accepted 100
25 4 5 0179.5 11228 8624 Accepted 100
26 4 5 0173.4 11360 8724 Accepted 100
27 4 5 0170.9 11228 8652 Accepted 100
28 4 5 0170.7 11096 8592 Accepted 100
29 4 5 0177.7 11228 8684 Accepted 100
30 4 5 0183.1 11228 8612 Accepted 100
31 4 5 0185.0 11228 8652 Accepted 100
32 4 5 0170.3 11096 8452 Accepted 100
33 4 5 0181.4 11360 8708 Accepted 100
34 4 5 0164.5 11096 8536 Accepted 100
35 4 5 0176.9 11228 8676 Accepted 100
36 5 0596.0 18884 16064 Accepted 100
37 5 0620.1 19148 16572 Accepted 100
38 5 0594.6 19016 16524 Accepted 100
39 5 0628.7 19412 16796 Accepted 100
40 5 0628.3 19412 16840 Accepted 100
41 5 0612.3 19280 16656 Accepted 100
42 5 0588.3 18620 16044 Accepted 100
43 5 0593.2 18620 16092 Accepted 100
44 5 0565.1 18488 15920 Accepted 100
45 5 0577.7 18356 15720 Accepted 100
46 5 0584.2 18620 16188 Accepted 100
47 5 0601.3 18488 15864 Accepted 100
48 5 0602.7 18356 15744 Accepted 100
49 5 0624.8 18752 16068 Accepted 100
50 5 0592.1 18752 16160 Accepted 100
51 5 0653.0 19808 17304 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
291 Bytes
Back to Top