Pagini recente » Borderou de evaluare (job #808098) | Borderou de evaluare (job #2978408) | Borderou de evaluare (job #2125954) | Borderou de evaluare (job #1448024) | Borderou de evaluare (job #1891420)
Borderou de evaluare (job #1891420)
Raport evaluator
Compilare:
user.c: In function ‘Bfs’:
user.c:75:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dur_tot[node][heads[node]] = duration[node];
^
user.c: In function ‘main’:
user.c:125:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘char *’ [-Wformat=]
fscanf(fin, "%d%d", &duration[i], &heads[i]);
^
user.c:125:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘char *’ [-Wformat=]
user.c:122:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d%d", &n, &p, &k);
^
user.c:125:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &duration[i], &heads[i]);
^
user.c:132:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 80ms | 504kb | OK | 10 |
4 | 0ms | 300kb | OK | 10 |
5 | 8ms | 448kb | OK | 10 |
6 | 0ms | 316kb | OK | 10 |
7 | 0ms | 280kb | OK | 10 |
8 | 0ms | 280kb | OK | 10 |
9 | 0ms | 300kb | OK | 10 |
10 | 12ms | 296kb | OK | 10 |
Punctaj total | 100 |