Borderou de evaluare (job #1202852)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:24: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:24: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:24: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:31: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:31: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:31: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:17: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:18: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:19: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
1Depăşit300kbTime limit exceeded.0
2Depăşit300kbTime limit exceeded.0
380ms296kbOK10
412ms296kbOK10
5Depăşit296kbTime limit exceeded.0
6112ms300kbOK10
70ms296kbOK10
824ms288kbOK10
90ms280kbOK10
100ms272kbOK10
Punctaj total70

Ceva nu functioneaza?