Subtask no. | Testdata Range | Constraints | Score |
---|---|---|---|
1 | 0~3 | 範例測資 | 0 / 0 |
2 | 4~12 | $|s| \leq 15, q \leq 100$ | 2 / 2 |
3 | 13~19 | $s[0] = \texttt{1}$、$s[i] = \texttt{0}$($1 \le i \le |s|-1$)、$q = 0$ | 1 / 1 |
4 | 0~12, 20~23 | $|s| \le 3000$、$q \le 3000$ | 7 / 7 |
5 | 13~19, 24~31 | 所有修改操作都是將 $\texttt{1}$ 變成 $\texttt{0}$ | 0 / 4 |
6 | 0~35 | 無額外限制 | 0 / 11 |