numbers.cpp: In function 'long long int solve(long long int, bool, long long int, long long int)':
numbers.cpp:10:9: 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]
10 | if(pos == num.size()) return 1 ;
| ~~~~^~~~~~~~~~~~~
numbers.cpp: In function 'long long int calc(long long int)':
numbers.cpp:47:20: 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]
47 | for(int i = 0 ; i < num.size() ; i++) ans += solve(i, i != 0, (i == num.size() - 1 ? 10 : 0), 10) ;
| ~~^~~~~~~~~~~~
numbers.cpp:47:67: 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]
47 | for(int i = 0 ; i < num.size() ; i++) ans += solve(i, i != 0, (i == num.size() - 1 ? 10 : 0), 10) ;
| ~~^~~~~~~~~~~~~~~~~