F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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.


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-22 17:02:16, Gzip enabled