Borderou de evaluare (job #2454313)

Utilizator Cristy94Buleandra Cristian Cristy94 Data 7 septembrie 2019 22:10:37
Problema Taxa Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:76:36: warning: array subscript has type 'char' [-Wchar-subscripts] int L = curent.l + dx[k]; ^ main.cpp:77:36: warning: array subscript has type 'char' [-Wchar-subscripts] int C = curent.c + dy[k]; ^ main.cpp:86: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:86: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: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:50: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:54:38: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets( buf, 2 * N + 1, stdin); ^ main.cpp:100: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); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbIncorect0
23ms393kbOK10
33ms393kbOK10
45ms524kbIncorect0
54ms393kbOK10
66ms393kbOK10
74ms786kbOK10
819ms1441kbIncorect0
917ms2621kbOK10
1015ms3145kbOK10
Punctaj total70

Ceva nu functioneaza?