Pagini recente » Borderou de evaluare (job #1936959) | Borderou de evaluare (job #1192657) | Borderou de evaluare (job #1714182) | Borderou de evaluare (job #1212591) | Borderou de evaluare (job #1446861)
Borderou de evaluare (job #1446861)
Raport evaluator
Compilare:
user.cpp: In function ‘void dijkstra(int)’:
user.cpp:37:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < g[node].size() && !marked[node]; ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:53: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:54: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:56: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:60: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);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1056kb | OK | 10 |
| 2 | 0ms | 1052kb | OK | 10 |
| 3 | 0ms | 1088kb | OK | 10 |
| 4 | 0ms | 1096kb | OK | 10 |
| 5 | 20ms | 1376kb | OK | 10 |
| 6 | 40ms | 1712kb | OK | 10 |
| 7 | 56ms | 1820kb | OK | 10 |
| 8 | 64ms | 2012kb | OK | 10 |
| 9 | 204ms | 3828kb | OK | 10 |
| 10 | 272ms | 4860kb | OK | 10 |
| Punctaj total | 100 |