0_0_32322152_5540.cpp:26:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32322152_5540.cpp:27:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32322152_5540.cpp:28:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32322152_5540.cpp:29:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32322152_5540.cpp:30:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32322152_5540.cpp:32:12: error: '__int64' does not name a type
#define LL __int64
^
0_0_32322152_5540.cpp:35:1: note: in expansion of macro 'LL'
LL Ext_gcd(LL a,LL b,LL &x,LL &y){
^
0_0_32322152_5540.cpp:32:12: error: '__int64' does not name a type
#define LL __int64
^
0_0_32322152_5540.cpp:42:1: note: in expansion of macro 'LL'
LL Inv(LL a,int m){ //求逆元
^
0_0_32322152_5540.cpp:32:12: error: '__int64' does not name a type
#define LL __int64
^
0_0_32322152_5540.cpp:49:1: note: in expansion of macro 'LL'
LL Cm(LL n, LL m, LL p){ //求组合数
^
0_0_32322152_5540.cpp:32:12: error: '__int64' does not name a type
#define LL __int64
^
0_0_32322152_5540.cpp:61:5: note: in expansion of macro 'LL'
LL x;
^
0_0_32322152_5540.cpp:64:11: error: expected ')' before '_x'
Dt(LL _x,int _c){
^
0_0_32322152_5540.cpp:32:12: error: '__int64' does not name a type
#define LL __int64
^
0_0_32322152_5540.cpp:69:1: note: in expansion of macro 'LL'
LL a[N],fro[N],bac[N];
^
0_0_32322152_5540.cpp: In function 'int main()':
0_0_32322152_5540.cpp:73:18: error: 'scanf' was not declared in this scope
scanf("%d",&T);
^
0_0_32322152_5540.cpp:75:16: error: 'fro' was not declared in this scope
memset(fro,0,sizeof(fro));
^
0_0_32322152_5540.cpp:75:33: error: 'memset' was not declared in this scope
memset(fro,0,sizeof(fro));
^
0_0_32322152_5540.cpp:76:16: error: 'bac' was not declared in this scope
memset(bac,0,sizeof(bac));
^
0_0_32322152_5540.cpp:79:15: error: 'len' was not declared in this scope
++len;
^
0_0_32322152_5540.cpp:80:16: error: 'a' was not declared in this scope
if(a[i]==a[i+1]){
^
0_0_32322152_5540.cpp:81:19: error: 'cnt' was not declared in this scope
++cnt;
^
0_0_32322152_5540.cpp:82:17: error: 'cnm' was not declared in this scope
cnm=cnm*len%MOD*Inv(cnt,MOD)%MOD; //cnm*len要MOD,否则会乘爆long long
^
0_0_32322152_5540.cpp:82:44: error: 'Inv' was not declared in this scope
cnm=cnm*len%MOD*Inv(cnt,MOD)%MOD; //cnm*len要MOD,否则会乘爆long long
^
0_0_32322152_5540.cpp:83:24: error: 'pre' was not declared in this scope
bac[i]=pre*cnm%MOD;
^
0_0_32322152_5540.cpp:86:17: error: 'cnt' was not declared in this scope
cnt=1;
^
0_0_32322152_5540.cpp:87:17: error: 'cnm' was not declared in this scope
cnm=len;
^
0_0_32322152_5540.cpp:88:17: error: 'pre' was not declared in this scope
pre=bac[i+1];
^
0_0_32322152_5540.cpp:32:12: error: '__int64' was not declared in this scope
#define LL __int64
^
0_0_32322152_5540.cpp:93:9: note: in expansion of macro 'LL'
LL ans=0;
^
0_0_32322152_5540.cpp:95:21: error: expected ';' at end of input
for(int i=0;i
^
0_0_32322152_5540.cpp:95:21: error: expected primary-expression at end of input
0_0_32322152_5540.cpp:95:21: error: expected ')' at end of input
0_0_32322152_5540.cpp:95:21: error: expected statement at end of input
0_0_32322152_5540.cpp:95:21: error: expected '}' at end of input
0_0_32322152_5540.cpp:95:21: error: expected '}' at end of input
|