Kaladėlių dėžutė
- [1] 2017-09-13 10:43 (0)
- [2] 2017-09-13 10:47 (100)
Taškai: 100
Compile: OK
kaladeles.cpp: In function ‘int main()’: kaladeles.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("kaladeles.in", "r", stdin); ^ kaladeles.cpp:11:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("kaladeles.out", "w", stdout); ^ kaladeles.cpp:12:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ kaladeles.cpp:15:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &h[i]); ^
nr. | result | time | message |
---|---|---|---|
1 | True | 0.0 s | ok |
2 | True | 0.0 s | ok |
3 | True | 0.0 s | ok |
4 | True | 0.0 s | ok |
5 | True | 0.0 s | ok |
6 | True | 0.0 s | ok |
7 | True | 0.0 s | ok |
8 | True | 0.0 s | ok |
9 | True | 0.0 s | ok |
10 | True | 0.0 s | ok |