QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#302575 | #7862. Land Trade | ucup-team2016 | Compile Error | / | / | C++17 | 38.3kb | 2024-01-10 23:42:20 | 2024-01-10 23:42:21 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘Line<long double> shift(const Line<__int128>&, const Point<long double>&)’: answer.code:615:15: warning: narrowing conversion of ‘(__int128)l.Line<__int128>::A’ from ‘__int128’ to ‘long double’ [-Wnarrowing] 615 | return {l.A, l.B, l.C - l.A * p.x - l.B * p.y}; | ~~^ answer.code:615:20: warning: narrowing conversion of ‘(__int128)l.Line<__int128>::B’ from ‘__int128’ to ‘long double’ [-Wnarrowing] 615 | return {l.A, l.B, l.C - l.A * p.x - l.B * p.y}; | ~~^ In file included from /usr/include/c++/11/cassert:44, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:33, from answer.code:5: answer.code: In function ‘std::pair<int, bool> parse_formula(std::stringstream&)’: answer.code:1262:22: error: request for member ‘res’ in ‘f’, which is of non-class type ‘Formula [10111]’ 1262 | assert(f.res.op != '|'); | ^~~