Pagini recente » Borderou de evaluare (job #2194215) | Borderou de evaluare (job #2680025) | Borderou de evaluare (job #2494771) | Borderou de evaluare (job #211516) | Borderou de evaluare (job #1385797)
Borderou de evaluare (job #1385797)
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:155:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < v[i].size (); ++j)
^
user.cpp:166: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 | 200ms | 428kb | Cost gresit! | 0 |
2 | Depăşit | 544kb | Time limit exceeded. | 0 |
3 | Depăşit | 940kb | Time limit exceeded. | 0 |
4 | Depăşit | 1252kb | Time limit exceeded. | 0 |
5 | Depăşit | 1572kb | Time limit exceeded. | 0 |
6 | Depăşit | 2344kb | Time limit exceeded. | 0 |
7 | Depăşit | 2492kb | Time limit exceeded. | 0 |
8 | Depăşit | 3036kb | Time limit exceeded. | 0 |
9 | Depăşit | 3720kb | Time limit exceeded. | 0 |
10 | Depăşit | 3716kb | Time limit exceeded. | 0 |
Punctaj total | 0 |