Pagini recente » Borderou de evaluare (job #1946236) | Borderou de evaluare (job #231877) | Borderou de evaluare (job #1776150) | Borderou de evaluare (job #2151806) | Borderou de evaluare (job #2787908)
Borderou de evaluare (job #2787908)
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"});
| ^~~~~~~~
main.cpp:19:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
19 | void BFS(char* fisierIesire={"bfs.out"});
| ^~~~~~~~~
main.cpp: In member function 'void Graf::BFS(char*)':
main.cpp:64:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
64 | for (int i = 0; i < lsAd[nodCrt].size(); i++)///trec prin toate nodurile adiacente
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:16:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
16 | Graf(char* fisierIntrare={"bfs.in"});
| ^~~~~~~~
main.cpp:19:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
19 | void BFS(char* fisierIesire={"bfs.out"});
| ^~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 184kb | OK | 10 |
2 | 1ms | 184kb | OK | 10 |
3 | 1ms | 184kb | Incorect | 0 |
4 | 4ms | 315kb | Incorect | 0 |
5 | 18ms | 446kb | Incorect | 0 |
6 | 67ms | 1847kb | Incorect | 0 |
7 | 203ms | 4317kb | Incorect | 0 |
8 | 168ms | 5984kb | Incorect | 0 |
9 | 1050ms | 14241kb | Time limit exceeded | 0 |
10 | 1058ms | 12099kb | Time limit exceeded | 0 |
Punctaj total | 20 |