Problem distribution
User nguyendinhanh1508
Submission Time 2026-04-28 09:17:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

distribution.cpp: In function ‘void recur(long long int, long long int, long long int, bool)’:
distribution.cpp:42:46: error: a function-definition is not allowed here before ‘{’ token
42 | void recur(int pos, int a, int b, bool side) {
| ^
distribution.cpp:62:35: error: a function-definition is not allowed here before ‘{’ token
62 | void combi(int pos, int a, int b) {
| ^
distribution.cpp:81:14: error: a function-definition is not allowed here before ‘{’ token
81 | void solve() {
| ^
distribution.cpp:196:16: error: a function-definition is not allowed here before ‘{’ token
196 | int32_t main() {
| ^
distribution.cpp:205:35: error: no matching function for call to ‘std::vector<long long int>::insert(long long int)’
205 | left_side.insert(a - b);
|