/in/foo.cc: In function 'int Check()':
/in/foo.cc:19:10: warning: array subscript has type 'char' [-Wchar-subscripts]
if(res[a1]!=-1 && res[b1]!=-1 && res[c1]!=-1)
^
/in/foo.cc:19:25: warning: array subscript has type 'char' [-Wchar-subscripts]
if(res[a1]!=-1 && res[b1]!=-1 && res[c1]!=-1)
^
/in/foo.cc:19:40: warning: array subscript has type 'char' [-Wchar-subscripts]
if(res[a1]!=-1 && res[b1]!=-1 && res[c1]!=-1)
^
/in/foo.cc:21:12: warning: array subscript has type 'char' [-Wchar-subscripts]
if( (res[a1]+res[b1])%n!=res[c1] &&//无进位
^
/in/foo.cc:21:20: warning: array subscript has type 'char' [-Wchar-subscripts]
if( (res[a1]+res[b1])%n!=res[c1] &&//无进位
^
/in/foo.cc:21:32: warning: array subscript has type 'char' [-Wchar-subscripts]
if( (res[a1]+res[b1])%n!=res[c1] &&//无进位
^
/in/foo.cc:22:8: warning: array subscript has type 'char' [-Wchar-subscripts]
(res[a1]+res[b1]+1)%n!=res[c1])//有进位
^
/in/foo.cc:22:16: warning: array subscript has type 'char' [-Wchar-subscripts]
(res[a1]+res[b1]+1)%n!=res[c1])//有进位
^
/in/foo.cc:22:30: warning: array subscript has type 'char' [-Wchar-subscripts]
(res[a1]+res[b1]+1)%n!=res[c1])//有进位
^
/in/foo.cc:25:10: warning: array subscript has type 'char' [-Wchar-subscripts]
if(res[a1]!=-1 && res[b1]!=-1 && res[c1]==-1)//如果只知道其中2个
^
/in/foo.cc:25:25: warning: array subscript has type 'char' [-Wchar-subscripts]
if(res[a1]!=-1 && res[b1]!=-1 && res[c1]==-1)//如果只知道其中2个
^
/in/foo.cc:25:40: warning: array subscript has type 'char' [-Wchar-subscripts]
if(res[a1]!=-1 && res[b1]!=-1 && res[c1]==-1)//如果只知道其中2个
^
/in/foo.cc:28:15: warning: array subscript has type 'char' [-Wchar-subscripts]
sum1 = (res[a1]+res[b1])%n;
^
/in/foo.cc:28:23: warning: array subscript has type 'char' [-Wchar-subscripts]
sum1 = (res[a1]+res[b1])%n;
^
/in/foo.cc:29:15: warning: array subscript has type 'char' [-Wchar-subscripts]
sum2 = (res[a1]+res[b1]+1)%n;
^
/in/foo.cc:29:23: warning: array subscript has type 'char' [-Wchar-subscripts]
sum2 = (res[a1]+res[b1]+1)%n;
^
/in/foo.cc:33:11: warning: array subscript has type 'char' [-Wchar-subscripts]
if (res[a1]!=-1 && res[b1]==-1 && res[c1]!=-1) {
^
/in/foo.cc:33:26: warning: array subscript has type 'char' [-Wchar-subscripts]
if (res[a1]!=-1 && res[b1]==-1 && res[c1]!=-1) {
^
/in/foo.cc:33:41: warning: array subscript has type 'char' [-Wchar-subscripts]
if (res[a1]!=-1 && res[b1]==-1 && res[c1]!=-1) {
^
/in/foo.cc:35:14: warning: array subscript has type 'char' [-Wchar-subscripts]
js1 = (res[c1]-res[a1]+n)%n;
^
/in/foo.cc:35:22: warning: array subscript has type 'char' [-Wchar-subscripts]
js1 = (res[c1]-res[a1]+n)%n;
^
/in/foo.cc:36:14: warning: array subscript has type 'char' [-Wchar-subscripts]
js2 = (res[c1]-res[a1]-1+n)%n;
^
/in/foo.cc:36:22: warning: array subscript has type 'char' [-Wchar-subscripts]
js2 = (res[c1]-res[a1]-1+n)%n;
^
/in/foo.cc:40:11: warning: array subscript has type 'char' [-Wchar-subscripts]
if (res[a1]==-1 && res[b1]!=-1 && res[c1]!=-1)
^
/in/foo.cc:40:26: warning: array subscript has type 'char' [-Wchar-subscripts]
if (res[a1]==-1 && res[b1]!=-1 && res[c1]!=-1)
^
/in/foo.cc:40:41: warning: array subscript has type 'char' [-Wchar-subscripts]
if (res[a1]==-1 && res[b1]!=-1 && res[c1]!=-1)
^
/in/foo.cc:43:14: warning: array subscript has type 'char' [-Wchar-subscripts]
js1 = (res[c1]-res[b1]+n)%n;
^
/in/foo.cc:43:22: warning: array subscript has type 'char' [-Wchar-subscripts]
js1 = (res[c1]-res[b1]+n)%n;
^
/in/foo.cc:44:14: warning: array subscript has type 'char' [-Wchar-subscripts]
js2 = (res[c1]-res[b1]-1+n)%n;
^
/in/foo.cc:44:22: 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:59:16: warning: array subscript has type 'char' [-Wchar-subscripts]
jiahe = (res[a1]+res[b1]+jinwei)%n;
^
/in/foo.cc:59:24: warning: array subscript has type 'char' [-Wchar-subscripts]
jiahe = (res[a1]+res[b1]+jinwei)%n;
^
/in/foo.cc:60:16: warning: array subscript has type 'char' [-Wchar-subscripts]
jinwei =(res[a1]+res[b1]+jinwei)/n;
^
/in/foo.cc:60:24: warning: array subscript has type 'char' [-Wchar-subscripts]
jinwei =(res[a1]+res[b1]+jinwei)/n;
^
/in/foo.cc:61:18: warning: array subscript has type 'char' [-Wchar-subscripts]
if (jiahe!=res[c1])
^
/in/foo.cc: In function 'void dfs(int)':
/in/foo.cc:86:11: warning: array subscript has type 'char' [-Wchar-subscripts]
res[pos[k]]=i;
^
/in/foo.cc:89:11: warning: array subscript has type 'char' [-Wchar-subscripts]
res[pos[k]]=-1;
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:103:17: warning: array subscript has type 'char' [-Wchar-subscripts]
if (!usedZiMu[a1])
^
/in/foo.cc:105:12: warning: array subscript has type 'char' [-Wchar-subscripts]
usedZiMu[a1]=1;
^
/in/foo.cc:108:17: warning: array subscript has type 'char' [-Wchar-subscripts]
if (!usedZiMu[b1])
^
/in/foo.cc:110:12: warning: array subscript has type 'char' [-Wchar-subscripts]
usedZiMu[b1]=1;
^
/in/foo.cc:113:17: warning: array subscript has type 'char' [-Wchar-subscripts]
if (!usedZiMu[c1])
^
/in/foo.cc:115:12: warning: array subscript has type 'char' [-Wchar-subscripts]
usedZiMu[c1]=1;
^