QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#202132#5303. No Bug No GameZhaoZiLongCompile Error//C++17803b2023-10-05 19:53:172023-10-05 19:53:17

详细

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;
      |                   ^~~