Kamuoliukų automatas (BOI 2013)

Taškai: 85.3

Compile: OK

kamuoliuku_automatas.cpp: In function ‘int main()’: kamuoliuku_automatas.cpp:141: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:143: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:158: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.004 sok
2True0.004 sok
3True0.52 sok
4True0.264 sok
5True0.18 sok
6True0.78 sok
7True0.252 sok
8True0.224 sok
9True0.616 sok
10True0.392 sok
11True0.5 sok
12True0.66 sok
13True0.352 sok
14False0.004 sNeteisinga eilutė
15True0.004 sok
16True0.004 sok
17False0.008 sNeteisinga eilutė
18True0.008 sok
19True0.044 sok
20True0.124 sok
21True0.456 sok
22True0.264 sok
23False0.444 sNeteisinga eilutė
24True0.376 sok
25True0.388 sok
26False0.392 sNeteisinga eilutė
27True0.312 sok
28True0.204 sok
29True0.612 sok
30True0.56 sok
31False0.58 sNeteisinga eilutė
32True0.612 sok
33True0.436 sok
34True0.332 sok