当前位置:网站首页>进制乱炖
进制乱炖
2022-07-04 13:32:00 【Zaltana】
输入一个正整数,输出它的十进制形式、八进制形式、十六进制形式(小写)、无符号的十进制形式,空格分隔。
格式
输入格式:输入整型,空格分隔。
输出格式:输出整型,空格分隔。
样例
输入: 33
输出:33 41 21 33
#include<bits/stdc++.h>
using namespace std;
int main( )
{
int n;
scanf("%d" ,&n);
printf("%d %o %x %u",n,n,n,n);
return 0;
}
边栏推荐
- Data Lake (13): spark and iceberg integrate DDL operations
- Codeforce:c. sum of substrings
- C language set operation
- 为什么国产手机用户换下一部手机时,都选择了iPhone?
- flutter 报错 No MediaQuery widget ancestor found.
- [information retrieval] experiment of classification and clustering
- LVGL 8.2 Line wrap, recoloring and scrolling
- The performance of major mainstream programming languages is PK, and the results are unexpected
- Helix swarm Chinese package is released, and perforce further improves the user experience in China
- openresty 限流
猜你喜欢
How to handle exceptions in multithreading?
SAIC Maxus officially released its new brand "mifa", and its flagship product mifa 9 was officially unveiled!
Ffprobe common commands
深度学习 网络正则化
Digi restarts XBee Pro S2C production. Some differences need to be noted
LeetCode 1200 最小絕對差[排序] HERODING的LeetCode之路
Count the running time of PHP program and set the maximum running time of PHP
LVGL 8.2 Draw label with gradient color
A keepalived high availability accident made me learn it again
The performance of major mainstream programming languages is PK, and the results are unexpected
随机推荐
LVGL 8.2 Line wrap, recoloring and scrolling
92. (cesium chapter) cesium building layering
阿里被裁员工,找工作第N天,猎头又传来噩耗...
Redis 發布和訂閱
都在说DevOps,你真正了解它吗?
The performance of major mainstream programming languages is PK, and the results are unexpected
深度学习 网络正则化
PLC模拟量输入 模拟量转换FC S_ITR (CODESYS平台)
Ffmpeg Visual Studio development (IV): audio decoding
金额计算用 BigDecimal 就万无一失了?看看这五个坑吧~~
5g TV cannot become a competitive advantage, and video resources become the last weapon of China's Radio and television
LVGL 8.2 Menu
C language course design questions
如何配和弦
Expose Ali's salary and position level
leecode学习笔记-约瑟夫问题
leetcode:6110. The number of incremental paths in the grid graph [DFS + cache]
LeetCode 1200 最小絕對差[排序] HERODING的LeetCode之路
深度学习7 Transformer系列实例分割Mask2Former
炒股网上开户安全吗?会不会被骗。