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:4:5: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ 4 | char[][] c(int n) { | ^ kempine.cpp:4:5: error: structured binding declaration cannot have type ‘char’ 4 | char[][] c(int n) { | ^~ kempine.cpp:4:5: note: type must be cv-qualified ‘auto’ or reference to cv-qualified ‘auto’ kempine.cpp:4:5: error: empty structured binding declaration kempine.cpp:4:7: error: expected initializer before ‘[’ token 4 | char[][] c(int n) { | ^ kempine.cpp: In function ‘int main()’: kempine.cpp:63:9: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ 63 | char[][] arr = c(a); | ^ kempine.cpp:63:9: error: structured binding declaration cannot have type ‘char’ 63 | char[][] arr = c(a); | ^~ kempine.cpp:63:9: note: type must be cv-qualified ‘auto’ or reference to cv-qualified ‘auto’ kempine.cpp:63:9: error: empty structured binding declaration kempine.cpp:63:11: error: expected initializer before ‘[’ token 63 | char[][] arr = c(a); | ^ kempine.cpp:66:21: error: ‘arr’ was not declared in this scope 66 | cout << arr[i][j]; | ^~~
nr. | result | time | message |
---|