进制转换。。
#include <cstdio>
#include <vector>
#include <string>
#include <cstring>
#include <cstdlib>
#include <iostream>
#include <algorithm>
#define INF 0x3fffffff
using namespace std;
void hs(int x)
{
char res[3]="";
int a,b;
a=x/13;
b=x%13;
if (a>9)
res[0]=a-10+'A';
else
res[0]=a-0+'0';
if (b>9)
res[1]=b-10+'A';
else
res[1]=b-0+'0';
cout<<res;
}
int main()
{
int a,b,c;
cin>>a>>b>>c;
cout<<'#';
hs(a);
hs(b);
hs(c);
}