Problem pushups
User SharpnessChipped
Submission Time 2023-06-06 14:18:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pushups.cpp: In function ‘int main()’:
pushups.cpp:12:16: error: expected ‘;’ before ‘for’
12 | Result[j] = 0
| ^
| ;
13 | for (int k=0; k<N[j]; k++) {//Goes through every value of N for chosen T to find max pushups
| ~~~
pushups.cpp:13:17: error: ‘k’ was not declared in this scope
13 | for (int k=0; k<N[j]; k++) {//Goes through every value of N for chosen T to find max pushups
| ^