Borderou de evaluare (job #2161068)

Utilizator giotoPopescu Ioan gioto Data 11 martie 2018 15:21:48
Problema Delfin Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void Dijkstra()’: user.cpp:40:21: error: ‘class std::queue<mort>’ has no member named ‘top’ mort w = pq.top(); ^ user.cpp: In function ‘int main()’: user.cpp:79:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("delfin.in", "r", stdin); ^ user.cpp:80:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("delfin.out", "w", stdout); ^ user.cpp:81:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:83:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", s + 1); ^

Ceva nu functioneaza?