Pagini recente » Borderou de evaluare (job #930119) | Borderou de evaluare (job #428621) | Borderou de evaluare (job #853156) | Borderou de evaluare (job #1628199) | Borderou de evaluare (job #1674893)
Borderou de evaluare (job #1674893)
Raport evaluator
Compilare:
user.cpp: In function ‘void enqueue(int, int, double, double)’:
user.cpp:65:23: warning: narrowing conversion of ‘l’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
q.push((cell){l, c});
^
user.cpp:65:23: warning: narrowing conversion of ‘c’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
user.cpp: In function ‘pair bellFord(cell, cell)’:
user.cpp:93:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
newDist = len + dist[h[l][c]][h[l0][c0]];
^
user.cpp:93:46: warning: array subscript has type ‘char’ [-Wchar-subscripts]
newDist = len + dist[h[l][c]][h[l0][c0]];
^
user.cpp:106:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return d[v.l][v.c];
^
user.cpp:106:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return d[v.l][v.c];
^
user.cpp: In function ‘int main()’:
user.cpp:121:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
fscanf(f, "%d", &h[i][j]);
^
user.cpp:125:68: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
fscanf(f, "%d %d %d %d", &start.l, &start.c, &finish.l, &finish.c);
^
user.cpp:125:68: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘char*’ [-Wformat=]
user.cpp:125:68: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘char*’ [-Wformat=]
user.cpp:125:68: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘char*’ [-Wformat=]
user.cpp:118:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d %lf", &N, &M, &L);
^
user.cpp:121:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &h[i][j]);
^
user.cpp:125:69: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d %d %d", &start.l, &start.c, &finish.l, &finish.c);
^
user.cpp:131:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("excursie.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 420kb | OK! | 5 |
2 | 0ms | 428kb | OK! | 5 |
3 | 0ms | 428kb | OK! | 5 |
4 | 0ms | 424kb | OK! | 5 |
5 | 0ms | 456kb | OK! | 5 |
6 | 0ms | 432kb | OK! | 5 |
7 | 0ms | 432kb | OK! | 5 |
8 | 0ms | 432kb | OK! | 5 |
9 | 0ms | 432kb | OK! | 5 |
10 | 0ms | 436kb | OK! | 5 |
11 | 0ms | 432kb | OK! | 5 |
12 | 0ms | 440kb | OK! | 5 |
13 | 0ms | 444kb | OK! | 5 |
14 | 0ms | 424kb | OK! | 5 |
15 | 0ms | 424kb | OK! | 5 |
16 | 0ms | 460kb | OK! | 5 |
17 | 0ms | 456kb | OK! | 5 |
18 | 0ms | 460kb | OK! | 5 |
19 | 0ms | 440kb | OK! | 5 |
20 | 0ms | 432kb | OK! | 5 |
Punctaj total | 100 |