Borderou de evaluare (job #2240474)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 13 septembrie 2018 16:00:41
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:85: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:85: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:89:22: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(vis[1 - tot & 1][i] && vis[1 - tot & 1][i + 1]) { ~~^~~~~ user.cpp:89:45: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(vis[1 - tot & 1][i] && vis[1 - tot & 1][i + 1]) { ~~^~~~~ user.cpp:90:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] cpy(a[tot & 1][i], a[1 - tot & 1][i]); ~~^~~~~ user.cpp:91:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] add(a[tot & 1][i], a[1 - tot & 1][i + 1]); ~~^~~~~ user.cpp:95:22: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(vis[1 - tot & 1][i]) { ~~^~~~~ user.cpp:96:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] cpy(a[tot & 1][i], a[1 - tot & 1][i]); ~~^~~~~ user.cpp:99:22: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(vis[1 - tot & 1][i + 1]) { ~~^~~~~ user.cpp:100:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] cpy(a[tot & 1][i], a[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
10ms1340kbOK5
20ms1348kbOK5
30ms1368kbOK5
44ms1360kbOK5
54ms1380kbOK5
60ms1404kbOK5
74ms1492kbOK5
80ms1464kbOK5
94ms1592kbOK5
108ms1680kbOK5
118ms1640kbOK5
1212ms1768kbOK5
1368ms2104kbOK5
14144ms2360kbOK5
15400ms2772kbOK5
16Depăşit3376kbTime limit exceeded.0
17Depăşit4072kbTime limit exceeded.0
18Depăşit4240kbTime limit exceeded.0
19Depăşit4372kbTime limit exceeded.0
20Depăşit4472kbTime limit exceeded.0
Punctaj total75

Ceva nu functioneaza?