POJ2301+水~~~~~~

有比这更水的么。。。。。。。。。。。。。。

 #include<stdio.h>
int main(){
int n;
scanf("%d",&n);
while( n-- ){
int sa,sb;
scanf("%d%d",&sa,&sb);
if( (sa+sb)%!= ){
printf("impossible\n");
continue;
}
int a = (sa+sb)/;
int b = sa-a;
if( a<||b< ){
printf("impossible\n");
continue;
}
printf("%d %d\n",a>b?a:b,a>b?b:a);
}
return ;
}
上一篇:【JS】Intermediate9:jQuery: Other Tricks


下一篇:Lesson 7: Responsive Typography In Action