Mengerio kempinė

Taškai: 0

Compile: FAIL

kempine.cpp: In function ‘void c(int, char**&)’: kempine.cpp:10:12: error: invalid initialization of non-const reference of type ‘char**&’ from an rvalue of type ‘char (*)[x]’ 10 | c(n-1, smallArr); | ^~~~~~~~ kempine.cpp:4:23: note: in passing argument 2 of ‘void c(int, char**&)’ 4 | void c(int n, char** &bigArr) { | ~~~~~~~~^~~~~~ kempine.cpp: In function ‘int main()’: kempine.cpp:64:10: error: invalid initialization of non-const reference of type ‘char**&’ from an rvalue of type ‘char (*)[a]’ 64 | c(a, arr); | ^~~ kempine.cpp:4:23: note: in passing argument 2 of ‘void c(int, char**&)’ 4 | void c(int n, char** &bigArr) { | ~~~~~~~~^~~~~~

nr.resulttimemessage