Pagini recente » Borderou de evaluare (job #1519905) | Borderou de evaluare (job #624063) | Borderou de evaluare (job #2416540) | Borderou de evaluare (job #2455116) | Borderou de evaluare (job #2086839)
Borderou de evaluare (job #2086839)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:22: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
if((dp[1 - i & 1][j-1] + dp[i & 1][j-1]) == i)
^
user.cpp:34:38: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
dp[i & 1][j] = (dp[1 - i & 1][j-1] + dp[i & 1][j-1]);
^
user.cpp:41:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j;
^
user.cpp:23:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d",&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 428kb | OK | 10 |
2 | 0ms | 436kb | OK | 10 |
3 | 0ms | 432kb | OK | 10 |
4 | 0ms | 436kb | OK | 10 |
5 | 4ms | 448kb | OK | 10 |
6 | 4ms | 444kb | OK | 10 |
7 | 20ms | 468kb | OK | 10 |
8 | 204ms | 524kb | OK | 10 |
9 | 416ms | 560kb | OK | 10 |
10 | 616ms | 576kb | OK | 10 |
Punctaj total | 100 |