Pagini recente » Borderou de evaluare (job #83559) | Borderou de evaluare (job #622981) | Borderou de evaluare (job #2104576) | Borderou de evaluare (job #331345) | Borderou de evaluare (job #1833247)
Borderou de evaluare (job #1833247)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:76: 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:26:76: 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:27:51: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
else dp[l][j] = dp[1-l][j-1] + (1LL<<j-1) * a;
^
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 | 268kb | OK | 5 | 5 |
| 2 | 0ms | 268kb | OK | 5 | 5 |
| 3 | 0ms | 268kb | Incorect | 0 | 0 |
| 4 | 0ms | 268kb | OK | 5 | 5 |
| 5 | 0ms | 268kb | Incorect | 0 | 0 |
| 6 | 0ms | 268kb | Incorect | 0 | 0 |
| 7 | 0ms | 264kb | Incorect | 0 | 0 |
| 8 | 0ms | 268kb | Incorect | 0 | 0 |
| 9 | 12ms | 272kb | Incorect | 0 | 0 |
| 10 | 12ms | 272kb | Incorect | 0 |
| 11 | 12ms | 264kb | Incorect | 0 |
| 12 | 12ms | 272kb | Incorect | 0 |
| 13 | 12ms | 264kb | Incorect | 0 |
| 14 | 12ms | 272kb | Incorect | 0 |
| 15 | 116ms | 264kb | OK | 5 | 0 |
| 16 | 92ms | 264kb | OK | 5 |
| 17 | 116ms | 272kb | Incorect | 0 |
| 18 | 120ms | 264kb | Incorect | 0 |
| 19 | 128ms | 268kb | Incorect | 0 |
| 20 | 132ms | 268kb | Incorect | 0 |
| Punctaj total | 15 |