Problem helloworld
User claireau
Submission Time 2023-11-08 09:42:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp: In function ‘int main()’:
helloworld.cpp:5:19: error: no matching function for call to ‘rint(const char [12])’
5 | rint("Hello World")
| ^
In file included from /usr/include/features.h:461,
from /usr/include/x86_64-linux-gnu/c++/9/bits/os_defines.h:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/c++config.h:528,
from /usr/include/c++/9/cassert:43,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:33,
from helloworld.cpp:1:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:256:1: note: candidate: ‘double rint(double)’
256 | __MATHCALL (rint,, (_Mdouble_ __x));
| ^~~~~~~~~~
In file included from /usr/include/c++/9/cmath:45,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from helloworld.cpp:1:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:256:1: note: no