Borderou de evaluare (job #2329616)

Utilizator ionanghelinaIonut Anghelina ionanghelina Data 27 ianuarie 2019 01:48:54
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:30:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(dist[it]>dist[nod]+cst[nod][it]+pred[nod]-pred[it]); ^~ main.cpp:31:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' { ^ main.cpp:46:9: warning: unused variable 'flow' [-Wunused-variable] int flow=2e9,f,ans; ^~~~ main.cpp: In function 'int main()': main.cpp:67: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:68: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:71: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:81: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); ^ main.cpp:53:14: warning: 'f' may be used uninitialized in this function [-Wmaybe-uninitialized] sol=sol+f*rd[n+1]; ~^~~~~~~~ main.cpp:46:18: note: 'f' was declared here int flow=2e9,f,ans; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1201ms131kbTime limit exceeded0
2200ms131kbTime limit exceeded0
3201ms131kbTime limit exceeded0
4200ms131kbTime limit exceeded0
5203ms131kbTime limit exceeded0
6200ms131kbTime limit exceeded0
7201ms131kbTime limit exceeded0
8200ms131kbTime limit exceeded0
93ms131kbOk!10
103ms131kbOk!10
Punctaj total20

Ceva nu functioneaza?