Pagini recente » Borderou de evaluare (job #1968864) | Borderou de evaluare (job #942248) | Borderou de evaluare (job #199343) | Borderou de evaluare (job #2451747) | Borderou de evaluare (job #2823215)
Borderou de evaluare (job #2823215)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graph::DFS(int)':
main.cpp:88:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
88 | for(int i = 0; i < adiacenta[vf].size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::Solve_APM()':
main.cpp:272:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Graph::Muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
272 | for (int i = 0; i < rezultat.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp:249:15: warning: unused variable 'n1' [-Wunused-variable]
249 | int n, M, n1, n2;
| ^~
main.cpp:249:19: warning: unused variable 'n2' [-Wunused-variable]
249 | int n, M, n1, n2;
| ^~
main.cpp: In member function 'void Graph::bfs(int, std::queue<int>&)':
main.cpp:331:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
331 | for(int i=0;i<adiacenta[el].size();i++){
| ~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::Solve_Eulerian()':
main.cpp:501:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
501 | for(int i = 0; i < output.size() - 1; ++i)
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp: In static member function 'static bool Graph::cuplaj(int, int (&)[100001], int (&)[100001], int (&)[100001], std::vector<int> (&)[100001])':
main.cpp:515:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
515 | for (int i = 0; i < a[x].size(); i++)
| ~~^~~~~~~~~~~~~
main.cpp:528:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
528 | for (int i = 0; i < a[x].size(); i++)
| ~~^~~~~~~~~~~~~
main.cpp: In member function 'void Graph::Solve_Bellmanford()':
main.cpp:592:14: warning: 'in_q[1]' may be used uninitialized in this function [-Wmaybe-uninitialized]
592 | if(in_q[x]) return;
| ~~~~~~^
main.cpp:598:12: warning: '*((void*)& cnt_q +4)' may be used uninitialized in this function [-Wmaybe-uninitialized]
598 | cnt_q[x]++;
| ~~~~~~~^
main.cpp:632:14: warning: 'st' may be used uninitialized in this function [-Wmaybe-uninitialized]
632 | while(dr != st-1)
| ~~~^~~~~~~
main.cpp: In member function 'void Graph::Solve_Cuplaj()':
main.cpp:581:19: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
581 | out << ans << '\n';
| ^~~~
main.cpp: In member function 'void Graph::Solve_Dijkstra()':
main.cpp:671:57: warning: 'nr' may be used uninitialized in this function [-Wmaybe-uninitialized]
671 | int n1, n2,x,y,c,vf[Md], nextt[Md],l[Nd],v_cost[Md],nr,n,m,ans[Nd], start = 1;
| ^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 6ms | 2560kb | OK | 5 | 5 |
2 | 6ms | 2572kb | OK | 5 | 5 |
3 | 6ms | 2572kb | OK | 5 | 5 |
4 | 6ms | 2646kb | OK | 5 | 5 |
5 | 10ms | 4767kb | OK | 5 | 5 |
6 | 6ms | 2609kb | OK | 5 | 10 |
7 | 10ms | 4927kb | OK | 5 |
8 | 34ms | 5287kb | OK | 5 | 15 |
9 | 44ms | 5156kb | OK | 5 |
10 | 10ms | 4812kb | OK | 5 |
11 | 58ms | 5705kb | OK | 5 | 20 |
12 | 107ms | 5586kb | OK | 5 |
13 | 73ms | 5517kb | OK | 5 |
14 | 147ms | 7188kb | OK | 5 |
15 | 193ms | 6053kb | OK | 5 | 15 |
16 | 140ms | 5824kb | OK | 5 |
17 | 25ms | 5009kb | OK | 5 |
18 | 212ms | 6447kb | OK | 5 | 15 |
19 | 269ms | 6643kb | OK | 5 |
20 | 39ms | 5013kb | OK | 5 |
Punctaj total | 100 |