0_0_37783897_2787.cpp: In function 'void MAIN::pre()':
0_0_37783897_2787.cpp:43:9: error: 'fac' was not declared in this scope
fac[0]=fac[1]=inv[0]=inv[1]=1;
^
0_0_37783897_2787.cpp:43:23: error: 'inv' was not declared in this scope
fac[0]=fac[1]=inv[0]=inv[1]=1;
^
0_0_37783897_2787.cpp: In function 'int MAIN::C(const int&, const int&)':
0_0_37783897_2787.cpp:48:26: error: 'fac' was not declared in this scope
return x<y?0:mul(fac[x],mul(inv[y],inv[x-y]));
^
0_0_37783897_2787.cpp:48:37: error: 'inv' was not declared in this scope
return x<y?0:mul(fac[x],mul(inv[y],inv[x-y]));
^
0_0_37783897_2787.cpp: In function 'int MAIN::Add(const int&, const int&)':
0_0_37783897_2787.cpp:56:5: error: expected ';' before 'inline'
inline void change(const res &rt,const res &v){
^
0_0_37783897_2787.cpp:56:51: error: a function-definition is not allowed here before '{' token
inline void change(const res &rt,const res &v){
^
0_0_37783897_2787.cpp:59:40: error: a function-definition is not allowed here before '{' token
inline void pushdown(const res &rt){
^
0_0_37783897_2787.cpp:63:38: error: a function-definition is not allowed here before '{' token
inline void pushup(const res &rt){
^
0_0_37783897_2787.cpp:66:35: error: a function-definition is not allowed here before '{' token
void build(res rt,res l,res r){
^
0_0_37783897_2787.cpp:165:1: error: expected '}' at end of input
}
^
0_0_37783897_2787.cpp: At global scope:
0_0_37783897_2787.cpp:165:1: error: expected '}' at end of input
|