Borderou de evaluare (job #2196270)
Utilizator | Data | 18 aprilie 2018 22:23:27 | |
---|---|---|---|
Problema | Algoritmul Bellman-Ford | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void bellmanford()’:
user.cpp:22:19: error: expected ‘)’ before ‘]’ token
if(fr[nod]]>n)
^
user.cpp:22:19: error: expected primary-expression before ‘]’ token
user.cpp: In function ‘int main()’:
user.cpp:61:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&n,&m);
^
user.cpp:65:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d %d",&i,&j,&t[3][k]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !