Kamuoliukų automatas (BOI 2013)

Taškai: 85.3

Compile: OK

kamuoliuku_automatas.cpp: In function ‘int main()’: kamuoliuku_automatas.cpp:133: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:135: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:150: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.004 sok
3True0.256 sok
4True0.12 sok
5True0.124 sok
6True0.424 sok
7True0.136 sok
8True0.148 sok
9True0.484 sok
10True0.344 sok
11True0.42 sok
12True0.52 sok
13True0.372 sok
14False0.0 sNeteisinga eilutė
15True0.004 sok
16True0.004 sok
17False0.004 sNeteisinga eilutė
18True0.004 sok
19True0.02 sok
20True0.064 sok
21True0.18 sok
22True0.116 sok
23False0.168 sNeteisinga eilutė
24True0.26 sok
25True0.308 sok
26False0.22 sNeteisinga eilutė
27True0.26 sok
28True0.144 sok
29True0.44 sok
30True0.5 sok
31False0.42 sNeteisinga eilutė
32True0.452 sok
33True0.336 sok
34True0.128 sok