Pagini recente » Borderou de evaluare (job #2856264) | Borderou de evaluare (job #939422) | Borderou de evaluare (job #693122) | Borderou de evaluare (job #2669743) | Borderou de evaluare (job #2454312)
Borderou de evaluare (job #2454312)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:80:36: warning: array subscript has type 'char' [-Wchar-subscripts]
int L = curent.l + dx[k];
^
main.cpp:81:36: warning: array subscript has type 'char' [-Wchar-subscripts]
int C = curent.c + dy[k];
^
main.cpp:90: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:90: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:104: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 |
1 | 2ms | 131kb | Incorect | 0 |
2 | 3ms | 393kb | OK | 10 |
3 | 4ms | 393kb | OK | 10 |
4 | 14ms | 524kb | Incorect | 0 |
5 | 4ms | 393kb | OK | 10 |
6 | 5ms | 393kb | OK | 10 |
7 | 4ms | 786kb | OK | 10 |
8 | 18ms | 1441kb | Incorect | 0 |
9 | 17ms | 2621kb | OK | 10 |
10 | 15ms | 3145kb | OK | 10 |
Punctaj total | 70 |