QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#287680#6563. Four Squareucup-team2042#Compile Error//C++142.6kb2023-12-20 21:32:282023-12-20 21:32:29

詳細信息

answer.code: In function ‘bool Check(long long int, long long int)’:
answer.code:59:9: error: redeclaration of ‘long long int nowx’
   59 |     int nowx = y-Y , nowy = X;
      |         ^~~~
answer.code:56:9: note: ‘long long int nowx’ previously declared here
   56 |     int nowx = y-X , nowy = Y;
      |         ^~~~
answer.code:59:22: error: redeclaration of ‘long long int nowy’
   59 |     int nowx = y-Y , nowy = X;
      |                      ^~~~
answer.code:56:22: note: ‘long long int nowy’ previously declared here
   56 |     int nowx = y-X , nowy = Y;
      |                      ^~~~