Pagini recente » Borderou de evaluare (job #2959889) | Borderou de evaluare (job #915259) | Borderou de evaluare (job #845046) | Borderou de evaluare (job #1087979) | Borderou de evaluare (job #1202844)
Borderou de evaluare (job #1202844)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:47: 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:23:84: 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:23:120: 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: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 | 260kb | Time limit exceeded. | 0 |
2 | Depăşit | 264kb | Time limit exceeded. | 0 |
3 | 108ms | 280kb | OK | 10 |
4 | 40ms | 268kb | OK | 10 |
5 | Depăşit | 264kb | Time limit exceeded. | 0 |
6 | 144ms | 284kb | OK | 10 |
7 | 28ms | 272kb | OK | 10 |
8 | 24ms | 268kb | OK | 10 |
9 | 0ms | 260kb | OK | 10 |
10 | 0ms | 260kb | OK | 10 |
Punctaj total | 70 |