Problem duckbuttons
User PyAce
Submission Time 2026-02-20 17:52:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckbuttons.cpp: In function ‘int main()’:
duckbuttons.cpp:20:45: error: expected ‘)’ before ‘;’ token
20 | for (int i=BVec.size();i < BVec.size(); i--;{
| ~ ^
| )
duckbuttons.cpp:21:15: error: ‘i’ was not declared in this scope
21 | ans += BVec[i];
| ^