Problem | binarylock |
---|---|
User | sabkx |
Submission Time | 2023-12-07 22:04:00 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
binarylock.cpp: In function ‘int main()’:
binarylock.cpp:4:7: error: invalid conversion from ‘int’ to ‘const char*’ [-fpermissive]
4 | puts('-1');
| ^~~~
| |
| int
In file included from /usr/include/c++/9/cstdio:42,
from binarylock.cpp:1:
/usr/include/stdio.h:632:30: note: initializing argument 1 of ‘int puts(const char*)’
632 | extern int puts (const char *__s);
| ~~~~~~~~~~~~^~~