Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

1046
5104
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~2 範例測資 0 / 0
2 0~12 $n\le 20$ 5 / 5
3 0~22 $n\le10 ^ 4 且 k \le 2 \times 10 ^ 5$ 5 / 5
4 23~32 $n\le10 ^ 4$ 5 / 5
5 33~42 $k \le 2\times 10 ^ 5$ 40 / 40
6 32~52 $-100 \le w_i \le 100$ 14 / 14
7 0~62 無額外限制 31 / 31

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 7 0002.9 7772 3528 Accepted 100
1 1 2 3 7 0002.8 7772 3532 Accepted 100
2 1 2 3 7 0002.8 7772 3476 Accepted 100
3 2 3 7 0003.1 7772 3596 Accepted 100
4 2 3 7 0003.2 7772 3500 Accepted 100
5 2 3 7 0002.8 7772 3480 Accepted 100
6 2 3 7 0003.3 7772 3596 Accepted 100
7 2 3 7 0003.2 7772 3536 Accepted 100
8 2 3 7 0002.7 7772 3520 Accepted 100
9 2 3 7 0002.8 7772 3448 Accepted 100
10 2 3 7 0002.8 7772 3492 Accepted 100
11 2 3 7 0003.2 7772 3488 Accepted 100
12 2 3 7 0002.7 7772 3528 Accepted 100
13 3 7 0004.1 7772 3616 Accepted 100
14 3 7 0004.2 7772 3568 Accepted 100
15 3 7 0005.3 7772 3560 Accepted 100
16 3 7 0004.9 7772 3588 Accepted 100
17 3 7 0003.5 7772 3544 Accepted 100
18 3 7 0005.1 7772 3508 Accepted 100
19 3 7 0005.2 7772 3552 Accepted 100
20 3 7 0005.2 7772 3552 Accepted 100
21 3 7 0005.5 7772 3572 Accepted 100
22 3 7 0005.1 7772 3616 Accepted 100
23 4 7 0004.1 7772 3600 Accepted 100
24 4 7 0004.2 7772 3568 Accepted 100
25 4 7 0004.1 7772 3452 Accepted 100
26 4 7 0006.5 7772 3620 Accepted 100
27 4 7 0006.0 7772 3600 Accepted 100
28 4 7 0003.8 7772 3428 Accepted 100
29 4 7 0004.8 7772 3576 Accepted 100
30 4 7 0005.1 7772 3548 Accepted 100
31 4 7 0005.5 7772 3616 Accepted 100
32 4 6 7 0005.6 7772 3624 Accepted 100
33 5 6 7 0029.4 7772 5052 Accepted 100
34 5 6 7 0030.8 7772 4972 Accepted 100
35 5 6 7 0056.0 7772 4948 Accepted 100
36 5 6 7 0014.2 7772 3800 Accepted 100
37 5 6 7 0053.6 7772 4960 Accepted 100
38 5 6 7 0045.2 7772 4560 Accepted 100
39 5 6 7 0041.4 7772 4564 Accepted 100
40 5 6 7 0005.3 7772 3556 Accepted 100
41 5 6 7 0047.1 7772 5020 Accepted 100
42 5 6 7 0046.7 7772 5048 Accepted 100
43 6 7 0021.2 7772 5092 Accepted 100
44 6 7 0023.2 7772 5084 Accepted 100
45 6 7 0017.5 7772 4328 Accepted 100
46 6 7 0028.1 7772 4792 Accepted 100
47 6 7 0020.8 7772 4264 Accepted 100
48 6 7 0018.0 7772 4316 Accepted 100
49 6 7 0003.0 7772 3544 Accepted 100
50 6 7 0007.9 7772 3716 Accepted 100
51 6 7 0024.9 7772 5048 Accepted 100
52 6 7 0024.1 7772 4964 Accepted 100
53 7 0029.2 7772 5104 Accepted 100
54 7 0031.2 7772 5008 Accepted 100
55 7 0058.5 7772 4684 Accepted 100
56 7 0026.2 7772 3840 Accepted 100
57 7 0042.6 7772 4240 Accepted 100
58 7 0040.5 7772 4152 Accepted 100
59 7 0009.8 7772 3664 Accepted 100
60 7 0017.4 7772 3864 Accepted 100
61 7 0048.1 7772 5044 Accepted 100
62 7 0048.6 7772 5036 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
846 Bytes
Back to Top