Borderou de evaluare (job #1911580)
Utilizator | Data | 7 martie 2017 20:58:45 | |
---|---|---|---|
Problema | Escape | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int checkFriend(int, int)’:
user.cpp:25:8: error: ‘i’ was not declared in this scope
if(i == j){
^
user.cpp:25:13: error: ‘j’ was not declared in this scope
if(i == j){
^
user.cpp:28:14: error: ‘i’ was not declared in this scope
if((vizF[i][j] == 1 || vizF[j][i]) && friendly[i][j] < 2){
^
user.cpp:28:17: error: ‘j’ was not declared in this scope
if((vizF[i][j] == 1 || vizF[j][i]) && friendly[i][j] < 2){
^
user.cpp:31:10: error: ‘i’ was not declared in this scope
vizF[i][j] = 1;
^
user.cpp:31:13: error: ‘j’ was not declared in this scope
vizF[i][j] = 1;
^
user.cpp:45:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !