当前位置:网站首页>进制乱炖
进制乱炖
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;
}
边栏推荐
- 深度学习 神经网络的优化方法
- 關於miui12.5 紅米k20pro用au或者povo2出現問題的解决辦法
- Pandora IOT development board learning (RT thread) - Experiment 3 button experiment (learning notes)
- 产品好不好,谁说了算?Sonar提出分析的性能指标,帮助您轻松判断产品性能及表现
- Kubernets pod exists finalizers are always in terminating state
- Digi XBee 3 rf: 4 protocols, 3 packages, 10 major functions
- Ali was laid off employees, looking for a job n day, headhunters came bad news
- [cloud native] how can I compete with this database?
- Kubernets Pod 存在 Finalizers 一直处于 Terminating 状态
- Memory management summary
猜你喜欢
UFO:微软学者提出视觉语言表征学习的统一Transformer,在多个多模态任务上达到SOTA性能!...
内存管理总结
Five minutes per day machine learning: use gradient descent to complete the fitting of multi feature linear regression model
Codeforce:c. sum of substrings
为什么国产手机用户换下一部手机时,都选择了iPhone?
leetcode:6110. The number of incremental paths in the grid graph [DFS + cache]
5g TV cannot become a competitive advantage, and video resources become the last weapon of China's Radio and television
Five minutes of machine learning every day: why do we need to normalize the characteristics of numerical types?
Free, easy-to-use, powerful lightweight note taking software evaluation: drafts, apple memo, flomo, keep, flowus, agenda, sidenote, workflow
LVGL 8.2 Line wrap, recoloring and scrolling
随机推荐
Ffprobe common commands
Sqlserver functions, creation and use of stored procedures
Ali was laid off employees, looking for a job n day, headhunters came bad news
(1) The standard of performance tuning and the correct posture for tuning - if you have performance problems, go to the heapdump performance community!
C language small commodity management system
Flutter reports an error no mediaquery widget ancestor found
内存管理总结
Luo Gu - some interesting questions
LVGL 8.2 keyboard
Data Lake (13): spark and iceberg integrate DDL operations
自动控制原理快速入门+理解
A keepalived high availability accident made me learn it again
对话龙智高级咨询顾问、Atlassian认证专家叶燕秀:Atlassian产品进入后Server时代,中国用户应当何去何从?
深度学习 神经网络案例(手写数字识别)
[information retrieval] experiment of classification and clustering
PLC Analog input analog conversion FC s_ ITR (CoDeSys platform)
Redis 发布和订阅
局部修改-渐进型开发
LVGL 8.2 List
各大主流编程语言性能PK,结果出乎意料