Pagini recente » Borderou de evaluare (job #545307) | Borderou de evaluare (job #2641580) | Borderou de evaluare (job #929790) | Borderou de evaluare (job #2619538) | Borderou de evaluare (job #2798117)
Borderou de evaluare (job #2798117)
Raport evaluator
Compilare:
main.cpp: In function 'std::ostream& operator<<(std::ostream&, const Graf&)':
main.cpp:112:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
112 | for (int j = 1; j < grafDat.lisAdiacenta[i].size(); ++j) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graf::BFS(int)':
main.cpp:159:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
159 | for (int i = 1; i < lisAdiacenta[x].size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:149:12: warning: unused variable 'y' [-Wunused-variable]
149 | int x, y;
| ^
main.cpp: In member function 'void Graf::DFS(int, std::vector<bool>&, std::stack<int>&)':
main.cpp:183:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
183 | for(int i = 1; i < lisAdiacenta[x].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In static member function 'static void Graf::existaGraf(std::vector<int>&, std::ostream&)':
main.cpp:226:23: 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 < grade.size(); ++i)
| ~~^~~~~~~~~~~~~~
main.cpp:244:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
244 | if (fst > grade.size()) { //daca avem un grad mai mare decat numarul de noduri ramase
| ~~~~^~~~~~~~~~~~~~
main.cpp:258:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
258 | if(j >= grade.size())
| ~~^~~~~~~~~~~~~~~
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:278:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
278 | for (int i = 1; i < lisAdiacenta[x].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::CTC(std::ostream&)':
main.cpp:315:23: 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 < rez.size(); ++i) {
| ~~^~~~~~~~~~~~
main.cpp:316:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
316 | for (int j = 0; j < rez[i].size(); ++j) {
| ~~^~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::critConDFS(int, std::vector<bool>&, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::ostream&)':
main.cpp:330:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
330 | for (int i = 1; i < lisAdiacenta[x].size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::biconexeDFS(int, std::vector<int>&, std::vector<int>&, std::stack<std::pair<int, int> >&, std::vector<int>&, int&)':
main.cpp:364:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
364 | for (int i = 1; i < lisAdiacenta[x].size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 184kb | Componente biconexe: gresit | 4 |
2 | 1ms | 184kb | Componente biconexe: gresit | 4 |
3 | 2ms | 184kb | Componente biconexe: gresit | 4 |
4 | 1ms | 184kb | Componente biconexe: gresit | 4 |
5 | 1ms | 184kb | Componente biconexe: gresit | 4 |
6 | 4ms | 831kb | Componente biconexe: gresit | 4 |
7 | 10ms | 1241kb | Componente biconexe: gresit | 4 |
8 | 264ms | 18272kb | Componente biconexe: gresit | 4 |
9 | 209ms | 9072kb | Componente biconexe: gresit | 4 |
10 | 199ms | 13496kb | Componente biconexe: gresit | 4 |
Punctaj total | 40 |