Borderou de evaluare (job #1774750)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 9 octombrie 2016 13:34:59
Problema Diviz Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:45:16: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] dp[i][1-j&1][p]=0; ^ user.cpp:50:31: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] dp[poz[i+1][cif]][1-j&1][(p*10+cif)%k]+=dp[i][j&1][p]; ^ user.cpp:51:34: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(dp[poz[i+1][cif]][1-j&1][(p*10+cif)%k]>=MOD) ^ user.cpp:52:33: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] dp[poz[i+1][cif]][1-j&1][(p*10+cif)%k]-=MOD; ^ user.cpp:56:23: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] ans+=dp[i][1-j&1][0]; ^ user.cpp:15:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d %d %d " ,&k,&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms292kbOK10
20ms288kbOK10
30ms364kbOK10
40ms292kbOK10
50ms308kbOK10
648ms348kbOK10
776ms340kbOK10
8124ms360kbOK10
9Depăşit384kbTime limit exceeded.0
10Depăşit400kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?