Pagini recente » Borderou de evaluare (job #24327) | Borderou de evaluare (job #279336) | Borderou de evaluare (job #3145637) | Borderou de evaluare (job #3167433) | Borderou de evaluare (job #2454305)
Borderou de evaluare (job #2454305)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:88:73: warning: array subscript has type 'char' [-Wchar-subscripts]
int c = cost[curent.l][curent.c] + mul[v[curent.l][curent.c]][v[L][C]];
^
main.cpp:88:82: warning: array subscript has type 'char' [-Wchar-subscripts]
int c = cost[curent.l][curent.c] + mul[v[curent.l][curent.c]][v[L][C]];
^
main.cpp:54:9: warning: unused variable 'i' [-Wunused-variable]
int i;
^
main.cpp:48:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("taxa.in", "r", stdin);
^
main.cpp:49:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("taxa.out", "w", stdout);
^
main.cpp:51:56: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd%hd%hd%hd%hd\n",&N,&M,&l0,&c0,&lf,&cf);
^
main.cpp:56:41: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets( buf, 2 * Nmax + 1, stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 3ms | 393kb | OK | 10 |
3 | 3ms | 393kb | OK | 10 |
4 | 5ms | 524kb | OK | 10 |
5 | 4ms | 393kb | OK | 10 |
6 | 5ms | 393kb | OK | 10 |
7 | 4ms | 786kb | OK | 10 |
8 | 13ms | 1310kb | OK | 10 |
9 | 17ms | 2621kb | OK | 10 |
10 | 16ms | 3145kb | OK | 10 |
Punctaj total | 100 |