# TopCoder

Adrien Wu
\begin{align} AC \times 2^9 \\ \text{New TIOJ ?} \end{align}

22.2% (8/36)

7.1% (17/240)

5 3 2 5 10

5
00111
01011
10011
10101
11100

# Hints

• 如果輸出的 $N$ 滿足 $N < N_{50}$ 或 $N > N_{100}$，那麼得分為 $0$。
• 如果輸出的 $N$ 滿足 $N_{50} \leq N < N_{100}$，那麼你將獲得 $(0.5 + 0.5 \frac{N-N_{50}}{N_{100}-N_{50}})X$ 分。
• 如果輸出的 $N = N_{100}$，那麼你可以獲得 $X$ 分。

# Problem Source

Problem set by oToToT, Utaha, Yihda Yol

# Subtasks

No. Testdata Range Constraints Score
1 0 $\small m = 5, k = 3, d = 2, N_{50} = 5, N_{100} = 10$ 3
2 1 $\small m = 8, k = 5, d = 3, N_{50} = 7, N_{100} = 8$ 6
3 2 $\small m = 20, k = 12, d = 7, N_{50} = 12, N_{100} = 16$ 10
4 3 $\small m = 64, k = 32, d = 16, N_{50} = 1, N_{100} = 125$ 12
5 4 $\small m = 65, k = 32, d = 17, N_{50} = 50, N_{100} = 125$ 13
6 5 $\small m = 49, k = 7, d = 3, N_{50} = 1200, N_{100} = 2401$ 13
7 6 $\small m = 121, k = 11, d = 4, N_{50} = 3600, N_{100} = 161051$ 14
8 7 $\small m = 1369, k = 37, d = 2, N_{50} = 7200, N_{100} = 50653$ 14
9 8 $\small m = 49, k = 7, d = 5, N_{50} = 14400, N_{100} = 117649$ 15

# Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 12000 1048576 262144 1
1 12000 1048576 262144 2
2 12000 1048576 262144 3
3 12000 1048576 262144 4
4 12000 1048576 262144 5
5 12000 1048576 262144 6
6 12000 1048576 262144 7
7 12000 1048576 262144 8
8 12000 1048576 262144 9