当前位置:网站首页>7.8(6)
7.8(6)
2022-08-03 05:11:00 【tt142】
今天只是看了几个关于分支循环的小题,效率奇低,主要是心情很差,境界不高不能真正两耳不闻窗外事
会打印闰年,素数,公约数,倍数,从大到小打印数字
int main()
{
int a = 0;
for(a=100;a<=200;a++)
{
int j = 0;
for(j=2,j<=sqrt(a);j+=2)
{
if(a%j == 0)
{
break;
}
}
if(j > sqrt(a))
{
printf("%d ",a)
}
}
return 0;
}
边栏推荐
猜你喜欢
Install IIS services (Internet Information Services (Internet Information Services, abbreviated IIS, Internet Information Services)
快速上手 Mockito 单元测试框架
接口和抽象
typescript46-函数之间的类型兼容性
Apache DolphinScheduler版本2.0.5分布式集群的安装
FileZilla 搭建ftp服务器
阿里云对象存储oss私有桶生成链接
传说中可“免费白拿”的无线路由器 - 斐讯 K2 最简单刷 breed 与第三方固件教程
内部类、static关键字、final
第四次培训
随机推荐
Talking about GIS Data (5) - Geographic Coordinate System
ss-4.1-1个eurekaServer+1个providerPayment+1个consumerOrder
typescript45-接口之间的兼容性
安装IIS服务(Internet信息服务(Internet Information Services,简写IIS,互联网信息服务)
shell script loop statement
-最低分-
Length n of condensed distance matrix ‘y‘ must be a binomial coefficient
Redis6学习笔记
C-PHY速率
NotImplementedError: file structure not yet supported
celery工作原理图
内部类、static关键字、final
Ali cloud object storage oss private barrels to generate links
idea uses @Autowired annotation to explain the reasons and solutions
0.ROS常用命令
Modelarts第一次培训
flask 面试题 问题
判断回文数
1058 选择题 (20 分)(C语言)
FileZilla 搭建ftp服务器