Problem | pushups |
---|---|
User | Duk168 |
Submission Time | 2024-02-22 22:28:29 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
pushups.cpp: In function ‘int main()’:
pushups.cpp:25:19: error: expected ‘]’ before ‘}’ token
25 | cin >> A[i};
| ^
| ]
pushups.cpp:25:19: error: expected ‘;’ before ‘}’ token
25 | cin >> A[i};
| ^
| ;
pushups.cpp: At global scope:
pushups.cpp:27:2: error: expected unqualified-id before ‘for’
27 | for(int i = 0; i < N; i++){
| ^~~
pushups.cpp:27:17: error: ‘i’ does not name a type
27 | for(int i = 0; i < N; i++){
| ^
pushups.cpp:27:24: error: ‘i’ does not name a type
27 | for(int i = 0; i < N; i++){
| ^
pushups.cpp:30:5: error: expected unqualified-id before ‘return’
30 | return 0;
| ^~~~~~
pushups.cpp:31:1: error: expected declaration before ‘}’ token
31 | }
| ^