Pagini recente » Borderou de evaluare (job #2505736) | Borderou de evaluare (job #454112) | Borderou de evaluare (job #1439325) | Borderou de evaluare (job #2731933) | Borderou de evaluare (job #1366398)
Borderou de evaluare (job #1366398)
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:143:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < v[i].size (); ++j)
^
user.cpp:89:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("cmcm.in", "r", stdin);
^
user.cpp:90:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("cmcm.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 | 416kb | Corect | 10 |
2 | 0ms | 404kb | Corect | 10 |
3 | 12ms | 1316kb | Corect | 10 |
4 | 12ms | 1244kb | Corect | 10 |
5 | 12ms | 1256kb | Corect | 10 |
6 | 232ms | 3420kb | Corect | 10 |
7 | 224ms | 3660kb | Corect | 10 |
8 | 420ms | 4488kb | Corect | 10 |
9 | 424ms | 4480kb | Corect | 10 |
10 | 428ms | 4480kb | Corect | 10 |
Punctaj total | 100 |