QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#602863#8795. Mysterious Sequenceucup-team4741#Compile Error//C++201.6kb2024-10-01 13:14:082024-10-01 13:14:09

Details

answer.code: In function ‘void solve()’:
answer.code:33:21: error: ‘sqrt’ was not declared in this scope
   33 |     double u = (A + sqrt(A * A + 4.0 * B)) / 2;
      |                     ^~~~