tavan.cpp: In function 'int main()':
tavan.cpp:28:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(to.size()<m)
~~~~~~~~~^~
tavan.cpp:30:8: warning: unused variable 'zero' [-Wunused-variable]
char zero='0';
^~~~
tavan.cpp:39:18: warning: operation on 'count_' may be undefined [-Wsequence-point]
ans+=c[count_++][to[count_]-'0'];
~~~~~~^~
tavan.cpp:41:18: warning: operation on 'count_' may be undefined [-Wsequence-point]
ans+=c[count_++][to[count_]-'A'+10];
~~~~~~^~