Pagini recente » Borderou de evaluare (job #638559) | Borderou de evaluare (job #1755945) | Borderou de evaluare (job #2533252) | Borderou de evaluare (job #1865176) | Borderou de evaluare (job #1967515)
Borderou de evaluare (job #1967515)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:56:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.in","r",stdin);
^
user.cpp:57:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.out","w",stdout);
^
user.cpp:58:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:61:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &x, &y, &cost);
^
user.cpp: In function ‘void Dijsktra(int)’:
user.cpp:50:19: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(d[k]+p->cost<d[p->info]) d[p->info]=d[k]+p->cost;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 460kb | OK | 10 |
| 2 | 0ms | 460kb | OK | 10 |
| 3 | 4ms | 496kb | OK | 10 |
| 4 | 8ms | 512kb | OK | 10 |
| 5 | Depăşit | 848kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 1200kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 1484kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 3028kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 2012kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 4752kb | Time limit exceeded. | 0 |
| Punctaj total | 40 |