Pagini recente » Borderou de evaluare (job #3178725) | Borderou de evaluare (job #1831661) | Borderou de evaluare (job #2610852) | Borderou de evaluare (job #2529039) | Borderou de evaluare (job #2923595)
Borderou de evaluare (job #2923595)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs1(int, int)':
main.cpp:29:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for(i=0; i<adj[curr].size(); i++)
| ~^~~~~~~~~~~~~~~~~
main.cpp:25:13: warning: unused variable 'j' [-Wunused-variable]
25 | int i,k,j;
| ^
main.cpp: In function 'void dfs2(int, int)':
main.cpp:45:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | for(i=0; i<adj2[curr].size(); i++)
| ~^~~~~~~~~~~~~~~~~~
main.cpp:41:13: warning: unused variable 'j' [-Wunused-variable]
41 | int i,k,j;
| ^
main.cpp: In function 'int findmatch(int)':
main.cpp:63:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
63 | for(i=0; i<bi[curr].size(); i++)
| ~^~~~~~~~~~~~~~~~
main.cpp:73:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
73 | for(i=0; i<bi[curr].size(); i++)
| ~^~~~~~~~~~~~~~~~
main.cpp: In function 'int check(int, int)':
main.cpp:92:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
92 | for(i=0; i<adj[a].size(); i++)
| ~^~~~~~~~~~~~~~
main.cpp:94:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
94 | for(j=0; j<adj2[b].size(); j++)
| ~^~~~~~~~~~~~~~~
main.cpp:107:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
107 | for(i=0; i<adj[a].size(); i++)
| ~^~~~~~~~~~~~~~
main.cpp:112:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
112 | for(i=0; i<adj2[b].size(); i++)
| ~^~~~~~~~~~~~~~~
main.cpp:121:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
121 | for(i=0; i<adj[a].size(); i++)
| ~^~~~~~~~~~~~~~
main.cpp:133:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
133 | for(i=0; i<adj[a].size(); i++)
| ~^~~~~~~~~~~~~~
main.cpp:139:15: 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<adj[a].size(); i++)
| ~^~~~~~~~~~~~~~
main.cpp:144:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
144 | if(b==0 && match==adj2[b].size())
| ~~~~~^~~~~~~~~~~~~~~~
main.cpp:152:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
152 | if(match==adj2[b].size()-1)
| ~~~~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'void calcul(int)':
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 184kb | OK | 10 |
2 | 0ms | 184kb | OK | 10 |
3 | 0ms | 184kb | OK | 10 |
4 | 0ms | 184kb | OK | 10 |
5 | 0ms | 184kb | OK | 10 |
6 | 0ms | 184kb | OK | 10 |
7 | 35ms | 2437kb | OK | 10 |
8 | 33ms | 2469kb | OK | 10 |
9 | 33ms | 2396kb | OK | 10 |
10 | 27ms | 2371kb | OK | 10 |
Punctaj total | 100 |