QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#413997#3003. Cost of Livingucup-team2880Compile Error//C++202.5kb2024-05-18 13:48:552024-05-18 13:48:55

Details

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