Kamuoliukų automatas (BOI 2013)

Taškai: 85.3

Compile: OK

kamuoliuku_automatas.cpp: In function ‘int main()’: kamuoliuku_automatas.cpp:127:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d %d", &n, &q); ^ kamuoliuku_automatas.cpp:129:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d", &p[i][0]); ^ kamuoliuku_automatas.cpp:144:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d %d", &a, &b); ^

nr.resulttimemessage
1True0.0 sok
2True0.0 sok
3True0.444 sok
4True0.216 sok
5True0.192 sok
6True0.548 sok
7True0.34 sok
8True0.244 sok
9True0.648 sok
10True0.32 sok
11True0.56 sok
12True0.58 sok
13True0.284 sok
14False0.004 sNeteisinga eilutė
15True0.004 sok
16True0.004 sok
17False0.008 sNeteisinga eilutė
18True0.004 sok
19True0.028 sok
20True0.12 sok
21True0.388 sok
22True0.248 sok
23False0.4 sNeteisinga eilutė
24True0.312 sok
25True0.316 sok
26False0.288 sNeteisinga eilutė
27True0.36 sok
28True0.144 sok
29True0.608 sok
30True0.572 sok
31False0.48 sNeteisinga eilutė
32True0.656 sok
33True0.424 sok
34True0.256 sok