Borderou de evaluare (job #2347730)
Utilizator | Data | 19 februarie 2019 01:20:11 | |
---|---|---|---|
Problema | Alee | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:9:16: warning: left operand of comma operator has no effect [-Wunused-value]
int dx[4] = (0,0,1,-1);
^
main.cpp:9:18: warning: right operand of comma operator has no effect [-Wunused-value]
int dx[4] = (0,0,1,-1);
^
main.cpp:9:21: warning: right operand of comma operator has no effect [-Wunused-value]
int dx[4] = (0,0,1,-1);
^
main.cpp:9:22: error: array must be initialized with a brace-enclosed initializer
int dx[4] = (0,0,1,-1);
^
main.cpp:10:17: warning: left operand of comma operator has no effect [-Wunused-value]
int dy[4] = (1,-1,0,0);
^
main.cpp:10:19: warning: right operand of comma operator has no effect [-Wunused-value]
int dy[4] = (1,-1,0,0);
^
main.cpp:10:21: warning: right operand of comma operator has no effect [-Wunused-value]
int dy[4] = (1,-1,0,0);
^
main.cpp:10:22: error: array must be initialized with a brace-enclosed initializer
int dy[4] = (1,-1,0,0);
^
main.cpp: In function 'bool border(int, int)':
main.cpp:40:5: error: a function-definition is not allowed here before '{' token
{
^
main.cpp:70:5: error: expected '}' at end of input
}
^
main.cpp:70:5: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !