Pagini recente » Borderou de evaluare (job #987561) | Borderou de evaluare (job #1314466) | Borderou de evaluare (job #1641789) | Borderou de evaluare (job #474648) | Borderou de evaluare (job #2294085)
Borderou de evaluare (job #2294085)
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 | Incorect | 0 |
3 | 3ms | 131kb | Incorect | 0 |
4 | 4ms | 131kb | Incorect | 0 |
5 | 17ms | 786kb | Incorect | 0 |
6 | 27ms | 1179kb | Incorect | 0 |
7 | 49ms | 1966kb | Incorect | 0 |
8 | 83ms | 2809kb | Incorect | 0 |
9 | 77ms | 3276kb | Incorect | 0 |
10 | 81ms | 3145kb | Incorect | 0 |
Punctaj total | 0 |