Didesnis - gudresnis?
- [1] 2020-10-14 09:21 (100)
Taškai: 100
Compile: OK
drambliai.cpp: In function ‘int main()’: drambliai.cpp:12:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("drambliai.in", "r", stdin); ^ drambliai.cpp:13:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("drambliai.out", "w", stdout); ^ drambliai.cpp:19:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ drambliai.cpp:24:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &a, &b); ^
| 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.004 s | ok |
| 5 | True | 0.004 s | ok |
| 6 | True | 0.004 s | ok |
| 7 | True | 0.004 s | ok |
| 8 | True | 0.0 s | ok |
| 9 | True | 0.004 s | ok |
| 10 | True | 0.0 s | ok |
