Pagini recente » Borderou de evaluare (job #1254668) | Borderou de evaluare (job #3004859) | Borderou de evaluare (job #1450944) | Borderou de evaluare (job #1945189) | Borderou de evaluare (job #1202848)
Borderou de evaluare (job #1202848)
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 |
| 1 | 0ms | 288kb | Incorect | 0 |
| 2 | 104ms | 292kb | Incorect | 0 |
| 3 | 80ms | 292kb | Incorect | 0 |
| 4 | 8ms | 288kb | Incorect | 0 |
| 5 | 148ms | 296kb | Incorect | 0 |
| 6 | 84ms | 288kb | Incorect | 0 |
| 7 | 0ms | 288kb | Incorect | 0 |
| 8 | 4ms | 280kb | Incorect | 0 |
| 9 | 0ms | 280kb | OK | 10 |
| 10 | 0ms | 276kb | Incorect | 0 |
| Punctaj total | 10 |