Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

343
4608
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 0002.1 6520 3456 Accepted 100
1 1 5 0003.7 6520 3456 Accepted 100
2 2 4 5 0003.7 6520 3456 Accepted 100
3 2 4 5 0004.1 6520 3456 Accepted 100
4 2 4 5 0003.8 6520 3456 Accepted 100
5 2 4 5 0003.8 6520 3456 Accepted 100
6 2 4 5 0003.7 6520 3456 Accepted 100
7 3 5 0003.8 6520 3456 Accepted 100
8 3 5 0003.7 6520 3456 Accepted 100
9 3 5 0003.6 6520 3456 Accepted 100
10 3 5 0003.7 6520 3456 Accepted 100
11 3 5 0003.6 6520 3456 Accepted 100
12 3 5 0003.7 6520 3456 Accepted 100
13 3 5 0003.8 6520 3456 Accepted 100
14 4 5 0003.9 6520 3456 Accepted 100
15 4 5 0003.9 6520 3456 Accepted 100
16 4 5 0004.2 6520 3456 Accepted 100
17 4 5 0004.3 6520 3456 Accepted 100
18 4 5 0004.2 6520 3456 Accepted 100
19 4 5 0004.2 6520 3456 Accepted 100
20 4 5 0004.3 6520 3456 Accepted 100
21 5 0006.7 6668 3456 Accepted 100
22 5 0006.9 6668 3456 Accepted 100
23 5 0010.0 6708 3456 Accepted 100
24 5 0009.9 6708 3456 Accepted 100
25 5 0045.0 8800 4608 Accepted 100
26 5 0045.5 8872 4608 Accepted 100
27 5 0047.2 8872 4608 Accepted 100
28 5 0046.7 8872 4608 Accepted 100
29 5 0045.4 8872 4608 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
597 Bytes
Back to Top