Slidinėjimo kurortas 2
- [1] 2019-01-13 17:10 (100)
Taškai: 100
Compile: OK
slidkur2.cpp: In function ‘int main()’: slidkur2.cpp:55:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::vector<std::pair<int, int> >::size_type {aka long unsigned int}’ [-Wformat=] printf("%d\n", ans.size()); ^ slidkur2.cpp:23:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d %d", &n, &m); ^ slidkur2.cpp:25:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d", &h[i]); ^ slidkur2.cpp:30:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] int fr, to; scanf(" %d %d", &fr, &to); ^
| nr. | result | time | message |
|---|---|---|---|
| 1 | True | 0.0 s | Gerai |
| 2 | True | 0.0 s | Gerai |
| 3 | True | 0.0 s | Gerai |
| 4 | True | 0.0 s | Gerai |
| 5 | True | 0.0 s | Gerai |
| 6 | True | 0.0 s | Gerai |
| 7 | True | 0.004 s | Gerai |
| 8 | True | 0.0 s | Gerai |
| 9 | True | 0.004 s | Gerai |
| 10 | True | 0.004 s | Gerai |
| 11 | True | 0.004 s | Gerai |
| 12 | True | 0.004 s | Gerai |
| 13 | True | 0.004 s | Gerai |
| 14 | True | 0.004 s | Gerai |
| 15 | True | 0.004 s | Gerai |
