TopCoder

Caido
$\mathbb{W}\mathcal{aimai}\sim$

User's AC Ratio

28.6% (2/7)

Submission's AC Ratio

7.1% (7/99)

Tags

Description

Input Format

Output Format

Hints

Problem Source

110 學年度全國資訊學科能力競賽模擬賽

Subtasks

No. Testdata Range Constraints Score
1 97~99 範例測資。 0
2 0~25, 98 $v_i = 1; c_i = 0; W = 0$ 12
3 0~54, 98 $c_i = 0; W = 0$ 19
4 0~25, 55~73, 98 $v_i = 1$ 24
5 0~99 無額外限制。 45

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 3000 262144 65536 2 3 4 5
1 3000 262144 65536 2 3 4 5
2 3000 262144 65536 2 3 4 5
3 3000 262144 65536 2 3 4 5
4 3000 262144 65536 2 3 4 5
5 3000 262144 65536 2 3 4 5
6 3000 262144 65536 2 3 4 5
7 3000 262144 65536 2 3 4 5
8 3000 262144 65536 2 3 4 5
9 3000 262144 65536 2 3 4 5
10 3000 262144 65536 2 3 4 5
11 3000 262144 65536 2 3 4 5
12 3000 262144 65536 2 3 4 5
13 3000 262144 65536 2 3 4 5
14 3000 262144 65536 2 3 4 5
15 3000 262144 65536 2 3 4 5
16 3000 262144 65536 2 3 4 5
17 3000 262144 65536 2 3 4 5
18 3000 262144 65536 2 3 4 5
19 3000 262144 65536 2 3 4 5
20 3000 262144 65536 2 3 4 5
21 3000 262144 65536 2 3 4 5
22 3000 262144 65536 2 3 4 5
23 3000 262144 65536 2 3 4 5
24 3000 262144 65536 2 3 4 5
25 3000 262144 65536 2 3 4 5
26 3000 262144 65536 3 5
27 3000 262144 65536 3 5
28 3000 262144 65536 3 5
29 3000 262144 65536 3 5
30 3000 262144 65536 3 5
31 3000 262144 65536 3 5
32 3000 262144 65536 3 5
33 3000 262144 65536 3 5
34 3000 262144 65536 3 5
35 3000 262144 65536 3 5
36 3000 262144 65536 3 5
37 3000 262144 65536 3 5
38 3000 262144 65536 3 5
39 3000 262144 65536 3 5
40 3000 262144 65536 3 5
41 3000 262144 65536 3 5
42 3000 262144 65536 3 5
43 3000 262144 65536 3 5
44 3000 262144 65536 3 5
45 3000 262144 65536 3 5
46 3000 262144 65536 3 5
47 3000 262144 65536 3 5
48 3000 262144 65536 3 5
49 3000 262144 65536 3 5
50 3000 262144 65536 3 5
51 3000 262144 65536 3 5
52 3000 262144 65536 3 5
53 3000 262144 65536 3 5
54 3000 262144 65536 3 5
55 3000 262144 65536 4 5
56 3000 262144 65536 4 5
57 3000 262144 65536 4 5
58 3000 262144 65536 4 5
59 3000 262144 65536 4 5
60 3000 262144 65536 4 5
61 3000 262144 65536 4 5
62 3000 262144 65536 4 5
63 3000 262144 65536 4 5
64 3000 262144 65536 4 5
65 3000 262144 65536 4 5
66 3000 262144 65536 4 5
67 3000 262144 65536 4 5
68 3000 262144 65536 4 5
69 3000 262144 65536 4 5
70 3000 262144 65536 4 5
71 3000 262144 65536 4 5
72 3000 262144 65536 4 5
73 3000 262144 65536 4 5
74 3000 262144 65536 5
75 3000 262144 65536 5
76 3000 262144 65536 5
77 3000 262144 65536 5
78 3000 262144 65536 5
79 3000 262144 65536 5
80 3000 262144 65536 5
81 3000 262144 65536 5
82 3000 262144 65536 5
83 3000 262144 65536 5
84 3000 262144 65536 5
85 3000 262144 65536 5
86 3000 262144 65536 5
87 3000 262144 65536 5
88 3000 262144 65536 5
89 3000 262144 65536 5
90 3000 262144 65536 5
91 3000 262144 65536 5
92 3000 262144 65536 5
93 3000 262144 65536 5
94 3000 262144 65536 5
95 3000 262144 65536 5
96 3000 262144 65536 5
97 3000 262144 65536 1 5
98 3000 262144 65536 1 2 3 4 5
99 3000 262144 65536 1 5