QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#370947#8513. Insects, Mathematics, Accuracy, and Efficiencyucup-team2016Compile Error//C++209.5kb2024-03-29 20:02:052024-03-29 20:02:06

Details

answer.code: In function ‘ld calc_ans2()’:
answer.code:282:26: warning: narrowing conversion of ‘p.Point<long long int>::x’ from ‘long long int’ to ‘long double’ [-Wnarrowing]
  282 |         upd.push_back({p.x, p.y});
      |                        ~~^
answer.code:282:31: warning: narrowing conversion of ‘p.Point<long long int>::y’ from ‘long long int’ to ‘long double’ [-Wnarrowing]
  282 |         upd.push_back({p.x, p.y});
      |                             ~~^
answer.code:326:30: error: ‘eps2’ was not declared in this scope; did you mean ‘eps’?
  326 |         ang2 = angs[i + 1] - eps2;
      |                              ^~~~
      |                              eps