Pagini recente » Borderou de evaluare (job #1058680) | Borderou de evaluare (job #377184) | Borderou de evaluare (job #2878708) | Borderou de evaluare (job #994470) | Borderou de evaluare (job #2907347)
Borderou de evaluare (job #2907347)
Raport evaluator
Compilare:
main.cpp: In function 'std::ostream& operator<<(std::ostream&, Graf&)':
main.cpp:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
89 | for (int j = 1; j < graf.matriceAdiacenta[i].size(); j++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::DFS(int, std::vector<int>&)':
main.cpp:241:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
241 | 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:290:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
290 | 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:329:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
329 | 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:374:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
374 | 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:531:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
531 | 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::APM(std::vector<std::vector<int> >)':
main.cpp:604:23: warning: comparison of integer expressions of different signedness: 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
604 | while (sol.size() < this->nrNoduri - 1) {
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'int Graf::hamilton(std::vector<std::vector<std::pair<int, int> > >)':
main.cpp:639:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
639 | for (int k = 0; k < matriceAdiacentaCosturi[j].size(); k++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:649:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
649 | for (int i = 0; i < matriceAdiacentaCosturi[0].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void infoarena_dfs()':
main.cpp:675:15: warning: unused variable 'S' [-Wunused-variable]
675 | int N, M, S;
| ^
main.cpp: In function 'void leetcode_CriticalConnections()':
main.cpp:701:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
701 | for (int i = 0; i < result.size(); i++) {
| ~~^~~~~~~~~~~~~~~
main.cpp: In function 'void havel_hakimi(std::vector<int>)':
main.cpp:957:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
957 | for (int i = 0; i < grade.size() - 1; i++) {
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:958:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
958 | for (int j = i + 1; j < grade.size(); j++) {
| ~~^~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | OK | 5 |
2 | 2ms | 184kb | Incorect | 0 |
3 | 1ms | 184kb | Incorect | 0 |
4 | 1ms | 184kb | OK | 5 |
5 | 1ms | 184kb | OK | 5 |
6 | 1ms | 184kb | OK | 5 |
7 | 46ms | 4464kb | Incorect | 0 |
8 | 34ms | 4370kb | Incorect | 0 |
9 | 13ms | 1093kb | OK | 5 |
10 | 15ms | 1093kb | OK | 5 |
11 | 11ms | 1093kb | OK | 5 |
12 | 15ms | 1110kb | OK | 5 |
13 | 37ms | 1187kb | OK | 5 |
14 | 26ms | 1093kb | OK | 5 |
15 | 479ms | 19181kb | OK | 5 |
16 | 413ms | 19144kb | OK | 5 |
17 | 221ms | 19173kb | OK | 5 |
18 | 488ms | 19169kb | OK | 5 |
19 | 456ms | 19169kb | OK | 5 |
20 | 636ms | 19189kb | OK | 5 |
Punctaj total | 80 |