foo.cc: In function 'bool ok_()':
foo.cc:10:17: warning: array subscript has type 'char' [-Wchar-subscripts]
10 | if(t[a[i]]==-1||t[b[i]]==-1||t[c[i]]==-1)continue;
| ~~~^
foo.cc:10:30: warning: array subscript has type 'char' [-Wchar-subscripts]
10 | if(t[a[i]]==-1||t[b[i]]==-1||t[c[i]]==-1)continue;
| ~~~^
foo.cc:10:43: warning: array subscript has type 'char' [-Wchar-subscripts]
10 | if(t[a[i]]==-1||t[b[i]]==-1||t[c[i]]==-1)continue;
| ~~~^
foo.cc:11:18: warning: array subscript has type 'char' [-Wchar-subscripts]
11 | if((t[a[i]]+t[b[i]])%n!=t[c[i]])
| ~~~^
foo.cc:11:26: warning: array subscript has type 'char' [-Wchar-subscripts]
11 | if((t[a[i]]+t[b[i]])%n!=t[c[i]])
| ~~~^
foo.cc:11:38: warning: array subscript has type 'char' [-Wchar-subscripts]
11 | if((t[a[i]]+t[b[i]])%n!=t[c[i]])
| ~~~^
foo.cc:13:22: warning: array subscript has type 'char' [-Wchar-subscripts]
13 | if((t[a[i]]+t[b[i]]+1)%n!=t[c[i]])return 0;
| ~~~^
foo.cc:13:30: warning: array subscript has type 'char' [-Wchar-subscripts]
13 | if((t[a[i]]+t[b[i]]+1)%n!=t[c[i]])return 0;
| ~~~^
foo.cc:13:44: warning: array subscript has type 'char' [-Wchar-subscripts]
13 | if((t[a[i]]+t[b[i]]+1)%n!=t[c[i]])return 0;
| ~~~^
foo.cc: In function 'void Try_()':
foo.cc:23:20: warning: array subscript has type 'char' [-Wchar-subscripts]
23 | int s=t[a[i]]+t[b[i]]+jw;
| ~~~^
foo.cc:23:28: warning: array subscript has type 'char' [-Wchar-subscripts]
23 | int s=t[a[i]]+t[b[i]]+jw;
| ~~~^
foo.cc:24:17: warning: array subscript has type 'char' [-Wchar-subscripts]
24 | if(t[c[i]]!=s%n)return ;
| ~~~^
foo.cc: In function 'int main()':
foo.cc:51:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
51 | scanf("%d",&n);
| ~~~~~^~~~~~~~~
foo.cc:52:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
52 | scanf("%s%s%s",a+1,b+1,c+1);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务