Borderou de evaluare (job #2240477)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 13 septembrie 2018 16:10:54
Problema Spoiler Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 75

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:84:26: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(max(vis[1 - tot & 1][i], vis[1 - tot & 1][i + 1]) == 0) { ~~^~~~~ user.cpp:84:47: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(max(vis[1 - tot & 1][i], vis[1 - tot & 1][i + 1]) == 0) { ~~^~~~~ user.cpp:88:22: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(vis[1 - tot & 1][i] && vis[1 - tot & 1][i + 1]) { ~~^~~~~ user.cpp:88:45: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(vis[1 - tot & 1][i] && vis[1 - tot & 1][i + 1]) { ~~^~~~~ user.cpp:93:22: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(vis[1 - tot & 1][i]) { ~~^~~~~ user.cpp:96:22: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(vis[1 - tot & 1][i + 1]) { ~~^~~~~ user.cpp:72:9: warning: unused variable ‘lim’ [-Wunused-variable] int lim = k - (n + 1) / 2; ^~~ user.cpp:71:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d %d " ,&n,&k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1332kbOK5
20ms1336kbOK5
30ms1332kbOK5
40ms1336kbOK5
50ms1340kbOK5
60ms1344kbOK5
70ms1376kbOK5
80ms1396kbOK5
90ms1400kbOK5
104ms1424kbOK5
114ms1436kbOK5
1212ms1444kbOK5
1364ms1568kbOK5
14136ms1620kbOK5
15384ms1808kbOK5
16Depăşit1940kbTime limit exceeded.0
17Depăşit2048kbTime limit exceeded.0
18Depăşit2080kbTime limit exceeded.0
19Depăşit2096kbTime limit exceeded.0
20Depăşit2100kbTime limit exceeded.0
Punctaj total75

Ceva nu functioneaza?