0_0_25841272_8213.cpp: In function 'bool check(int)':
0_0_25841272_8213.cpp:7:2: error: 'll' was not declared in this scope
ll cnt1=0,cnt2=0;
^
0_0_25841272_8213.cpp:9:20: error: 'cnt1' was not declared in this scope
if (a[i]>mid+1) cnt1+=(ll)(a[i]-mid)/2;
^
0_0_25841272_8213.cpp:10:23: error: 'cnt2' was not declared in this scope
else if (a[i]<mid) cnt2+=(ll)mid-a[i];
^
0_0_25841272_8213.cpp:11:9: error: 'cnt1' was not declared in this scope
return cnt1>=cnt2;
^
0_0_25841272_8213.cpp:11:15: error: 'cnt2' was not declared in this scope
return cnt1>=cnt2;
^
|