版权声明:听说这里让写版权声明~~~ https://blog.csdn.net/m0_37691414/article/details/86666070
题解
注意GRB两位不足用‘0’代替。
#include<iostream>
#include<string>
#include<cstdio>
using namespace std;
string t = "0123456789ABC";
int main() {
int n;
printf("#");
for(int i = 0; i < 3; ++i) {
scanf("%d", &n);
printf("%c%c", t[n / 13], t[n % 13]);
}
return 0;
}