Problem 1821
User Elnathan
Submission Time 2023-12-20 14:46:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

1821.cpp: In function ‘int main()’:
1821.cpp:2:13: error: invalid conversion from ‘char’ to ‘const char*’ [-fpermissive]
2 | main(){puts('0');}
| ^~~
| |
| char
In file included from 1821.cpp:1:
/usr/include/stdio.h:632:30: note: initializing argument 1 of ‘int puts(const char*)’
632 | extern int puts (const char *__s);
| ~~~~~~~~~~~~^~~