Problem | ny_mathexam |
---|---|
User | JAVIER |
Submission Time | 2024-11-04 22:23:55 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
ny_mathexam.cpp: In function ‘int main()’:
ny_mathexam.cpp:8:12: error: no matching function for call to ‘pow(int&)’
8 | x=80*pow(r);
| ^
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 ny_mathexam.cpp:1:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note: candidate: ‘double pow(double, double)’
140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
| ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/9/valarray:603,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++