Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

271
4092
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.1 6220 3516 Accepted 100
1 1 5 0003.1 6220 3644 Accepted 100
2 2 4 5 0003.1 6220 3568 Accepted 100
3 2 4 5 0001.3 6220 3632 Accepted 100
4 2 4 5 0003.1 6220 3560 Accepted 100
5 2 4 5 0003.2 6220 3636 Accepted 100
6 2 4 5 0003.2 6220 3624 Accepted 100
7 3 5 0003.2 6220 3632 Accepted 100
8 3 5 0003.1 6220 3580 Accepted 100
9 3 5 0003.1 6220 3568 Accepted 100
10 3 5 0003.1 6220 3560 Accepted 100
11 3 5 0001.2 6220 3560 Accepted 100
12 3 5 0003.1 6220 3628 Accepted 100
13 3 5 0003.1 6220 3592 Accepted 100
14 4 5 0003.2 6220 3532 Accepted 100
15 4 5 0003.3 6220 3588 Accepted 100
16 4 5 0003.6 6220 3648 Accepted 100
17 4 5 0003.6 6220 3596 Accepted 100
18 4 5 0003.6 6220 3532 Accepted 100
19 4 5 0001.4 6220 3608 Accepted 100
20 4 5 0003.6 6220 3572 Accepted 100
21 5 0005.7 6220 3676 Accepted 100
22 5 0005.6 6220 3568 Accepted 100
23 5 0008.5 6220 3664 Accepted 100
24 5 0008.4 6220 3588 Accepted 100
25 5 0037.4 6980 3996 Accepted 100
26 5 0038.6 7004 4092 Accepted 100
27 5 0039.8 7004 3984 Accepted 100
28 5 0023.8 7004 4004 Accepted 100
29 5 0040.6 7004 4004 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
804 Bytes
Back to Top