QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#468600#1281. Longest Common SubsequenceMaMengQiCompile Error//C++202.6kb2024-07-08 21:48:122024-07-08 21:48:13

Details

answer.code: In function ‘void QwQ()’:
answer.code:42:85: error: ‘siz’ was not declared in this scope; did you mean ‘sin’?
   42 |         n=rd(),m=rd(),k=max(n,m),cp=cq=cs=ct=ans=0,S.siz=T.siz=k<<1; for(int i=1;i<=siz;i++) S.tr[i]=T.tr[i]=-INF;
      |                                                                                     ^~~
      |                                                                                     sin
answer.code:50:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   50 |         wr(ans,"\n");
      |                ^~~~