Borderou de evaluare (job #1512389)

Utilizator andreey_047Andrei Maxim andreey_047 Data 27 octombrie 2015 23:35:57
Problema Trilant Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void Dijkstra(int, int)’: user.cpp:32:2: error: ‘mark’ was not declared in this scope mark[nod] = true; ^ user.cpp: In function ‘int main()’: user.cpp:67:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("trilant.in","r",stdin); ^ user.cpp:68:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("trilant.out","w",stdout); ^ user.cpp:70:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n%d%d%d\n",&N,&M,&A,&B,&C); ^ user.cpp:72:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d\n",&x,&y,&c); ^

Ceva nu functioneaza?