Pagini recente » Borderou de evaluare (job #587076) | Borderou de evaluare (job #1878343) | Borderou de evaluare (job #1372158) | Borderou de evaluare (job #2180111) | Borderou de evaluare (job #2803075)
Borderou de evaluare (job #2803075)
Raport evaluator
Compilare:
main.cpp:48:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
48 | 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:48:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
48 | 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:50:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
50 | void DFS(char* fisierIesire="dfs.out");
| ^~~~~~~~~
main.cpp: In member function 'void Graf::BFS(char*, char*)':
main.cpp:168:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
168 | for (int i = 0; i < lsAd[nodCrt].size(); i++)///trec prin toate nodurile adiacente
| ~~^~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 1ms | 184kb | OK | 10 | 10 |
2 | 1ms | 184kb | OK | 10 | 10 |
3 | 1ms | 184kb | OK | 10 | 10 |
4 | 1ms | 184kb | OK | 10 | 10 |
5 | 4ms | 184kb | OK | 10 | 30 |
6 | 65ms | 819kb | OK | 10 |
7 | 110ms | 815kb | OK | 10 |
8 | 89ms | 1089kb | OK | 10 | 10 |
9 | 41ms | 774kb | OK | 10 | 10 |
10 | 120ms | 1253kb | OK | 10 | 10 |
Punctaj total | 100 |