0_0_20779588_5091.cpp:4:9: error: 'vector' does not name a type
typedef vector<int> vci; typedef pair<int, int> pii;
^
0_0_20779588_5091.cpp:4:34: error: 'pair' does not name a type
typedef vector<int> vci; typedef pair<int, int> pii;
^
0_0_20779588_5091.cpp:5:9: error: 'vector' does not name a type
typedef vector<pair<int, int> > vpii;
^
0_0_20779588_5091.cpp:7:1: error: 'LL' does not name a type
LL bits[70];
^
0_0_20779588_5091.cpp: In function 'int main()':
0_0_20779588_5091.cpp:10:5: error: 'bits' was not declared in this scope
bits[0]=1;
^
0_0_20779588_5091.cpp:13:18: error: 'scanf' was not declared in this scope
scanf("%d",&n);
^
0_0_20779588_5091.cpp:14:5: error: 'LL' was not declared in this scope
LL a,b;
^
0_0_20779588_5091.cpp:17:29: error: 'a' was not declared in this scope
scanf("%I64d%I64d",&a,&b);
^
0_0_20779588_5091.cpp:17:32: error: 'b' was not declared in this scope
scanf("%I64d%I64d",&a,&b);
^
0_0_20779588_5091.cpp:18:36: error: 'printf' was not declared in this scope
if(a==b){printf("%I64d\n",a);continue;}
^
0_0_20779588_5091.cpp:19:12: error: expected ';' before 'mx'
LL mx=0;LL ans=b;
^
0_0_20779588_5091.cpp:19:20: error: expected ';' before 'ans'
LL mx=0;LL ans=b;
^
0_0_20779588_5091.cpp:22:16: error: expected ';' before 'tmp'
LL tmp=bits[i];
^
0_0_20779588_5091.cpp:23:18: error: 'tmp' was not declared in this scope
if(b&tmp)
^
0_0_20779588_5091.cpp:25:17: error: 'mx' was not declared in this scope
mx+=tmp;
^
0_0_20779588_5091.cpp:26:29: error: 'ans' was not declared in this scope
if(mx-1>=a) ans=max(ans,(mx|(mx-1)));
^
0_0_20779588_5091.cpp:26:52: error: 'max' was not declared in this scope
if(mx-1>=a) ans=max(ans,(mx|(mx-1)));
^
0_0_20779588_5091.cpp:29:30: error: 'mx' was not declared in this scope
printf("%I64d\n",max(mx,ans));
^
0_0_20779588_5091.cpp:29:33: error: 'ans' was not declared in this scope
printf("%I64d\n",max(mx,ans));
^
0_0_20779588_5091.cpp:29:36: error: 'max' was not declared in this scope
printf("%I64d\n",max(mx,ans));
^
0_0_20779588_5091.cpp:29:37: error: 'printf' was not declared in this scope
printf("%I64d\n",max(mx,ans));
^
|