代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/452050/7449713
c 3981915_ac_204ms_312k.c
i,m,n;main(){while(scanf("%d",&m)+1,n=--m){if(m%2==0)n/=2;while(m%2==0)m/=2;for(i =3;m!=1;i+=2){if (m%i==0)n-=n/i;while(m%i==0)m/=i;}printf("%d\n",n);}}
www.eeworm.com/read/447019/7560489
t prog3.t
{
int i; int j; float[10][10] a;
i = 0;
while ( i < 10 ) {
j = 0;
while ( j < 10 ) {
a[i][j] = 0;
j = j+1;
}
i = i+1;
}
i = 0;
while ( i < 10 ) {
a[i][i] = 1;
i = i+1;
}
}
www.eeworm.com/read/436204/7775267
cpp 模取幂(1).cpp
int powermod(int a, int s, int m)//a ^ s % m
{
int t = 1, b = a;
while(s > 0)
{
if((s & 1) == 1)
{
t = t * b % m;
}
b = b * b % m;
s = s >> 1;
}
return t;
}
www.eeworm.com/read/399503/7856692
txt 1.txt
main()a:int;b:int;c:int;s:int;{if a>c then a=c; while s>a do s=s+c*b+a}