Kalnai

Taškai: 40

Compile: OK

mountain.cpp: In function ‘int main()’: mountain.cpp:100:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d", &n); ^ mountain.cpp:102: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:105: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:110: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.012 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.216 sCaught fatal signal 11
15False0.268 sNeteisinga eilutė
16False0.176 sCaught fatal signal 11
17False0.22 sCaught fatal signal 11
18False0.228 sCaught fatal signal 11
19True0.524 sok
20False0.26 sCaught fatal signal 11
21False0.0 sNeteisinga eilutė
22False0.088 sNeteisinga eilutė
23False0.164 sNeteisinga eilutė
24False0.032 sNeteisinga eilutė
25False0.052 sNeteisinga eilutė