题目描述 输入正整数n(n>=2),求不大于n的全部质数 代码 【方法一】(定义法直接求) #include <iostream> using namespace std; int main(){ int n, i, j; cin >> n; for