Kalnai

Taškai: 40

Compile: OK

mountain.cpp: In function ‘int main()’: mountain.cpp:99:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d", &n); ^ mountain.cpp:101: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:104: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:109: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.004 sNeteisinga eilutė
12True0.0 sok
13False0.0 sNeteisinga eilutė
14False0.172 sCaught fatal signal 11
15False0.224 sNeteisinga eilutė
16False0.16 sCaught fatal signal 11
17False0.164 sCaught fatal signal 11
18False0.176 sCaught fatal signal 11
19True0.372 sok
20False0.188 sCaught fatal signal 11
21False0.0 sNeteisinga eilutė
22False0.084 sNeteisinga eilutė
23False0.132 sNeteisinga eilutė
24False0.024 sNeteisinga eilutė
25False0.052 sNeteisinga eilutė