foo.cpp:1:1: error: 'include' does not name a type
include<cstdio> include<cstring> include<algorithm>
^
foo.cpp: In function 'int C(int, int)':
foo.cpp:27:19: error: expected ';' before 'inv'
return ll(fac[n]) inv[m] % MOD inv[n - m] % MOD;
^
foo.cpp:27:32: error: expected ';' before 'inv'
return ll(fac[n]) inv[m] % MOD inv[n - m] % MOD;
^
foo.cpp:27:26: warning: statement has no effect [-Wunused-value]
return ll(fac[n]) inv[m] % MOD inv[n - m] % MOD;
^
foo.cpp: In function 'int main()':
foo.cpp:31:37: error: 'scanf' was not declared in this scope
scanf("%d%d%d%d", &x0, &x1, &y0, &y1);
^
foo.cpp:32:133: error: 'printf' was not declared in this scope
printf("%d\n", (int) ((((ll) C(x0 + y0, x0) * C(x1 + y1, x1) % MOD - (ll) C(x0 + y1, x0) * C(x1 + y0, x1) % MOD) % MOD + MOD) % MOD));
^