Pagini recente » Borderou de evaluare (job #464946) | Borderou de evaluare (job #773973) | Borderou de evaluare (job #915469) | Borderou de evaluare (job #180882) | Borderou de evaluare (job #1833243)
Borderou de evaluare (job #1833243)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:72: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
if( !deja[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:24:72: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
if( !deja[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:10: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:11: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:16:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^
user.cpp:19: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 | 264kb | Incorect | 0 | 0 |
| 2 | 0ms | 264kb | OK | 5 | 5 |
| 3 | 0ms | 264kb | Incorect | 0 | 0 |
| 4 | 0ms | 268kb | OK | 5 | 5 |
| 5 | 0ms | 264kb | Incorect | 0 | 0 |
| 6 | 0ms | 264kb | Incorect | 0 | 0 |
| 7 | 0ms | 264kb | Incorect | 0 | 0 |
| 8 | 0ms | 264kb | Incorect | 0 | 0 |
| 9 | 12ms | 264kb | Incorect | 0 | 0 |
| 10 | 12ms | 264kb | Incorect | 0 |
| 11 | 12ms | 268kb | Incorect | 0 |
| 12 | 12ms | 268kb | Incorect | 0 |
| 13 | 12ms | 264kb | Incorect | 0 |
| 14 | 12ms | 260kb | Incorect | 0 |
| 15 | 132ms | 264kb | Incorect | 0 | 0 |
| 16 | 132ms | 264kb | Incorect | 0 |
| 17 | 132ms | 268kb | Incorect | 0 |
| 18 | 136ms | 268kb | Incorect | 0 |
| 19 | 132ms | 268kb | Incorect | 0 |
| 20 | 132ms | 264kb | Incorect | 0 |
| Punctaj total | 10 |