Pagini recente » Borderou de evaluare (job #2504964) | Borderou de evaluare (job #48016) | Borderou de evaluare (job #863656) | Borderou de evaluare (job #2388389) | Borderou de evaluare (job #1385794)
Borderou de evaluare (job #1385794)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs()’:
user.cpp:38:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v[nod].size (); ++i)
^
user.cpp: In function ‘bool dijkstra()’:
user.cpp:66:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v[nod.x].size (); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:154:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < v[i].size (); ++j)
^
user.cpp:164:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < v[i].size (); ++j)
^
user.cpp:89:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("terenuri3d.in", "r", stdin);
^
user.cpp:90:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("terenuri3d.out", "w", stdout);
^
user.cpp:94:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d%d", &n, &m, &e);
^
user.cpp:97:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &x, &y);
^
user.cpp:99:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &cost[x][y]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 432kb | Cost gresit! | 0 |
2 | 0ms | 576kb | Cost gresit! | 0 |
3 | 4ms | 972kb | Cost gresit! | 0 |
4 | 8ms | 1292kb | Cost gresit! | 0 |
5 | 16ms | 1608kb | Cost gresit! | 0 |
6 | 36ms | 2356kb | Cost gresit! | 0 |
7 | 44ms | 2532kb | Cost gresit! | 0 |
8 | 80ms | 3072kb | Cost gresit! | 0 |
9 | 152ms | 3748kb | Cost gresit! | 0 |
10 | 156ms | 3748kb | Cost gresit! | 0 |
Punctaj total | 0 |