Pagini recente » Borderou de evaluare (job #2680780) | Borderou de evaluare (job #2974394) | Borderou de evaluare (job #206778) | Borderou de evaluare (job #1587818) | Borderou de evaluare (job #2652419)
Borderou de evaluare (job #2652419)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:125:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<arcs[a].size(); ++i)
~^~~~~~~~~~~~~~~
main.cpp:142: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 | 31ms | 917kb | Incorect | 0 |
6 | 59ms | 1572kb | Incorect | 0 |
7 | 83ms | 2359kb | Incorect | 0 |
8 | 186ms | 4444kb | Incorect | 0 |
9 | 109ms | 4194kb | Incorect | 0 |
10 | 323ms | 6160kb | Incorect | 0 |
Punctaj total | 20 |