Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

12328
23420
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.8 12460 3588 Accepted 100
1 1 2 4 5 0003.0 12460 3524 Accepted 100
2 1 2 4 5 0003.1 12460 3628 Accepted 100
3 1 2 4 5 0002.9 12460 3696 Accepted 100
4 1 2 4 5 0002.8 12460 3588 Accepted 100
5 1 2 4 5 0002.6 12460 3568 Accepted 100
6 1 2 4 5 0002.8 12460 3632 Accepted 100
7 1 2 4 5 0002.7 12460 3528 Accepted 100
8 1 2 4 5 0002.7 12460 3560 Accepted 100
9 2 4 5 0003.9 12460 3720 Accepted 100
10 2 4 5 0005.1 12460 3732 Accepted 100
11 2 4 5 0003.9 12460 3672 Accepted 100
12 2 4 5 0003.6 12460 3708 Accepted 100
13 2 4 5 0003.5 12460 3736 Accepted 100
14 2 4 5 0004.0 12460 3728 Accepted 100
15 2 4 5 0003.8 12460 3660 Accepted 100
16 2 4 5 0002.9 12460 3596 Accepted 100
17 3 4 5 0031.5 12460 4372 Accepted 100
18 3 4 5 0032.8 12460 4380 Accepted 100
19 3 4 5 0030.5 12460 4316 Accepted 100
20 3 4 5 0031.0 12460 4328 Accepted 100
21 3 4 5 0031.2 12460 4316 Accepted 100
22 3 4 5 0033.0 12460 4180 Accepted 100
23 3 4 5 0031.3 12460 4348 Accepted 100
24 4 5 0174.0 17476 10796 Accepted 100
25 4 5 0182.1 17476 10904 Accepted 100
26 4 5 0177.4 17608 11024 Accepted 100
27 4 5 0173.4 17476 10908 Accepted 100
28 4 5 0166.3 17344 10776 Accepted 100
29 4 5 0187.8 17476 11012 Accepted 100
30 4 5 0175.5 17476 10784 Accepted 100
31 4 5 0172.1 17476 10856 Accepted 100
32 4 5 0163.6 17344 10628 Accepted 100
33 4 5 0174.9 17608 11044 Accepted 100
34 4 5 0167.8 17344 10760 Accepted 100
35 4 5 0173.5 17476 11036 Accepted 100
36 5 0631.3 25132 22032 Accepted 100
37 5 0664.1 25396 22420 Accepted 100
38 5 0653.7 25264 22200 Accepted 100
39 5 0683.6 25660 22820 Accepted 100
40 5 0637.8 25660 22760 Accepted 100
41 5 0644.2 25528 22620 Accepted 100
42 5 0587.0 24868 21668 Accepted 100
43 5 0603.7 24868 21584 Accepted 100
44 5 0593.1 24736 21488 Accepted 100
45 5 0586.5 24604 21188 Accepted 100
46 5 0597.8 24868 21528 Accepted 100
47 5 0590.3 24736 21412 Accepted 100
48 5 0588.0 24604 21100 Accepted 100
49 5 0617.9 25000 21892 Accepted 100
50 5 0621.5 25000 21768 Accepted 100
51 5 0662.3 26056 23420 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
602 Bytes
Back to Top