Pagini recente » Borderou de evaluare (job #1335368) | Borderou de evaluare (job #1974712) | Borderou de evaluare (job #2083595) | Borderou de evaluare (job #2223103) | Borderou de evaluare (job #2816579)
Borderou de evaluare (job #2816579)
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 | 188kb | Raspuns corect! | 10 | 10 |
2 | 2ms | 184kb | Raspuns corect! | 10 | 10 |
3 | 6ms | 684kb | Raspuns corect! | 10 | 10 |
4 | 54ms | 5148kb | Raspuns corect! | 10 | 10 |
5 | 130ms | 10534kb | Raspuns corect! | 10 | 10 |
6 | 465ms | 32108kb | Raspuns corect! | 10 | 10 |
7 | 111ms | 5464kb | Raspuns corect! | 10 | 20 |
8 | 613ms | 42672kb | Raspuns corect! | 10 |
9 | 553ms | 48644kb | Raspuns corect! | 10 | 20 |
10 | 747ms | 53325kb | Raspuns corect! | 10 |
Punctaj total | 100 |