Kalnai

Taškai: 40

Compile: OK

mountain.cpp: In function ‘int main()’: mountain.cpp:101:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d", &n); ^ mountain.cpp:103:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] char cur; scanf(" %1c", &cur); ^ mountain.cpp:106:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d %d", &s[qn], &f[qn]); ^ mountain.cpp:111:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d", &ch[qn++]); ^

nr.resulttimemessage
1True0.0 sok
2True0.0 sok
3True0.0 sok
4False0.0 sNeteisinga eilutė
5True0.0 sok
6True0.0 sok
7True0.0 sok
8True0.0 sok
9True0.0 sok
10False0.0 sNeteisinga eilutė
11False0.0 sNeteisinga eilutė
12True0.004 sok
13False0.004 sNeteisinga eilutė
14False0.22 sCaught fatal signal 11
15False0.268 sNeteisinga eilutė
16False0.18 sCaught fatal signal 11
17False0.22 sCaught fatal signal 11
18False0.228 sCaught fatal signal 11
19True0.468 sok
20False0.244 sCaught fatal signal 11
21False0.0 sNeteisinga eilutė
22False0.092 sNeteisinga eilutė
23False0.172 sNeteisinga eilutė
24False0.032 sNeteisinga eilutė
25False0.052 sNeteisinga eilutė