Borderou de evaluare (job #3159605)
Utilizator | Data | 21 octombrie 2023 17:38:46 | |
---|---|---|---|
Problema | Sahara | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:38:29: error: a function-definition is not allowed here before '{' token
38 | bool in_mat(neighbour vecin){
| ^
main.cpp:43:25: error: a function-definition is not allowed here before '{' token
43 | int umple (int i, int j){
| ^
main.cpp:60:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
60 | int main(){
| ^~
main.cpp:60:9: note: remove parentheses to default-initialize a variable
60 | int main(){
| ^~
| --
main.cpp:60:9: note: or replace parentheses with braces to value-initialize a variable
main.cpp:60:11: error: a function-definition is not allowed here before '{' token
60 | int main(){
| ^
main.cpp:86:2: error: expected '}' at end of input
86 | }
| ^
main.cpp:13:11: note: to match this '{'
13 | int main(){
| ^
main.cpp:26:5: warning: unused variable 'answer' [-Wunused-variable]
26 | int answer = 0;
| ^~~~~~
main.cpp:27:5: warning: unused variable 'vecin_x' [-Wunused-variable]
27 | int vecin_x[4] = {0, 1, 0, -1}, vecin_y[4] = {1, 0, -1, 0};
| ^~~~~~~
main.cpp:27:33: warning: unused variable 'vecin_y' [-Wunused-variable]
27 | int vecin_x[4] = {0, 1, 0, -1}, vecin_y[4] = {1, 0, -1, 0};
| ^~~~~~~
main.cpp:28:5: warning: unused variable 'n' [-Wunused-variable]
28 | int n, m, q, t;
| ^
main.cpp:28:8: warning: unused variable 'm' [-Wunused-variable]
28 | int n, m, q, t;
| ^
main.cpp:28:11: warning: unused variable 'q' [-Wunused-variable]
28 | int n, m, q, t;
| ^
main.cpp:28:14: warning: unused variable 't' [-Wunused-variable]
28 | int n, m, q, t;
| ^
main.cpp:29:5: warning: unused variable 'marime' [-Wunused-variable]
29 | int marime = 0;
| ^~~~~~
main.cpp:41:5: warning: unused variable 'mars' [-Wunused-variable]
41 | int mars[1005][1005] = {0};
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !