当前位置:网站首页>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;
}
边栏推荐
- Why is there a reincarnation of 60 years instead of 120 years in the tiangan dizhi chronology
- 陇原战“疫“2021网络安全大赛 Web EasyJaba
- Rust blockchain development - signature encryption and private key public key
- Soul 3: what is interface testing, how to play interface testing, and how to play interface automation testing?
- Special Edition: spreadjs v15.1 vs spreadjs v15.0
- Threejs factory model 3DMAX model obj+mtl format, source file download
- How to solve the problem that easycvr changes the recording storage path and does not generate recording files?
- CTF stegano practice stegano 9
- [array]566 Reshape the matrix - simple
- Ctfshow web entry code audit
猜你喜欢

Technical tutorial: how to use easydss to push live streaming to qiniu cloud?

Uni app change the default component style

Resolved (sqlalchemy+pandas.read_sql) attributeerror: 'engine' object has no attribute 'execution_ options‘

Is "golden nine and silver ten" the best time to find a job? Not necessarily

如何优雅的获取每个分组的前几条数据

Online sql to excel (xls/xlsx) tool

Containerd series - detailed explanation of plugins

NEW:Devart dotConnect ADO. NET

C language course setting: cinema ticket selling management system

Scheduling system of kubernetes cluster
随机推荐
How to realize real-time audio and video chat function
open graph协议
This article takes you to understand the relationship between the past and present of Bi and the digital transformation of enterprises
Clickhouse materialized view
[wp][introduction] brush weak type questions
Use object composition in preference to class inheritance
美国5G Open RAN再遭重大挫败,抗衡中国5G技术的图谋已告失败
What is test development? Why do so many companies hire test developers now?
【刷题】BFS题目精选
Plasticscm enterprise crack
FFmepg使用指南
ClickPaaS低代码平台
[untitled]
[charging station]_ Secular wisdom_ Philosophical wisdom _
Threejs realizes the drawing of the earth, geographical location annotation, longitude and latitude conversion of world coordinates threejs coordinates
UI automation test farewell to manual download of browser driver
Special Edition: spreadjs v15.1 vs spreadjs v15.0
Seven join join queries of MySQL
Enterprise level: spire Office for . NET:Platinum|7.7. x
[phantom engine UE] realize the animation production of mapping tripod deployment