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