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: 0
Compile: OK
keksiukai.cpp: In function ‘int main()’: keksiukai.cpp:13:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::multiset<int>::size_type {aka long unsigned int}’ [-Wformat=] #define pn1(a) printf("%d\n", a); ^ keksiukai.cpp:28:5: note: in expansion of macro ‘pn1’ pn1(st.count(5)); ^ 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:30:9: note: in expansion of macro ‘s2’ s2(sweets[i].sweet, sweets[i].sour); ^
nr. | result | time | message |
---|---|---|---|
1 | False | 0.0 s | Neteisinga eilutė |
2 | False | 0.152 s | Neteisinga eilutė |
3 | False | 0.004 s | Neteisinga eilutė |
4 | False | 0.004 s | Neteisinga eilutė |
5 | False | 0.004 s | Neteisinga eilutė |
6 | False | 0.072 s | Neteisinga eilutė |
7 | False | 0.176 s | Neteisinga eilutė |
8 | False | 0.124 s | Neteisinga eilutė |
9 | False | 0.168 s | Neteisinga eilutė |
10 | False | 0.216 s | Neteisinga eilutė |