Pagini recente » Borderou de evaluare (job #2502663) | Borderou de evaluare (job #3198840) | Borderou de evaluare (job #214291) | Borderou de evaluare (job #2784722) | Borderou de evaluare (job #3177833)
Borderou de evaluare (job #3177833)
Raport evaluator
Compilare:
main.cpp: In member function 'int Neighbours::getValue(std::pair<int, int>)':
main.cpp:36:64: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | 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:151: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]
151 | for (int i=0;i<edges.size();i++) {
| ~^~~~~~~~~~~~~
main.cpp: In constructor 'Graph::Graph(int, std::vector<std::vector<int> >&, bool)':
main.cpp:163:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
163 | for (int i = 0; i < connections.size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp:169:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
169 | for(int i=0;i<connections.size();i++) {
| ~^~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graph::getBipartition()':
main.cpp:203:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
203 | for (int i = 0; i < connections[temp].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'int Graph::shortestBridge(std::vector<std::vector<int> >&)':
main.cpp:254:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
254 | for(int i=0;i<grid.size();i++) {
| ~^~~~~~~~~~~~
main.cpp:256:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
256 | for (int j = 0; j < grid[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~
main.cpp:287:26: warning: unused variable 'breakFor' [-Wunused-variable]
287 | bool breakFor = false;
| ^~~~~~~~
main.cpp: In member function 'std::vector<int> Graph::topologicalSort(bool)':
main.cpp:320:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
320 | for(int i=0; i<connections.size(); i++) {
| ~^~~~~~~~~~~~~~~~~~~
main.cpp:333:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
333 | for(int i=0;i<precedence.size();i++)
| ~^~~~~~~~~~~~~~~~~~
main.cpp:343:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
343 | for(int i=0;i<connections[temp].size();i++) {
| ~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::transposeGraph()':
main.cpp:366:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
366 | for(int i=0;i<connections.size();i++) {
| ~^~~~~~~~~~~~~~~~~~~
main.cpp:367:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
367 | for(int j=0;j<connections[i].size();j++) {
| ~^~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::DFSforCriticalConnections(int, std::vector<int>&, std::vector<int>&, std::vector<std::vector<int> >&, std::vector<bool>&)':
main.cpp:380:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
380 | for(int i=0;i<connections[node].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 | 819kb | OK | 10 |
5 | 2ms | 1085kb | OK | 10 |
6 | 9ms | 4489kb | OK | 10 |
7 | 24ms | 8429kb | OK | 10 |
8 | 19ms | 7061kb | OK | 10 |
9 | 34ms | 11538kb | OK | 10 |
10 | 34ms | 11689kb | OK | 10 |
Punctaj total | 100 |