numbers.cpp: In function 'long long int constr(long long int)':
numbers.cpp:33:9: error: return-statement with no value, in function returning 'long long int' [-fpermissive]
33 | return;
| ^~~~~~
numbers.cpp: In function 'long long int gigel(long long int, long long int, long long int, long long int, long long int, long long int, long long int)':
numbers.cpp:40:18: warning: comparison of integer expressions of different signedness: 'std::vector<long long int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
40 | if (v.size() == i)
| ~~~~~~~~~^~~~
numbers.cpp:50:71: error: expected primary-expression before ',' token
50 | sum += gigel (i + 1, s + in, a | (in < idx) , b | (in > 0) , ,rez , in);
| ^
numbers.cpp: In function 'long long int solve(long long int)':
numbers.cpp:60:13: error: 'frec' was not declared in this scope; did you mean 'free'?
60 | memset (frec, -1, sizeof frec);
| ^~~~
| free
numbers.cpp: In function 'long long int constr(long long int)':
numbers.cpp:36:16: warning: control reaches end of non-void function [-Wreturn-type]
36 | v.push_back(val % 10);
| ~~~~~~~~~~~^~~~~~~~~~