Saldainių maišelis

Taškai: 0

Compile: FAIL

saldainiu_maiselis.cpp: In function ‘int main()’: saldainiu_maiselis.cpp:14:6: error: ‘s’ was not declared in this scope }s ^ saldainiu_maiselis.cpp:17:9: error: ‘sum’ was not declared in this scope sum += q.top(); ^ saldainiu_maiselis.cpp:22:13: error: ‘sum’ was not declared in this scope cout << sum; ^

nr.resulttimemessage