Pagini recente » Borderou de evaluare (job #930958) | Borderou de evaluare (job #2779942) | Borderou de evaluare (job #1494490) | Borderou de evaluare (job #2713429) | Borderou de evaluare (job #2815454)
Borderou de evaluare (job #2815454)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graph::DFS(int)':
main.cpp:77:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
77 | for(int i = 0; i < adiacenta[vf].size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::Solve_APM()':
main.cpp:261:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Graph::Muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
261 | for (int i = 0; i < rezultat.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp:238:15: warning: unused variable 'n1' [-Wunused-variable]
238 | int n, M, n1, n2;
| ^~
main.cpp:238:19: warning: unused variable 'n2' [-Wunused-variable]
238 | int n, M, n1, n2;
| ^~
main.cpp: In member function 'void Graph::bfs(int, std::queue<int>&)':
main.cpp:320:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
320 | for(int i=0;i<adiacenta[el].size();i++){
| ~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::Solve_RoyFloyd()':
main.cpp:374:9: warning: unused variable 'i' [-Wunused-variable]
374 | int i, j, k, n, M[105][105];
| ^
main.cpp:374:12: warning: unused variable 'j' [-Wunused-variable]
374 | int i, j, k, n, M[105][105];
| ^
main.cpp:374:15: warning: unused variable 'k' [-Wunused-variable]
374 | int i, j, k, n, M[105][105];
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 6ms | 2658kb | OK | 10 |
2 | 6ms | 2539kb | Incorect | 0 |
3 | 6ms | 2572kb | Incorect | 0 |
4 | 6ms | 2547kb | OK | 10 |
5 | 6ms | 2551kb | Incorect | 0 |
6 | 11ms | 2703kb | OK | 10 |
7 | 11ms | 2707kb | OK | 10 |
8 | 11ms | 2666kb | Incorect | 0 |
9 | 11ms | 2641kb | Incorect | 0 |
10 | 16ms | 2727kb | OK | 10 |
Punctaj total | 50 |