Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

12364
17308
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.6 6208 3456 Accepted 100
1 1 2 4 5 0004.0 6208 3628 Accepted 100
2 1 2 4 5 0002.4 6208 3564 Accepted 100
3 1 2 4 5 0002.4 6208 3400 Accepted 100
4 1 2 4 5 0002.3 6208 3588 Accepted 100
5 1 2 4 5 0006.1 6208 3572 Accepted 100
6 1 2 4 5 0002.6 6208 3572 Accepted 100
7 1 2 4 5 0004.3 6208 3632 Accepted 100
8 1 2 4 5 0002.5 6208 3632 Accepted 100
9 2 4 5 0003.5 6208 3648 Accepted 100
10 2 4 5 0008.0 6208 3712 Accepted 100
11 2 4 5 0005.2 6208 3660 Accepted 100
12 2 4 5 0003.3 6208 3740 Accepted 100
13 2 4 5 0002.9 6208 3592 Accepted 100
14 2 4 5 0003.7 6208 3600 Accepted 100
15 2 4 5 0005.1 6208 3640 Accepted 100
16 2 4 5 0002.7 6208 3572 Accepted 100
17 3 4 5 0051.7 6208 3668 Accepted 100
18 3 4 5 0037.1 6208 3668 Accepted 100
19 3 4 5 0047.0 6208 3668 Accepted 100
20 3 4 5 0036.6 6208 3728 Accepted 100
21 3 4 5 0035.3 6208 3496 Accepted 100
22 3 4 5 0036.8 6208 3608 Accepted 100
23 3 4 5 0035.8 6208 3660 Accepted 100
24 4 5 0187.7 11224 8544 Accepted 100
25 4 5 0186.9 11224 8636 Accepted 100
26 4 5 0196.6 11356 8700 Accepted 100
27 4 5 0186.6 11224 8672 Accepted 100
28 4 5 0181.5 11092 8376 Accepted 100
29 4 5 0185.1 11224 8680 Accepted 100
30 4 5 0190.1 11224 8584 Accepted 100
31 4 5 0187.3 11224 8672 Accepted 100
32 4 5 0177.9 11092 8564 Accepted 100
33 4 5 0187.8 11356 8532 Accepted 100
34 4 5 0183.2 11092 8484 Accepted 100
35 4 5 0183.4 11224 8740 Accepted 100
36 5 0630.8 18880 16256 Accepted 100
37 5 0631.6 19144 16548 Accepted 100
38 5 0642.6 19012 16404 Accepted 100
39 5 0655.5 19408 16828 Accepted 100
40 5 0643.5 19408 16776 Accepted 100
41 5 0635.8 19276 16644 Accepted 100
42 5 0610.1 18616 16100 Accepted 100
43 5 0609.8 18616 16056 Accepted 100
44 5 0582.4 18484 15920 Accepted 100
45 5 0572.7 18352 15772 Accepted 100
46 5 0586.3 18616 16136 Accepted 100
47 5 0568.3 18484 15924 Accepted 100
48 5 0571.9 18352 15716 Accepted 100
49 5 0588.1 18748 16224 Accepted 100
50 5 0600.7 18748 16236 Accepted 100
51 5 0655.5 19804 17308 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
377 Bytes
Back to Top