Pagini recente » Borderou de evaluare (job #1479052) | Borderou de evaluare (job #2048652) | Borderou de evaluare (job #637467) | Borderou de evaluare (job #2063137) | Borderou de evaluare (job #2367757)
Borderou de evaluare (job #2367757)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:34:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int it = 0; it < graph[current].size(); ++it) {
~~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:44:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
printf("%d ", INF == dist[it] ? -1 : dist[it]);
^
main.cpp:14:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("bfs.in", "r", stdin);
^
main.cpp:15:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("bfs.out", "w", stdout);
^
main.cpp:17:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &N, &M, &start);
^
main.cpp:20:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 7ms | 2490kb | OK | 10 |
2 | 7ms | 2490kb | OK | 10 |
3 | 7ms | 2490kb | OK | 10 |
4 | 12ms | 2621kb | OK | 10 |
5 | 19ms | 2752kb | OK | 10 |
6 | 74ms | 3538kb | OK | 10 |
7 | 188ms | 5111kb | OK | 10 |
8 | 190ms | 5898kb | OK | 10 |
9 | 875ms | 11665kb | OK | 10 |
10 | 873ms | 11665kb | OK | 10 |
Punctaj total | 100 |