Problem pushups
User Hytoh
Submission Time 2023-12-09 16:34:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pushups.cpp: In function ‘int main()’:
pushups.cpp:7:5: error: expected ‘,’ or ‘;’ before ‘vector’
7 | vector<int> pmax(N)
| ^~~~~~
pushups.cpp:8:21: error: ‘i’ was not declared in this scope
8 | for (int i = 1; i <= N; i++) {
| ^
pushups.cpp:13:5: error: ‘pmax’ was not declared in this scope
13 | pmax[0] = 0;
| ^~~~