Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

11303
17036
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.5 6212 3500 Accepted 100
1 1 2 4 5 0002.6 6212 3516 Accepted 100
2 1 2 4 5 0002.5 6212 3492 Accepted 100
3 1 2 4 5 0002.6 6212 3572 Accepted 100
4 1 2 4 5 0002.5 6212 3432 Accepted 100
5 1 2 4 5 0002.4 6212 3564 Accepted 100
6 1 2 4 5 0002.5 6212 3484 Accepted 100
7 1 2 4 5 0002.4 6212 3444 Accepted 100
8 1 2 4 5 0002.5 6212 3504 Accepted 100
9 2 4 5 0003.6 6212 3576 Accepted 100
10 2 4 5 0003.8 6212 3624 Accepted 100
11 2 4 5 0003.7 6212 3684 Accepted 100
12 2 4 5 0003.3 6212 3572 Accepted 100
13 2 4 5 0003.0 6212 3592 Accepted 100
14 2 4 5 0003.6 6212 3524 Accepted 100
15 2 4 5 0003.5 6212 3576 Accepted 100
16 2 4 5 0002.7 6212 3516 Accepted 100
17 3 4 5 0030.7 6212 3480 Accepted 100
18 3 4 5 0032.7 6212 3536 Accepted 100
19 3 4 5 0030.9 6212 3532 Accepted 100
20 3 4 5 0045.0 6212 3524 Accepted 100
21 3 4 5 0030.3 6212 3548 Accepted 100
22 3 4 5 0032.2 6212 3532 Accepted 100
23 3 4 5 0031.4 6212 3484 Accepted 100
24 4 5 0160.3 11228 8340 Accepted 100
25 4 5 0168.4 11228 8592 Accepted 100
26 4 5 0173.0 11360 8684 Accepted 100
27 4 5 0169.6 11228 8536 Accepted 100
28 4 5 0165.9 11096 8464 Accepted 100
29 4 5 0176.8 11228 8568 Accepted 100
30 4 5 0165.6 11228 8584 Accepted 100
31 4 5 0175.2 11228 8600 Accepted 100
32 4 5 0160.0 11096 8368 Accepted 100
33 4 5 0178.4 11360 8628 Accepted 100
34 4 5 0166.3 11096 8528 Accepted 100
35 4 5 0174.3 11228 8660 Accepted 100
36 5 0555.5 18884 16284 Accepted 100
37 5 0584.4 19148 16432 Accepted 100
38 5 0578.0 19016 16188 Accepted 100
39 5 0609.2 19412 16720 Accepted 100
40 5 0598.2 19412 16724 Accepted 100
41 5 0608.8 19280 16572 Accepted 100
42 5 0547.5 18620 16048 Accepted 100
43 5 0540.4 18620 15944 Accepted 100
44 5 0537.8 18488 15848 Accepted 100
45 5 0539.4 18356 15584 Accepted 100
46 5 0556.3 18620 16016 Accepted 100
47 5 0529.9 18488 15780 Accepted 100
48 5 0525.0 18356 15636 Accepted 100
49 5 0550.7 18752 16024 Accepted 100
50 5 0530.3 18752 16028 Accepted 100
51 5 0594.6 19808 17036 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
390 Bytes
Back to Top