Pagini recente » Borderou de evaluare (job #466523) | Borderou de evaluare (job #1434413) | Borderou de evaluare (job #2949400) | Borderou de evaluare (job #1650018) | Borderou de evaluare (job #2792639)
Borderou de evaluare (job #2792639)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graph::printGraph()':
main.cpp:76:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
76 | for(int j = 0; j < adlist[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In member function 'Graph Graph::transpose()':
main.cpp:152:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
152 | for(j = 0; j < adlist[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::stronglyConnectedComponents()':
main.cpp:184:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
184 | for(j = 0; j < comp[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'bool Graph::graphExistsHakimi(std::vector<int>&, int)':
main.cpp:223:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
223 | if(degree > dg.size())//check if enough elements are in the list
| ~~~~~~~^~~~~~~~~~~
main.cpp:226:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
226 | for(int i = 0; i < dg.size(); ++i) //substract 1 from the following
| ~~^~~~~~~~~~~
main.cpp: In member function 'std::vector<std::vector<int> > Graph::criticalConnections(int, std::vector<std::vector<int> >&)':
main.cpp:280:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
280 | for(int i = 0; i < connections.size(); ++i)//for each edge
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::biconnectedComponents()':
main.cpp:311:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
311 | for(int i = 0; i < biconnected.size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp:314:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
314 | for(int j = 0 ; j < comp.size(); ++j)
| ~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:358:9: warning: unused variable 'i' [-Wunused-variable]
358 | int i, first, n, m;
| ^
main.cpp:358:12: warning: unused variable 'first' [-Wunused-variable]
358 | int i, first, n, m;
| ^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 19ms | 5455kb | OK | 5 |
2 | 12ms | 5480kb | OK | 5 |
3 | 3ms | 3059kb | OK | 5 |
4 | 16ms | 5812kb | OK | 5 |
5 | 11ms | 5472kb | OK | 5 |
6 | 12ms | 5595kb | OK | 5 |
7 | 10ms | 4931kb | OK | 5 |
8 | 12ms | 5578kb | OK | 5 |
9 | 9ms | 5550kb | OK | 5 |
10 | 10ms | 5496kb | OK | 5 |
11 | 46ms | 6578kb | OK | 5 |
12 | 27ms | 6504kb | OK | 5 |
13 | 36ms | 6926kb | OK | 5 |
14 | 51ms | 6967kb | OK | 5 |
15 | 64ms | 7385kb | OK | 5 |
16 | 101ms | 7847kb | OK | 5 |
17 | 108ms | 14000kb | OK | 5 |
18 | 9ms | 5943kb | OK | 5 |
19 | 26ms | 6119kb | OK | 5 |
20 | 106ms | 8232kb | OK | 5 |
Punctaj total | 100 |