Balos
- [1] 2019-03-24 20:54 (100)
Taškai: 100
Compile: OK
balos.cpp: In function ‘int main()’: balos.cpp:6:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] #define s2(a, b) scanf("%d %d", &a, &b); ^ balos.cpp:17:5: note: in expansion of macro ‘s2’ s2(n, b); ^ balos.cpp:5:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] #define s1(a) scanf("%d", &a); ^ balos.cpp:19:12: note: in expansion of macro ‘s1’ FOR(n) s1(lakes[i]); ^ balos.cpp:6:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] #define s2(a, b) scanf("%d %d", &a, &b); ^ balos.cpp:41:9: note: in expansion of macro ‘s2’ s2(s, d); ^
| nr. | result | time | message |
|---|---|---|---|
| 1 | True | 0.0 s | ok |
| 2 | True | 0.136 s | ok |
| 3 | True | 0.144 s | ok |
| 4 | True | 0.148 s | ok |
| 5 | True | 0.004 s | ok |
| 6 | True | 0.004 s | ok |
| 7 | True | 0.0 s | ok |
| 8 | True | 0.06 s | ok |
| 9 | True | 0.064 s | ok |
| 10 | True | 0.088 s | ok |
| 11 | True | 0.116 s | ok |
| 12 | True | 0.08 s | ok |
