Borderou de evaluare (job #1202857)

Utilizator xtreme77Patrick Sava xtreme77 Data 29 iunie 2014 20:48:43
Problema Permutari 4 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:25:51: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] else t[i&1][j]=(1LL*(j+1)*t[(i&1==1)?(0):(1)][j+1]+1LL*(i-j-1)*t[(i&1==1)?(0):(1)][j])op+(((j>=1)?(t[(i&1==1)?(0):(1)][j-1]):(0)))op; ^ user.cpp:25:88: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] else t[i&1][j]=(1LL*(j+1)*t[(i&1==1)?(0):(1)][j+1]+1LL*(i-j-1)*t[(i&1==1)?(0):(1)][j])op+(((j>=1)?(t[(i&1==1)?(0):(1)][j-1]):(0)))op; ^ user.cpp:25:124: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] else t[i&1][j]=(1LL*(j+1)*t[(i&1==1)?(0):(1)][j+1]+1LL*(i-j-1)*t[(i&1==1)?(0):(1)][j])op+(((j>=1)?(t[(i&1==1)?(0):(1)][j-1]):(0)))op; ^ user.cpp:33:42: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] t[i&1][j]=(1LL*(j+1)*t[(i&1==1)?(0):(1)][j+1]+1LL*(i-j-1)*t[(i&1==1)?(0):(1)][j])op+(((j>=1)?(t[(i&1==1)?(0):(1)][j-1]):(0)))op; ^ user.cpp:33:79: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] t[i&1][j]=(1LL*(j+1)*t[(i&1==1)?(0):(1)][j+1]+1LL*(i-j-1)*t[(i&1==1)?(0):(1)][j])op+(((j>=1)?(t[(i&1==1)?(0):(1)][j-1]):(0)))op; ^ user.cpp:33:115: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] t[i&1][j]=(1LL*(j+1)*t[(i&1==1)?(0):(1)][j+1]+1LL*(i-j-1)*t[(i&1==1)?(0):(1)][j])op+(((j>=1)?(t[(i&1==1)?(0):(1)][j-1]):(0)))op; ^ user.cpp:40:42: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] t[i&1][j]=(1LL*(j+1)*t[(i&1==1)?(0):(1)][j+1]+1LL*(i-j-1)*t[(i&1==1)?(0):(1)][j])op+(((j>=1)?(t[(i&1==1)?(0):(1)][j-1]):(0)))op; ^ user.cpp:40:79: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] t[i&1][j]=(1LL*(j+1)*t[(i&1==1)?(0):(1)][j+1]+1LL*(i-j-1)*t[(i&1==1)?(0):(1)][j])op+(((j>=1)?(t[(i&1==1)?(0):(1)][j-1]):(0)))op; ^ user.cpp:40:115: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] t[i&1][j]=(1LL*(j+1)*t[(i&1==1)?(0):(1)][j+1]+1LL*(i-j-1)*t[(i&1==1)?(0):(1)][j])op+(((j>=1)?(t[(i&1==1)?(0):(1)][j-1]):(0)))op; ^ user.cpp:18:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen( IN , "r" , stdin ); ^ user.cpp:19:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen( OUT , "w" , stdout ); ^ user.cpp:20:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1128ms300kbOK10
2128ms292kbOK10
34ms292kbOK10
412ms288kbOK10
5128ms296kbOK10
636ms292kbOK10
70ms296kbOK10
824ms280kbOK10
90ms272kbOK10
100ms268kbOK10
Punctaj total100

Ceva nu functioneaza?