Problem | celldivision |
---|---|
User | user123 |
Submission Time | 2023-08-13 15:43:35 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
celldivision.cpp: In function ‘int main()’:
celldivision.cpp:51:10: error: invalid conversion from ‘char’ to ‘const char*’ [-fpermissive]
51 | printf(' ');
| ^~~
| |
| char
In file included from /usr/include/stdio.h:867,
from /usr/include/c++/9/cstdio:42,
from /usr/include/c++/9/ext/string_conversions.h:43,
from /usr/include/c++/9/bits/basic_string.h:6496,
from /usr/include/c++/9/string:55,
from /usr/include/c++/9/bits/locale_classes.h:40,
from /usr/include/c++/9/bits/ios_base.h:41,
from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from celldivision.cpp:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:105:32: note: initializing argument 1 of ‘int printf(const char*,