当前位置:网站首页>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;
}
边栏推荐
- Looking back on 2021, looking forward to 2022 | a year between CSDN and me
- 网络安全-记录web漏洞修复
- Threejs clicks the scene object to obtain object information, and threejs uses raycaster to pick up object information
- Ctfshow 2022 Spring Festival welcome (detailed commentary)
- C语言课设:影院售票管理系统
- Judge whether the stack order is reasonable according to the stack order
- Behavior perception system
- 灵魂三问:什么是接口测试,接口测试怎么玩,接口自动化测试怎么玩?
- lds链接的 顺序问题
- 25K 入职腾讯的那天,我特么哭了
猜你喜欢
Containerd series - what is containerd?
Interview summary: This is a comprehensive & detailed Android interview guide
美国5G Open RAN再遭重大挫败,抗衡中国5G技术的图谋已告失败
我国算力规模排名全球第二:计算正向智算跨越
kubernetes集群之调度系统
Enterprise level: spire Office for . NET:Platinum|7.7. x
Use of vscode software
Use Firefox browser to quickly pick up Web image materials
【thingsboard】替换首页logo的方法
如何实现实时音视频聊天功能
随机推荐
On the day 25K joined Tencent, I cried
Learning notes 8
测试开发是什么?为什么现在那么多公司都要招聘测试开发?
Learning MVVM notes (1)
CTF stegano practice stegano 9
Sequelize. JS and hasmany - belongsto vs hasmany in serialize js
Summary of scene design
What is the reason why the webrtc protocol video cannot be played on the easycvr platform?
Threejs realizes the drawing of the earth, geographical location annotation, longitude and latitude conversion of world coordinates threejs coordinates
JVM garbage collection
The development of mobile IM based on TCP still needs to keep the heartbeat alive
Ctfshow web entry code audit
Un réveil de l'application B devrait être rapide
【虚幻引擎UE】实现背景模糊下近景旋转操作物体的方法及踩坑记录
Possible stack order of stack order with length n
Use object composition in preference to class inheritance
【刷题】BFS题目精选
How to solve the problem that easycvr changes the recording storage path and does not generate recording files?
Threejs implements labels and displays labels with custom styles
Containerd series - detailed explanation of plugins