Problem | maximumtriangle |
---|---|
User | LCJLY |
Submission Time | 2023-12-27 10:43:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
maximumtriangle.cpp:15:12: error: ‘long long long’ is too long for GCC
15 | #define ll long long
| ^~~~
maximumtriangle.cpp:17:6: note: in expansion of macro ‘ll’
17 | int ll k, m, p;
| ^~
maximumtriangle.cpp:15:17: error: ‘long long long’ is too long for GCC
15 | #define ll long long
| ^~~~
maximumtriangle.cpp:17:6: note: in expansion of macro ‘ll’
17 | int ll k, m, p;
| ^~
maximumtriangle.cpp: In member function ‘bool LineContainer::isect(std::multiset<Line, std::less<void> >::iterator, std::multiset<Line, std::less<void> >::iterator)’:
maximumtriangle.cpp:30:31: error: assignment of member ‘Line::p’ in read-only object
30 | if (y == end()) return x->p = inf, 0;
| ~~~~~^~~~~
maximumtriangle.cpp:31:26: error: assignment of member ‘Line::p’ in read-only object
31 | if (x->k == y->k) x->