/in/foo.cc: In function 'int Check()':
/in/foo.cc:27:12: warning: array subscript has type 'char' [-Wchar-subscripts]
if(res[a1]!=-1 && res[b1]!=-1 && res[c1]!=-1)//3¸öÊý¶¼ÖªµÀ-----3¸öµã
^
/in/foo.cc:27:27: warning: array subscript has type 'char' [-Wchar-subscripts]
if(res[a1]!=-1 && res[b1]!=-1 && res[c1]!=-1)//3¸öÊý¶¼ÖªµÀ-----3¸öµã
^
/in/foo.cc:27:42: warning: array subscript has type 'char' [-Wchar-subscripts]
if(res[a1]!=-1 && res[b1]!=-1 && res[c1]!=-1)//3¸öÊý¶¼ÖªµÀ-----3¸öµã
^
/in/foo.cc:29:15: warning: array subscript has type 'char' [-Wchar-subscripts]
if( (res[a1]+res[b1])%n!=res[c1] &&//ÎÞ½øλ
^
/in/foo.cc:29:23: warning: array subscript has type 'char' [-Wchar-subscripts]
if( (res[a1]+res[b1])%n!=res[c1] &&//ÎÞ½øλ
^
/in/foo.cc:29:35: warning: array subscript has type 'char' [-Wchar-subscripts]
if( (res[a1]+res[b1])%n!=res[c1] &&//ÎÞ½øλ
^
/in/foo.cc:30:12: warning: array subscript has type 'char' [-Wchar-subscripts]
(res[a1]+res[b1]+1)%n!=res[c1])//Óнøλ
^
/in/foo.cc:30:20: warning: array subscript has type 'char' [-Wchar-subscripts]
(res[a1]+res[b1]+1)%n!=res[c1])//Óнøλ
^
/in/foo.cc:30:34: warning: array subscript has type 'char' [-Wchar-subscripts]
(res[a1]+res[b1]+1)%n!=res[c1])//Óнøλ
^
/in/foo.cc:34:12: warning: array subscript has type 'char' [-Wchar-subscripts]
if(res[a1]!=-1 && res[b1]!=-1 && res[c1]==-1)//Èç¹ûÖ»ÖªµÀÆäÖÐ2¸ö
^
/in/foo.cc:34:27: warning: array subscript has type 'char' [-Wchar-subscripts]
if(res[a1]!=-1 && res[b1]!=-1 && res[c1]==-1)//Èç¹ûÖ»ÖªµÀÆäÖÐ2¸ö
^
/in/foo.cc:34:42: warning: array subscript has type 'char' [-Wchar-subscripts]
if(res[a1]!=-1 && res[b1]!=-1 && res[c1]==-1)//Èç¹ûÖ»ÖªµÀÆäÖÐ2¸ö
^
/in/foo.cc:37:18: warning: array subscript has type 'char' [-Wchar-subscripts]
sum1 = (res[a1]+res[b1])%n;
^
/in/foo.cc:37:26: warning: array subscript has type 'char' [-Wchar-subscripts]
sum1 = (res[a1]+res[b1])%n;
^
/in/foo.cc:38:18: warning: array subscript has type 'char' [-Wchar-subscripts]
sum2 = (res[a1]+res[b1]+1)%n;
^
/in/foo.cc:38:26: warning: array subscript has type 'char' [-Wchar-subscripts]
sum2 = (res[a1]+res[b1]+1)%n;
^
/in/foo.cc:42:13: warning: array subscript has type 'char' [-Wchar-subscripts]
if (res[a1]!=-1 && res[b1]==-1 && res[c1]!=-1)//ºÍÓëÒ»¸ö¼ÓÊýÖªµÀ
^
/in/foo.cc:42:28: warning: array subscript has type 'char' [-Wchar-subscripts]
if (res[a1]!=-1 && res[b1]==-1 && res[c1]!=-1)//ºÍÓëÒ»¸ö¼ÓÊýÖªµÀ
^
/in/foo.cc:42:43: warning: array subscript has type 'char' [-Wchar-subscripts]
if (res[a1]!=-1 && res[b1]==-1 && res[c1]!=-1)//ºÍÓëÒ»¸ö¼ÓÊýÖªµÀ
^
/in/foo.cc:45:17: warning: array subscript has type 'char' [-Wchar-subscripts]
js1 = (res[c1]-res[a1]+n)%n;
^
/in/foo.cc:45:25: warning: array subscript has type 'char' [-Wchar-subscripts]
js1 = (res[c1]-res[a1]+n)%n;
^
/in/foo.cc:46:17: warning: array subscript has type 'char' [-Wchar-subscripts]
js2 = (res[c1]-res[a1]-1+n)%n;
^
/in/foo.cc:46:25: warning: array subscript has type 'char' [-Wchar-subscripts]
js2 = (res[c1]-res[a1]-1+n)%n;
^
/in/foo.cc:50:13: warning: array subscript has type 'char' [-Wchar-subscripts]
if (res[a1]==-1 && res[b1]!=-1 && res[c1]!=-1)//ºÍÓëÒ»¸ö¼ÓÊýÖªµÀ
^
/in/foo.cc:50:28: warning: array subscript has type 'char' [-Wchar-subscripts]
if (res[a1]==-1 && res[b1]!=-1 && res[c1]!=-1)//ºÍÓëÒ»¸ö¼ÓÊýÖªµÀ
^
/in/foo.cc:50:43: warning: array subscript has type 'char' [-Wchar-subscripts]
if (res[a1]==-1 && res[b1]!=-1 && res[c1]!=-1)//ºÍÓëÒ»¸ö¼ÓÊýÖªµÀ
^
/in/foo.cc:53:17: warning: array subscript has type 'char' [-Wchar-subscripts]
js1 = (res[c1]-res[b1]+n)%n;
^
/in/foo.cc:53:25: warning: array subscript has type 'char' [-Wchar-subscripts]
js1 = (res[c1]-res[b1]+n)%n;
^
/in/foo.cc:54:17: warning: array subscript has type 'char' [-Wchar-subscripts]
js2 = (res[c1]-res[b1]-1+n)%n;
^
/in/foo.cc:54: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:90:18: warning: array subscript has type 'char' [-Wchar-subscripts]
jiahe = (res[a1]+res[b1]+jinwei)%n;//¼ÆËãºÍ
^
/in/foo.cc:90:26: warning: array subscript has type 'char' [-Wchar-subscripts]
jiahe = (res[a1]+res[b1]+jinwei)%n;//¼ÆËãºÍ
^
/in/foo.cc:91:19: warning: array subscript has type 'char' [-Wchar-subscripts]
jinwei =( res[a1]+res[b1]+jinwei)/n;//¼ÆËã½øλ
^
/in/foo.cc:91:27: warning: array subscript has type 'char' [-Wchar-subscripts]
jinwei =( res[a1]+res[b1]+jinwei)/n;//¼ÆËã½øλ
^
/in/foo.cc:92:20: 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:14: warning: array subscript has type 'char' [-Wchar-subscripts]
res[pos[k]]=i;//µÚk¸ö×ÖĸȡÊý×Öi
^
/in/foo.cc:122:14: warning: array subscript has type 'char' [-Wchar-subscripts]
res[pos[k]]=-1;//µÚk¸ö×ÖĸÊÍ·Å
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:140:19: warning: array subscript has type 'char' [-Wchar-subscripts]
if (!usedZiMu[a1]) ///´ÓÉÏÍùÏÂ
^
/in/foo.cc:142:15: warning: array subscript has type 'char' [-Wchar-subscripts]
usedZiMu[a1]=1;
^
/in/foo.cc:145:19: warning: array subscript has type 'char' [-Wchar-subscripts]
if (!usedZiMu[b1])
^
/in/foo.cc:147:15: warning: array subscript has type 'char' [-Wchar-subscripts]
usedZiMu[b1]=1;
^
/in/foo.cc:150:19: warning: array subscript has type 'char' [-Wchar-subscripts]
if (!usedZiMu[c1])
^
/in/foo.cc:152:15: warning: array subscript has type 'char' [-Wchar-subscripts]
usedZiMu[c1]=1;
^