pat1027 Colors in Mars
来源:互联网 发布:手机怎么搜淘宝店铺号 编辑:程序博客网 时间:2024/05/23 23:39
#include<cstdio>#include<iostream>#include<algorithm>#include<vector>#include<queue>#include<string>#include<cstring>#include<cmath>#include<map>#define ll long longusing namespace std;char s[15] = "0123456789ABC";char ans[10];int main(){int a,b,c;while(scanf("%d%d%d",&a,&b,&c)!=EOF){ans[0] = '#';ans[1] = s[a/13];ans[2] = s[a%13];ans[3] = s[b/13];ans[4] = s[b%13];ans[5] = s[c/13];ans[6] = s[c%13];printf("%s\n",ans);} return 0;}
0 0
- pat1027 Colors in Mars
- PAT1027 Colors in Mars (20)
- Colors in Mars
- 1027. Colors in Mars
- PAT_1027: Colors in Mars
- 1027. Colors in Mars
- 1027. Colors in Mars
- 1027.Colors in Mars
- 1027. Colors in Mars
- 1027. Colors in Mars
- 1027 Colors in Mars
- 1027. Colors in Mars
- 1027. Colors in Mars
- 1027. Colors in Mars
- PAT_1027. Colors in Mars
- pat 1027 Colors in Mars
- 1027. Colors in Mars (20)
- 1027. Colors in Mars (20)
- HDU 1757解题报告
- <input>中ID和NAME的区别
- 单例模式
- java之如何区分重载函数
- 寒假总结
- pat1027 Colors in Mars
- 便利构造器总结
- Codeforces 441E Valera and Number 概率DP
- 什么是类什么是对象
- 07. 线性相关、基、维数
- 不可以!
- 教你快速高效接入SDK——U8Server的初步分析
- flex备忘(1)
- 终是离别时,伤感