Problem boxispull
User SuspiciousAmogus
Submission Time 2024-08-28 21:07:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

boxispull.cpp:6:8: error: ‘ll y1’ redeclared as different kind of entity
6 | ll x1, y1, x2, y2, ans;
| ^~
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/iostream:38,
from boxispull.cpp:1:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:221:1: note: previous declaration ‘double y1(double)’
221 | __MATHCALL (y1,, (_Mdouble_));
| ^~~~~~~~~~
boxispull.cpp: In function ‘int main()’:
boxispull.cpp:12:19: error: no match for ‘operator>>’ (operand types are ‘std::basic_istream<char>::__istream_type’ {aka ‘std::basic_istream<char>’} and ‘double(double) noexcept’)
12 | cin >> x1 >> y1 >> x2 >> y2;
| ~~~~~~~~~ ^~ ~~
| |