QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#283483#6635. Strange KeyboardKingOfHuaCompile Error//C++143.3kb2023-12-14 18:04:412023-12-14 18:04:41

详细

answer.code: In function ‘int main()’:
answer.code:51:23: error: ‘d’ was not declared in this scope
   51 |             for(int j=d,c=0;c!=3;c+=(j==0),j=(j+D)%k)
      |                       ^
answer.code:51:29: error: ‘c’ was not declared in this scope
   51 |             for(int j=d,c=0;c!=3;c+=(j==0),j=(j+D)%k)
      |                             ^