Pagini recente » Borderou de evaluare (job #486649) | Borderou de evaluare (job #3032360) | Borderou de evaluare (job #1945426) | Borderou de evaluare (job #715751) | Borderou de evaluare (job #784038)
Borderou de evaluare (job #784038)
Raport evaluator
Compilare:
user.cpp: In function ‘void BF()’:
user.cpp:75:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(dp[*it][now.cap - C[now.start]] > dp[now.start][now.cap] + D[now.start])
^
user.cpp:77:51: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dp[*it][now.cap - C[now.start]] = dp[now.start][now.cap] + D[now.start];
^
user.cpp:78:60: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!InQueue[*it][now.cap - C[now.start]])
^
user.cpp:81:66: warning: array subscript has type ‘char’ [-Wchar-subscripts]
InQueue[*it][now.cap - C[now.start]] = 1;
^
user.cpp:65:10: warning: unused variable ‘i’ [-Wunused-variable]
int i;
^
user.cpp: In function ‘int main()’:
user.cpp:24:36: 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:25:38: 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:27:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i %i", &N, &P, &K);
^
user.cpp:29:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i", &D[i], &C[i]);
^
user.cpp:39:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i", &X, &Y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 328kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 4ms | Depăşit | Memory limit exceeded. | 0 |
4 | 4ms | Depăşit | Memory limit exceeded. | 0 |
5 | 20ms | Depăşit | Memory limit exceeded. | 0 |
6 | 0ms | 408kb | Incorect | 0 |
7 | 4ms | 528kb | OK | 10 |
8 | 0ms | 312kb | Incorect | 0 |
9 | 4ms | Depăşit | Memory limit exceeded. | 0 |
10 | 4ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 30 |