0_0_20847335_26664.cpp:1:1: error: 'LL' does not name a type
LL cal(LL x)
^
0_0_20847335_26664.cpp: In function 'int main()':
0_0_20847335_26664.cpp:11:5: error: 'LL' was not declared in this scope
LL n,q,ans,x,L,R;
^
0_0_20847335_26664.cpp:12:30: error: 'n' was not declared in this scope
while(~scanf("%lld%lld",&n,&q))
^
0_0_20847335_26664.cpp:12:33: error: 'q' was not declared in this scope
while(~scanf("%lld%lld",&n,&q))
^
0_0_20847335_26664.cpp:12:34: error: 'scanf' was not declared in this scope
while(~scanf("%lld%lld",&n,&q))
^
0_0_20847335_26664.cpp:17:13: error: 'ans' was not declared in this scope
ans=0;
^
0_0_20847335_26664.cpp:21:35: error: 'L' was not declared in this scope
scanf("%lld%lld",&L,&R);
^
0_0_20847335_26664.cpp:21:38: error: 'R' was not declared in this scope
scanf("%lld%lld",&L,&R);
^
0_0_20847335_26664.cpp:22:26: error: 'cal' was not declared in this scope
ans=cal(R)-cal(L-1);
^
0_0_20847335_26664.cpp:26:31: error: 'x' was not declared in this scope
scanf("%lld",&x);
^
0_0_20847335_26664.cpp:30:32: error: 'lowbit' was not declared in this scope
x+=lowbit(x);
^
0_0_20847335_26664.cpp:33:32: error: 'printf' was not declared in this scope
printf("%lld\n",ans);
^
|