Borderou de evaluare (job #2060575)
Utilizator | Data | 8 noiembrie 2017 14:56:46 | |
---|---|---|---|
Problema | Armate | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int giveNumber(int, int, int, int)’:
user.cpp:122:9: error: ‘case7’ was not declared in this scope
case7 = v2[B];
^
user.cpp:137:9: error: ‘case8’ was not declared in this scope
case8 = v2[B];
^
user.cpp: In function ‘int main()’:
user.cpp:172:9: error: ‘case7’ was not declared in this scope
case7 = giveNumber(7,N,A,B);
^
user.cpp:174:9: error: ‘case8’ was not declared in this scope
case8 = giveNumber(8,N,A,B);
^
user.cpp: In function ‘int giveNumber(int, int, int, int)’:
user.cpp:142: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 !