Pagini recente » Borderou de evaluare (job #1141912) | Borderou de evaluare (job #1036215) | Borderou de evaluare (job #1159117) | Atasamentele paginii Profil ioana0307 | Borderou de evaluare (job #1992139)
Borderou de evaluare (job #1992139)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:32: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
dp[i & 1][j] = dp[1 - i & 1][j];
^
user.cpp:32:22: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
if(dp[1 - i & 1][j - i * cnt] > -1)
^
user.cpp:33:60: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
dp[i & 1][j] = std::max(dp[i & 1][j], dp[1 - i & 1][j - i * cnt] + sum);
^
user.cpp:13:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d %d " ,&n,&g);
^
user.cpp:15:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d %d " ,&w,&p);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 328ms | 2172kb | OK | 10 | 0 |
| 2 | 324ms | 2156kb | OK | 10 |
| 3 | 276ms | 2172kb | OK | 10 |
| 4 | 316ms | 2164kb | OK | 10 |
| 5 | 196ms | 2400kb | OK | 10 |
| 6 | 312ms | 2176kb | OK | 10 |
| 7 | 324ms | 2176kb | OK | 10 |
| 8 | 320ms | 2168kb | OK | 10 |
| 9 | 316ms | 2160kb | OK | 10 |
| 10 | Depăşit | 2408kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |