Pagini recente » Borderou de evaluare (job #2287560) | Borderou de evaluare (job #2895329) | Borderou de evaluare (job #2108977) | Borderou de evaluare (job #2537580) | Borderou de evaluare (job #2796024)
Borderou de evaluare (job #2796024)
Raport evaluator
Compilare:
main.cpp:14:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
14 | Graf(char* fisierIntrare={"bfs.in"});///constructor pentru problema bfs
| ^~~~~~~~
main.cpp:18:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
18 | void BFS(char* fisierIesire={"bfs.out"});///primul exercitiu(afiseaza intr-un fisier lungimea drumurilor de la un nod la restul)
| ^~~~~~~~~
main.cpp:20:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
20 | void DFS(char* fisierIesire="dfs.out");
| ^~~~~~~~~
main.cpp: In member function 'void Graf::BFS(char*)':
main.cpp:129:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
129 | for (int i = 0; i < lsAd[nodCrt].size(); i++)///trec prin toate nodurile adiacente
| ~~^~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 188kb | Raspuns gresit | 0 |
2 | 1ms | 184kb | Raspuns gresit | 0 |
3 | 1ms | 184kb | Raspuns gresit | 0 |
4 | 1ms | 184kb | Raspuns gresit | 0 |
5 | 1ms | 184kb | Raspuns gresit | 0 |
6 | 8ms | 593kb | Raspuns gresit | 0 |
7 | 19ms | 1478kb | Raspuns gresit | 0 |
8 | 38ms | 1941kb | Raspuns gresit | 0 |
9 | 81ms | 3592kb | Raspuns gresit | 0 |
10 | 97ms | 4366kb | Raspuns gresit | 0 |
Punctaj total | 0 |