Pagini recente » Borderou de evaluare (job #3135242) | Borderou de evaluare (job #2519043) | Borderou de evaluare (job #1962744) | Borderou de evaluare (job #2752371) | Borderou de evaluare (job #2816576)
Borderou de evaluare (job #2816576)
Raport evaluator
Compilare:
main.cpp:63:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
63 | void BFS(char* fisierIntrare ="bfs.in",char* fisierIesire={"bfs.out"});///primul exercitiu(afiseaza intr-un fisier lungimea drumurilor de la un nod la restul)
| ^~~~~~~~
main.cpp:63:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
63 | void BFS(char* fisierIntrare ="bfs.in",char* fisierIesire={"bfs.out"});///primul exercitiu(afiseaza intr-un fisier lungimea drumurilor de la un nod la restul)
| ^~~~~~~~~
main.cpp:65:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
65 | void DFS(char* fisierIesire="dfs.out");
| ^~~~~~~~~
main.cpp: In member function 'void Graf::BFS(char*, char*)':
main.cpp:209:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
209 | for (int i = 0; i < lsAd[nodCrt].size(); i++)///trec prin toate nodurile adiacente
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'bool Graf::BellmanFord(std::ifstream&, std::vector<int>&)':
main.cpp:721:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
721 | if (cost[vecin.first] > cost[nodCrt] + vecin.second) //vecin.first -> nodul catre care duce arcul // vecin.second -> costul arcului
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 184kb | Raspuns corect! | 10 | 10 |
2 | 2ms | 184kb | Raspuns corect! | 10 | 10 |
3 | 6ms | 565kb | Raspuns corect! | 10 | 10 |
4 | 78ms | 6471kb | Raspuns corect! | 10 | 10 |
5 | 159ms | 13275kb | Raspuns corect! | 10 | 10 |
6 | 557ms | 40357kb | Raspuns corect! | 10 | 10 |
7 | 111ms | 5468kb | Raspuns corect! | 10 | 20 |
8 | 739ms | 53768kb | Raspuns corect! | 10 |
9 | 803ms | 14000kb | Time limit exceeded | 0 | 0 |
10 | 786ms | 65552kb | Memory limit exceeded | 0 |
Punctaj total | 80 |