当前位置:网站首页>Recursive call to print every bit of an integer
Recursive call to print every bit of an integer
2022-07-25 08:26:00 【p29949】
#include<stdio.h>
//void dayin( int k)
//{
// if (k < 10)
// printf("%d ", k);
// else
// { dayin(k / 10);
// printf("%d ", k%10);
//}
void dayin(int k)
{
if (k > 9)
{
dayin( k / 10);
}
printf("%d ", k%10);
}
int main()
{
int i=0;
scanf("%d", &i);
dayin(i);
return 0;
}
边栏推荐
- Mogdb 3.0 how to add a standby database in the environment of one active and one standby
- SSM+JSP+MYSQL实现的宠物领养收养管理系统源码
- Online shopping E-commerce mall system based on jsp+servlet+mysql+
- Learn when playing No 5 | human high quality examination, right here →
- Can Flink's current capabilities support the synchronization of a table from source (MySQL) to sink (MySQL) to separate databases and tables
- efcore在Saas系统下多租户零脚本分表分库读写分离解决方案
- CM4 development cross compilation tool chain production
- @Implementation principle of Autowired annotation
- 机器学习理论及案例分析(part1)--机器学习基础
- [audio and video] picture YUV data format
猜你喜欢
![[shader realizes shadow projection effect _shader effect Chapter 8]](/img/f3/aa935cc1bb4983d5a8dc0a9710ec6e.png)
[shader realizes shadow projection effect _shader effect Chapter 8]

Advanced C language (XII) - dynamic memory management

CentOS 8.2 MySQL installation (xshell6)

Eureka forced offline service

Online shopping E-commerce mall system based on jsp+servlet+mysql+

475-82(230、43、78、79、213、198、1143)

牛客动态规划训练

Ensembles in RNA counts data in TCGA_ ID to gene_ Method of ID

一次简单的SQL注入靶场练习
![[dark horse programmer] redis learning notes 001: introduction to redis + five basic data types](/img/f7/9f43cd964a671f3b53337999332280.png)
[dark horse programmer] redis learning notes 001: introduction to redis + five basic data types
随机推荐
@The difference and use of value and configurationproperties
【黑马程序员】Redis学习笔记003:Redis事务
Data warehouse ODS, DWD floor, 220616, HM,
Message Oriented Middleware
Network packet loss, network delay? This artifact helps you solve all problems
Install MySQL 8.0 using docker
记录两次多端排查问题的过程
Online bookstore system based on jsp+servlet+mysql
Implementation of depth first and breadth first traversal of binary tree
[dark horse programmer] redis learning notes 001: introduction to redis + five basic data types
Rstudio shows that it can't connect to the web page, or it has a new website.
Redis fragment cluster
Advanced C language (XIII) - Example Analysis of dynamic memory management
Huawei device remote login (Telnet, SSH) configuration
How to obtain the intersection / subtraction / Union of two sets by MySQL
mysql 如何获取两个集合的交集/差集/并集
JS cool rolling picture deformation animation JS special effects
Chapter 3 business function development (query clues)
@Autowired注解的实现原理
Codeforces Round #809 Editorial(A,B,C)