Pagini recente » Borderou de evaluare (job #2227374) | Borderou de evaluare (job #1106443) | Borderou de evaluare (job #2895003) | Borderou de evaluare (job #3123074) | Borderou de evaluare (job #3040008)
Borderou de evaluare (job #3040008)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:17:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | for(i=0; i<adj[curr].size(); i++)
| ~^~~~~~~~~~~~~~~~~
main.cpp: In function 'void dfs2(int, int, int)':
main.cpp:32:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | for(i=0; i<adj[curr].size(); i++)
| ~^~~~~~~~~~~~~~~~~
main.cpp:30:13: warning: unused variable 'nrsub' [-Wunused-variable]
30 | int i,k,nrsub=0,nrmax=0;
| ^~~~~
main.cpp: In function 'void rem(int, int)':
main.cpp:50:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
50 | for(i=0; i<adj[curr].size(); i++)
| ~^~~~~~~~~~~~~~~~~
main.cpp:49:11: warning: unused variable 'k' [-Wunused-variable]
49 | int i,k;
| ^
main.cpp: In function 'void add(int, long long int)':
main.cpp:67:15: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
67 | for(i=0; i<vec[curr].size(); i++)
| ~^~~~~~~~~~~~~~~~~
main.cpp:70:19: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
70 | for(j=0; j<qu[nod].size(); j++)
| ~^~~~~~~~~~~~~~~
main.cpp: In function 'void calc(int, int, int)':
main.cpp:95:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
95 | for(i=0; i<vec[curr].size(); i++)
| ~^~~~~~~~~~~~~~~~~
main.cpp: In function 'void dfsvec(int, int, int)':
main.cpp:110:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
110 | for(i=0; i<adj[curr].size(); i++)
| ~^~~~~~~~~~~~~~~~~
main.cpp: In function 'void calctot(int)':
main.cpp:133:15: 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[centro].size(); i++)
| ~^~~~~~~~~~~~~~~~~~~
main.cpp:139:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
139 | for(j=0; j<qu[centro].size(); j++)
| ~^~~~~~~~~~~~~~~~~~
main.cpp:150:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
150 | for(i=0; i<adj[centro].size(); i++)
| ~^~~~~~~~~~~~~~~~~~~
main.cpp:156:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
156 | for(i=0; i<adj[centro].size(); i++)
| ~^~~~~~~~~~~~~~~~~~~
main.cpp:163:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
163 | for(i=0; i<adj[centro].size(); i++)
| ~^~~~~~~~~~~~~~~~~~~
main.cpp:171:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 303kb | OK | 10 |
2 | 4ms | 557kb | OK | 10 |
3 | 14ms | 4411kb | OK | 10 |
4 | 24ms | 5898kb | OK | 10 |
5 | 24ms | 6426kb | OK | 10 |
6 | 39ms | 8888kb | OK | 10 |
7 | 39ms | 8589kb | OK | 10 |
8 | 133ms | 27058kb | OK | 10 |
9 | 222ms | 43794kb | OK | 10 |
10 | 395ms | 60256kb | OK | 10 |
Punctaj total | 100 |