Pagini recente » Borderou de evaluare (job #390363) | Borderou de evaluare (job #1030708) | Borderou de evaluare (job #2040588) | Borderou de evaluare (job #1023042) | Borderou de evaluare (job #2816483)
Borderou de evaluare (job #2816483)
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 | 83ms | 1433kb | Raspuns corect! | 10 | 10 |
4 | 802ms | 11059kb | Time limit exceeded | 0 | 0 |
5 | 804ms | 23306kb | Time limit exceeded | 0 | 0 |
6 | 800ms | 39571kb | Time limit exceeded | 0 | 0 |
7 | 306ms | 20242kb | Raspuns corect! | 10 | 0 |
8 | 801ms | 32124kb | Time limit exceeded | 0 |
9 | 802ms | 31924kb | Time limit exceeded | 0 | 0 |
10 | 801ms | 33865kb | Time limit exceeded | 0 |
Punctaj total | 30 |