foo.cc: In function 'void dfs(int, int)':
foo.cc:27:16: warning: array subscript has type 'char' [-Wchar-subscripts]
27 | cout<<mapp[c]<<" ";
| ^
foo.cc:30:15: warning: array subscript has type 'char' [-Wchar-subscripts]
30 | cout<<mapp[c];
| ^
foo.cc:35:17: warning: array subscript has type 'char' [-Wchar-subscripts]
35 | if(mapp[s1[pos]]==-1)
| ^
foo.cc:41:16: warning: array subscript has type 'char' [-Wchar-subscripts]
41 | mapp[s1[pos]]=i;
| ^
foo.cc:42:19: warning: array subscript has type 'char' [-Wchar-subscripts]
42 | if(mapp[s2[pos]]==-1)
| ^
foo.cc:48:18: warning: array subscript has type 'char' [-Wchar-subscripts]
48 | mapp[s2[pos]]=j;
| ^
foo.cc:49:21: warning: array subscript has type 'char' [-Wchar-subscripts]
49 | if(mapp[s3[pos]]!=-1)
| ^
foo.cc:51:27: warning: array subscript has type 'char' [-Wchar-subscripts]
51 | int num=mapp[s1[pos]]+mapp[s2[pos]];
| ^
foo.cc:51:41: warning: array subscript has type 'char' [-Wchar-subscripts]
51 | int num=mapp[s1[pos]]+mapp[s2[pos]];
| ^
foo.cc:53:30: warning: array subscript has type 'char' [-Wchar-subscripts]
53 | if(num>=0&&mapp[s3[pos]]==num)
| ^
foo.cc:55:32: warning: array subscript has type 'char' [-Wchar-subscripts]
55 | if(num+1>=0&&mapp[s3[pos]]==num+1)
| ^
foo.cc:60:27: warning: array subscript has type 'char' [-Wchar-subscripts]
60 | int num=mapp[s1[pos]]+mapp[s2[pos]];
| ^
foo.cc:60:41: warning: array subscript has type 'char' [-Wchar-subscripts]
60 | int num=mapp[s1[pos]]+mapp[s2[pos]];
| ^
foo.cc:67:21: warning: array subscript has type 'char' [-Wchar-subscripts]
67 | mapp[s3[pos]]=num;
| ^
foo.cc:70:21: warning: array subscript has type 'char' [-Wchar-subscripts]
70 | mapp[s3[pos]]=-1;
| ^
foo.cc:78:21: warning: array subscript has type 'char' [-Wchar-subscripts]
78 | mapp[s3[pos]]=num+1;
| ^
foo.cc:81:21: warning: array subscript has type 'char' [-Wchar-subscripts]
81 | mapp[s3[pos]]=-1;
| ^
foo.cc:86:18: warning: array subscript has type 'char' [-Wchar-subscripts]
86 | mapp[s2[pos]]=-1;
| ^
foo.cc:91:20: warning: array subscript has type 'char' [-Wchar-subscripts]
91 | if(mapp[s3[pos]]!=-1)
| ^
foo.cc:93:27: warning: array subscript has type 'char' [-Wchar-subscripts]
93 | int num=mapp[s1[pos]]+mapp[s2[pos]];
| ^
foo.cc:93:41: warning: array subscript has type 'char' [-Wchar-subscripts]
93 | int num=mapp[s1[pos]]+mapp[s2[pos]];
| ^
foo.cc:95:30: warning: array subscript has type 'char' [-Wchar-subscripts]
95 | if(num>=0&&mapp[s3[pos]]==num)
| ^
foo.cc:97:32: warning: array subscript has type 'char' [-Wchar-subscripts]
97 | if(num+1>=0&&mapp[s3[pos]]==num+1)
| ^
foo.cc:102:27: warning: array subscript has type 'char' [-Wchar-subscripts]
102 | int num=mapp[s1[pos]]+mapp[s2[pos]];
| ^
foo.cc:102:41: warning: array subscript has type 'char' [-Wchar-subscripts]
102 | int num=mapp[s1[pos]]+mapp[s2[pos]];
| ^
foo.cc:109:21: warning: array subscript has type 'char' [-Wchar-subscripts]
109 | mapp[s3[pos]]=num;
| ^
foo.cc:112:21: warning: array subscript has type 'char' [-Wchar-subscripts]
112 | mapp[s3[pos]]=-1;
| ^
foo.cc:120:21: warning: array subscript has type 'char' [-Wchar-subscripts]
120 | mapp[s3[pos]]=num+1;
| ^
foo.cc:123:21: warning: array subscript has type 'char' [-Wchar-subscripts]
123 | mapp[s3[pos]]=-1;
| ^
foo.cc:129:16: warning: array subscript has type 'char' [-Wchar-subscripts]
129 | mapp[s1[pos]]=-1;
| ^
foo.cc:134:18: warning: array subscript has type 'char' [-Wchar-subscripts]
134 | if(mapp[s2[pos]]==-1)
| ^
foo.cc:140:17: warning: array subscript has type 'char' [-Wchar-subscripts]
140 | mapp[s2[pos]]=j;
| ^
foo.cc:141:20: warning: array subscript has type 'char' [-Wchar-subscripts]
141 | if(mapp[s3[pos]]!=-1)
| ^
foo.cc:143:27: warning: array subscript has type 'char' [-Wchar-subscripts]
143 | int num=mapp[s1[pos]]+mapp[s2[pos]];
| ^
foo.cc:143:41: warning: array subscript has type 'char' [-Wchar-subscripts]
143 | int num=mapp[s1[pos]]+mapp[s2[pos]];
| ^
foo.cc:145:30: warning: array subscript has type 'char' [-Wchar-subscripts]
145 | if(num>=0&&mapp[s3[pos]]==num)
| ^
foo.cc:147:32: warning: array subscript has type 'char' [-Wchar-subscripts]
147 | if(num+1>=0&&mapp[s3[pos]]==num+1)
| ^
foo.cc:152:27: warning: array subscript has type 'char' [-Wchar-subscripts]
152 | int num=mapp[s1[pos]]+mapp[s2[pos]];
| ^
foo.cc:152:41: warning: array subscript has type 'char' [-Wchar-subscripts]
152 | int num=mapp[s1[pos]]+mapp[s2[pos]];
| ^
foo.cc:159:21: warning: array subscript has type 'char' [-Wchar-subscripts]
159 | mapp[s3[pos]]=num;
| ^
foo.cc:162:21: warning: array subscript has type 'char' [-Wchar-subscripts]
162 | mapp[s3[pos]]=-1;
| ^
foo.cc:170:21: warning: array subscript has type 'char' [-Wchar-subscripts]
170 | mapp[s3[pos]]=num+1;
| ^
foo.cc:173:21: warning: array subscript has type 'char' [-Wchar-subscripts]
173 | mapp[s3[pos]]=-1;
| ^
foo.cc:178:17: warning: array subscript has type 'char' [-Wchar-subscripts]
178 | mapp[s2[pos]]=-1;
| ^
foo.cc:183:20: warning: array subscript has type 'char' [-Wchar-subscripts]
183 | if(mapp[s3[pos]]!=-1)
| ^
foo.cc:185:27: warning: array subscript has type 'char' [-Wchar-subscripts]
185 | int num=mapp[s1[pos]]+mapp[s2[pos]];
| ^
foo.cc:185:41: warning: array subscript has type 'char' [-Wchar-subscripts]
185 | int num=mapp[s1[pos]]+mapp[s2[pos]];
| ^
foo.cc:187:30: warning: array subscript has type 'char' [-Wchar-subscripts]
187 | if(num>=0&&mapp[s3[pos]]==num)
| ^
foo.cc:189:32: warning: array subscript has type 'char' [-Wchar-subscripts]
189 | if(num+1>=0&&mapp[s3[pos]]==num+1)
| ^
foo.cc:194:27: warning: array subscript has type 'char' [-Wchar-subscripts]
194 | int num=mapp[s1[pos]]+mapp[s2[pos]];
| ^
foo.cc:194:41: warning: array subscript has type 'char' [-Wchar-subscripts]
194 | int num=mapp[s1[pos]]+mapp[s2[pos]];
| ^
foo.cc:201:21: warning: array subscript has type 'char' [-Wchar-subscripts]
201 | mapp[s3[pos]]=num;
| ^
foo.cc:204:21: warning: array subscript has type 'char' [-Wchar-subscripts]
204 | mapp[s3[pos]]=-1;
| ^
foo.cc:212:21: warning: array subscript has type 'char' [-Wchar-subscripts]
212 | mapp[s3[pos]]=num+1;
| ^
foo.cc:215:21: warning: array subscript has type 'char' [-Wchar-subscripts]
215 | mapp[s3[pos]]=-1;
| ^
[Hydro](https://hydro.ac)提供评测服务