Pagini recente » Borderou de evaluare (job #97347) | Borderou de evaluare (job #369590) | Borderou de evaluare (job #311981) | Borderou de evaluare (job #484119) | Borderou de evaluare (job #2467422)
Borderou de evaluare (job #2467422)
Raport evaluator
Compilare:
main.cpp: In function 'int dijkstra(int)':
main.cpp:39:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[u.nod].size(); i++)
~^~~~~~~~~~~~~~~~
main.cpp:45:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[u.nod].size(); i++)
~^~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:77:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<g[u].size(); i++)
~^~~~~~~~~~~~
main.cpp:59:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("dragoni.in", "r", stdin);
^
main.cpp:60:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dragoni.out", "w", stdout);
^
main.cpp:62:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &cer, &n, &m);
^
main.cpp:64:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &dragon[i]);
^
main.cpp:66:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &cost);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Corect! | 2 |
| 2 | 2ms | 131kb | Corect! | 2 |
| 3 | 3ms | 131kb | Corect! | 2 |
| 4 | 3ms | 131kb | Corect! | 2 |
| 5 | 3ms | 131kb | Corect! | 2 |
| 6 | 3ms | 131kb | Corect! | 2 |
| 7 | 6ms | 262kb | Corect! | 2 |
| 8 | 7ms | 262kb | Corect! | 2 |
| 9 | 8ms | 262kb | Corect! | 2 |
| 10 | 8ms | 364kb | Corect! | 2 |
| 11 | 2ms | 131kb | Corect! | 8 |
| 12 | 3ms | 262kb | Corect! | 8 |
| 13 | 6ms | 524kb | Corect! | 8 |
| 14 | 12ms | 917kb | Corect! | 8 |
| 15 | 48ms | 1769kb | Corect! | 8 |
| 16 | 119ms | 3080kb | Corect! | 8 |
| 17 | 222ms | 4583kb | Corect! | 8 |
| 18 | 250ms | 4587kb | Corect! | 8 |
| 19 | 302ms | 6160kb | Corect! | 8 |
| 20 | 280ms | 6160kb | Corect! | 8 |
| Punctaj total | 100 |