QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#371000#8513. Insects, Mathematics, Accuracy, and Efficiencyucup-team2016Compile Error//C++148.4kb2024-03-29 20:56:002024-03-29 20:56:01

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;
      |                               ^