Problem | paint |
---|---|
User | votesac |
Submission Time | 2024-02-19 15:06:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
cc1plus: error: ‘::main’ must return ‘int’
paint.cpp: In function ‘int main()’:
paint.cpp:14:28: error: expected ‘;’ before ‘)’ token
14 | for(counter < n;counter++){
| ^
| ;
paint.cpp:17:2: error: expected ‘}’ before ‘else’
17 | else{
| ^~~~
paint.cpp:13:17: note: to match this ‘{’
13 | if(counter < 1){
| ^
paint.cpp: At global scope:
paint.cpp:22:1: error: expected declaration before ‘}’ token
22 | }
| ^