Borderou de evaluare (job #2170711)
Utilizator | Data | 15 martie 2018 09:30:56 | |
---|---|---|---|
Problema | Dragoni | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:44:18: error: expected expression before ‘{’ token
Adauga(x,{y,cost});
^
user.c:45:18: error: expected expression before ‘{’ token
Adauga(y,{x,cost});
^
user.c:64:13: error: expected expression before ‘{’ token
add({1,1});
^
user.c: In function ‘dijkstra’:
user.c:179:17: error: expected expression before ‘{’ token
add({root.dst,root.dst});
^
user.c:191:25: error: expected expression before ‘{’ token
add({vec,root.cost});
^
user.c: In function ‘main’:
user.c:35:5: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d%d",&v,&V,&E);
^
user.c:38:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&dmax[i]);
^
user.c:43:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d%d",&x,&y,&cost);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !