Pagini recente » Borderou de evaluare (job #1903356) | Borderou de evaluare (job #3172858) | Borderou de evaluare (job #1743488) | Borderou de evaluare (job #158949) | Borderou de evaluare (job #1780314)
Borderou de evaluare (job #1780314)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:43: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:45:24: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
if(best>dp[1-i&1][last]-sp[last])
^
user.cpp:46: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 | 280kb | OK | 10 |
| 2 | 0ms | 312kb | Incorect | 0 |
| 3 | 20ms | 556kb | Incorect | 0 |
| 4 | 36ms | 836kb | Incorect | 0 |
| 5 | 56ms | 1108kb | Incorect | 0 |
| 6 | 144ms | 3000kb | OK | 10 |
| 7 | 144ms | 3004kb | OK | 10 |
| 8 | 216ms | 3004kb | Incorect | 0 |
| 9 | 216ms | 3008kb | Incorect | 0 |
| 10 | 216ms | 3000kb | Incorect | 0 |
| Punctaj total | 30 |