0_0_18849480_23509\Main.java:1: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_18849480_23509\Main.java:1: 错误: 需要class, interface或enum
#include<cstdio>
^
0_0_18849480_23509\Main.java:2: 错误: 非法字符: '#'
#include<cstring>
^
0_0_18849480_23509\Main.java:3: 错误: 非法字符: '#'
#include<cmath>
^
0_0_18849480_23509\Main.java:4: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_18849480_23509\Main.java:6: 错误: 需要class, interface或enum
char cens[10005];
^
0_0_18849480_23509\Main.java:7: 错误: 需要class, interface或enum
int center[10005];
^
0_0_18849480_23509\Main.java:8: 错误: 需要class, interface或enum
long long x[10005][3][3];
^
0_0_18849480_23509\Main.java:9: 错误: 需要class, interface或enum
int T, M, N;
^
0_0_18849480_23509\Main.java:10: 错误: 需要class, interface或enum
const long long MOD = 100000007;
^
0_0_18849480_23509\Main.java:11: 错误: 需要class, interface或enum
int main()
^
0_0_18849480_23509\Main.java:15: 错误: 需要class, interface或enum
for(int cas = 1; cas <= T; cas++)
^
0_0_18849480_23509\Main.java:15: 错误: 需要class, interface或enum
for(int cas = 1; cas <= T; cas++)
^
0_0_18849480_23509\Main.java:15: 错误: 需要class, interface或enum
for(int cas = 1; cas <= T; cas++)
^
0_0_18849480_23509\Main.java:18: 错误: 需要class, interface或enum
int slen = strlen(cens);
^
0_0_18849480_23509\Main.java:19: 错误: 需要class, interface或enum
memset(center, 0, sizeof(center));
^
0_0_18849480_23509\Main.java:20: 错误: 需要class, interface或enum
for(int i = 0; i < slen; i++)
^
0_0_18849480_23509\Main.java:20: 错误: 需要class, interface或enum
for(int i = 0; i < slen; i++)
^
0_0_18849480_23509\Main.java:20: 错误: 需要class, interface或enum
for(int i = 0; i < slen; i++)
^
0_0_18849480_23509\Main.java:23: 错误: 需要class, interface或enum
}
^
0_0_18849480_23509\Main.java:26: 错误: 需要class, interface或enum
if(center[0] == 0)x[0][0][0] = 1;
^
0_0_18849480_23509\Main.java:27: 错误: 需要class, interface或enum
else if(center[0] == 1)x[0][1][0] = x[0][0][1] = 2;
^
0_0_18849480_23509\Main.java:28: 错误: 需要class, interface或enum
else if(center[0] == 2){x[0][0][2] = x[0][2][0] = 1;x[0][1][1] = 4;}
^
0_0_18849480_23509\Main.java:28: 错误: 需要class, interface或enum
else if(center[0] == 2){x[0][0][2] = x[0][2][0] = 1;x[0][1][1] = 4;}
^
0_0_18849480_23509\Main.java:28: 错误: 需要class, interface或enum
else if(center[0] == 2){x[0][0][2] = x[0][2][0] = 1;x[0][1][1] = 4;}
^
0_0_18849480_23509\Main.java:29: 错误: 需要class, interface或enum
else if(center[0] == 3){x[0][1][2] = x[0][2][1] = 2;}
^
0_0_18849480_23509\Main.java:30: 错误: 需要class, interface或enum
else if(center[0] == 4){x[0][2][2] = 1;}
^
0_0_18849480_23509\Main.java:31: 错误: 需要class, interface或enum
for(int i = 1; i <= slen; i++)
^
0_0_18849480_23509\Main.java:31: 错误: 需要class, interface或enum
for(int i = 1; i <= slen; i++)
^
0_0_18849480_23509\Main.java:34: 错误: 需要class, interface或enum
else if(center[i] == 1){x[i][0][0] = x[i-1][1][0]%MOD; x[i][0][1] = 2*x[i-1][0][0]%MOD; x[i][1][0] = x[i-1][0][1]%MOD; }
^
0_0_18849480_23509\Main.java:34: 错误: 需要class, interface或enum
else if(center[i] == 1){x[i][0][0] = x[i-1][1][0]%MOD; x[i][0][1] = 2*x[i-1][0][0]%MOD; x[i][1][0] = x[i-1][0][1]%MOD; }
^
0_0_18849480_23509\Main.java:34: 错误: 需要class, interface或enum
else if(center[i] == 1){x[i][0][0] = x[i-1][1][0]%MOD; x[i][0][1] = 2*x[i-1][0][0]%MOD; x[i][1][0] = x[i-1][0][1]%MOD; }
^
0_0_18849480_23509\Main.java:34: 错误: 需要class, interface或enum
else if(center[i] == 1){x[i][0][0] = x[i-1][1][0]%MOD; x[i][0][1] = 2*x[i-1][0][0]%MOD; x[i][1][0] = x[i-1][0][1]%MOD; }
^
0_0_18849480_23509\Main.java:35: 错误: 需要class, interface或enum
else if(center[i] == 2){x[i][0][0] = x[i-1][2][0]%MOD; x[i][0][1] = 2*x[i-1][1][0]%MOD; x[i][0][2] = x[i-1][0][0]%MOD; x[i][1][0] = x[i-1][1][1]%MOD; x[i][1][1] = 2*x[i-1][0][1]%MOD; x[i][2][0] = x[i-1][0][2]%MOD;}
^
0_0_18849480_23509\Main.java:35: 错误: 需要class, interface或enum
else if(center[i] == 2){x[i][0][0] = x[i-1][2][0]%MOD; x[i][0][1] = 2*x[i-1][1][0]%MOD; x[i][0][2] = x[i-1][0][0]%MOD; x[i][1][0] = x[i-1][1][1]%MOD; x[i][1][1] = 2*x[i-1][0][1]%MOD; x[i][2][0] = x[i-1][0][2]%MOD;}
^
0_0_18849480_23509\Main.java:35: 错误: 需要class, interface或enum
else if(center[i] == 2){x[i][0][0] = x[i-1][2][0]%MOD; x[i][0][1] = 2*x[i-1][1][0]%MOD; x[i][0][2] = x[i-1][0][0]%MOD; x[i][1][0] = x[i-1][1][1]%MOD; x[i][1][1] = 2*x[i-1][0][1]%MOD; x[i][2][0] = x[i-1][0][2]%MOD;}
^
0_0_18849480_23509\Main.java:35: 错误: 需要class, interface或enum
else if(center[i] == 2){x[i][0][0] = x[i-1][2][0]%MOD; x[i][0][1] = 2*x[i-1][1][0]%MOD; x[i][0][2] = x[i-1][0][0]%MOD; x[i][1][0] = x[i-1][1][1]%MOD; x[i][1][1] = 2*x[i-1][0][1]%MOD; x[i][2][0] = x[i-1][0][2]%MOD;}
^
0_0_18849480_23509\Main.java:35: 错误: 需要class, interface或enum
else if(center[i] == 2){x[i][0][0] = x[i-1][2][0]%MOD; x[i][0][1] = 2*x[i-1][1][0]%MOD; x[i][0][2] = x[i-1][0][0]%MOD; x[i][1][0] = x[i-1][1][1]%MOD; x[i][1][1] = 2*x[i-1][0][1]%MOD; x[i][2][0] = x[i-1][0][2]%MOD;}
^
0_0_18849480_23509\Main.java:35: 错误: 需要class, interface或enum
else if(center[i] == 2){x[i][0][0] = x[i-1][2][0]%MOD; x[i][0][1] = 2*x[i-1][1][0]%MOD; x[i][0][2] = x[i-1][0][0]%MOD; x[i][1][0] = x[i-1][1][1]%MOD; x[i][1][1] = 2*x[i-1][0][1]%MOD; x[i][2][0] = x[i-1][0][2]%MOD;}
^
0_0_18849480_23509\Main.java:36: 错误: 需要class, interface或enum
else if(center[i] == 3){x[i][0][1] = 2*x[i-1][2][0]%MOD; x[i][0][2] = x[i-1][1][0]%MOD; x[i][1][0] = x[i-1][2][1]%MOD; x[i][1][1] = 2*x[i-1][1][1]%MOD; x[i][1][2] = x[i-1][0][1]%MOD; x[i][2][0] = x[i-1][1][2]%MOD; x[i][2][1]=2*x[i-1][0][2]%MOD;}
^
0_0_18849480_23509\Main.java:36: 错误: 需要class, interface或enum
else if(center[i] == 3){x[i][0][1] = 2*x[i-1][2][0]%MOD; x[i][0][2] = x[i-1][1][0]%MOD; x[i][1][0] = x[i-1][2][1]%MOD; x[i][1][1] = 2*x[i-1][1][1]%MOD; x[i][1][2] = x[i-1][0][1]%MOD; x[i][2][0] = x[i-1][1][2]%MOD; x[i][2][1]=2*x[i-1][0][2]%MOD;}
^
0_0_18849480_23509\Main.java:36: 错误: 需要class, interface或enum
else if(center[i] == 3){x[i][0][1] = 2*x[i-1][2][0]%MOD; x[i][0][2] = x[i-1][1][0]%MOD; x[i][1][0] = x[i-1][2][1]%MOD; x[i][1][1] = 2*x[i-1][1][1]%MOD; x[i][1][2] = x[i-1][0][1]%MOD; x[i][2][0] = x[i-1][1][2]%MOD; x[i][2][1]=2*x[i-1][0][2]%MOD;}
^
0_0_18849480_23509\Main.java:36: 错误: 需要class, interface或enum
else if(center[i] == 3){x[i][0][1] = 2*x[i-1][2][0]%MOD; x[i][0][2] = x[i-1][1][0]%MOD; x[i][1][0] = x[i-1][2][1]%MOD; x[i][1][1] = 2*x[i-1][1][1]%MOD; x[i][1][2] = x[i-1][0][1]%MOD; x[i][2][0] = x[i-1][1][2]%MOD; x[i][2][1]=2*x[i-1][0][2]%MOD;}
^
0_0_18849480_23509\Main.java:36: 错误: 需要class, interface或enum
else if(center[i] == 3){x[i][0][1] = 2*x[i-1][2][0]%MOD; x[i][0][2] = x[i-1][1][0]%MOD; x[i][1][0] = x[i-1][2][1]%MOD; x[i][1][1] = 2*x[i-1][1][1]%MOD; x[i][1][2] = x[i-1][0][1]%MOD; x[i][2][0] = x[i-1][1][2]%MOD; x[i][2][1]=2*x[i-1][0][2]%MOD;}
^
0_0_18849480_23509\Main.java:36: 错误: 需要class, interface或enum
|