Problem samelength
User 2110100
Submission Time 2023-07-28 21:41:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

samelength.cpp: In function ‘int main()’:
samelength.cpp:5:12: error: invalid conversion from ‘int’ to ‘const char*’ [-fpermissive]
5 | printf(305);
| ^~~
| |
| int
In file included from /usr/include/stdio.h:867,
from /usr/include/c++/9/cstdio:42,
from samelength.cpp:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:105:32: note: initializing argument 1 of ‘int printf(const char*, ...)’
105 | printf (const char *__restrict __fmt, ...)
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~