Pagini recente » Borderou de evaluare (job #1934393) | Borderou de evaluare (job #2434039) | Borderou de evaluare (job #2173979) | Borderou de evaluare (job #2089973) | Borderou de evaluare (job #2797172)
Borderou de evaluare (job #2797172)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graf::out()':
main.cpp:43:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | for(int j = 0 ; j < lista[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::bfs(int)':
main.cpp:106:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
106 | for(int index = 0; index < lista[nod].size(); index++)
| ~~~~~~^~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::dfs(std::vector<bool>&, int)':
main.cpp:122:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
122 | for(int index = 0; index < lista[start].size(); index++)
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::biconex()':
main.cpp:182:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::set<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
182 | for(int index = 0; index < componenteBiconexe.size(); index++)
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::dfs_biconex(int, std::vector<bool>&, int, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::vector<std::pair<int, int> >&, int&, std::vector<std::set<int> >&)':
main.cpp:200:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
200 | for(int index = 0; index < lista[start].size(); index++)
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::componenteTareConexe(int, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::vector<bool>&, std::stack<int>&, std::vector<std::vector<int> >&, int)':
main.cpp:265:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
265 | for(int index = 0; index < lista[nod].size(); index++)
| ~~~~~~^~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::sortaret(int, std::vector<bool>&, std::vector<int>&)':
main.cpp:296:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
296 | for(int index = 0; index < lista[start].size(); index++)
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:412:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
412 | for(int index = 0; index < output.size(); index++)
| ~~~~~~^~~~~~~~~~~~~~~
main.cpp:414:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
414 | for(int secondIndex = 0; secondIndex < output[index].size(); secondIndex++)
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 188kb | OK | 10 |
2 | 1ms | 184kb | OK | 10 |
3 | 1ms | 184kb | OK | 10 |
4 | 1ms | 184kb | OK | 10 |
5 | 15ms | 380kb | OK | 10 |
6 | 5ms | 438kb | OK | 10 |
7 | 20ms | 1028kb | OK | 10 |
8 | 31ms | 1458kb | OK | 10 |
9 | 49ms | 2555kb | OK | 10 |
10 | 149ms | 3096kb | OK | 10 |
Punctaj total | 100 |