0_0_16894469_19032\Main.java:1: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_16894469_19032\Main.java:1: 错误: 需要class, interface或enum
#include<cstdio>
^
0_0_16894469_19032\Main.java:2: 错误: 非法字符: '#'
#include<cstring>
^
0_0_16894469_19032\Main.java:3: 错误: 非法字符: '#'
#include<cstdlib>
^
0_0_16894469_19032\Main.java:4: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_16894469_19032\Main.java:5: 错误: 非法字符: '#'
#include<functional>
^
0_0_16894469_19032\Main.java:6: 错误: 非法字符: '#'
#include<iostream>
^
0_0_16894469_19032\Main.java:7: 错误: 非法字符: '#'
#include<cmath>
^
0_0_16894469_19032\Main.java:8: 错误: 非法字符: '#'
#include<cctype>
^
0_0_16894469_19032\Main.java:9: 错误: 非法字符: '#'
#include<ctime>
^
0_0_16894469_19032\Main.java:11: 错误: 非法字符: '#'
#define For(i,n) for(int i=1;i<=n;i++)
^
0_0_16894469_19032\Main.java:11: 错误: 需要class, interface或enum
#define For(i,n) for(int i=1;i<=n;i++)
^
0_0_16894469_19032\Main.java:11: 错误: 需要class, interface或enum
#define For(i,n) for(int i=1;i<=n;i++)
^
0_0_16894469_19032\Main.java:11: 错误: 需要class, interface或enum
#define For(i,n) for(int i=1;i<=n;i++)
^
0_0_16894469_19032\Main.java:12: 错误: 非法字符: '#'
#define Fork(i,k,n) for(int i=k;i<=n;i++)
^
0_0_16894469_19032\Main.java:12: 错误: 需要class, interface或enum
#define Fork(i,k,n) for(int i=k;i<=n;i++)
^
0_0_16894469_19032\Main.java:12: 错误: 需要class, interface或enum
#define Fork(i,k,n) for(int i=k;i<=n;i++)
^
0_0_16894469_19032\Main.java:13: 错误: 非法字符: '#'
#define Rep(i,n) for(int i=0;i<n;i++)
^
0_0_16894469_19032\Main.java:13: 错误: 需要class, interface或enum
#define Rep(i,n) for(int i=0;i<n;i++)
^
0_0_16894469_19032\Main.java:13: 错误: 需要class, interface或enum
#define Rep(i,n) for(int i=0;i<n;i++)
^
0_0_16894469_19032\Main.java:14: 错误: 非法字符: '#'
#define ForD(i,n) for(int i=n;i;i--)
^
0_0_16894469_19032\Main.java:14: 错误: 需要class, interface或enum
#define ForD(i,n) for(int i=n;i;i--)
^
0_0_16894469_19032\Main.java:14: 错误: 需要class, interface或enum
#define ForD(i,n) for(int i=n;i;i--)
^
0_0_16894469_19032\Main.java:15: 错误: 非法字符: '#'
#define RepD(i,n) for(int i=n;i>=0;i--)
^
0_0_16894469_19032\Main.java:15: 错误: 需要class, interface或enum
#define RepD(i,n) for(int i=n;i>=0;i--)
^
0_0_16894469_19032\Main.java:15: 错误: 需要class, interface或enum
#define RepD(i,n) for(int i=n;i>=0;i--)
^
0_0_16894469_19032\Main.java:16: 错误: 非法字符: '#'
#define Forp(x) for(int p=pre[x];p;p=next[p])
^
0_0_16894469_19032\Main.java:16: 错误: 需要class, interface或enum
#define Forp(x) for(int p=pre[x];p;p=next[p])
^
0_0_16894469_19032\Main.java:16: 错误: 需要class, interface或enum
#define Forp(x) for(int p=pre[x];p;p=next[p])
^
0_0_16894469_19032\Main.java:17: 错误: 非法字符: '#'
#define Forpiter(x) for(int &p=iter[x];p;p=next[p])
^
0_0_16894469_19032\Main.java:17: 错误: 需要class, interface或enum
#define Forpiter(x) for(int &p=iter[x];p;p=next[p])
^
0_0_16894469_19032\Main.java:17: 错误: 需要class, interface或enum
#define Forpiter(x) for(int &p=iter[x];p;p=next[p])
^
0_0_16894469_19032\Main.java:18: 错误: 非法字符: '#'
#define Lson (x<<1)
^
0_0_16894469_19032\Main.java:19: 错误: 非法字符: '#'
#define Rson ((x<<1)+1)
^
0_0_16894469_19032\Main.java:20: 错误: 非法字符: '#'
#define MEM(a) memset(a,0,sizeof(a));
^
0_0_16894469_19032\Main.java:21: 错误: 非法字符: '#'
#define MEMI(a) memset(a,127,sizeof(a));
^
0_0_16894469_19032\Main.java:21: 错误: 需要class, interface或enum
#define MEMI(a) memset(a,127,sizeof(a));
^
0_0_16894469_19032\Main.java:22: 错误: 非法字符: '#'
#define MEMi(a) memset(a,128,sizeof(a));
^
0_0_16894469_19032\Main.java:22: 错误: 需要class, interface或enum
#define MEMi(a) memset(a,128,sizeof(a));
^
0_0_16894469_19032\Main.java:23: 错误: 非法字符: '#'
#define INF (2139062143)
^
0_0_16894469_19032\Main.java:23: 错误: 需要class, interface或enum
#define INF (2139062143)
^
0_0_16894469_19032\Main.java:25: 错误: 需要class, interface或enum
ll F;
^
0_0_16894469_19032\Main.java:26: 错误: 需要class, interface或enum
ll mul(ll a,ll b){return (a*b)%F;}
^
0_0_16894469_19032\Main.java:26: 错误: 需要class, interface或enum
ll mul(ll a,ll b){return (a*b)%F;}
^
0_0_16894469_19032\Main.java:27: 错误: 需要class, interface或enum
ll add(ll a,ll b){return (a+b)%F;}
^
0_0_16894469_19032\Main.java:30: 错误: 需要class, interface或enum
int x=0,f=1; char ch=getchar();
^
0_0_16894469_19032\Main.java:31: 错误: 需要class, interface或enum
while(!isdigit(ch)) {if (ch=='-') f=-1; ch=getchar();}
^
0_0_16894469_19032\Main.java:31: 错误: 需要class, interface或enum
while(!isdigit(ch)) {if (ch=='-') f=-1; ch=getchar();}
^
0_0_16894469_19032\Main.java:31: 错误: 需要class, interface或enum
while(!isdigit(ch)) {if (ch=='-') f=-1; ch=getchar();}
^
0_0_16894469_19032\Main.java:32: 错误: 需要class, interface或enum
while(isdigit(ch)) { x=x*10+ch-'0'; ch=getchar();}
^
0_0_16894469_19032\Main.java:32: 错误: 需要class, interface或enum
while(isdigit(ch)) { x=x*10+ch-'0'; ch=getchar();}
^
0_0_16894469_19032\Main.java:34: 错误: 需要class, interface或enum
}
^
0_0_16894469_19032\Main.java:35: 错误: 非法字符: '#'
#define eps
^
0_0_16894469_19032\Main.java:36: 错误: 非法字符: '#'
#define MAXN (10)
^
0_0_16894469_19032\Main.java:40: 错误: 需要class, interface或enum
ll a[MAXN][MAXN];
^
0_0_16894469_19032\Main.java:41: 错误: 需要class, interface或enum
M(int _n=0){n=m=_n;MEM(a);}
^
0_0_16894469_19032\Main.java:41: 错误: 需要class, interface或enum
M(int _n=0){n=m=_n;MEM(a);}
^
0_0_16894469_19032\Main.java:41: 错误: 需要class, interface或enum
M(int _n=0){n=m=_n;MEM(a);}
^
0_0_16894469_19032\Main.java:42: 错误: 需要class, interface或enum
M(int _n,int _m){n=_n,m=_m;MEM(a);}
^
0_0_16894469_19032\Main.java:42: 错误: 需要class, interface或enum
M(int _n,int _m){n=_n,m=_m;MEM(a);}
^
0_0_16894469_19032\Main.java:43: 错误: 需要class, interface或enum
void mem (int _n=0){n=m=_n;MEM(a);}
^
0_0_16894469_19032\Main.java:43: 错误: 需要class, interface或enum
void mem (int _n=0){n=m=_n;MEM(a);}
^
0_0_16894469_19032\Main.java:44: 错误: 需要class, interface或enum
void mem (int _n,int _m){n=_n,m=_m;MEM(a);}
^
0_0_16894469_19032\Main.java:44: 错误: 需要class, interface或enum
void mem (int _n,int _m){n=_n,m=_m;MEM(a);}
^
0_0_16894469_19032\Main.java:49: 错误: 需要class, interface或enum
For(k,a.m)
^
0_0_16894469_19032\Main.java:53: 错误: 需要class, interface或enum
return c;
^
0_0_16894469_19032\Main.java:54: 错误: 需要class, interface或enum
}
^
0_0_16894469_19032\Main.java:60: 错误: 需要class, interface或enum
return a;
^
0_0_16894469_19032\Main.java:61: 错误: 需要class, interface或enum
}
^
0_0_16894469_19032\Main.java:64: 错误: 需要class, interface或enum
n=m=_n; MEM(a)
^
0_0_16894469_19032\Main.java:66: 错误: 需要class, interface或enum
}
^
0_0_16894469_19032\Main.java:68: 错误: 需要class, interface或enum
M pow2(M a,ll b)
^
0_0_16894469_19032\Main.java:70: 错误: 需要class, interface或enum
M c;c.make_I(a.n);
^
0_0_16894469_19032\Main.java:71: 错误: 需要class, interface或enum
static bool a2[1000000];
^
0_0_16894469_19032\Main.java:72: 错误: 需要class, interface或enum
int n=0;while (b) a2[++n]=b&1,b>>=1;
^
0_0_16894469_19032\Main.java:72: 错误: 需要class, interface或enum
int n=0;while (b) a2[++n]=b&1,b>>=1;
^
0_0_16894469_19032\Main.java:73: 错误: 需要class, interface或enum
For(i,n)
^
0_0_16894469_19032\Main.java:76: 错误: 需要class, interface或enum
a=a*a;
^
0_0_16894469_19032\Main.java:77: 错误: 需要class, interface或enum
}
^
0_0_16894469_19032\Main.java:79: 错误: 需要class, interface或enum
}
^
0_0_16894469_19032\Main.java:84: 错误: 需要class, interface或enum
if (b==1) return a%p;
^
0_0_16894469_19032\Main.java:85: 错误: 需要class, interface或enum
ll c=pow2(a,b/2,p);
^
0_0_16894469_19032\Main.java:86: 错误: 需要class, interface或enum
c=c*c%p;
^
0_0_16894469_19032\Main.java:87: 错误: 需要class, interface或enum
if (b&1) c=c*a%p;
^
0_0_16894469_19032\Main.java:88: 错误: 需要class, interface或enum
return c;
^
0_0_16894469_19032\Main.java:89
|