当前位置:网站首页>进制形式
进制形式
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;
}
边栏推荐
- 5G电视难成竞争优势,视频资源成中国广电最后武器
- LVGL 8.2 List
- 为什么国产手机用户换下一部手机时,都选择了iPhone?
- PLC Analog input analog conversion FC s_ ITR (CoDeSys platform)
- LVGL 8.2 LED
- [C language] Pointer written test questions
- How to handle exceptions in multithreading?
- Helix Swarm中文包发布,Perforce进一步提升中国用户体验
- LVGL 8.2 Draw label with gradient color
- LVGL 8.2 List
猜你喜欢
IO流:节点流和处理流详细归纳。
SAIC Maxus officially released its new brand "mifa", and its flagship product mifa 9 was officially unveiled!
leecode学习笔记-约瑟夫问题
Kubernets Pod 存在 Finalizers 一直处于 Terminating 状态
曝光一下阿里的工资待遇和职位级别
03 storage system
5g TV cannot become a competitive advantage, and video resources become the last weapon of China's Radio and television
产品好不好,谁说了算?Sonar提出分析的性能指标,帮助您轻松判断产品性能及表现
03-存储系统
如何搭建一支搞垮公司的技术团队?
随机推荐
都在说DevOps,你真正了解它吗?
Redis 解决事务冲突之乐观锁和悲观锁
LVGL 8.2 Sorting a List using up and down buttons
Query optimizer for SQL optimization
Introduction to asynchronous task capability of function calculation - task trigger de duplication
Programmers exposed that they took private jobs: they took more than 30 orders in 10 months, with a net income of 400000
Preliminary exploration of flask: WSGI
Kubernets Pod 存在 Finalizers 一直处于 Terminating 状态
信号处理之一阶RC低通滤波器宏指令实现(繁易触摸屏)
LeetCode 1200 最小绝对差[排序] HERODING的LeetCode之路
es6模块化
Wt588f02b-8s (c006_03) single chip voice IC scheme enables smart doorbell design to reduce cost and increase efficiency
PLC Analog input analog conversion FC s_ ITR (CoDeSys platform)
Xcode abnormal pictures cause IPA packet size problems
LVGL 8.2 Line
Five minutes of machine learning every day: why do we need to normalize the characteristics of numerical types?
92. (cesium chapter) cesium building layering
[cloud native] how can I compete with this database?
C language small commodity management system
Luo Gu - some interesting questions 2