Problem summarising2023
User sabkx
Submission Time 2024-01-01 10:00:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

summarising2023.cpp:4:7: error: empty character constant
4 | puts('');
| ^~
summarising2023.cpp: In function ‘int main()’:
summarising2023.cpp:4:7: error: invalid conversion from ‘char’ to ‘const char*’ [-fpermissive]
In file included from /usr/include/c++/9/cstdio:42,
from summarising2023.cpp:1:
/usr/include/stdio.h:632:30: note: initializing argument 1 of ‘int puts(const char*)’
632 | extern int puts (const char *__s);
| ~~~~~~~~~~~~^~~