QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#322606#5089. 环覆盖DitaMirikaCompile Error//C++201.2kb2024-02-07 12:00:212024-02-07 12:00:22

Details

answer.code: In function ‘bool cmp(int, int)’:
answer.code:11:88: error: expected ‘;’ before ‘return’
   11 |         if(max(ru[x],rv[x])==max(ru[y],rv[y])) return min(ru[x],rv[x])<min(ru[y],rv[y])
      |                                                                                        ^
      |                                                                                        ;
   12 |         return max(ru[x],rv[x])<max(ru[y],rv[y]);
      |         ~~~~~~