net.cpp: In function 'int32_t main()':
net.cpp:31:23: 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]
31 | for(int i = 0 ; i < (leaves.size()+1)/2 ; i++)
| ~~^~~~~~~~~~~~~~~~~~~~~
net.cpp:36:23: 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]
36 | for(int i = 0 ; i < (leaves.size()+1)/2 ; i++)
| ~~^~~~~~~~~~~~~~~~~~~~~
net.cpp:38:11: 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]
38 | if(i==leaves.size()-1) break;
| ~^~~~~~~~~~~~~~~~~