Borderou de evaluare (job #2928082)

Utilizator valentin12Valentin Ion Semen valentin12 Data 22 octombrie 2022 10:22:30
Problema Padure Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'void djikstra(int)': main.cpp:51:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 51 | for(int i=0; i < v[nodcurent].size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:108:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 108 | if(a[i-1][j] != -1) | ^ main.cpp:126:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 126 | if(a[i+1][j] != -1) | ^ main.cpp:149:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 149 | if(a[i][j-1] != -1) | ^ main.cpp:169:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 169 | if(a[i][j+1] != -1) | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
119ms24330kbOK10
218ms24432kbOK10
319ms24690kbOK10
424ms25206kbOK10
522ms25219kbOK10
653ms30380kbOK10
7112ms38998kbOK10
8247ms56860kbOK10
988ms28270kbKilled by Signal 110
1087ms28274kbKilled by Signal 110
Punctaj total80

Ceva nu functioneaza?