Problem celldivision
User Tyx2019
Submission Time 2023-01-13 21:31:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

celldivision.cpp: In function ‘int main()’:
celldivision.cpp:43:13: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
43 | putchar(" ");
| ^~~
| |
| const char*
In file included from /usr/include/stdio.h:864,
from /usr/include/c++/9/cstdio:42,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:46,
from celldivision.cpp:1:
/usr/include/x86_64-linux-gnu/bits/stdio.h:82:14: note: initializing argument 1 of ‘int putchar(int)’
82 | putchar (int __c)
| ~~~~^~~
celldivision.cpp:47:13: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
47 | putchar(" ");
| ^~~
| |
| const char*
In file included from /usr/include/stdio.h:864,
from /usr/include/c++/9/cstdio:42,
from /usr/in