Pagini recente » Borderou de evaluare (job #209201) | Borderou de evaluare (job #753970) | Borderou de evaluare (job #351198) | Borderou de evaluare (job #126584) | Borderou de evaluare (job #2454329)
Borderou de evaluare (job #2454329)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:94:57: warning: array subscript has type 'char' [-Wchar-subscripts]
int c = cost[curent.idx] + mul[v[curent.idx]][v[newIdx]];
^
main.cpp:94:68: warning: array subscript has type 'char' [-Wchar-subscripts]
int c = cost[curent.idx] + mul[v[curent.idx]][v[newIdx]];
^
main.cpp:45: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:46: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:48: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:60: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 | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 8ms | 131kb | OK | 10 |
5 | 6ms | 131kb | OK | 10 |
6 | 6ms | 131kb | OK | 10 |
7 | 3ms | 262kb | OK | 10 |
8 | 15ms | 655kb | OK | 10 |
9 | 19ms | 1572kb | OK | 10 |
10 | 16ms | 3145kb | OK | 10 |
Punctaj total | 100 |