Problem pushups
User carson
Submission Time 2025-11-20 11:49:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pushups.cpp: In function ‘int main()’:
pushups.cpp:24:57: error: invalid type argument of unary ‘*’ (have ‘long long int’)
24 | cout << max_element(pushes.begin(), pushes.begin() + *a) << "\n";
| ^
pushups.cpp:25:2: error: expected ‘}’ at end of input
25 | }
| ^
pushups.cpp:5:11: note: to match this ‘{’
5 | int main(){
| ^