QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#396399#2840. 绿绿与串串ucup-team1383Compile Error//C++171.1kb2024-04-22 18:22:542024-04-22 18:22:55

Details

answer.code: In function ‘void Manacher()’:
answer.code:18:20: error: redeclaration of ‘int n’
   18 |         int r = 0, n = str.size(), mid = 0;
      |                    ^
answer.code:14:13: note: ‘int n’ previously declared here
   14 |         int n = s.length();
      |             ^