circuit.cpp: In function 'long long int dp(int, int, int)':
circuit.cpp:36:7: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | if(i == child[parent].size() and k > 0)return 0;
| ~~^~~~~~~~~~~~~~~~~~~~~~~
circuit.cpp:37:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | else if(i == child[parent].size()) return 1;
| ~~^~~~~~~~~~~~~~~~~~~~~~~
circuit.cpp: In function 'void generate(int)':
circuit.cpp:54:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
54 | for(int i = 0 ; i < child[node].size() ; i ++){
| ~~^~~~~~~~~~~~~~~~~~~~
circuit.cpp:59:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
59 | for(int i = 1 ; i <= child[node].size() ; i ++){
| ~~^~~~~~~~~~~~~~~~~~~~~
circuit.cpp:64:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
64 | for(int i = 0 ; i < child[node].size() ; i ++){
| ~~^~~~~~~~~~~~~~~~~~~~
circuit.cpp: In function 'int count_ways(int, int)':
circuit.cpp:77:5: warning: unused variable 'ans' [-Wunused-variable]
77 | ll ans = 0;
| ^~~