Pagini recente » Borderou de evaluare (job #2987611) | Borderou de evaluare (job #1317574) | Borderou de evaluare (job #1348594) | Borderou de evaluare (job #2255406) | Borderou de evaluare (job #1883006)
Borderou de evaluare (job #1883006)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:76:55: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
H.push(mp(dp[cap + c[i]][i], form(cap + c[i], i)));
^
user.cpp:18:22: note: in definition of macro ‘form’
#define form(a, b) ((a << 10) | b)
^
user.cpp:31:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.in","r",stdin);
^
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("zmeu2.out","w",stdout);
^
user.cpp:34:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &k, &n, &m);
^
user.cpp:36:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &d[i], &c[i]);
^
user.cpp:44:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 464kb | OK | 10 |
2 | 0ms | 448kb | OK | 10 |
3 | 100ms | 916kb | OK | 10 |
4 | Depăşit | 916kb | Time limit exceeded. | 0 |
5 | 8ms | 556kb | OK | 10 |
6 | 0ms | 500kb | OK | 10 |
7 | 4ms | 632kb | OK | 10 |
8 | 0ms | 472kb | OK | 10 |
9 | 48ms | 860kb | OK | 10 |
10 | 44ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 80 |