Pagini recente » Borderou de evaluare (job #2201227) | Cod sursa (job #1062381) | Borderou de evaluare (job #1444663) | Borderou de evaluare (job #847852) | Borderou de evaluare (job #2907327)
Borderou de evaluare (job #2907327)
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:634:33: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context]
634 | if (i && (1 << matriceAdiacentaCosturi[j][k].first)) {
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:646: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]
646 | for (int i = 0; i < matriceAdiacentaCosturi[0].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void infoarena_dfs()':
main.cpp:673:15: warning: unused variable 'S' [-Wunused-variable]
673 | int N, M, S;
| ^
main.cpp: In function 'void leetcode_CriticalConnections()':
main.cpp:699:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
699 | for (int i = 0; i < result.size(); i++) {
| ~~^~~~~~~~~~~~~~~
main.cpp: In function 'void havel_hakimi(std::vector<int>)':
main.cpp:955:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
955 | for (int i = 0; i < grade.size() - 1; i++) {
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:956:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
956 | for (int j = i + 1; j < grade.size(); j++) {
| ~~^~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 278kb | Incorect | 0 |
2 | 1ms | 184kb | Incorect | 0 |
3 | 1ms | 184kb | Killed by Signal 11 | 0 |
4 | 1ms | 184kb | Incorect | 0 |
5 | 1ms | 184kb | Killed by Signal 11 | 0 |
6 | 1ms | 184kb | Incorect | 0 |
7 | 11ms | 3690kb | Killed by Signal 11 | 0 |
8 | 19ms | 3584kb | Killed by Signal 11 | 0 |
9 | 9ms | 962kb | Incorect | 0 |
10 | 11ms | 962kb | Incorect | 0 |
11 | 9ms | 962kb | Incorect | 0 |
12 | 19ms | 913kb | Incorect | 0 |
13 | 11ms | 937kb | Incorect | 0 |
14 | 9ms | 962kb | Incorect | 0 |
15 | 256ms | 13918kb | Incorect | 0 |
16 | 256ms | 13942kb | Incorect | 0 |
17 | 38ms | 13709kb | Killed by Signal 11 | 0 |
18 | 254ms | 13901kb | Incorect | 0 |
19 | 261ms | 13877kb | Incorect | 0 |
20 | 252ms | 13910kb | Incorect | 0 |
Punctaj total | 0 |