Keksiukai
- [1] 2019-03-25 10:25 (30)
- [2] 2019-03-25 10:27 (70)
- [3] 2019-03-25 10:30 (0)
- [4] 2019-03-25 10:30 (100)
Taškai: 30
Compile: OK
keksiukai.cpp: In function ‘int main()’: keksiukai.cpp:10:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] #define s2(a, b) scanf("%d %d", &a, &b); ^ keksiukai.cpp:22:5: note: in expansion of macro ‘s2’ s2(n, s); ^ keksiukai.cpp:10: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); ^ keksiukai.cpp:22:5: note: in expansion of macro ‘s2’ s2(n, s); ^ keksiukai.cpp:10: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); ^ keksiukai.cpp:25:9: note: in expansion of macro ‘s2’ s2(sweets[i].sweet, sweets[i].sour); ^
nr. | result | time | message |
---|---|---|---|
1 | True | 0.0 s | ok |
2 | False | 0.068 s | Neteisinga eilutė |
3 | True | 0.0 s | ok |
4 | True | 0.0 s | ok |
5 | False | 0.0 s | Neteisinga eilutė |
6 | False | 0.076 s | Neteisinga eilutė |
7 | False | 0.096 s | Neteisinga eilutė |
8 | False | 0.168 s | Neteisinga eilutė |
9 | False | 0.124 s | Neteisinga eilutė |
10 | False | 0.116 s | Neteisinga eilutė |