0_0_18854142_10858.cpp:1:272: 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 n;while(~scanf("%d",&n)){while(n--){__int64 l,r;scanf("%I64d %I64d",&l,&r);__int64 ans=0;for (__int64 i=0x7fffffffffffffff;i>=1;i>>=1) {__int64 first =i/2+1;ans|=(l&first);if((l&first)!=(r&first)){ans|=i;break;}}printf("%I64d\n", ans);}}}
^
compilation terminated.
|