Pagini recente » Borderou de evaluare (job #2074223) | Borderou de evaluare (job #1647736) | Borderou de evaluare (job #1086463) | Borderou de evaluare (job #2402720) | Borderou de evaluare (job #1780320)
Borderou de evaluare (job #1780320)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:27: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
dp[i&1][j]=dp[1-i&1][dq[b]]+s-(sp[j]-sp[dq[b]]);
^
user.cpp:48:24: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
if(best>dp[1-i&1][last]-sp[last])
^
user.cpp:49:23: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
best=dp[1-i&1][last]-sp[last];
^
user.cpp:19:13: warning: unused variable ‘poz’ [-Wunused-variable]
int i,j,poz,b,e,last,n,k,s,x;
^
user.cpp:23:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d %d %d " ,&n,&k,&s);
^
user.cpp:25:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d " ,&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OK | 10 |
2 | 0ms | 316kb | Incorect | 0 |
3 | 20ms | 564kb | Incorect | 0 |
4 | 36ms | 840kb | Incorect | 0 |
5 | 56ms | 1116kb | Incorect | 0 |
6 | 148ms | 3008kb | OK | 10 |
7 | 148ms | 3012kb | OK | 10 |
8 | 220ms | 3012kb | Incorect | 0 |
9 | 220ms | 3008kb | Incorect | 0 |
10 | 220ms | 3004kb | Incorect | 0 |
Punctaj total | 30 |