Pagini recente » Borderou de evaluare (job #339052) | Borderou de evaluare (job #2039445) | Borderou de evaluare (job #1652083) | Borderou de evaluare (job #2053377) | Borderou de evaluare (job #2907194)
Borderou de evaluare (job #2907194)
Raport evaluator
Compilare:
main.cpp: In function 'std::ostream& operator<<(std::ostream&, Graf&)':
main.cpp:81:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
81 | for (int j = 1; j < graf.matriceAdiacenta[i].size(); j++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::DFS(int, std::vector<int>&)':
main.cpp:233:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
233 | for (int i = 1; i < matriceAdiacenta[nod].size(); i++) { // parcurgem nodurile adiacente nodului curent
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<std::vector<int> > Graf::muchiiCritice_neeficient()':
main.cpp:282:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
282 | for (int j = 1; j < this->matriceAdiacenta[nod].size(); j++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::MuchieCritica(int, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::vector<std::vector<int> >&)':
main.cpp:321:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
321 | for (int i = 1; i < matriceAdiacenta[nod].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::sortare_topologica(int, std::vector<int>&, std::vector<int>&)':
main.cpp:366:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
366 | for (int i = 1; i < matriceAdiacenta[nod].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::DFS_darb(int, std::vector<int>&, int&, int&, int&)':
main.cpp:521:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
521 | for (int i = 1; i < matriceAdiacenta[nod].size(); i++) { // parcurgem nodurile adiacente nodului curent
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void infoarena_dfs()':
main.cpp:586:15: warning: unused variable 'S' [-Wunused-variable]
586 | int N, M, S;
| ^
main.cpp: In function 'void leetcode_CriticalConnections()':
main.cpp:612:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
612 | for (int i = 0; i < result.size(); i++) {
| ~~^~~~~~~~~~~~~~~
main.cpp: In function 'void havel_hakimi(std::vector<int>)':
main.cpp:868:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
868 | for (int i = 0; i < grade.size() - 1; i++) {
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:869:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
869 | for (int j = i + 1; j < grade.size(); j++) {
| ~~^~~~~~~~~~~~~~
main.cpp:886:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
886 | if (grad > grade.size()) {
| ~~~~~^~~~~~~~~~~~~~
main.cpp: In function 'void infoarena_ciclu_eulerian()':
main.cpp:928:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
928 | for (int i = 0; i < sol.size(); i++) {
| ~~^~~~~~~~~~~~
main.cpp: In member function 'int Graf::disjoint(int, int, int, std::vector<int>&, std::vector<int>&)':
main.cpp:444:1: warning: control reaches end of non-void function [-Wreturn-type]
444 | }
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 1ms | 184kb | Raspuns gresit! | 0 | 0 |
2 | 1ms | 184kb | Raspuns gresit! | 0 | 0 |
3 | 13ms | 307kb | Raspuns gresit! | 0 | 0 |
4 | 18ms | 856kb | Raspuns gresit! | 0 | 0 |
5 | 71ms | 2068kb | Raspuns gresit! | 0 | 0 |
6 | 228ms | 6881kb | Raspuns gresit! | 0 | 0 |
7 | 122ms | 6037kb | Raspuns corect! | 10 | 0 |
8 | 332ms | 10096kb | Raspuns gresit! | 0 |
9 | 283ms | 10326kb | Raspuns gresit! | 0 | 0 |
10 | 405ms | 11804kb | Raspuns gresit! | 0 |
Punctaj total | 0 |