当前位置:网站首页>Hexadecimal to octal
Hexadecimal to octal
2022-07-05 04:11:00 【CSDNhdlg】
#include<stdio.h>
#define N 50
int main()
{
int i,n;
int ch[N];
scanf("%d",&n);
for(i=0;i<n;i++)
scanf("%x",&ch[i]);// transport 16 Hexadecimal number
for(i=0;i<n;i++)
printf("%o\n",ch[i]);// Output 8 Hexadecimal number
return 0;
}
边栏推荐
- Judge whether the stack order is reasonable according to the stack order
- 【thingsboard】替换首页logo的方法
- Why is there a reincarnation of 60 years instead of 120 years in the tiangan dizhi chronology
- lds链接的 顺序问题
- MindFusion. Virtual Keyboard for WPF
- Scheduling system of kubernetes cluster
- UI automation test farewell to manual download of browser driver
- [phantom engine UE] only six steps are needed to realize the deployment of ue5 pixel stream and avoid detours! (the principles of 4.26 and 4.27 are similar)
- Containerd series - what is containerd?
- 我就一写代码的,王总整天和我谈格局...
猜你喜欢

【thingsboard】替换首页logo的方法

【虚幻引擎UE】运行和启动的区别,常见问题分析

Official announcement! The third cloud native programming challenge is officially launched!

Pyqt5 displays file names and pictures

基于TCP的移动端IM即时通讯开发仍然需要心跳保活

Enterprise level: spire Office for . NET:Platinum|7.7. x

Clickhouse synchronization MySQL (based on materialization engine)

Interview byte, pass the exam and directly work on three sides. As a result, I found an architect to hang me?

EasyCVR平台出现WebRTC协议视频播放不了是什么原因?

Use of vscode software
随机推荐
[phantom engine UE] package error appears! Solutions to findpin errors
灵魂三问:什么是接口测试,接口测试怎么玩,接口自动化测试怎么玩?
On the day 25K joined Tencent, I cried
Threejs implements labels and displays labels with custom styles
Open graph protocol
A real day for Beijing programmers!!!!!
技术教程:如何利用EasyDSS将直播流推到七牛云?
Uni app common functions /api
【虚幻引擎UE】打包报错出现!FindPin错误的解决办法
为什么百度、阿里这些大厂宁愿花25K招聘应届生,也不愿涨薪5K留住老员工?
Is there a sudden failure on the line? How to make emergency diagnosis, troubleshooting and recovery
The development of mobile IM based on TCP still needs to keep the heartbeat alive
Interview related high-frequency algorithm test site 3
The scale of computing power in China ranks second in the world: computing is leaping forward in Intelligent Computing
CTF stegano practice stegano 9
Common features of ES6
Is "golden nine and silver ten" the best time to find a job? Not necessarily
[wp][introduction] brush weak type questions
【虛幻引擎UE】實現UE5像素流部署僅需六步操作少走彎路!(4.26和4.27原理類似)
Scheduling system of kubernetes cluster