NEED HELP(upd: solved): No idea why query limit is exceeded

Правка en4, от MTX_AS, 2021-09-24 15:01:39

Problem: here

Why I think it shouldn't exceed the limit:

Let's look at my query function (it does the queries):

function code

now the solve function:

solve() code

So, I don't get a runtime error due to the assertions. But it should work, because $t<=10^4$ times we do at most $2$ queries, and we do also some build queries, which are $\leq 4\cdot10^4$. $2\cdot 10^4 + 4\cdot 10^4 = 6\cdot 10^4$, which is the maximal number of queries possible. Have you got any ideas what's wrong here? Help would be really appreciated. Thank you.

#### История

Правки

Rev. Язык Кто Когда Δ Комментарий
en4 MTX_AS 2021-09-24 15:01:39 13
en3 MTX_AS 2021-09-24 13:33:37 1 Tiny change: 's in total t<=10^4\n' -> 's in total, t<=10^4\n'
en2 MTX_AS 2021-09-24 13:32:19 2 (published)
en1 MTX_AS 2021-09-24 13:32:05 1820 Initial revision (saved to drafts)