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: 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. | result | time | message |
---|---|---|---|
1 | True | 0.0 s | ok |
2 | True | 0.612 s | ok |
3 | True | 0.564 s | ok |
4 | False | 0.56 s | Neteisinga eilutė |