Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

1083
7952
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~4 $a_i \geq 0$ 6 / 6
2 5~13 $n \leq 10$ 9 / 9
3 14~28 $n \leq 400, m = 0$ 12 / 12
4 5~42 $n \leq 400$ 14 / 14
5 14~28, 43~56 $n \leq 5000, m = 0$ 21 / 21
6 0~70 $n \leq 5000$ 24 / 24
7 0~81 無其他限制 14 / 14

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 6 7 0002.5 7024 3292 Accepted 100
1 1 6 7 0004.0 7024 3312 Accepted 100
2 1 6 7 0004.5 7024 3276 Accepted 100
3 1 6 7 0005.5 7024 3328 Accepted 100
4 1 6 7 0008.8 7420 3920 Accepted 100
5 2 4 6 7 0002.6 7024 3460 Accepted 100
6 2 4 6 7 0002.4 7024 3300 Accepted 100
7 2 4 6 7 0002.4 7024 3272 Accepted 100
8 2 4 6 7 0002.4 7024 3468 Accepted 100
9 2 4 6 7 0002.3 7024 3276 Accepted 100
10 2 4 6 7 0002.3 7024 3280 Accepted 100
11 2 4 6 7 0002.4 7024 3256 Accepted 100
12 2 4 6 7 0002.4 7024 3388 Accepted 100
13 2 4 6 7 0002.4 7024 3344 Accepted 100
14 3 4 5 6 7 0002.6 7024 3444 Accepted 100
15 3 4 5 6 7 0002.7 7024 3280 Accepted 100
16 3 4 5 6 7 0002.5 7024 3236 Accepted 100
17 3 4 5 6 7 0002.9 7024 3408 Accepted 100
18 3 4 5 6 7 0002.8 7024 3356 Accepted 100
19 3 4 5 6 7 0002.7 7024 3352 Accepted 100
20 3 4 5 6 7 0002.8 7024 3316 Accepted 100
21 3 4 5 6 7 0002.7 7024 3336 Accepted 100
22 3 4 5 6 7 0002.7 7024 3260 Accepted 100
23 3 4 5 6 7 0002.8 7024 3352 Accepted 100
24 3 4 5 6 7 0002.8 7024 3340 Accepted 100
25 3 4 5 6 7 0002.8 7024 3364 Accepted 100
26 3 4 5 6 7 0002.6 7024 3312 Accepted 100
27 3 4 5 6 7 0002.8 7024 3408 Accepted 100
28 3 4 5 6 7 0002.7 7024 3312 Accepted 100
29 4 6 7 0002.6 7024 3348 Accepted 100
30 4 6 7 0002.6 7024 3240 Accepted 100
31 4 6 7 0002.7 7024 3272 Accepted 100
32 4 6 7 0002.8 7024 3324 Accepted 100
33 4 6 7 0002.7 7024 3332 Accepted 100
34 4 6 7 0002.7 7024 3252 Accepted 100
35 4 6 7 0002.9 7024 3324 Accepted 100
36 4 6 7 0002.7 7024 3276 Accepted 100
37 4 6 7 0002.8 7024 3300 Accepted 100
38 4 6 7 0002.6 7024 3296 Accepted 100
39 4 6 7 0002.5 7024 3280 Accepted 100
40 4 6 7 0002.7 7024 3296 Accepted 100
41 4 6 7 0002.8 7024 3360 Accepted 100
42 4 6 7 0002.8 7024 3496 Accepted 100
43 5 6 7 0007.2 7024 3296 Accepted 100
44 5 6 7 0006.4 7156 3384 Accepted 100
45 5 6 7 0006.4 7156 3368 Accepted 100
46 5 6 7 0006.5 7156 3388 Accepted 100
47 5 6 7 0008.3 7288 3612 Accepted 100
48 5 6 7 0006.7 7288 3600 Accepted 100
49 5 6 7 0007.8 7288 3692 Accepted 100
50 5 6 7 0008.7 7420 3748 Accepted 100
51 5 6 7 0007.6 7024 3336 Accepted 100
52 5 6 7 0007.6 7024 3340 Accepted 100
53 5 6 7 0007.8 7024 3516 Accepted 100
54 5 6 7 0008.7 7156 3544 Accepted 100
55 5 6 7 0009.6 7288 3788 Accepted 100
56 5 6 7 0009.3 7420 3688 Accepted 100
57 6 7 0006.3 7024 3492 Accepted 100
58 6 7 0005.8 7024 3324 Accepted 100
59 6 7 0005.6 7024 3348 Accepted 100
60 6 7 0007.4 7024 3500 Accepted 100
61 6 7 0007.8 7156 3488 Accepted 100
62 6 7 0005.3 7156 3416 Accepted 100
63 6 7 0006.8 7156 3460 Accepted 100
64 6 7 0007.1 7156 3416 Accepted 100
65 6 7 0006.1 7024 3320 Accepted 100
66 6 7 0006.4 7024 3408 Accepted 100
67 6 7 0005.3 7024 3408 Accepted 100
68 6 7 0007.5 7156 3560 Accepted 100
69 6 7 0008.7 7156 3516 Accepted 100
70 6 7 0008.7 7420 3704 Accepted 100
71 7 0045.9 7288 3732 Accepted 100
72 7 0069.5 7948 4640 Accepted 100
73 7 0088.2 10720 7952 Accepted 100
74 7 0064.2 8080 5312 Accepted 100
75 7 0067.3 7156 4408 Accepted 100
76 7 0084.9 7288 3940 Accepted 100
77 7 0072.1 8212 5048 Accepted 100
78 7 0040.1 8212 4976 Accepted 100
79 7 0086.5 9136 6272 Accepted 100
80 7 0048.1 7156 3956 Accepted 100
81 7 0087.3 7420 4584 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
3.19 KB
Back to Top