Borderou de evaluare (job #2240463)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 13 septembrie 2018 15:33:50
Problema Spoiler Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:86:22: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(vis[1 - tot & 1][i] == 0 && vis[1 - tot & 1][i + 1] == 0) { ~~^~~~~ user.cpp:86:50: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(vis[1 - tot & 1][i] == 0 && 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
20ms1364kbOK5
30ms1364kbOK5
40ms1368kbOK5
50ms1368kbOK5
60ms1368kbOK5
74ms1372kbOK5
80ms1372kbOK5
912ms1380kbOK5
1024ms1380kbOK5
1116ms1384kbOK5
1240ms1392kbOK5
13196ms1440kbOK5
14392ms1468kbOK5
15Depăşit1512kbTime limit exceeded.0
16Depăşit1576kbTime limit exceeded.0
17Depăşit1564kbTime limit exceeded.0
18Depăşit1556kbTime limit exceeded.0
19Depăşit1552kbTime limit exceeded.0
20Depăşit1548kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?