Borderou de evaluare (job #2330422)

Utilizator ionanghelinaIonut Anghelina ionanghelina Data 28 ianuarie 2019 12:57:18
Problema Traseu Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'bool dijkstra()': main.cpp:46:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(dist[it]>dist[nod]+cst[nod][it]+pred[nod]-pred[it]); ^~ main.cpp:47:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' { ^ main.cpp: In function 'int main()': main.cpp:95:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("traseu.in","r",stdin); ^ main.cpp:96:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("traseu.out","w",stdout); ^ main.cpp:99:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ main.cpp:109:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&x,&y,&z); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
16ms262kbKilled by Signal 110
26ms262kbKilled by Signal 110
36ms262kbKilled by Signal 110
47ms262kbKilled by Signal 110
58ms262kbKilled by Signal 110
66ms262kbKilled by Signal 110
76ms262kbKilled by Signal 110
87ms262kbKilled by Signal 110
93ms131kbOk!10
103ms131kbOk!10
Punctaj total20

Ceva nu functioneaza?