Portalai (BOI 2014)

Taškai: 70

Compile: OK

portals.cpp: In function ‘int main()’: portals.cpp:22:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d %d", &r, &c); ^ portals.cpp:26:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] char x; scanf(" %1c", &x); ^

nr.resulttimemessage
1True0.0 sok
2True0.004 sok
3True0.0 sok
4True0.0 sok
5False0.0 sNeteisinga eilutė
6True0.0 sok
7True0.004 sok
8False0.0 sNeteisinga eilutė
9True0.0 sok
10True0.004 sok
11True0.004 sok
12True0.004 sok
13False0.004 sNeteisinga eilutė
14True0.004 sok
15True0.02 sok
16True0.02 sok
17True0.02 sok
18False0.016 sNeteisinga eilutė
19False0.02 sNeteisinga eilutė
20True0.016 sok
21True0.016 sok
22True0.02 sok
23False0.012 sNeteisinga eilutė
24True0.016 sok
25False0.324 sNeteisinga eilutė
26False0.296 sNeteisinga eilutė
27False0.412 sNeteisinga eilutė
28True0.308 sok
29True0.34 sok
30True0.36 sok
31False0.312 sNeteisinga eilutė
32True0.016 sok
33True0.312 sok
34True0.0 sok
35False0.004 sNeteisinga eilutė
36False0.308 sNeteisinga eilutė
37True0.0 sok
38True0.008 sok
39True0.164 sok
40True0.168 sok