当前位置:网站首页>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;
}
边栏推荐
- [wp]bmzclub writeup of several questions
- 快手、抖音、视频号交战内容付费
- kubernetes集群之调度系统
- [PHP features - variable coverage] improper use, improper configuration and code logic vulnerability of the function
- 面试字节,过关斩将直接干到 3 面,结果找了个架构师来吊打我?
- 长度为n的入栈顺序的可能出栈顺序
- Seven join join queries of MySQL
- Possible stack order of stack order with length n
- [Chongqing Guangdong education] 2408t Chinese contemporary literature reference test in autumn 2018 of the National Open University
- Uni app common functions /api
猜你喜欢
测试开发是什么?为什么现在那么多公司都要招聘测试开发?
EasyCVR更改录像存储路径,不生成录像文件如何解决?
Realize the attention function of the article in the applet
Use threejs to create geometry, dynamically add geometry, delete geometry, and add coordinate axes
How to use jedis of redis
Uni app common functions /api
灵魂三问:什么是接口测试,接口测试怎么玩,接口自动化测试怎么玩?
如何实现实时音视频聊天功能
快手、抖音、视频号交战内容付费
Use threejs to create geometry and add materials, lights, shadows, animations, and axes
随机推荐
已解决(sqlalchemy+pandas.read_sql)AttributeError: ‘Engine‘ object has no attribute ‘execution_options‘
我就一写代码的,王总整天和我谈格局...
阿里云ECS使用cloudfs4oss挂载OSS
长度为n的入栈顺序的可能出栈顺序
Mixed compilation of C and CC
Kwai, Tiktok, video number, battle content payment
机器学习 --- 神经网络
Resolved (sqlalchemy+pandas.read_sql) attributeerror: 'engine' object has no attribute 'execution_ options‘
Clickhouse synchronization MySQL (based on materialization engine)
Use object composition in preference to class inheritance
Is there a sudden failure on the line? How to make emergency diagnosis, troubleshooting and recovery
Rome chain analysis
Fuel consumption calculator
Use threejs to create geometry and add materials, lights, shadows, animations, and axes
Is "golden nine and silver ten" the best time to find a job? Not necessarily
This article takes you to understand the relationship between the past and present of Bi and the digital transformation of enterprises
[PHP features - variable coverage] improper use, improper configuration and code logic vulnerability of the function
UI automation test farewell to manual download of browser driver
学习MVVM笔记(一)
Ctfshow web entry code audit