/in/foo.cc: In function 'int Check()':
/in/foo.cc:24:12: warning: array subscript has type 'char' [-Wchar-subscripts]
if(res[a1]!=-1 && res[b1]!=-1 && res[c1]!=-1)//3个数都知道
^
/in/foo.cc:24:27: warning: array subscript has type 'char' [-Wchar-subscripts]
if(res[a1]!=-1 && res[b1]!=-1 && res[c1]!=-1)//3个数都知道
^
/in/foo.cc:24:42: warning: array subscript has type 'char' [-Wchar-subscripts]
if(res[a1]!=-1 && res[b1]!=-1 && res[c1]!=-1)//3个数都知道
^
/in/foo.cc:26:15: warning: array subscript has type 'char' [-Wchar-subscripts]
if( (res[a1]+res[b1])%n!=res[c1] &&//无进位
^
/in/foo.cc:26:23: warning: array subscript has type 'char' [-Wchar-subscripts]
if( (res[a1]+res[b1])%n!=res[c1] &&//无进位
^
/in/foo.cc:26:35: warning: array subscript has type 'char' [-Wchar-subscripts]
if( (res[a1]+res[b1])%n!=res[c1] &&//无进位
^
/in/foo.cc:27:12: warning: array subscript has type 'char' [-Wchar-subscripts]
(res[a1]+res[b1]+1)%n!=res[c1])//有进位
^
/in/foo.cc:27:20: warning: array subscript has type 'char' [-Wchar-subscripts]
(res[a1]+res[b1]+1)%n!=res[c1])//有进位
^
/in/foo.cc:27:34: warning: array subscript has type 'char' [-Wchar-subscripts]
(res[a1]+res[b1]+1)%n!=res[c1])//有进位
^
/in/foo.cc:31:12: warning: array subscript has type 'char' [-Wchar-subscripts]
if(res[a1]!=-1 && res[b1]!=-1 && res[c1]==-1)//如果只知道其中2个
^
/in/foo.cc:31:27: warning: array subscript has type 'char' [-Wchar-subscripts]
if(res[a1]!=-1 && res[b1]!=-1 && res[c1]==-1)//如果只知道其中2个
^
/in/foo.cc:31:42: warning: array subscript has type 'char' [-Wchar-subscripts]
if(res[a1]!=-1 && res[b1]!=-1 && res[c1]==-1)//如果只知道其中2个
^
/in/foo.cc:34:18: warning: array subscript has type 'char' [-Wchar-subscripts]
sum1 = (res[a1]+res[b1])%n;
^
/in/foo.cc:34:26: warning: array subscript has type 'char' [-Wchar-subscripts]
sum1 = (res[a1]+res[b1])%n;
^
/in/foo.cc:35:18: warning: array subscript has type 'char' [-Wchar-subscripts]
sum2 = (res[a1]+res[b1]+1)%n;
^
/in/foo.cc:35:26: warning: array subscript has type 'char' [-Wchar-subscripts]
sum2 = (res[a1]+res[b1]+1)%n;
^
/in/foo.cc:39:13: warning: array subscript has type 'char' [-Wchar-subscripts]
if (res[a1]!=-1 && res[b1]==-1 && res[c1]!=-1)//和与一个加数知道
^
/in/foo.cc:39:28: warning: array subscript has type 'char' [-Wchar-subscripts]
if (res[a1]!=-1 && res[b1]==-1 && res[c1]!=-1)//和与一个加数知道
^
/in/foo.cc:39:43: warning: array subscript has type 'char' [-Wchar-subscripts]
if (res[a1]!=-1 && res[b1]==-1 && res[c1]!=-1)//和与一个加数知道
^
/in/foo.cc:42:17: warning: array subscript has type 'char' [-Wchar-subscripts]
js1 = (res[c1]-res[a1]+n)%n;
^
/in/foo.cc:42:25: warning: array subscript has type 'char' [-Wchar-subscripts]
js1 = (res[c1]-res[a1]+n)%n;
^
/in/foo.cc:43:17: warning: array subscript has type 'char' [-Wchar-subscripts]
js2 = (res[c1]-res[a1]-1+n)%n;
^
/in/foo.cc:43:25: warning: array subscript has type 'char' [-Wchar-subscripts]
js2 = (res[c1]-res[a1]-1+n)%n;
^
/in/foo.cc:47:13: warning: array subscript has type 'char' [-Wchar-subscripts]
if (res[a1]==-1 && res[b1]!=-1 && res[c1]!=-1)//和与一个加数知道
^
/in/foo.cc:47:28: warning: array subscript has type 'char' [-Wchar-subscripts]
if (res[a1]==-1 && res[b1]!=-1 && res[c1]!=-1)//和与一个加数知道
^
/in/foo.cc:47:43: warning: array subscript has type 'char' [-Wchar-subscripts]
if (res[a1]==-1 && res[b1]!=-1 && res[c1]!=-1)//和与一个加数知道
^
/in/foo.cc:50:17: warning: array subscript has type 'char' [-Wchar-subscripts]
js1 = (res[c1]-res[b1]+n)%n;
^
/in/foo.cc:50:25: warning: array subscript has type 'char' [-Wchar-subscripts]
js1 = (res[c1]-res[b1]+n)%n;
^
/in/foo.cc:51:17: warning: array subscript has type 'char' [-Wchar-subscripts]
js2 = (res[c1]-res[b1]-1+n)%n;
^
/in/foo.cc:51:25: 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:87:18: warning: array subscript has type 'char' [-Wchar-subscripts]
jiahe = (res[a1]+res[b1]+jinwei)%n;//计算和
^
/in/foo.cc:87:26: warning: array subscript has type 'char' [-Wchar-subscripts]
jiahe = (res[a1]+res[b1]+jinwei)%n;//计算和
^
/in/foo.cc:88:19: warning: array subscript has type 'char' [-Wchar-subscripts]
jinwei =( res[a1]+res[b1]+jinwei)/n;//计算进位
^
/in/foo.cc:88:27: warning: array subscript has type 'char' [-Wchar-subscripts]
jinwei =( res[a1]+res[b1]+jinwei)/n;//计算进位
^
/in/foo.cc:89:20: warning: array subscript has type 'char' [-Wchar-subscripts]
if (jiahe!=res[c1]) return 0;
^