6.3
来源:互联网 发布:c语言如何读取字符串 编辑:程序博客网 时间:2024/05/22 06:38
#include<stdio.h>int main(){ int x=1,find=0; while(1) { if(x>3000)continue; x++; if(x%2==1&&x%3==2&&x%5==4&&x%6==5&&x%7==0) { printf("x=%d\n",x); find=1; x++; } } return 0;}
测试结果:
知识点:continue
阅读全文
0 0
- 6.3
- 6.3
- 6.3
- 6.3
- 6.3
- 6.3
- 6.3
- 6.3
- 6.3
- 6.3
- 6.3
- 6.3
- 6.3
- 6.3
- 6.3
- 6.3
- 6.3 Conversions
- 闲言碎语6.3
- 虚拟机不能访问外网
- Windows 2d游戏开发
- Install Dlib and OpenCV 3 on MacOS
- 什么是心跳包?
- AndroidEventBus3.0用法全解析
- 6.3
- 算法复杂度分析方法
- 作业:使用Douglas-Peucker算法进行轨迹压缩
- 周志华《Machine Learning》学习笔记(13)--特征选择与稀疏学习
- 函数求和
- poj-1458-Common Subsequence-lcs-最长公共子序列-java
- 电信客服项目架构图
- 5.5
- Longest Palindromic Substring算法