Pagini recente » Borderou de evaluare (job #2428353) | Borderou de evaluare (job #2353550) | Borderou de evaluare (job #2483036) | Borderou de evaluare (job #1907252) | Borderou de evaluare (job #1833256)
Borderou de evaluare (job #1833256)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:56: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:56: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:57:55: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
else dp[l][j] = dp[1-l][j-1] + (1LL<<j-1) * a;
^
user.cpp:32: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:33: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:40:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^
user.cpp:43: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 | 268kb | OK | 5 | 5 |
| 2 | 0ms | 268kb | OK | 5 | 5 |
| 3 | 0ms | 268kb | OK | 5 | 5 |
| 4 | 0ms | 272kb | OK | 5 | 5 |
| 5 | 0ms | 272kb | OK | 5 | 5 |
| 6 | 0ms | 268kb | OK | 5 | 5 |
| 7 | 0ms | 276kb | OK | 5 | 5 |
| 8 | 0ms | 276kb | OK | 5 | 5 |
| 9 | 8ms | 272kb | OK | 5 | 30 |
| 10 | 8ms | 272kb | OK | 5 |
| 11 | 8ms | 268kb | OK | 5 |
| 12 | 8ms | 276kb | OK | 5 |
| 13 | 8ms | 276kb | OK | 5 |
| 14 | 8ms | 276kb | OK | 5 |
| 15 | 148ms | 272kb | OK | 5 | 0 |
| 16 | 96ms | 268kb | OK | 5 |
| 17 | 96ms | 272kb | OK | 5 |
| 18 | 96ms | 272kb | OK | 5 |
| 19 | 96ms | 272kb | OK | 5 |
| 20 | 168ms | 272kb | Incorect | 0 |
| Punctaj total | 70 |