QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#370999#8513. Insects, Mathematics, Accuracy, and Efficiencyucup-team2016Compile Error//C++118.4kb2024-03-29 20:55:492024-03-29 20:55:49

Details

answer.code: In function ‘ld f1(ld)’:
answer.code:212:11: error: missing template arguments before ‘p’
  212 |     Point p(cosl(ang) * R, sinl(ang) * R);
      |           ^
answer.code:213:31: error: ‘p’ was not declared in this scope
  213 |     return my_abs(vector_prod(p - v[IND1], p - v[IND2])) / 2.0l;
      |                               ^