#includeint main(void){int x,y,t,n,flag=1,s,i;while( scanf("%d%d",&x,&y)==2 ){if(x>y){t=x;x=y;y=t;}if(x==0&&y==0) continue;for(n=x;n
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/23 02:09:07
#includeintmain(void){intx,y,t,n,flag=1,s,i;while(scanf("%d%d",&x,&y)==2){if(x>y){t=x;x=y;y=t;}if(x=
#includeint main(void){int x,y,t,n,flag=1,s,i;while( scanf("%d%d",&x,&y)==2 ){if(x>y){t=x;x=y;y=t;}if(x==0&&y==0) continue;for(n=x;n
#include
int main(void)
{
int x,y,t,n,flag=1,s,i;
while( scanf("%d%d",&x,&y)==2 )
{
if(x>y){t=x;x=y;y=t;}
if(x==0&&y==0) continue;
for(n=x;n
#includeint main(void){int x,y,t,n,flag=1,s,i;while( scanf("%d%d",&x,&y)==2 ){if(x>y){t=x;x=y;y=t;}if(x==0&&y==0) continue;for(n=x;n
#include
int main(void)
{
int x,y,t,n,flag=1,s,i;
while( scanf("%d%d",&x,&y)==2 )
{
flag=1;
if(x>y){t=x;x=y;y=t;}
if(x==0&&y==0) break;
for(n=x;n