Problem | binarylock |
---|---|
User | asbx |
Submission Time | 2023-12-06 10:49:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
binarylock.cpp: In function ‘int main()’:
binarylock.cpp:64:30: error: no matching function for call to ‘floor(int&, int&)’
64 | cout<<floor(p.first,p.second);
| ^
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 binarylock.cpp:1:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:165:1: note: candidate: ‘double floor(double)’
165 | __MATHCALLX (floor,, (_Mdouble_ __x), (__const__));
| ^~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:165:1: note: candidate expects 1 argument, 2 provided
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,