Problem spreadsheet
User LL
Submission Time 2025-06-19 09:22:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

spreadsheet.cpp: In function ‘int main()’:
spreadsheet.cpp:11:12: error: expected ‘;’ before ‘if’
11 | y = abs(y)
| ^
| ;
12 | if(y%x==0) cout << y/x;
| ~~
spreadsheet.cpp:13:2: error: ‘else’ without a previous ‘if’
13 | else cout << y/x +1;
| ^~~~