Borderou de evaluare (job #2499758)

Utilizator Senth30Denis-Florin Cringanu Senth30 Data 26 noiembrie 2019 18:28:06
Problema Ubuntzei Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 75

Raport evaluator

Compilare: main.cpp: In function 'void bellman_ford(int)': main.cpp:62:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < edges[node].size(); i++){ ~~^~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:95:29: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] if(((1 << i - 1) & l) && dp[l][i] != (1 << 28)) ~~^~~ main.cpp:96:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < mch[i].size(); j++){ ~~^~~~~~~~~~~~~~~ main.cpp:98:42: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] dp[l + (1 << e.x - 1)][e.x] = min(dp[l + (1 << e.x - 1)][e.x], dp[l][i] + e.cost); ~~~~^~~ main.cpp:98:76: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] dp[l + (1 << e.x - 1)][e.x] = min(dp[l + (1 << e.x - 1)][e.x], dp[l][i] + e.cost); ~~~~^~~ main.cpp: In function 'void Read(int&)': main.cpp:30:42: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(f, MAX, 1, IN), pos = 0; ^ main.cpp:35:42: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(f, MAX, 1, IN), pos = 0; ^ main.cpp: In function 'int main()': main.cpp:76:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("ubuntzei.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbOK5
23ms131kbOK5
33ms262kbOK5
43ms262kbOK5
53ms262kbOK5
63ms262kbOK5
74ms262kbOK5
84ms393kbOK5
96ms786kbOK5
109ms1179kbOK5
1115ms2228kbOK5
1215ms2228kbOK5
1329ms4194kbOK5
1463ms8257kbOK5
1569ms10747kbKilled by Signal 110
1674ms10878kbKilled by Signal 110
1785ms11010kbKilled by Signal 110
1875ms11010kbKilled by Signal 110
1975ms11141kbKilled by Signal 110
202ms131kbOK5
Punctaj total75

Ceva nu functioneaza?