Pagini recente » Borderou de evaluare (job #2527208) | Borderou de evaluare (job #963582) | Borderou de evaluare (job #929186) | Borderou de evaluare (job #2939146) | Borderou de evaluare (job #2652423)
Borderou de evaluare (job #2652423)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:126:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<arcs[a].size(); ++i)
~^~~~~~~~~~~~~~~
main.cpp:143:39: warning: format '%d' expects argument of type 'int', but argument 2 has type '__gnu_cxx::__alloc_traits<std::allocator<long int> >::value_type {aka long int}' [-Wformat=]
printf("%d ", distances[i]);
^
main.cpp:102:36: 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:103:38: 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:107:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:112:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &a, &b, &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 4ms | 131kb | Incorect | 0 |
4 | 5ms | 262kb | Incorect | 0 |
5 | 30ms | 917kb | Incorect | 0 |
6 | 56ms | 1572kb | Incorect | 0 |
7 | 65ms | 2228kb | Incorect | 0 |
8 | 183ms | 4313kb | OK | 10 |
9 | 101ms | 3932kb | Incorect | 0 |
10 | 333ms | 6291kb | Incorect | 0 |
Punctaj total | 30 |