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

Compile Error

samelength.cpp: In function ‘int main(int, char**)’:
samelength.cpp:15:12: error: invalid conversion from ‘int’ to ‘const char*’ [-fpermissive]
15 | printf(jury_length);
| ^~~~~~~~~~~
| |
| 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, ...)
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~