/in/foo.cc: In function 'int Check()':
/in/foo.cc:20:18: warning: array subscript has type 'char' [-Wchar-subscripts]
if(res[a1]!=-1 && res[b1]!=-1 && res[c1]!=-1)
^
/in/foo.cc:20:33: warning: array subscript has type 'char' [-Wchar-subscripts]
if(res[a1]!=-1 && res[b1]!=-1 && res[c1]!=-1)
^
/in/foo.cc:20:48: warning: array subscript has type 'char' [-Wchar-subscripts]
if(res[a1]!=-1 && res[b1]!=-1 && res[c1]!=-1)
^
/in/foo.cc:22:24: warning: array subscript has type 'char' [-Wchar-subscripts]
if( (res[a1]+res[b1])%n!=res[c1] && (res[a1]+res[b1]+1)%n!=res[c1])
^
/in/foo.cc:22:32: warning: array subscript has type 'char' [-Wchar-subscripts]
if( (res[a1]+res[b1])%n!=res[c1] && (res[a1]+res[b1]+1)%n!=res[c1])
^
/in/foo.cc:22:44: warning: array subscript has type 'char' [-Wchar-subscripts]
if( (res[a1]+res[b1])%n!=res[c1] && (res[a1]+res[b1]+1)%n!=res[c1])
^
/in/foo.cc:22:56: warning: array subscript has type 'char' [-Wchar-subscripts]
if( (res[a1]+res[b1])%n!=res[c1] && (res[a1]+res[b1]+1)%n!=res[c1])
^
/in/foo.cc:22:64: warning: array subscript has type 'char' [-Wchar-subscripts]
if( (res[a1]+res[b1])%n!=res[c1] && (res[a1]+res[b1]+1)%n!=res[c1])
^
/in/foo.cc:22:78: warning: array subscript has type 'char' [-Wchar-subscripts]
if( (res[a1]+res[b1])%n!=res[c1] && (res[a1]+res[b1]+1)%n!=res[c1])
^
/in/foo.cc:25:18: warning: array subscript has type 'char' [-Wchar-subscripts]
if(res[a1]!=-1 && res[b1]!=-1 && res[c1]==-1)
^
/in/foo.cc:25:33: warning: array subscript has type 'char' [-Wchar-subscripts]
if(res[a1]!=-1 && res[b1]!=-1 && res[c1]==-1)
^
/in/foo.cc:25:48: warning: array subscript has type 'char' [-Wchar-subscripts]
if(res[a1]!=-1 && res[b1]!=-1 && res[c1]==-1)
^
/in/foo.cc:28:27: warning: array subscript has type 'char' [-Wchar-subscripts]
sum1 = (res[a1]+res[b1])%n;
^
/in/foo.cc:28:35: warning: array subscript has type 'char' [-Wchar-subscripts]
sum1 = (res[a1]+res[b1])%n;
^
/in/foo.cc:29:27: warning: array subscript has type 'char' [-Wchar-subscripts]
sum2 = (res[a1]+res[b1]+1)%n;
^
/in/foo.cc:29:35: warning: array subscript has type 'char' [-Wchar-subscripts]
sum2 = (res[a1]+res[b1]+1)%n;
^
/in/foo.cc:33:19: warning: array subscript has type 'char' [-Wchar-subscripts]
if (res[a1]!=-1 && res[b1]==-1 && res[c1]!=-1)
^
/in/foo.cc:33:34: warning: array subscript has type 'char' [-Wchar-subscripts]
if (res[a1]!=-1 && res[b1]==-1 && res[c1]!=-1)
^
/in/foo.cc:33:49: warning: array subscript has type 'char' [-Wchar-subscripts]
if (res[a1]!=-1 && res[b1]==-1 && res[c1]!=-1)
^
/in/foo.cc:36:26: warning: array subscript has type 'char' [-Wchar-subscripts]
js1 = (res[c1]-res[a1]+n)%n;
^
/in/foo.cc:36:34: warning: array subscript has type 'char' [-Wchar-subscripts]
js1 = (res[c1]-res[a1]+n)%n;
^
/in/foo.cc:37:26: warning: array subscript has type 'char' [-Wchar-subscripts]
js2 = (res[c1]-res[a1]-1+n)%n;
^
/in/foo.cc:37:34: warning: array subscript has type 'char' [-Wchar-subscripts]
js2 = (res[c1]-res[a1]-1+n)%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[b1]+n)%n;
^
/in/foo.cc:44:34: warning: array subscript has type 'char' [-Wchar-subscripts]
js1 = (res[c1]-res[b1]+n)%n;
^
/in/foo.cc:45:26: warning: array subscript has type 'char' [-Wchar-subscripts]
js2 = (res[c1]-res[b1]-1+n)%n;
^
/in/foo.cc:45: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:62:24: warning: array subscript has type 'char' [-Wchar-subscripts]
jiahe = (res[a1]+res[b1]+jinwei)%n;
^
/in/foo.cc:62:32: warning: array subscript has type 'char' [-Wchar-subscripts]
jiahe = (res[a1]+res[b1]+jinwei)%n;
^
/in/foo.cc:63:25: warning: array subscript has type 'char' [-Wchar-subscripts]
jinwei =( res[a1]+res[b1]+jinwei)/n;//计算进位
^
/in/foo.cc:63:33: warning: array subscript has type 'char' [-Wchar-subscripts]
jinwei =( res[a1]+res[b1]+jinwei)/n;//计算进位
^
/in/foo.cc:64: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:88:23: warning: array subscript has type 'char' [-Wchar-subscripts]
res[pos[k]]=i;
^
/in/foo.cc:91:23: warning: array subscript has type 'char' [-Wchar-subscripts]
res[pos[k]]=-1;
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:106:25: warning: array subscript has type 'char' [-Wchar-subscripts]
if (!usedZiMu[a1])
^
/in/foo.cc:108:24: warning: array subscript has type 'char' [-Wchar-subscripts]
usedZiMu[a1]=1;
^
/in/foo.cc:111:25: warning: array subscript has type 'char' [-Wchar-subscripts]
if (!usedZiMu[b1])
^
/in/foo.cc:113:24: warning: array subscript has type 'char' [-Wchar-subscripts]
usedZiMu[b1]=1;
^
/in/foo.cc:116:25: warning: array subscript has type 'char' [-Wchar-subscripts]
if (!usedZiMu[c1])
^
/in/foo.cc:118:24: warning: array subscript has type 'char' [-Wchar-subscripts]
usedZiMu[c1]=1;
^