Borderou de evaluare (job #2240466)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 13 septembrie 2018 15:47:29
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:86: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:86: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:90:22: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(vis[1 - tot & 1][i] && vis[1 - tot & 1][i + 1]) { ~~^~~~~ user.cpp:90:45: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(vis[1 - tot & 1][i] && vis[1 - tot & 1][i + 1]) { ~~^~~~~ user.cpp:91:45: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] a[tot & 1][i] = add(add(a[1 - tot & 1][i], a[1 - tot & 1][i + 1]), b); ~~^~~~~ user.cpp:91:64: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] a[tot & 1][i] = add(add(a[1 - tot & 1][i], a[1 - tot & 1][i + 1]), b); ~~^~~~~ user.cpp:94:22: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(vis[1 - tot & 1][i]) { ~~^~~~~ user.cpp:95:46: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] a[tot & 1][i] = multiply(a[1 - tot & 1][i], 2); ~~^~~~~ user.cpp:97:22: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(vis[1 - tot & 1][i + 1]) { ~~^~~~~ user.cpp:98:46: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] a[tot & 1][i] = multiply(a[1 - tot & 1][i + 1], 2); ~~^~~~~ 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
10ms1368kbOK5
20ms1368kbOK5
30ms1364kbOK5
40ms1368kbOK5
50ms1372kbOK5
60ms1368kbOK5
70ms1372kbOK5
80ms1372kbOK5
98ms1376kbOK5
1016ms1380kbOK5
1112ms1384kbOK5
1228ms1396kbOK5
13136ms1452kbOK5
14284ms1472kbOK5
15748ms1488kbOK5
16Depăşit1572kbTime limit exceeded.0
17Depăşit1588kbTime limit exceeded.0
18Depăşit1584kbTime limit exceeded.0
19Depăşit1580kbTime limit exceeded.0
20Depăşit1576kbTime limit exceeded.0
Punctaj total75

Ceva nu functioneaza?