/in/foo.cc: In function 'void judge()':
/in/foo.cc:12:29: warning: array subscript has type 'char' [-Wchar-subscripts]
int x=(num[add[1][i]]+num[add[2][i]]+(int)flag)%n;
^
/in/foo.cc:12:44: warning: array subscript has type 'char' [-Wchar-subscripts]
int x=(num[add[1][i]]+num[add[2][i]]+(int)flag)%n;
^
/in/foo.cc:13:28: warning: array subscript has type 'char' [-Wchar-subscripts]
if(x!=num[add[3][i]]){
^
/in/foo.cc:16:28: warning: array subscript has type 'char' [-Wchar-subscripts]
flag=(num[add[1][i]]+num[add[2][i]]+(int)flag)/(n);
^
/in/foo.cc:16:43: warning: array subscript has type 'char' [-Wchar-subscripts]
flag=(num[add[1][i]]+num[add[2][i]]+(int)flag)/(n);
^
/in/foo.cc: In function 'void dfs(int, int, bool)':
/in/foo.cc:30:27: warning: array subscript has type 'char' [-Wchar-subscripts]
if(num[add[y][pos]]==-1)
^
/in/foo.cc:32:45: warning: array subscript has type 'char' [-Wchar-subscripts]
if(!vis[i]&&(num[add[1][pos]]+num[add[2][pos]]+zzz)%n==i){
^
/in/foo.cc:32:62: warning: array subscript has type 'char' [-Wchar-subscripts]
if(!vis[i]&&(num[add[1][pos]]+num[add[2][pos]]+zzz)%n==i){
^
/in/foo.cc:33:46: warning: array subscript has type 'char' [-Wchar-subscripts]
vis[i]=1; num[add[y][pos]]=i;
^
/in/foo.cc:34:49: warning: array subscript has type 'char' [-Wchar-subscripts]
dfs(pos-1,1,(num[add[1][pos]]+num[add[2][pos]]+zzz)/n);
^
/in/foo.cc:34:66: warning: array subscript has type 'char' [-Wchar-subscripts]
dfs(pos-1,1,(num[add[1][pos]]+num[add[2][pos]]+zzz)/n);
^
/in/foo.cc:35:46: warning: array subscript has type 'char' [-Wchar-subscripts]
vis[i]=0; num[add[y][pos]]=-1;
^
/in/foo.cc:39:32: warning: array subscript has type 'char' [-Wchar-subscripts]
if((num[add[1][pos]]+num[add[2][pos]]+zzz)%n!=num[add[3][pos]]){
^
/in/foo.cc:39:49: warning: array subscript has type 'char' [-Wchar-subscripts]
if((num[add[1][pos]]+num[add[2][pos]]+zzz)%n!=num[add[3][pos]]){
^
/in/foo.cc:39:74: warning: array subscript has type 'char' [-Wchar-subscripts]
if((num[add[1][pos]]+num[add[2][pos]]+zzz)%n!=num[add[3][pos]]){
^
/in/foo.cc:42:46: warning: array subscript has type 'char' [-Wchar-subscripts]
else dfs(pos-1,1,(num[add[1][pos]]+num[add[2][pos]]+zzz)/n); //处理进位
^
/in/foo.cc:42:63: warning: array subscript has type 'char' [-Wchar-subscripts]
else dfs(pos-1,1,(num[add[1][pos]]+num[add[2][pos]]+zzz)/n); //处理进位
^
/in/foo.cc:45:28: warning: array subscript has type 'char' [-Wchar-subscripts]
else if(num[add[y][pos]]==-1){
^
/in/foo.cc:48:42: warning: array subscript has type 'char' [-Wchar-subscripts]
vis[i]=1; num[add[y][pos]]=i;
^
/in/foo.cc:50:37: warning: array subscript has type 'char' [-Wchar-subscripts]
if(num[add[1][j]]!=-1&&num[add[2][j]]!=-1&&num[add[3][j]]!=-1){
^
/in/foo.cc:50:57: warning: array subscript has type 'char' [-Wchar-subscripts]
if(num[add[1][j]]!=-1&&num[add[2][j]]!=-1&&num[add[3][j]]!=-1){
^
/in/foo.cc:50:77: warning: array subscript has type 'char' [-Wchar-subscripts]
if(num[add[1][j]]!=-1&&num[add[2][j]]!=-1&&num[add[3][j]]!=-1){
^
/in/foo.cc:51:42: warning: array subscript has type 'char' [-Wchar-subscripts]
if((num[add[1][j]]+num[add[2][j]])%n!=num[add[3][j]]&&(num[add[1][j]]+num[add[2][j]]+1)%n!=num[add[3][j]]){ //我懒,不想考虑进位了,直接进不进位都判断一下,应该会跑得慢一些
^
/in/foo.cc:51:57: warning: array subscript has type 'char' [-Wchar-subscripts]
if((num[add[1][j]]+num[add[2][j]])%n!=num[add[3][j]]&&(num[add[1][j]]+num[add[2][j]]+1)%n!=num[add[3][j]]){ //我懒,不想考虑进位了,直接进不进位都判断一下,应该会跑得慢一些
^
/in/foo.cc:51:76: warning: array subscript has type 'char' [-Wchar-subscripts]
if((num[add[1][j]]+num[add[2][j]])%n!=num[add[3][j]]&&(num[add[1][j]]+num[add[2][j]]+1)%n!=num[add[3][j]]){ //我懒,不想考虑进位了,直接进不进位都判断一下,应该会跑得慢一些
^
/in/foo.cc:51:93: warning: array subscript has type 'char' [-Wchar-subscripts]
if((num[add[1][j]]+num[add[2][j]])%n!=num[add[3][j]]&&(num[add[1][j]]+num[add[2][j]]+1)%n!=num[add[3][j]]){ //我懒,不想考虑进位了,直接进不进位都判断一下,应该会跑得慢一些
^
/in/foo.cc:51:108: warning: array subscript has type 'char' [-Wchar-subscripts]
if((num[add[1][j]]+num[add[2][j]])%n!=num[add[3][j]]&&(num[add[1][j]]+num[add[2][j]]+1)%n!=num[add[3][j]]){ //我懒,不想考虑进位了,直接进不进位都判断一下,应该会跑得慢一些
^
/in/foo.cc:51:129: warning: array subscript has type 'char' [-Wchar-subscripts]
if((num[add[1][j]]+num[add[2][j]])%n!=num[add[3][j]]&&(num[add[1][j]]+num[add[2][j]]+1)%n!=num[add[3][j]]){ //我懒,不想考虑进位了,直接进不进位都判断一下,应该会跑得慢一些
^
/in/foo.cc:52:54: warning: array subscript has type 'char' [-Wchar-subscripts]
vis[i]=0; num[add[y][pos]]=-1; flag=1; break;
^
/in/foo.cc:60:42: warning: array subscript has type 'char' [-Wchar-subscripts]
vis[i]=0; num[add[y][pos]]=-1;
^