当前位置:网站首页>进制形式
进制形式
2022-07-04 13:32:00 【Zaltana】
分别输出128、456789的十进制、八进制、十六进制(字母大写)数据形式。
格式
输入格式:无
输出格式:输出为整型,空格分隔
样例
输入:无
输出: 128 200 80
456789 1574125 6F855
#include<bits/stdc++.h>
using namespace std;
int main( )
{
int a=128, b=456789 ;
printf("%d %o %X" ,a,a,a);
printf("\n%d %o %X" ,b,b,b);
return 0;
}
边栏推荐
- 毕业季-个人总结
- Analysis of nearly 100 million dollars stolen and horizon cross chain bridge attacked
- LVGL 8.2 LED
- Dialogue with ye Yanxiu, senior consultant of Longzhi and atlassian certification expert: where should Chinese users go when atlassian products enter the post server era?
- 对话龙智高级咨询顾问、Atlassian认证专家叶燕秀:Atlassian产品进入后Server时代,中国用户应当何去何从?
- 如何配和弦
- 10. (map data) offline terrain data processing (for cesium)
- Classify boost libraries by function
- First experience of ViewModel
- How to handle exceptions in multithreading?
猜你喜欢
MP3是如何诞生的?
韩国AI团队抄袭震动学界!1个导师带51个学生,还是抄袭惯犯
Guitar Pro 8win10 latest guitar learning / score / creation
现代控制理论入门+理解
Wt588f02b-8s (c006_03) single chip voice IC scheme enables smart doorbell design to reduce cost and increase efficiency
Halo effect - who says that those with light on their heads are heroes
[differential privacy and data adaptability] differential privacy code implementation series (XIV)
Analysis of nearly 100 million dollars stolen and horizon cross chain bridge attacked
10. (map data) offline terrain data processing (for cesium)
Red envelope activity design in e-commerce system
随机推荐
Query optimizer for SQL optimization
remount of the / superblock failed: Permission denied
When synchronized encounters this thing, there is a big hole, pay attention!
5g TV cannot become a competitive advantage, and video resources become the last weapon of China's Radio and television
LVLG 8.2 circular scrolling animation of a label
信号处理之一阶RC低通滤波器宏指令实现(繁易触摸屏)
What are the concepts of union, intersection, difference and complement?
都在说DevOps,你真正了解它吗?
How to handle exceptions in multithreading?
Node mongodb installation
浮点数如何与0进行比较?
音视频技术开发周刊 | 252
各大主流编程语言性能PK,结果出乎意料
Is BigDecimal safe to calculate the amount? Look at these five pits~~
Programmers exposed that they took private jobs: they took more than 30 orders in 10 months, with a net income of 400000
03-存储系统
【C语言】指针笔试题
C language set operation
Luo Gu - some interesting questions 2
[algorithm leetcode] interview question 04.03 Specific depth node linked list (Multilingual Implementation)