
C++算法学习
悠玄烛远
一页,一书,纸上觉深浅。半杯,半盏,饮中悟乾坤。
展开
-
c语言 0~100间猜数游戏参考
#include<stdio.h> #include<string.h> #include<iostream> #include <math.h> #include<time.h> #define CRT_SECURE_NO_WARNINGS #pragma warning(disable:4996) using namespace s...原创 2020-04-22 18:51:25 · 860 阅读 · 0 评论 -
输入十个整数,输出其中质数
#include<stdio.h> #include<string.h> #include<iostream> #include<time.h> using namespace std; int chose(int s) { int i = 2; do { if (s % i == 0 &&a...原创 2020-04-25 11:32:31 · 3556 阅读 · 0 评论