Borderou de evaluare (job #1146808)

Utilizator chiriacandrei25Chiriac Andrei chiriacandrei25 Data 19 martie 2014 12:07:51
Problema Substr Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘bool Ok(int)’: user.cpp:63:23: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] v1=(((1LL*((v1-(1LL*(a[i-L]-'0')*aux1)&(P1-1))+P1)&(P1-1))*X+a[i]-'0')&(P1-1)); ^ user.cpp:64:23: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] v2=(((1LL*((v2-(1LL*(a[i-L]-'0')*aux2)&(P2-1))+P2)&(P2-1))*Y+a[i]-'0')&(P2-1)); ^ user.cpp:78:24: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] v1=((((1LL*((v1-(1LL*(a[i-L]-'0')*aux1)&(P1-1))+P1))&(P1-1))*X+a[i]-'0')&(P1-1)); ^ user.cpp:79:24: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] v2=((((1LL*((v2-(1LL*(a[i-L]-'0')*aux2)&(P2-1))+P2))&(P2-1))*Y+a[i]-'0')&(P2-1)); ^ user.cpp: In function ‘int main()’: user.cpp:104:24: warning: ‘sol’ may be used uninitialized in this function [-Wmaybe-uninitialized] printf("%d\n", sol); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms2504kbIncorect0
2Depăşit4912kbTime limit exceeded.0
3Depăşit4976kbTime limit exceeded.0
424ms2864kbIncorect0
5Depăşit2824kbTime limit exceeded.0
6Depăşit2828kbTime limit exceeded.0
74ms2156kbIncorect0
816ms2272kbOK10
912ms2304kbIncorect0
10Depăşit2400kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?