Borderou de evaluare (job #1774482)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 9 octombrie 2016 00:05:48
Problema Diviz Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

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
10ms296kbIncorect0
20ms288kbIncorect0
30ms252kbKilled by signal 11(SIGSEGV).0
40ms252kbKilled by signal 11(SIGSEGV).0
50ms256kbKilled by signal 11(SIGSEGV).0
60ms252kbKilled by signal 11(SIGSEGV).0
70ms252kbKilled by signal 11(SIGSEGV).0
80ms256kbKilled by signal 11(SIGSEGV).0
90ms256kbKilled by signal 11(SIGSEGV).0
100ms248kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?