Problem paint
User votesac
Submission Time 2024-02-19 15:10:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cc1plus: error: ‘::main’ must return ‘int’
paint.cpp: In function ‘int main()’:
paint.cpp:13:6: error: ‘x’ was not declared in this scope
13 | for(x=0;x<n;x++){
| ^