Borderou de evaluare (job #278518)
Utilizator | Data | 12 martie 2009 13:03:23 | |
---|---|---|---|
Problema | Algoritmul lui Dijkstra | Status | done |
Runda | Arhiva educationala | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function 'citire':
user.c:9: warning: format '%ld' expects type 'long int *', but argument 3 has type 'int *'
user.c:9: warning: format '%ld' expects type 'long int *', but argument 4 has type 'int *'
user.c:10: error: 'for' loop initial declaration used outside C99 mode
user.c:13: error: 'c' undeclared (first use in this function)
user.c:13: error: (Each undeclared identifier is reported only once
user.c:13: error: for each function it appears in.)
user.c: In function 'bellman_ford':
user.c:19: error: 'i' undeclared (first use in this function)
user.c:21: error: 'inf' undeclared (first use in this function)
user.c:27: error: 'j' undeclared (first use in this function)
user.c:29: error: 'c' undeclared (first use in this function)
user.c: In function 'main':
user.c:49: error: too few arguments to function 'bellman_ford'
user.c:52: error: 'inf' undeclared (first use in this function)
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !