#include #include<math.h> int findIndex(char A[],char c); using namespace std; char A[16] = {'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'}; int B[16] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}; int main(){ //0x763; int res=0; int m=0; string str; while(cin>>str){ res = ...