当前位置:网站首页>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;
}
边栏推荐
猜你喜欢

Apache DolphinScheduler版本2.0.5分布式集群的安装

VSO Downloader Ultimate 5.0.1.45 中文多语免费版 在线视频下载工具

Ali cloud object storage oss private barrels to generate links

【转】最小描述长度准则MDL(Minimun Description Length)

力扣561. 数组拆分

用scikit-learn学习谱聚类

typescript46-函数之间的类型兼容性

Build your own web page on raspberry pie (1)
breed Web刷机升级详细教材修正编译器固件说明_itkeji.top

web安全-PHP反序列化漏洞
随机推荐
1058 选择题 (20 分)(C语言)
[Harmony OS] [ARK UI] ETS context basic operations
mysql 存储过程 动态参数 查询执行结果
对角矩阵(diagonal matrix)
js implements a bind function
Exception (abnormal) and Error (error) difference analysis
typescript41-class类的私有修饰符
Djiango第三次培训
Alienware上线首个数字时装AR试穿体验
MCM box model modeling method and source analysis of atmospheric O3
Length n of condensed distance matrix ‘y‘ must be a binomial coefficient
UV decomposition of biotin - PEG2 - azide | CAS: 1192802-98-4 biotin connectors
ss-1.curl (cloud-provider-payment8001)
1054 求平均值 (20 分)
Kaggle 入门(Kaggle网站使用及项目复现)
Newifi路由器第三方固件玩机教程,这个路由比你想的更强大以及智能_Newifi y1刷机_smzdm
typescript49-交叉类型
typescript47-函数之间的类型兼容性
web安全-命令执行漏洞
User password verification