/ Vijos /

记录详情

Compile Error

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));
                                                                                                                                     ^

信息

递交者
类型
递交
题目
P1943 上学路上
语言
C++
递交时间
2016-04-14 22:37:56
评测时间
2016-04-14 22:37:57
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes