Pagini recente » Borderou de evaluare (job #2863667) | Cod sursa (job #3275723) | Borderou de evaluare (job #2522774) | Borderou de evaluare (job #1168837) | Borderou de evaluare (job #2907210)
Borderou de evaluare (job #2907210)
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:587:15: warning: unused variable 'S' [-Wunused-variable]
587 | int N, M, S;
| ^
main.cpp: In function 'void leetcode_CriticalConnections()':
main.cpp:613:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
613 | for (int i = 0; i < result.size(); i++) {
| ~~^~~~~~~~~~~~~~~
main.cpp: In function 'void havel_hakimi(std::vector<int>)':
main.cpp:869:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
869 | for (int i = 0; i < grade.size() - 1; i++) {
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:870:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
870 | for (int j = i + 1; j < grade.size(); j++) {
| ~~^~~~~~~~~~~~~~
main.cpp:887:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
887 | if (grad > grade.size()) {
| ~~~~~^~~~~~~~~~~~~~
main.cpp: In function 'void infoarena_ciclu_eulerian()':
main.cpp:935:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
935 | for (int i = 0; i < sol.size() - 1; 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 corect! | 10 | 10 |
2 | 1ms | 184kb | Raspuns corect! | 10 | 10 |
3 | 1ms | 184kb | Raspuns corect! | 10 | 10 |
4 | 53ms | 3104kb | Raspuns corect! | 10 | 10 |
5 | 181ms | 7053kb | Raspuns corect! | 10 | 10 |
6 | 471ms | 23973kb | Raspuns corect! | 10 | 10 |
7 | 141ms | 14360kb | Fisier de iesire corupt! | 0 | 0 |
8 | 638ms | 33931kb | Raspuns corect! | 10 |
9 | 587ms | 38981kb | Raspuns corect! | 10 | 20 |
10 | 759ms | 40706kb | Raspuns corect! | 10 |
Punctaj total | 80 |