Pagini recente » Borderou de evaluare (job #525688) | Borderou de evaluare (job #854814) | Borderou de evaluare (job #1316141) | Borderou de evaluare (job #2576872) | Borderou de evaluare (job #1202852)
Borderou de evaluare (job #1202852)
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 | Depăşit | 300kb | Time limit exceeded. | 0 |
2 | Depăşit | 300kb | Time limit exceeded. | 0 |
3 | 80ms | 296kb | OK | 10 |
4 | 12ms | 296kb | OK | 10 |
5 | Depăşit | 296kb | Time limit exceeded. | 0 |
6 | 112ms | 300kb | OK | 10 |
7 | 0ms | 296kb | OK | 10 |
8 | 24ms | 288kb | OK | 10 |
9 | 0ms | 280kb | OK | 10 |
10 | 0ms | 272kb | OK | 10 |
Punctaj total | 70 |