/in/foo.cc: In function 'int Check()':
/in/foo.cc:26:18: warning: array subscript has type 'char' [-Wchar-subscripts]
if(res[a1]!=-1 && res[b1]!=-1 && res[c1]!=-1)//3个数都知道-----3个点
^
/in/foo.cc:26:33: warning: array subscript has type 'char' [-Wchar-subscripts]
if(res[a1]!=-1 && res[b1]!=-1 && res[c1]!=-1)//3个数都知道-----3个点
^
/in/foo.cc:26:48: warning: array subscript has type 'char' [-Wchar-subscripts]
if(res[a1]!=-1 && res[b1]!=-1 && res[c1]!=-1)//3个数都知道-----3个点
^
/in/foo.cc:28:24: warning: array subscript has type 'char' [-Wchar-subscripts]
if( (res[a1]+res[b1])%n!=res[c1] &&//无进位
^
/in/foo.cc:28:32: warning: array subscript has type 'char' [-Wchar-subscripts]
if( (res[a1]+res[b1])%n!=res[c1] &&//无进位
^
/in/foo.cc:28:44: warning: array subscript has type 'char' [-Wchar-subscripts]
if( (res[a1]+res[b1])%n!=res[c1] &&//无进位
^
/in/foo.cc:29:24: warning: array subscript has type 'char' [-Wchar-subscripts]
(res[a1]+res[b1]+1)%n!=res[c1])//有进位
^
/in/foo.cc:29:32: warning: array subscript has type 'char' [-Wchar-subscripts]
(res[a1]+res[b1]+1)%n!=res[c1])//有进位
^
/in/foo.cc:29:46: warning: array subscript has type 'char' [-Wchar-subscripts]
(res[a1]+res[b1]+1)%n!=res[c1])//有进位
^
/in/foo.cc:33:18: warning: array subscript has type 'char' [-Wchar-subscripts]
if(res[a1]!=-1 && res[b1]!=-1 && res[c1]==-1)//如果只知道其中2个
^
/in/foo.cc:33:33: warning: array subscript has type 'char' [-Wchar-subscripts]
if(res[a1]!=-1 && res[b1]!=-1 && res[c1]==-1)//如果只知道其中2个
^
/in/foo.cc:33:48: warning: array subscript has type 'char' [-Wchar-subscripts]
if(res[a1]!=-1 && res[b1]!=-1 && res[c1]==-1)//如果只知道其中2个
^
/in/foo.cc:36:27: warning: array subscript has type 'char' [-Wchar-subscripts]
sum1 = (res[a1]+res[b1])%n;
^
/in/foo.cc:36:35: warning: array subscript has type 'char' [-Wchar-subscripts]
sum1 = (res[a1]+res[b1])%n;
^
/in/foo.cc:37:27: warning: array subscript has type 'char' [-Wchar-subscripts]
sum2 = (res[a1]+res[b1]+1)%n;
^
/in/foo.cc:37:35: warning: array subscript has type 'char' [-Wchar-subscripts]
sum2 = (res[a1]+res[b1]+1)%n;
^
/in/foo.cc:41:19: warning: array subscript has type 'char' [-Wchar-subscripts]
if (res[a1]!=-1 && res[b1]==-1 && res[c1]!=-1)//和与一个加数知道
^
/in/foo.cc:41:34: warning: array subscript has type 'char' [-Wchar-subscripts]
if (res[a1]!=-1 && res[b1]==-1 && res[c1]!=-1)//和与一个加数知道
^
/in/foo.cc:41:49: warning: array subscript has type 'char' [-Wchar-subscripts]
if (res[a1]!=-1 && res[b1]==-1 && res[c1]!=-1)//和与一个加数知道
^
/in/foo.cc:44:26: warning: array subscript has type 'char' [-Wchar-subscripts]
js1 = (res[c1]-res[a1]+n)%n;
^
/in/foo.cc:44:34: warning: array subscript has type 'char' [-Wchar-subscripts]
js1 = (res[c1]-res[a1]+n)%n;
^
/in/foo.cc:45:26: warning: array subscript has type 'char' [-Wchar-subscripts]
js2 = (res[c1]-res[a1]-1+n)%n;
^
/in/foo.cc:45:34: warning: array subscript has type 'char' [-Wchar-subscripts]
js2 = (res[c1]-res[a1]-1+n)%n;
^
/in/foo.cc:49:19: warning: array subscript has type 'char' [-Wchar-subscripts]
if (res[a1]==-1 && res[b1]!=-1 && res[c1]!=-1)//和与一个加数知道
^
/in/foo.cc:49:34: warning: array subscript has type 'char' [-Wchar-subscripts]
if (res[a1]==-1 && res[b1]!=-1 && res[c1]!=-1)//和与一个加数知道
^
/in/foo.cc:49:49: warning: array subscript has type 'char' [-Wchar-subscripts]
if (res[a1]==-1 && res[b1]!=-1 && res[c1]!=-1)//和与一个加数知道
^
/in/foo.cc:52:26: warning: array subscript has type 'char' [-Wchar-subscripts]
js1 = (res[c1]-res[b1]+n)%n;
^
/in/foo.cc:52:34: warning: array subscript has type 'char' [-Wchar-subscripts]
js1 = (res[c1]-res[b1]+n)%n;
^
/in/foo.cc:53:26: warning: array subscript has type 'char' [-Wchar-subscripts]
js2 = (res[c1]-res[b1]-1+n)%n;
^
/in/foo.cc:53:34: warning: array subscript has type 'char' [-Wchar-subscripts]
js2 = (res[c1]-res[b1]-1+n)%n;
^
/in/foo.cc: In function 'int OK()':
/in/foo.cc:90:24: warning: array subscript has type 'char' [-Wchar-subscripts]
jiahe = (res[a1]+res[b1]+jinwei)%n;//计算和
^
/in/foo.cc:90:32: warning: array subscript has type 'char' [-Wchar-subscripts]
jiahe = (res[a1]+res[b1]+jinwei)%n;//计算和
^
/in/foo.cc:91:25: warning: array subscript has type 'char' [-Wchar-subscripts]
jinwei =( res[a1]+res[b1]+jinwei)/n;//计算进位
^
/in/foo.cc:91:33: warning: array subscript has type 'char' [-Wchar-subscripts]
jinwei =( res[a1]+res[b1]+jinwei)/n;//计算进位
^
/in/foo.cc:92:26: warning: array subscript has type 'char' [-Wchar-subscripts]
if (jiahe!=res[c1]) return 0;
^
/in/foo.cc: In function 'void dfs(int)':
/in/foo.cc:119:23: warning: array subscript has type 'char' [-Wchar-subscripts]
res[pos[k]]=i;//第k个字母取数字i
^
/in/foo.cc:122:23: warning: array subscript has type 'char' [-Wchar-subscripts]
res[pos[k]]=-1;//第k个字母释放
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:140:25: warning: array subscript has type 'char' [-Wchar-subscripts]
if (!usedZiMu[a1]) ///从上往下
^
/in/foo.cc:142:24: warning: array subscript has type 'char' [-Wchar-subscripts]
usedZiMu[a1]=1;
^
/in/foo.cc:145:25: warning: array subscript has type 'char' [-Wchar-subscripts]
if (!usedZiMu[b1])
^
/in/foo.cc:147:24: warning: array subscript has type 'char' [-Wchar-subscripts]
usedZiMu[b1]=1;
^
/in/foo.cc:150:25: warning: array subscript has type 'char' [-Wchar-subscripts]
if (!usedZiMu[c1])
^
/in/foo.cc:152:24: warning: array subscript has type 'char' [-Wchar-subscripts]
usedZiMu[c1]=1;
^