Borderou de evaluare (job #2803851)
Raport evaluator
Compilare:
main.cpp:57:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
57 | 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:57:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
57 | 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:59:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
59 | void DFS(char* fisierIesire="dfs.out");
| ^~~~~~~~~
main.cpp: In member function 'void Graf::BFS(char*, char*)':
main.cpp:182:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
182 | for (int i = 0; i < lsAd[nodCrt].size(); i++)///trec prin toate nodurile adiacente
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:857:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
857 | for (int i = 2; i < cost.size(); i++)
| ~~^~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 503ms | 184kb | Time limit exceeded | 0 | 0 |
| 2 | 506ms | 184kb | Time limit exceeded | 0 | 0 |
| 3 | 1ms | 184kb | Incorect | 0 | 0 |
| 4 | 2ms | 184kb | Incorect | 0 | 0 |
| 5 | 1ms | 184kb | Incorect | 0 | 0 |
| 6 | 1ms | 184kb | Incorect | 0 | 0 |
| 7 | 1ms | 184kb | Incorect | 0 |
| 8 | 500ms | 1298kb | Time limit exceeded | 0 | 0 |
| 9 | 50ms | 1454kb | Incorect | 0 |
| 10 | 1ms | 184kb | Incorect | 0 |
| 11 | 500ms | 2199kb | Time limit exceeded | 0 | 0 |
| 12 | 116ms | 2686kb | Incorect | 0 |
| 13 | 97ms | 2338kb | Incorect | 0 |
| 14 | 143ms | 3444kb | Incorect | 0 |
| 15 | 221ms | 4116kb | Incorect | 0 | 0 |
| 16 | 134ms | 3547kb | Incorect | 0 |
| 17 | 2ms | 184kb | Incorect | 0 |
| 18 | 252ms | 5468kb | Incorect | 0 | 0 |
| 19 | 249ms | 6176kb | Incorect | 0 |
| 20 | 1ms | 184kb | Incorect | 0 |
| Punctaj total | 0 |