Pagini recente » Borderou de evaluare (job #2200582) | Borderou de evaluare (job #2376311) | Borderou de evaluare (job #1226724) | Borderou de evaluare (job #2200583) | Borderou de evaluare (job #2822397)
Borderou de evaluare (job #2822397)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graf::dfs(int, std::vector<int>&, int)':
main.cpp:139:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
139 | for(i=0;i<adjList[node].size();i++){
| ~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'int Graf::verify(std::vector<int>)':
main.cpp:232:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
232 | for(int i=0;i<grades.size();i++){
| ~^~~~~~~~~~~~~~
main.cpp:233:21: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
233 | if(grades[i]>grades.size()-1)
main.cpp: In member function 'void Graf::apm(int, std::vector<int>&, std::priority_queue<std::vector<int>, std::vector<std::vector<int> >, compare>&, std::vector<std::pair<int, int> >&, int&)':
main.cpp:266:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
266 | for(int i=0;i<adjList_withCost[node].size();i++){
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::Dijkstra(int, std::vector<int>&, std::vector<int>&, std::priority_queue<std::pair<int, int>, std::vector<std::pair<int, int> >, compare2>&)':
main.cpp:299:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
299 | for(int i=0;i<adjList_withCost[node].size();i++){
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::topo(std::unordered_map<int, int>&, std::vector<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<adjList[node].size();i++)
| ~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void solve_dfs_nrCompConexe()':
main.cpp:399:9: warning: unused variable 'i' [-Wunused-variable]
399 | int i,n,m,x,y,nrcomp=0;
| ^
main.cpp:399:19: warning: unused variable 'nrcomp' [-Wunused-variable]
399 | int i,n,m,x,y,nrcomp=0;
| ^~~~~~
main.cpp: In function 'void solve_Sortaret()':
main.cpp:536:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
536 | for(int i=0;i<topo_sort.size();i++)
| ~^~~~~~~~~~~~~~~~~
main.cpp: In function 'void solve_DARB()':
main.cpp:553:9: warning: unused variable 'last' [-Wunused-variable]
553 | int last;
| ^~~~
main.cpp: In function 'void solve_RoyFloyd()':
main.cpp:560:11: warning: unused variable 'x' [-Wunused-variable]
560 | int n,x;
| ^
main.cpp: In function 'void solve_eulerCycle()':
main.cpp:616:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
616 | for(i=0;i<ans.size()-1;i++)
| ~^~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 11ms | 5292kb | OK | 5 |
2 | 11ms | 5201kb | OK | 5 |
3 | 11ms | 5308kb | OK | 5 |
4 | 20ms | 5566kb | OK | 5 |
5 | 11ms | 5316kb | OK | 5 |
6 | 11ms | 5328kb | OK | 5 |
7 | 11ms | 5296kb | OK | 5 |
8 | 11ms | 5328kb | OK | 5 |
9 | 11ms | 5332kb | OK | 5 |
10 | 11ms | 5308kb | OK | 5 |
11 | 39ms | 6426kb | OK | 5 |
12 | 30ms | 6336kb | OK | 5 |
13 | 44ms | 6828kb | OK | 5 |
14 | 49ms | 6807kb | OK | 5 |
15 | 58ms | 7217kb | OK | 5 |
16 | 72ms | 7688kb | OK | 5 |
17 | 97ms | 13815kb | OK | 5 |
18 | 10ms | 5914kb | OK | 5 |
19 | 15ms | 6123kb | OK | 5 |
20 | 82ms | 8097kb | OK | 5 |
Punctaj total | 100 |