Pagini recente » Borderou de evaluare (job #1823884) | Borderou de evaluare (job #2960015) | Borderou de evaluare (job #2295901) | Borderou de evaluare (job #1871430) | Borderou de evaluare (job #2432440)
Borderou de evaluare (job #2432440)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graph::bfs_min_distance(int)':
main.cpp:39:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0 ; i < adj[index].size() ; ++i) {
~~^~~~~~~~~~~~~~~~~~~
main.cpp:50:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1 ; i < distance.size() ; ++i) {
~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:62:31: 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:63:33: 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:65:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &N, &M, &S);
^
main.cpp:71:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &src, &dest);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 8ms | 262kb | OK | 10 |
5 | 16ms | 262kb | OK | 10 |
6 | 73ms | 1572kb | OK | 10 |
7 | 197ms | 3932kb | OK | 10 |
8 | 182ms | 5767kb | OK | 10 |
9 | 876ms | 11665kb | OK | 10 |
10 | 855ms | 11534kb | OK | 10 |
Punctaj total | 100 |