0_0_33336336_12040.cpp:1:419: fatal error: GCC4.9.2/lib/gcc/x86_64-w64-mingw32/4.9.2/include/stdio.h>in: Invalid argument
#include<stdio.h>int main(){ int T,A,B; int a,b; scanf("%d",&T); while(T--) { scanf("%d%d",&A,&B); if(A<B) printf("impossible\n"); else if((A+B)%2!=0) printf("impossible\n");//这个需要判断下,因为这个WA了一次 else { a=(A+B)/2; b=(A-B)/2; if(a<b){int c=a;a=b;b=c;} printf("%d %d\n",a,b); } } return 0; }
^
compilation terminated.
|