QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#302667#7862. Land Tradeucup-team2016Compile Error//C++1737.1kb2024-01-11 02:49:562024-01-11 02:49:56

Details

answer.code: In function ‘Line<long double> shift(const Line<__int128>&, const Point<long double>&)’:
answer.code:571:15: warning: narrowing conversion of ‘(__int128)l.Line<__int128>::A’ from ‘__int128’ to ‘long double’ [-Wnarrowing]
  571 |     return {l.A, l.B, l.C - l.A * p.x - l.B * p.y};
      |             ~~^
answer.code:571:20: warning: narrowing conversion of ‘(__int128)l.Line<__int128>::B’ from ‘__int128’ to ‘long double’ [-Wnarrowing]
  571 |     return {l.A, l.B, l.C - l.A * p.x - l.B * p.y};
      |                  ~~^
answer.code: In function ‘std::vector<std::vector<Point<long double> > > get_faces(const std::vector<Point<T2> >&, std::vector<std::pair<int, int> >)’:
answer.code:1152:33: error: ‘points_ok’ was not declared in this scope; did you mean ‘points’?
 1152 |             for (int k = 0; k < points_ok.size(); ++k) {
      |                                 ^~~~~~~~~
      |                                 points