Pagini recente » Borderou de evaluare (job #2814412) | Borderou de evaluare (job #1397579) | Borderou de evaluare (job #2955794) | Borderou de evaluare (job #2357929) | Borderou de evaluare (job #1833250)
Borderou de evaluare (job #1833250)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:80: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
if( dp[l][j] ) dp[l][j] = MIN( dp[l][j], dp[1-l][j-1] + (1LL<<j-1) * a );
^
user.cpp:3:23: note: in definition of macro ‘MIN’
#define MIN(a,b)((a)<(b)?(a):(b))
^
user.cpp:39:80: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
if( dp[l][j] ) dp[l][j] = MIN( dp[l][j], dp[1-l][j-1] + (1LL<<j-1) * a );
^
user.cpp:3:31: note: in definition of macro ‘MIN’
#define MIN(a,b)((a)<(b)?(a):(b))
^
user.cpp:40:55: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
else dp[l][j] = dp[1-l][j-1] + (1LL<<j-1) * a;
^
user.cpp:17:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hacker3.in","r",stdin);
^
user.cpp:18:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hacker3.out","w",stdout);
^
user.cpp:23:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^
user.cpp:26:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&a,&b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 272kb | OK | 5 | 5 |
| 2 | 0ms | 268kb | OK | 5 | 5 |
| 3 | 0ms | 272kb | OK | 5 | 5 |
| 4 | 0ms | 272kb | OK | 5 | 5 |
| 5 | 4ms | 276kb | OK | 5 | 5 |
| 6 | 4ms | 276kb | OK | 5 | 5 |
| 7 | 4ms | 272kb | OK | 5 | 5 |
| 8 | 4ms | 276kb | OK | 5 | 5 |
| 9 | 32ms | 272kb | OK | 5 | 30 |
| 10 | 32ms | 272kb | OK | 5 |
| 11 | 32ms | 272kb | OK | 5 |
| 12 | 36ms | 276kb | OK | 5 |
| 13 | 36ms | 268kb | OK | 5 |
| 14 | 32ms | 276kb | OK | 5 |
| 15 | Depăşit | 244kb | Time limit exceeded. | 0 | 0 |
| 16 | 364ms | 272kb | OK | 5 |
| 17 | 616ms | 272kb | OK | 5 |
| 18 | 592ms | 276kb | OK | 5 |
| 19 | 348ms | 272kb | OK | 5 |
| 20 | 764ms | 272kb | Incorect | 0 |
| Punctaj total | 70 |