0_0_21263818_3225.cpp: In function 'int main()': 0_0_21263818_3225.cpp:96:47: error: invalid types 'double[int]' for array subscript printf("%8.2f%c", ans[i][n * m + 1], " \n"[i % m == 0]); ^