QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#202132#5303. No Bug No GameZhaoZiLongCompile Error//C++17803b2023-10-05 19:53:172023-10-05 19:53:17

Details

answer.code: In function ‘int main()’:
answer.code:52:13: error: redeclaration of ‘int ans’
   52 |         int ans=0;
      |             ^~~
answer.code:17:19: note: ‘int ans’ previously declared here
   17 |         int sum=0,ans=0;
      |                   ^~~