Kalno aukštis
- [1] 2017-10-21 12:34 (75)
- [2] 2017-10-21 12:39 (100)
- [3] 2017-10-23 12:32 (100)
Taškai: 100
Compile: OK
height.cpp: In function ‘int main()’: height.cpp:122:28: warning: too many arguments for format [-Wformat-extra-args] scanf(" %lld", &t, &l, &r); ^ height.cpp:113:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %lld %lld", &n, &q); ^ height.cpp:116:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] ll nn; scanf(" %lld", &nn); ^ height.cpp:122:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %lld", &t, &l, &r); ^ height.cpp:124:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %lld %lld %lld", &l, &r, &a); ^ height.cpp:128:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %lld", &a); ^
nr. | result | time | message |
---|---|---|---|
1 | True | 0.0 s | ok |
2 | True | 0.752 s | ok |
3 | True | 0.58 s | ok |
4 | True | 0.664 s | ok |