QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#446567#4832. Telepathyegypt_ioi2024_12Compile Error//C++14727b2024-06-17 13:13:072024-06-17 13:13:07

Details

answer.code: In function ‘int main()’:
answer.code:28:23: error: ‘j’ was not declared in this scope
   28 |                 while(j!=i+9 && t[j]==c)j++;
      |                       ^
answer.code:28:39: error: ‘c’ was not declared in this scope
   28 |                 while(j!=i+9 && t[j]==c)j++;
      |                                       ^
answer.code:29:23: error: ‘j’ was not declared in this scope
   29 |         cout<<min(i+1,j+1-5)<<" ";
      |                       ^