Pagini recente » Borderou de evaluare (job #1504434) | Borderou de evaluare (job #799210) | Borderou de evaluare (job #1380289) | Borderou de evaluare (job #1641203) | Borderou de evaluare (job #2814370)
Borderou de evaluare (job #2814370)
Raport evaluator
Compilare:
main.cpp: In function 'std::ostream& operator<<(std::ostream&, const Graf&)':
main.cpp:162:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
162 | for (int j = 1; j < grafDat.lisAdiacenta[i].size(); ++j) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graf::BFS(int)':
main.cpp:219:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
219 | for (int i = 1; i < lisAdiacenta[x].size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:209:12: warning: unused variable 'y' [-Wunused-variable]
209 | int x, y;
| ^
main.cpp: In member function 'void Graf::DFS(int, std::vector<bool>&, std::stack<int>&)':
main.cpp:234:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
234 | for(int i = 1; i < lisAdiacenta[x].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::biconexeDFS(int, int, std::vector<int>&, std::vector<int>&, std::stack<int>&, std::string&, int&, std::vector<bool>&)':
main.cpp:263:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
263 | for (int i = 1; i < lisAdiacenta[x].size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::ctcDFS(int, std::vector<int>&, std::vector<int>&, std::stack<int>&, std::vector<bool>&, std::vector<std::vector<int> >&)':
main.cpp:315:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
315 | for (int i = 1; i < lisAdiacenta[x].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void Rezolva_BFS(std::string, std::string)':
main.cpp:789:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
789 | for(int i = 1; i < rez.size() ; ++i) {
| ~~^~~~~~~~~~~~
main.cpp: In function 'void Rezolva_CTC(std::string, std::string)':
main.cpp:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
816 | for (int i = 0; i < rez.size(); ++i) {
| ~~^~~~~~~~~~~~
main.cpp:817:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
817 | for (int j = 0; j < rez[i].size(); ++j) {
| ~~^~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | Raspuns gresit | 0 |
2 | 2ms | 184kb | Raspuns gresit | 0 |
3 | 2ms | 262kb | Raspuns gresit | 0 |
4 | 2ms | 184kb | Raspuns gresit | 0 |
5 | 6ms | 593kb | Raspuns gresit | 0 |
6 | 16ms | 1273kb | Raspuns gresit | 0 |
7 | 35ms | 2568kb | Raspuns gresit | 0 |
8 | 54ms | 3604kb | Raspuns gresit | 0 |
9 | 125ms | 7143kb | Raspuns gresit | 0 |
10 | 182ms | 10510kb | Raspuns gresit | 0 |
Punctaj total | 0 |