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:29:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %lld %lld", &n, &q); ^ height.cpp:31:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %lld", &a[i+n]); ^ height.cpp:35:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %lld", &t); ^ height.cpp:38:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %lld %lld %lld", &l, &r, &d); ^ height.cpp:41:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] ll ind; scanf(" %lld", &ind); ^
nr. | result | time | message |
---|---|---|---|
1 | True | 0.0 s | ok |
2 | True | 0.168 s | ok |
3 | True | 0.228 s | ok |
4 | True | 0.216 s | ok |