Aštuonių valdovių uždavinys
- [1] 2024-12-21 14:57 (0)
- [2] 2024-12-30 11:44 (0)
- [3] 2024-12-30 11:49 (7.7)
- [4] 2024-12-30 11:58 (7.7)
- [5] 2024-12-30 12:10 (61.5)
Taškai: 0
Compile: FAIL
valdoves.cpp: In function ‘int c(int, int, int, int, std::vector<std::vector<int> >, std::vector<std::vector<char> >&)’: valdoves.cpp:29:14: error: ‘c’ cannot be used as a function 29 | int x = c(n, b, c, d, arr, brr); | ~^~~~~~~~~~~~~~~~~~~~~~ valdoves.cpp:34:30: error: expected ‘;’ before ‘}’ token 34 | arr[b][i] = 1 | ^ | ; 35 | } | ~ valdoves.cpp:37:30: error: expected ‘;’ before ‘}’ token 37 | arr[i][c] = 1 | ^ | ; 38 | } | ~ valdoves.cpp:47:14: error: ‘c’ cannot be used as a function 47 | int y = c(n, b, c, d+1, arr, brr); | ~^~~~~~~~~~~~~~~~~~~~~~~~
nr. | result | time | message |
---|