QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#515567#4930. LCS of Permutationsegypt_ioi2024b_05#Compile Error//C++202.2kb2024-08-11 18:46:532024-08-11 18:46:53

Details

answer.code: In function ‘void solve()’:
answer.code:50:5: error: ‘else’ without a previous ‘if’
   50 |     else if(c==n){
      |     ^~~~