Keksiukai

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.resulttimemessage
1False0.0 sNeteisinga eilutė
2False0.152 sNeteisinga eilutė
3False0.004 sNeteisinga eilutė
4False0.004 sNeteisinga eilutė
5False0.004 sNeteisinga eilutė
6False0.072 sNeteisinga eilutė
7False0.176 sNeteisinga eilutė
8False0.124 sNeteisinga eilutė
9False0.168 sNeteisinga eilutė
10False0.216 sNeteisinga eilutė