Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

5683
58192
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.7 71848 3456 Accepted 100
1 1 6 7 0010.6 71848 3960 Accepted 100
2 1 6 7 0010.8 71848 3896 Accepted 100
3 1 6 7 0011.2 71848 3868 Accepted 100
4 1 6 7 0035.1 71848 8016 Accepted 100
5 2 4 6 7 0002.8 71848 3544 Accepted 100
6 2 4 6 7 0002.7 71848 3548 Accepted 100
7 2 4 6 7 0002.7 71848 3592 Accepted 100
8 2 4 6 7 0002.7 71848 3520 Accepted 100
9 2 4 6 7 0002.7 71848 3532 Accepted 100
10 2 4 6 7 0002.6 71848 3600 Accepted 100
11 2 4 6 7 0002.6 71848 3588 Accepted 100
12 2 4 6 7 0002.8 71848 3532 Accepted 100
13 2 4 6 7 0002.7 71848 3548 Accepted 100
14 3 4 5 6 7 0003.2 71848 3624 Accepted 100
15 3 4 5 6 7 0003.3 71848 3592 Accepted 100
16 3 4 5 6 7 0003.2 71848 3388 Accepted 100
17 3 4 5 6 7 0004.2 71848 3720 Accepted 100
18 3 4 5 6 7 0004.1 71848 3712 Accepted 100
19 3 4 5 6 7 0004.0 71848 3808 Accepted 100
20 3 4 5 6 7 0004.2 71848 3836 Accepted 100
21 3 4 5 6 7 0004.2 71848 3780 Accepted 100
22 3 4 5 6 7 0003.4 71848 3620 Accepted 100
23 3 4 5 6 7 0003.3 71848 3556 Accepted 100
24 3 4 5 6 7 0004.4 71848 3728 Accepted 100
25 3 4 5 6 7 0004.2 71848 3788 Accepted 100
26 3 4 5 6 7 0003.7 71848 3696 Accepted 100
27 3 4 5 6 7 0004.5 71848 3816 Accepted 100
28 3 4 5 6 7 0003.9 71848 3756 Accepted 100
29 4 6 7 0003.3 71848 3644 Accepted 100
30 4 6 7 0003.3 71848 3560 Accepted 100
31 4 6 7 0003.5 71848 3524 Accepted 100
32 4 6 7 0004.0 71848 3744 Accepted 100
33 4 6 7 0004.3 71848 3844 Accepted 100
34 4 6 7 0004.2 71848 3884 Accepted 100
35 4 6 7 0004.2 71848 3776 Accepted 100
36 4 6 7 0004.3 71848 3788 Accepted 100
37 4 6 7 0003.4 71848 3588 Accepted 100
38 4 6 7 0003.2 71848 3624 Accepted 100
39 4 6 7 0003.6 71848 3724 Accepted 100
40 4 6 7 0004.1 71848 3648 Accepted 100
41 4 6 7 0004.1 71848 3816 Accepted 100
42 4 6 7 0004.2 71848 3640 Accepted 100
43 5 6 7 0023.8 71848 4324 Accepted 100
44 5 6 7 0020.4 71848 4460 Accepted 100
45 5 6 7 0019.6 71848 4400 Accepted 100
46 5 6 7 0025.2 71848 6236 Accepted 100
47 5 6 7 0030.7 71848 7276 Accepted 100
48 5 6 7 0022.3 71848 6276 Accepted 100
49 5 6 7 0027.9 71848 6972 Accepted 100
50 5 6 7 0032.3 71848 7588 Accepted 100
51 5 6 7 0025.0 71848 4388 Accepted 100
52 5 6 7 0024.9 71848 4372 Accepted 100
53 5 6 7 0026.1 71848 4436 Accepted 100
54 5 6 7 0033.7 71848 7480 Accepted 100
55 5 6 7 0037.3 71848 8000 Accepted 100
56 5 6 7 0034.7 71848 7992 Accepted 100
57 6 7 0021.1 71848 4404 Accepted 100
58 6 7 0022.2 71848 4228 Accepted 100
59 6 7 0020.5 71848 4420 Accepted 100
60 6 7 0039.1 71848 7744 Accepted 100
61 6 7 0034.0 71848 7608 Accepted 100
62 6 7 0021.8 71848 6232 Accepted 100
63 6 7 0029.1 71848 6996 Accepted 100
64 6 7 0032.0 71848 7620 Accepted 100
65 6 7 0022.1 71848 4360 Accepted 100
66 6 7 0023.0 71848 4380 Accepted 100
67 6 7 0018.9 71848 4428 Accepted 100
68 6 7 0028.8 71848 6588 Accepted 100
69 6 7 0038.5 71848 7972 Accepted 100
70 6 7 0034.2 71848 7936 Accepted 100
71 7 0270.3 71848 14260 Accepted 100
72 7 0369.7 71848 29048 Accepted 100
73 7 0416.8 71848 56640 Accepted 100
74 7 0377.9 71848 48100 Accepted 100
75 7 0614.9 71848 56104 Accepted 100
76 7 0576.8 71848 32400 Accepted 100
77 7 0383.7 71848 32320 Accepted 100
78 7 0211.9 71848 29812 Accepted 100
79 7 0473.6 71848 58192 Accepted 100
80 7 0361.4 71848 35224 Accepted 100
81 7 0650.9 71848 56248 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
3.34 KB
Back to Top