Problem pushups
User brat
Submission Time 2025-10-05 10:58:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pushups.cpp: In function ‘int main()’:
pushups.cpp:16:15: error: ‘pushups’ was not declared in this scope; did you mean ‘pushup’?
16 | if (i%j) {pushups += j;}
| ^~~~~~~
| pushup
pushups.cpp:18:19: error: ‘pushups’ was not declared in this scope; did you mean ‘pushup’?
18 | ans = max(ans, pushups);
| ^~~~~~~
| pushup