Borderou de evaluare (job #2376382)

Utilizator aditzu7Adrian Capraru aditzu7 Data 8 martie 2019 15:16:09
Problema Scara 3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'void dijkstra()': main.cpp:22:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<v[nod].size();i++) ~^~~~~~~~~~~~~~ main.cpp:22:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<v[nod].size();i++) ^~~ main.cpp:30:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' use[nod]=1; ^~~ main.cpp: In function 'int main()': main.cpp:44:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0;i<=n;i++) ^~~ main.cpp:46:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' cost[0][1]=999000; ^~~~ main.cpp:66:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1;i<=n;i++) ^~~ main.cpp:81:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for(i=1;i<=n;i++) ^~~ main.cpp:41:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("scara3.in","r",stdin); ^ main.cpp:42:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("scara3.out","w",stdout); ^ main.cpp:43:15: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ main.cpp:48:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&apa); ^ main.cpp:50:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&poz,&cnt); ^ main.cpp:60:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&ener); ^ main.cpp:62:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&poz,&cnt); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
111ms655kbOK5
22ms131kbIncorect0
32ms262kbOK5
43ms393kbIncorect0
53ms393kbIncorect0
64ms786kbIncorect0
74ms786kbOK5
84ms786kbIncorect0
94ms786kbIncorect0
104ms786kbOK5
1124ms4587kbIncorect0
1224ms4587kbIncorect0
1324ms4587kbIncorect0
1412ms4751kbMemory limit exceeded0
1511ms4751kbMemory limit exceeded0
1611ms4751kbMemory limit exceeded0
1711ms4751kbMemory limit exceeded0
1811ms4751kbMemory limit exceeded0
1911ms4751kbMemory limit exceeded0
2011ms4751kbMemory limit exceeded0
Punctaj total20

Ceva nu functioneaza?