Užklausos

Taškai: 0

Compile: FAIL

uzklausos.cpp: In function ‘void keist(int)’: uzklausos.cpp:35:11: error: ‘struct mVirsune’ has no member named ‘sum’; did you mean ‘um’? 35 | m[id].sum++; | ^~~ | um uzklausos.cpp:37:14: error: too few arguments to function ‘void keist(int)’ 37 | keist() | ~~~~~^~ uzklausos.cpp:33:6: note: declared here 33 | void keist(int id) | ^~~~~ uzklausos.cpp: In function ‘int uzklausa(int, int, int)’: uzklausos.cpp:46:22: error: ‘struct mVirsune’ has no member named ‘sum’; did you mean ‘um’? 46 | return m[id].sum; | ^~~ | um

nr.resulttimemessage