Pagini recente » Borderou de evaluare (job #1096714) | Borderou de evaluare (job #1362621) | Borderou de evaluare (job #2442019) | Borderou de evaluare (job #1569984) | Borderou de evaluare (job #2454340)
Borderou de evaluare (job #2454340)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:79:54: warning: array subscript has type 'char' [-Wchar-subscripts]
ui c = cost[curentIdx] + mul[v[curentIdx]][v[newIdx]];
^
main.cpp:79:65: warning: array subscript has type 'char' [-Wchar-subscripts]
ui c = cost[curentIdx] + mul[v[curentIdx]][v[newIdx]];
^
main.cpp:38: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:39: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:41: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:48:39: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(buf, sizeof(buf), 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 | 7ms | 131kb | OK | 10 |
| 5 | 6ms | 131kb | OK | 10 |
| 6 | 6ms | 131kb | OK | 10 |
| 7 | 4ms | 262kb | OK | 10 |
| 8 | 15ms | 655kb | OK | 10 |
| 9 | 19ms | 1572kb | OK | 10 |
| 10 | 17ms | 3145kb | OK | 10 |
| Punctaj total | 100 |