www.pudn.com > wanlousheji.rar > k.cpp


#include  
 
int main() 
{ 
	int n; 
	while(1) 
	{ 
		scanf("%d",&n); 
		if(n==0) 
			break; 
		for(i=0;i