mobitel.cpp: In function 'int main()':
mobitel.cpp:32:23: warning: array subscript has type 'char' [-Wchar-subscripts]
for(j=1;j<=sol[car];j++)
^
mobitel.cpp:33:25: warning: array subscript has type 'char' [-Wchar-subscripts]
cout<<comp[c[car]];
^
mobitel.cpp:32:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(j=1;j<=sol[car];j++)
^~~
mobitel.cpp:34:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
ant = car;
^~~
mobitel.cpp:37:17: warning: array subscript has type 'char' [-Wchar-subscripts]
if(c[car] == c[ant])
^
mobitel.cpp:37:27: warning: array subscript has type 'char' [-Wchar-subscripts]
if(c[car] == c[ant])
^
mobitel.cpp:39:27: warning: array subscript has type 'char' [-Wchar-subscripts]
for(j=1;j<=sol[car];j++)
^
mobitel.cpp:40:29: warning: array subscript has type 'char' [-Wchar-subscripts]
cout<<comp[c[car]];
^
mobitel.cpp:39:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(j=1;j<=sol[car];j++)
^~~
mobitel.cpp:41:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
ant = car;
^~~