Kalno aukštis

Taškai: 75

Compile: OK

height.cpp: In function ‘int main()’: height.cpp:122:26: warning: too many arguments for format [-Wformat-extra-args] scanf(" %d", &t, &l, &r); ^ height.cpp:113:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d %d", &n, &q); ^ height.cpp:116:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] int nn; scanf(" %d", &nn); ^ height.cpp:122:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d", &t, &l, &r); ^ height.cpp:124:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d %d %d", &l, &r, &a); ^ height.cpp:128:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d", &a); ^

nr.resulttimemessage
1True0.0 sok
2True0.612 sok
3True0.564 sok
4False0.56 sNeteisinga eilutė