Pagini recente » Borderou de evaluare (job #619150) | Borderou de evaluare (job #1269043) | Cod sursa (job #2462985) | Borderou de evaluare (job #770959) | Borderou de evaluare (job #2806174)
Borderou de evaluare (job #2806174)
Raport evaluator
Compilare:
main.cpp: In function 'std::ostream& operator<<(std::ostream&, Graf&)':
main.cpp:74:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
74 | for (int j = 1; j < graf.matriceAdiacenta[i].size(); j++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::DFS(int, std::vector<int>&)':
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 = 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:275:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
275 | 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:314:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
314 | 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:359:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
359 | for (int i = 1; i < matriceAdiacenta[nod].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void infoarena_dfs()':
main.cpp:490:15: warning: unused variable 'S' [-Wunused-variable]
490 | int N, M, S;
| ^
main.cpp: In function 'void leetcode_CriticalConnections()':
main.cpp:516:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
516 | for (int i = 0; i < result.size(); i++) {
| ~~^~~~~~~~~~~~~~~
main.cpp: In member function 'int Graf::disjoint(int, int, int, std::vector<int>&, std::vector<int>&)':
main.cpp:441:1: warning: control reaches end of non-void function [-Wreturn-type]
441 | }
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | OK | 10 |
2 | 2ms | 184kb | OK | 10 |
3 | 2ms | 184kb | OK | 10 |
4 | 6ms | 536kb | OK | 10 |
5 | 34ms | 2617kb | OK | 10 |
6 | 64ms | 4628kb | OK | 10 |
7 | 88ms | 6508kb | OK | 10 |
8 | 134ms | 12308kb | Memory limit exceeded | 0 |
9 | 153ms | 10854kb | OK | 10 |
10 | 257ms | 12308kb | Memory limit exceeded | 0 |
Punctaj total | 80 |