镇乃天子

This commit is contained in:
2026-03-21 07:25:29 -04:00
parent 8633a4877f
commit 8d012e9523
2 changed files with 20 additions and 0 deletions

BIN
260314/03 Normal file

Binary file not shown.

20
260314/03.cpp Normal file
View File

@@ -0,0 +1,20 @@
#include<iostream>
using namespace std;
int main(){
for(int i=2;i<100;i++){
bool n=true;
for(int j=2;j*j<=i;j++){
if(i%j==0){
n=false;
break;
}
}
if(n)
cout<<i<<" ";
}
return 0;
}