Pagini recente » Cod sursa (job #116338) | ACM Unibuc 2014 - 2015 | Borderou de evaluare (job #1552619) | Monitorul de evaluare | Borderou de evaluare (job #2792874)
Borderou de evaluare (job #2792874)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graf::bfs(int)':
main.cpp:115:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
115 | for(int i=0; i<listaAdiacenta[nodCurent].size(); i++)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::sortareTopologica(std::ostream&)':
main.cpp:143:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
143 | for(int i = 0; i < listaAdiacenta[nodCurent].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::initializareCompBiconexe(std::ostream&)':
main.cpp:228:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
228 | for(int i = 0; i < nrComponenteBiconexe; i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:229:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
229 | for(int j = 0; j < componenteBiconexe[i].size(); j++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::initializareCompTareConexe(std::ostream&)':
main.cpp:304:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
304 | for(int i = 0; i < nrComponenteTareConexe; i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:305:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
305 | for(int j = 0; j < listaComponenteTareConexe[i].size(); j++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:389:65: warning: unused variable 'nodStart' [-Wunused-variable]
389 | int noduri, muchii, extremitateInitiala, extremitateFinala, nodStart;
| ^~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 4ms | 3129kb | Corect | 10 | 30 |
| 2 | 4ms | 3452kb | Corect | 10 |
| 3 | 12ms | 4243kb | Corect | 10 |
| 4 | 8ms | 4317kb | Corect | 10 | 30 |
| 5 | 20ms | 4435kb | Corect | 10 |
| 6 | 19ms | 4898kb | Corect | 10 |
| 7 | 35ms | 5627kb | Corect | 10 | 30 |
| 8 | 131ms | 7520kb | Corect | 10 |
| 9 | 275ms | 11665kb | Corect | 10 |
| 10 | 356ms | 15552kb | Time limit exceeded | 0 | 0 |
| Punctaj total | 90 |