Borderou de evaluare (job #2191698)
Utilizator | Data | 3 aprilie 2018 14:42:22 | |
---|---|---|---|
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 input()’:
user.cpp:24:50: error: ‘fopen_s’ was not declared in this scope
FILE* file; fopen_s(&file, "bellmanford.in", "r");
^
user.cpp:26:43: error: ‘fscanf_s’ was not declared in this scope
fscanf_s(file, "%d %d", &vertices, &edges);
^
user.cpp: In function ‘int bellmanFord()’:
user.cpp:74:8: warning: unused variable ‘nodeDist’ [-Wunused-variable]
int nodeDist = -heap.front().first;
^~~~~~~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !