QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#839821#4. Gapdaoquanglinh2007Compile Error//C++201.2kb2025-01-02 10:17:392025-01-02 10:17:40

Details

answer.code: In function ‘long long int findGap(int, int)’:
answer.code:52:27: error: cannot convert ‘std::pair<std::pair<long long int, long long int>, long long int>’ to ‘long long int’ in return
   52 |                 return dnc(0, LIM);
      |                        ~~~^~~~~~~~
      |                           |
      |                           std::pair<std::pair<long long int, long long int>, long long int>