Home > Back-end >  C: n small primes bosses can help look at this code? Noi display is beyond time, how can change?
C: n small primes bosses can help look at this code? Noi display is beyond time, how can change?

Time:12-19

# include
Int main ()
{
Int n, a, x=1;
scanf("%d",&n);
If (n==1)
Printf (" 2 ");
The else
{
While (n - 1> 0)
{
X +=2;
A=x;
While (n - 1> 0)
{
A -;
If (a==0 x %)
break;
The else
{
If (a==2)
{
N -;
break;
}
The else
continue;
}
}
}
Printf (" % d ", x);
}
return 0;
}
  • Related