Kamuoliukų automatas (BOI 2013)

Taškai: 85.3

Compile: OK

kamuoliuku_automatas.cpp: In function ‘int main()’: kamuoliuku_automatas.cpp:126: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:128: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:143: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.48 sok
4True0.296 sok
5True0.264 sok
6True0.604 sok
7True0.292 sok
8True0.396 sok
9True0.58 sok
10True0.412 sok
11True0.684 sok
12True0.584 sok
13True0.32 sok
14False0.004 sNeteisinga eilutė
15True0.004 sok
16True0.004 sok
17False0.008 sNeteisinga eilutė
18True0.004 sok
19True0.024 sok
20True0.128 sok
21True0.488 sok
22True0.272 sok
23False0.464 sNeteisinga eilutė
24True0.336 sok
25True0.384 sok
26False0.396 sNeteisinga eilutė
27True0.328 sok
28True0.26 sok
29True0.516 sok
30True0.668 sok
31False0.552 sNeteisinga eilutė
32True0.62 sok
33True0.324 sok
34True0.3 sok