Borderou de evaluare (job #2928050)

Utilizator valentin12Valentin Ion Semen valentin12 Data 22 octombrie 2022 04:56:09
Problema Padure Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

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
10ms184kbOK10
20ms184kbOK10
30ms184kbKilled by Signal 110
40ms184kbKilled by Signal 110
50ms184kbKilled by Signal 110
62ms970kbKilled by Signal 110
714ms1884kbKilled by Signal 110
837ms2916kbKilled by Signal 110
975ms4251kbKilled by Signal 110
1068ms4034kbKilled by Signal 110
Punctaj total20

Ceva nu functioneaza?