Pagini recente » Borderou de evaluare (job #613757) | Borderou de evaluare (job #2295142) | Borderou de evaluare (job #1451372) | Borderou de evaluare (job #905025) | Borderou de evaluare (job #2805946)
Borderou de evaluare (job #2805946)
Raport evaluator
Compilare:
main.cpp: In function 'std::ostream& operator<<(std::ostream&, Graf&)':
main.cpp:70:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
70 | for (int j = 1; j < graf.matriceAdiacenta[i].size(); j++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::DFS(int, std::vector<int>&)':
main.cpp:222:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
222 | 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:271:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
271 | 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:310:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
310 | 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:355:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
355 | for (int i = 1; i < matriceAdiacenta[nod].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void infoarena_dfs()':
main.cpp:445:15: warning: unused variable 'S' [-Wunused-variable]
445 | int N, M, S;
| ^
main.cpp: In function 'void leetcode_CriticalConnections()':
main.cpp:471:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
471 | 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:423:1: warning: control reaches end of non-void function [-Wreturn-type]
423 | }
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 184kb | OK | 10 | 10 |
2 | 2ms | 184kb | OK | 10 | 10 |
3 | 2ms | 184kb | OK | 10 | 10 |
4 | 6ms | 200kb | OK | 10 | 10 |
5 | 30ms | 303kb | OK | 10 | 0 |
6 | 151ms | 856kb | Time limit exceeded | 0 |
7 | 151ms | 831kb | Time limit exceeded | 0 |
8 | 151ms | 1114kb | Time limit exceeded | 0 | 0 |
9 | 151ms | 753kb | Time limit exceeded | 0 | 0 |
10 | 151ms | 1474kb | Time limit exceeded | 0 | 0 |
Punctaj total | 40 |