Borderou de evaluare (job #2397281)

Utilizator andreicoman299Coman Andrei andreicoman299 Data 4 aprilie 2019 11:56:45
Problema Metrou2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:61:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int x = 0; x < V.size(); x++){ ~~^~~~~~~~~~ main.cpp:97:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < Thr.size(); i++) ~~^~~~~~~~~~~~ main.cpp:98:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = i; j < Thr.size(); j++) ~~^~~~~~~~~~~~ main.cpp:99:53: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] val += D[i][j][(mask & (1 << i) != 0)][(mask & (1 << j) != 0)]; ~~~~~~~~~^~~~ main.cpp:99:77: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] val += D[i][j][(mask & (1 << i) != 0)][(mask & (1 << j) != 0)]; ~~~~~~~~~^~~~ main.cpp:35:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d%d", &n, &m); ^ main.cpp:37:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d", &p[i]); ^ main.cpp:40:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d%d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
110ms4980kbOK10
212ms4980kbIncorect0
313ms4980kbIncorect0
413ms5111kbOK10
525ms5505kbIncorect0
628ms5505kbIncorect0
781ms7471kbIncorect0
896ms7340kbIncorect0
9179ms9699kbIncorect0
10198ms9699kbIncorect0
Punctaj total20

Ceva nu functioneaza?