QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#413997#3003. Cost of Livingucup-team2880Compile Error//C++202.5kb2024-05-18 13:48:552024-05-18 13:48:55

詳細信息

answer.code: In function ‘int main()’:
answer.code:43:29: error: expected primary-expression before ‘<=’ token
   43 |                 for(int i=1;<=n+1;i++) for(int j=1;j<=m;j++) printf("%.1lf%c", (double)a[i][j], " \n"[j==m]);
      |                             ^~