Pagini recente » Borderou de evaluare (job #2118694) | Borderou de evaluare (job #2532490) | Borderou de evaluare (job #3144187) | Borderou de evaluare (job #3160093) | Borderou de evaluare (job #2677379)
Borderou de evaluare (job #2677379)
Raport evaluator
Compilare:
main.cpp: In function 'void dijkstra()':
main.cpp:89:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < g[x].size(); ++i) {
~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:107:39: 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);
^
main.cpp:108:41: 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);
^
main.cpp:112:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:114:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &z);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 1310kb | OK | 10 |
2 | 4ms | 1310kb | OK | 10 |
3 | 6ms | 1310kb | OK | 10 |
4 | 7ms | 1441kb | OK | 10 |
5 | 32ms | 1835kb | OK | 10 |
6 | 60ms | 2228kb | OK | 10 |
7 | 76ms | 2752kb | OK | 10 |
8 | 174ms | 4182kb | OK | 10 |
9 | 125ms | 4063kb | OK | 10 |
10 | 324ms | 5898kb | OK | 10 |
Punctaj total | 100 |