| Problem | hello |
|---|---|
| User | ovuvuevuevueenyetuewuevue |
| Submission Time | 2026-07-03 15:21:20 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
hello.cpp: In function ‘int main()’:
hello.cpp:8:16: error: expected ‘)’ before ‘name’
8 | printf('hello' name);
| ~ ^~~~~
| )
hello.cpp:8:9: error: invalid conversion from ‘int’ to ‘const char*’ [-fpermissive]
8 | printf('hello' name);
| ^~~~~~~
| |
| int
In file included from /usr/include/stdio.h:867,
from /usr/include/c++/9/cstdio:42,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:46,
from hello.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, ...)
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~