Pagini recente » Borderou de evaluare (job #2228836) | Borderou de evaluare (job #135506) | Borderou de evaluare (job #1666593) | Borderou de evaluare (job #2283380) | Borderou de evaluare (job #2802656)
Borderou de evaluare (job #2802656)
Raport evaluator
Compilare:
main.cpp:45:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
45 | 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:45:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
45 | 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:47:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
47 | void DFS(char* fisierIesire="dfs.out");
| ^~~~~~~~~
main.cpp: In member function 'void Graf::BFS(char*, char*)':
main.cpp:162:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
162 | 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 | Corect | 10 |
| 2 | 1ms | 184kb | Corect | 10 |
| 3 | 3ms | 192kb | Corect | 10 |
| 4 | 1ms | 217kb | Corect | 10 |
| 5 | 1ms | 184kb | Corect | 10 |
| 6 | 350ms | 9519kb | Corect | 10 |
| 7 | 403ms | 14204kb | Corect | 10 |
| 8 | 90ms | 3006kb | Corect | 10 |
| 9 | 95ms | 3510kb | Corect | 10 |
| 10 | 611ms | 12193kb | Corect | 10 |
| Punctaj total | 100 |