1027

版权声明:// Copyright © 2018年 Coding18. All rights reserved. https://blog.csdn.net/Coding18/article/details/86183792
#include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
char s[13] = {'0','1','2','3','4','5','6','7','8','9','A','B','C'};
int main()
{
	int a,b,c;
	scanf("%d %d %d",&a,&b,&c);
	printf("#%c%c%c%c%c%c",s[a/13],s[a%13],s[b/13],s[b%13],s[c/13],s[c%13]);
	return 0;
}

猜你喜欢

转载自blog.csdn.net/Coding18/article/details/86183792