Pagini recente » Borderou de evaluare (job #430048) | Borderou de evaluare (job #526965) | Borderou de evaluare (job #1179896) | Borderou de evaluare (job #1391019) | Borderou de evaluare (job #2807427)
Borderou de evaluare (job #2807427)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graf::out()':
main.cpp:56:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
56 | for(int j = 0 ; j < lista[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::bfs(int)':
main.cpp:154:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
154 | for(int index = 0; index < lista[nod].size(); index++)
| ~~~~~~^~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::dfs(std::vector<bool>&, int)':
main.cpp:170:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
170 | for(int index = 0; index < lista[start].size(); index++)
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::biconex()':
main.cpp:230:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::set<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
230 | 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:248:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
248 | 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:312:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
312 | 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:343:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
343 | for(int index = 0; index < lista[start].size(); index++)
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'bool Graf::Havel_Hakimi(int, std::vector<int>&)':
main.cpp:363:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
363 | if(nod > grade.size())
| ~~~~^~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::critical()':
main.cpp:389:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
389 | for(int index = 0; index < output.size(); index++)
| ~~~~~~^~~~~~~~~~~~~~~
main.cpp:391:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
391 | for(int secondIndex = 0; secondIndex < output[index].size(); secondIndex++)
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::dfs_critical(int, int, std::vector<int>&, std::vector<int>&, std::vector<std::vector<int> >&, int)':
main.cpp:401:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
401 | for(int index = 0; index < lista[nod].size(); index++)
| ~~~~~~^~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:582:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
582 | for(int index = 0; index < output.size(); index++)
| ~~~~~~^~~~~~~~~~~~~~~
main.cpp:584:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
584 | for(int secondIndex = 0; secondIndex < output[index].size(); secondIndex++)
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 188kb | Corect | 10 |
2 | 2ms | 184kb | Corect | 10 |
3 | 2ms | 184kb | Cost incorect | 0 |
4 | 6ms | 462kb | Cost incorect | 0 |
5 | 6ms | 446kb | Cost incorect | 0 |
6 | 202ms | 65552kb | Memory limit exceeded | 0 |
7 | 311ms | 65552kb | Memory limit exceeded | 0 |
8 | 199ms | 65556kb | Memory limit exceeded | 0 |
9 | 255ms | 39706kb | Cost incorect | 0 |
10 | 259ms | 65552kb | Memory limit exceeded | 0 |
Punctaj total | 20 |