Pagini recente » Borderou de evaluare (job #1204436) | Borderou de evaluare (job #1581754) | Borderou de evaluare (job #2904603) | Borderou de evaluare (job #761465) | Borderou de evaluare (job #2796025)
Borderou de evaluare (job #2796025)
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 | 184kb | Raspuns gresit | 0 |
2 | 1ms | 184kb | Raspuns gresit | 0 |
3 | 1ms | 184kb | Raspuns gresit | 0 |
4 | 1ms | 184kb | Raspuns gresit | 0 |
5 | 11ms | 307kb | Raspuns gresit | 0 |
6 | 6ms | 626kb | Raspuns gresit | 0 |
7 | 14ms | 1355kb | Raspuns gresit | 0 |
8 | 27ms | 1896kb | Raspuns gresit | 0 |
9 | 54ms | 3506kb | Raspuns gresit | 0 |
10 | 99ms | 4374kb | Raspuns gresit | 0 |
Punctaj total | 0 |