当前位置:网站首页>进制形式
进制形式
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;
}边栏推荐
- IO流:节点流和处理流详细归纳。
- Redis publish and subscribe
- LVGL 8.2 List
- Is it safe to open an account online for stock speculation? Will you be cheated.
- Comment configurer un accord
- leecode学习笔记-约瑟夫问题
- Free, easy-to-use, powerful lightweight note taking software evaluation: drafts, apple memo, flomo, keep, flowus, agenda, sidenote, workflow
- 找数字
- (1) The standard of performance tuning and the correct posture for tuning - if you have performance problems, go to the heapdump performance community!
- Explain of SQL optimization
猜你喜欢

Luo Gu - some interesting questions 2

Node mongodb installation

They are all talking about Devops. Do you really understand it?

Expose Ali's salary and position level

自动控制原理快速入门+理解

An overview of 2D human posture estimation

LVGL 8.2 LED
![[local differential privacy and random response code implementation] differential privacy code implementation series (13)](/img/fe/f6a13dcf31ac67633ee5a59d95149d.jpg)
[local differential privacy and random response code implementation] differential privacy code implementation series (13)

Explain of SQL optimization

Helix swarm Chinese package is released, and perforce further improves the user experience in China
随机推荐
程序员自曝接私活:10个月时间接了30多个单子,纯收入40万
[C language] Pointer written test questions
关于FPGA底层资源的细节问题
如何搭建一支搞垮公司的技术团队?
LVGL 8.2 Menu
Data Lake (13): spark and iceberg integrate DDL operations
C language course design questions
Comment configurer un accord
LVGL 8.2 Line
Is it safe to open an account online for stock speculation? Will you be cheated.
LeetCode 1200 最小絕對差[排序] HERODING的LeetCode之路
Openresty current limiting
LVGL 8.2 List
Introduction to asynchronous task capability of function calculation - task trigger de duplication
局部修改-渐进型开发
如何配和弦
深度学习7 Transformer系列实例分割Mask2Former
Korean AI team plagiarizes shock academia! One tutor with 51 students, or plagiarism recidivist
Analysis of nearly 100 million dollars stolen and horizon cross chain bridge attacked
Ranking list of databases in July: mongodb and Oracle scores fell the most