Pagini recente » Borderou de evaluare (job #1153152) | Borderou de evaluare (job #1095080) | Borderou de evaluare (job #3199625) | Borderou de evaluare (job #1647641) | Borderou de evaluare (job #783954)
Borderou de evaluare (job #783954)
Raport evaluator
Compilare:
user.cpp: In function ‘void BF()’:
user.cpp:70:63: warning: array subscript has type ‘char’ [-Wchar-subscripts]
int cost = max(0, now.cap - C[*it]), d = now.dist + D[*it];
^
user.cpp:70:87: warning: array subscript has type ‘char’ [-Wchar-subscripts]
int cost = max(0, now.cap - C[*it]), d = now.dist + D[*it];
^
user.cpp:71:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(dp[*it][cost] > d)
^
user.cpp:73:47: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dp[*it][cost] = d;
^
user.cpp:74:56: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!InQueue[*it][cost])
^
user.cpp:76:76: warning: array subscript has type ‘char’ [-Wchar-subscripts]
InQueue[*it][cost] = 1;
^
user.cpp:58:10: warning: unused variable ‘i’ [-Wunused-variable]
int i;
^
user.cpp: In function ‘int main()’:
user.cpp:25: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:26: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:28: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:30: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:40: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 | Incorect | 0 |
2 | 0ms | 300kb | Incorect | 0 |
3 | 4ms | Depăşit | Memory limit exceeded. | 0 |
4 | 4ms | Depăşit | Memory limit exceeded. | 0 |
5 | 4ms | Depăşit | Memory limit exceeded. | 0 |
6 | 0ms | 412kb | Killed by signal 6(SIGABRT). | 0 |
7 | 0ms | 472kb | Killed by signal 6(SIGABRT). | 0 |
8 | 0ms | 388kb | Killed by signal 6(SIGABRT). | 0 |
9 | 4ms | Depăşit | Memory limit exceeded. | 0 |
10 | 4ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |