Mengerio kempinė

Taškai: 0

Compile: FAIL

kempine.cpp: In function ‘char c(int)’: kempine.cpp:13:36: error: invalid types ‘char[int]’ for array subscript 13 | bigArr[i][j] = smallArr[i][j]; | ^ kempine.cpp:18:38: error: invalid types ‘char[int]’ for array subscript 18 | bigArr[x+i][j] = smallArr[i][j]; | ^ kempine.cpp:23:40: error: invalid types ‘char[int]’ for array subscript 23 | bigArr[2*x+i][j] = smallArr[i][j]; | ^ kempine.cpp:28:38: error: invalid types ‘char[int]’ for array subscript 28 | bigArr[i][x+j] = smallArr[i][j]; | ^ kempine.cpp:38:42: error: invalid types ‘char[int]’ for array subscript 38 | bigArr[2*x+i][x+j] = smallArr[i][j]; | ^ kempine.cpp:43:40: error: invalid types ‘char[int]’ for array subscript 43 | bigArr[i][2*x+j] = smallArr[i][j]; | ^ kempine.cpp:48:42: error: invalid types ‘char[int]’ for array subscript 48 | bigArr[x+i][2*x+j] = smallArr[i][j]; | ^ kempine.cpp:53:44: error: invalid types ‘char[int]’ for array subscript 53 | bigArr[2*x+i][2*x+j] = smallArr[i][j]; | ^ kempine.cpp:56:12: error: invalid conversion from ‘char (*)[(x * 3)]’ to ‘char’ [-fpermissive] 56 | return bigArr; | ^~~~~~ | | | char (*)[(x * 3)] kempine.cpp: In function ‘int main()’: kempine.cpp:66:24: error: invalid types ‘char[int]’ for array subscript 66 | cout << arr[i][j]; | ^

nr.resulttimemessage