Mengerio kempinė
- [1] 2024-11-09 20:08 (0)
- [2] 2024-11-09 20:13 (0)
- [3] 2024-11-09 20:31 (0)
- [4] 2024-11-09 20:36 (0)
- [5] 2024-11-16 10:17 (0)
- [6] 2024-11-16 10:18 (0)
- [7] 2024-11-16 10:22 (0)
- [8] 2024-11-16 10:23 (0)
- [9] 2024-11-16 10:24 (0)
- [10] 2024-11-16 10:31 (100)
- [11] 2024-11-16 10:34 (100)
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. | result | time | message |
---|