勤学好问
  • 板块灌水区
  • 楼主高启凯
  • 当前回复10
  • 已保存回复10
  • 发布时间2022/8/29 20:10
  • 上次更新2023/10/27 13:10:44
查看原帖
勤学好问
736701
高启凯楼主2022/8/29 20:10
/tmp/compiler_ecj_hh0a/src: 在函数‘int main()’中:
/tmp/compiler_ecj_hh0a/src:11:18: 错误:‘int[int]’用作数组下标类型无效
   11 |                 a[x][y]=i;
      |                  ^
/tmp/compiler_ecj_hh0a/src:15:9: 错误:‘int[int]’用作数组下标类型无效
   15 |     if(a[px][py]==0)    cout<<-1;
      |         ^
/tmp/compiler_ecj_hh0a/src:16:20: 错误:‘int[int]’用作数组下标类型无效
   16 |     else    cout<<a[px][py];
      |   

what? 请 DALAO 看看呗

2022/8/29 20:10
加载中...