#include #include int nt(int n){ for(int i= 2; i 1; } } int main() { int n; scanf("%d", &n); for(int i=0;i<=n;i++){ if(nt(i)){ printf("%d",i); } } }

Base

Name

#include #include int nt(int n){ for(int i= 2; i 1; } } int main() { int n; scanf("%d", &n); for(int i=0;i<=n;i++){ if(nt(i)){ printf("%d",i); } } }

We use cookies in order to give you the best possible experience on our website. By continuing to use this site, you agree to our use of cookies.
Attention! For proper authorization and operation of the applications, you must allow the use of third-party cookies.
Accept