Pagini recente » Borderou de evaluare (job #1090778) | Cod sursa (job #914701) | Borderou de evaluare (job #2522288) | Borderou de evaluare (job #2572291) | Borderou de evaluare (job #1488958)
Borderou de evaluare (job #1488958)
Raport evaluator
Compilare:
user.cpp: In function ‘void dijkstra(int)’:
user.cpp:34:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < graf[crt.second].size (); i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:48:40: 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:49:42: 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:51: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:53:55: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d%d", &mG[i].x, &mG[i].y, &mG[i].c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 860kb | OK | 10 |
| 2 | 0ms | 860kb | OK | 10 |
| 3 | 0ms | 900kb | OK | 10 |
| 4 | 0ms | 924kb | OK | 10 |
| 5 | 24ms | 1368kb | OK | 10 |
| 6 | 44ms | 1864kb | OK | 10 |
| 7 | 60ms | 2100kb | OK | 10 |
| 8 | 72ms | 2516kb | OK | 10 |
| 9 | 232ms | 5012kb | OK | 10 |
| 10 | 304ms | 6360kb | OK | 10 |
| Punctaj total | 100 |