Pagini recente » Borderou de evaluare (job #1794024) | Borderou de evaluare (job #2591363) | Borderou de evaluare (job #2349102) | Borderou de evaluare (job #2131713) | Borderou de evaluare (job #2294102)
Borderou de evaluare (job #2294102)
Raport evaluator
Compilare:
main.cpp: In function 'std::vector<int> dijkstra(const std::vector<std::vector<std::pair<int, int> > >&, int)':
main.cpp:26:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < graph[current].size(); i++) {
~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:55:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i < dist.size(); i++) {
~~^~~~~~~~~~~~~
main.cpp:41: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:42: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:44: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:49:45: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &src, &dst, &weight);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect | 0 |
2 | 2ms | 131kb | OK | 10 |
3 | 3ms | 131kb | Incorect | 0 |
4 | 3ms | 131kb | Incorect | 0 |
5 | 14ms | 655kb | Incorect | 0 |
6 | 22ms | 917kb | Incorect | 0 |
7 | 40ms | 1703kb | Incorect | 0 |
8 | 72ms | 2621kb | Incorect | 0 |
9 | 56ms | 2883kb | Incorect | 0 |
10 | 66ms | 2752kb | Incorect | 0 |
Punctaj total | 10 |