#include<iostream> using namespace std; int zhisu(int n){ bool type=true; for(int i=1;i<=n;i++){ if(n%i==0){ type=false; } if(type==false){ break; } } } int main(){ int a,b; cin>>a; for(int j=0;j<=a;j++){ b==zhisu(j); } cout<<b; }
哪位大佬帮忙看看哪儿错了