Pagini recente » Borderou de evaluare (job #2662713) | Borderou de evaluare (job #2261377) | Borderou de evaluare (job #313461) | Borderou de evaluare (job #515551) | Borderou de evaluare (job #3165157)
Borderou de evaluare (job #3165157)
Raport evaluator
Compilare:
main.cpp: In member function 'int Neighbours::getValue(std::pair<int, int>)':
main.cpp:19:64: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | if(i + indices.first >= indexedBy && i + indices.first < grid.size()
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
main.cpp: In constructor 'Graph::Graph(int, int, std::vector<std::pair<int, int> >&)':
main.cpp:102:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
102 | for (int i=0;i<edges.size();i++) {
| ~^~~~~~~~~~~~~
main.cpp: In constructor 'Graph::Graph(int, std::vector<std::vector<int> >&, bool, bool)':
main.cpp:116:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
116 | for (int i = 0; i < connections.size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp:124:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
124 | for(int i=0;i<connections.size();i++) {
| ~^~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graph::getBipartition()':
main.cpp:152:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
152 | for (int i = 0; i < connections[temp].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'int Graph::shortestBridge(std::vector<std::vector<int> >&)':
main.cpp:214:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
214 | for(int i=0;i<grid.size();i++) {
| ~^~~~~~~~~~~~
main.cpp:216:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
216 | for (int j = 0; j < grid[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~
main.cpp:246:26: warning: unused variable 'breakFor' [-Wunused-variable]
246 | bool breakFor = false;
| ^~~~~~~~
main.cpp: In member function 'std::vector<int> Graph::topologicalSort()':
main.cpp:284:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
284 | for(int i=0;i<precedence.size();i++)
| ~^~~~~~~~~~~~~~~~~~
main.cpp:294:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
294 | for(int i=0;i<connections[temp].size();i++) {
| ~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::transposeGraph(std::vector<std::vector<int> >&)':
main.cpp:315:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
315 | for(int i=0;i<graph.size();i++) {
| ~^~~~~~~~~~~~~
main.cpp:317:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
317 | for(int j=0;j<graph[i].size();j++) {
| ~^~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::DFSforCriticalConnections(int, std::vector<int>&, std::vector<int>&, std::vector<std::vector<int> >&)':
main.cpp:335:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
335 | for(int i=0;i<connections[node].size();i++) {
| ~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::pair<int, int> Graph::BFSFromOneNodeToAnother(int)':
main.cpp:377:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
377 | for(int i=0;i<connections[current].size();i++) {
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | OK | 10 |
2 | 0ms | 303kb | OK | 10 |
3 | 0ms | 303kb | OK | 10 |
4 | 1ms | 303kb | OK | 10 |
5 | 3ms | 557kb | OK | 10 |
6 | 4ms | 1081kb | OK | 10 |
7 | 19ms | 2375kb | OK | 10 |
8 | 43ms | 4984kb | OK | 10 |
9 | 69ms | 8601kb | OK | 10 |
10 | 78ms | 8568kb | OK | 10 |
Punctaj total | 100 |