Borderou de evaluare (job #1433242)
Utilizator | Data | 9 mai 2015 15:09:05 | |
---|---|---|---|
Problema | Graph Cycle | Status | done |
Runda | test_practic_pa_2 | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘DFS’:
user.c:10:6: error: array subscript is not an integer
ceva[a]=1;
^
user.c: In function ‘connect’:
user.c:20:11: error: ‘c’ undeclared (first use in this function)
if (a == c[i] && b == c[i+1]){
^
user.c:20:11: note: each undeclared identifier is reported only once for each function it appears in
user.c:20:19: error: ‘b’ undeclared (first use in this function)
if (a == c[i] && b == c[i+1]){
^
user.c:26:6: warning: return type of ‘main’ is not ‘int’ [-Wmain]
void main(){
^
user.c:26:6: warning: ‘main’ is normally a non-static function [-Wmain]
user.c:54:1: error: expected declaration or statement at end of input
}
^
user.c:54: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 !