Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

476
5296
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~1 範例測資 0 / 0
2 2~6 $N = 2$,且取用次數 $f_1=f_2=1$。 10 / 10
3 7~13 $N = 3$ 20 / 20
4 2~6, 14~20 $N \le 1000$,且每一個物品 $i$ 的取用次數 $f_i=1$ 45 / 45
5 0~29 無額外限制 25 / 25

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 5 0003.2 6060 3568 Accepted 100
1 1 5 0003.2 6060 3684 Accepted 100
2 2 4 5 0003.2 6060 3568 Accepted 100
3 2 4 5 0003.2 6060 3684 Accepted 100
4 2 4 5 0003.3 6060 3688 Accepted 100
5 2 4 5 0003.2 6060 3596 Accepted 100
6 2 4 5 0001.5 6060 3568 Accepted 100
7 3 5 0003.3 6060 3564 Accepted 100
8 3 5 0003.1 6060 3484 Accepted 100
9 3 5 0001.3 6060 3488 Accepted 100
10 3 5 0003.1 6060 3616 Accepted 100
11 3 5 0003.1 6060 3548 Accepted 100
12 3 5 0003.1 6060 3620 Accepted 100
13 3 5 0003.5 6060 3488 Accepted 100
14 4 5 0003.3 6060 3612 Accepted 100
15 4 5 0003.7 6060 3708 Accepted 100
16 4 5 0004.3 6060 3684 Accepted 100
17 4 5 0004.5 6060 3548 Accepted 100
18 4 5 0004.5 6060 3628 Accepted 100
19 4 5 0004.4 6060 3548 Accepted 100
20 4 5 0004.3 6060 3628 Accepted 100
21 5 0004.0 6060 3696 Accepted 100
22 5 0010.1 6060 3688 Accepted 100
23 5 0016.8 6096 3696 Accepted 100
24 5 0017.5 6096 3756 Accepted 100
25 5 0073.3 7460 5068 Accepted 100
26 5 0075.1 7500 5296 Accepted 100
27 5 0074.8 7500 5176 Accepted 100
28 5 0059.4 7504 5252 Accepted 100
29 5 0075.1 7496 5176 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
711 Bytes
Back to Top