Pagini recente » Borderou de evaluare (job #2920225) | Borderou de evaluare (job #3167595) | Borderou de evaluare (job #3122769) | Borderou de evaluare (job #2898373) | Borderou de evaluare (job #2788401)
Borderou de evaluare (job #2788401)
Raport evaluator
Compilare:
main.cpp:16:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
16 | Graf(char* fisierIntrare={"bfs.in"});///constructor pentru problema bfs
| ^~~~~~~~
main.cpp:20:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
20 | void BFS(char* fisierIesire={"bfs.out"});///primul exercitiu(afiseaza intr-un fisier lungimea drumurilor de la un nod la restul)
| ^~~~~~~~~
main.cpp:21:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
21 | void DFS(char* fisierIesire="dfs.out");
| ^~~~~~~~~
main.cpp: In member function 'void Graf::BFS(char*)':
main.cpp:120:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
120 | for (int i = 0; i < lsAd[nodCrt].size(); i++)///trec prin toate nodurile adiacente
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:163:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
163 | g.DFS("dfs.out");
| ^~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 1ms | 184kb | OK | 5 |
| 2 | 1ms | 184kb | OK | 5 |
| 3 | 1ms | 184kb | OK | 5 |
| 4 | 19ms | 638kb | OK | 5 |
| 5 | 1ms | 184kb | OK | 5 |
| 6 | 1ms | 184kb | OK | 5 |
| 7 | 2ms | 184kb | OK | 5 |
| 8 | 1ms | 184kb | OK | 5 |
| 9 | 1ms | 184kb | OK | 5 |
| 10 | 1ms | 184kb | OK | 5 |
| 11 | 43ms | 1851kb | OK | 5 |
| 12 | 37ms | 2473kb | OK | 5 |
| 13 | 70ms | 3457kb | OK | 5 |
| 14 | 184ms | 5251kb | OK | 5 |
| 15 | 120ms | 5505kb | OK | 5 |
| 16 | 209ms | 6516kb | Time limit exceeded | 0 |
| 17 | 204ms | 10977kb | Time limit exceeded | 0 |
| 18 | 89ms | 7380kb | OK | 5 |
| 19 | 113ms | 7569kb | OK | 5 |
| 20 | 201ms | 9654kb | Time limit exceeded | 0 |
| Punctaj total | 85 |