当前位置:网站首页>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;
}
边栏推荐
- Mixed compilation of C and CC
- WGS84 coordinate system, web Mercator, gcj02 coordinate system, bd09 coordinate system - brief introduction to common coordinate systems
- Use object composition in preference to class inheritance
- Threejs Internet of things, 3D visualization of farms (II)
- 我国算力规模排名全球第二:计算正向智算跨越
- How does the applet solve the rendering layer network layer error?
- lds链接的 顺序问题
- Alibaba cloud ECS uses cloudfs4oss to mount OSS
- BDF application - topology sequence
- 【虚幻引擎UE】实现测绘三脚架展开动画制作
猜你喜欢
Why do big companies such as Baidu and Alibaba prefer to spend 25K to recruit fresh students rather than raise wages by 5K to retain old employees?
蛇形矩阵
Uni app common functions /api
美国5G Open RAN再遭重大挫败,抗衡中国5G技术的图谋已告失败
UI automation test farewell to manual download of browser driver
Threejs implements labels and displays labels with custom styles
行为感知系统
已解决(sqlalchemy+pandas.read_sql)AttributeError: ‘Engine‘ object has no attribute ‘execution_options‘
Threejs rendering obj+mtl model source code, 3D factory model
【刷题】BFS题目精选
随机推荐
Is "golden nine and silver ten" the best time to find a job? Not necessarily
Threejs factory model 3DMAX model obj+mtl format, source file download
[phantom engine UE] package error appears! Solutions to findpin errors
机器学习 --- 神经网络
【UNIAPP】系统热更新实现思路
[understand series after reading] 6000 words teach you to realize interface automation from 0 to 1
EasyCVR平台出现WebRTC协议视频播放不了是什么原因?
Learning MVVM notes (1)
FFmepg使用指南
[charging station]_ Secular wisdom_ Philosophical wisdom _
Soul 3: what is interface testing, how to play interface testing, and how to play interface automation testing?
Why can't all browsers on my computer open web pages
Get to know MySQL connection query for the first time
error Couldn‘t find a package. JSON file in "your path“
Threejs clicks the scene object to obtain object information, and threejs uses raycaster to pick up object information
线上故障突突突?如何紧急诊断、排查与恢复
Kwai, Tiktok, video number, battle content payment
About the project error reporting solution of mpaas Pb access mode adapting to 64 bit CPU architecture
About the recent experience of writing questions
MacBook安装postgreSQL+postgis