Main.cc: In function ‘int bin(long long int, long long int)’: Main.cc:8:9: error: ‘middle’ was not declared in this scope middle=(low+high)/2; ^~~~~~ Main.cc:8:9: note: suggested alternative: ‘modfl’ middle=(low+high)/2; ^~~~~~ modfl Main.cc:9:12: error: ‘x’ was not declared in this scope if(x==a[middle]) return middle+1; ^ Main.cc:9:15: error: ‘a’ was not declared in this scope if(x==a[middle]) return middle+1; ^ Main.cc: In function ‘int main()’: Main.cc:24:7: error: ‘l’ was not declared in this scope cin>>l>>n>>k; ^ Main.cc:24:10: error: ‘n’ was not declared in this scope cin>>l>>n>>k; ^ Main.cc:24:10: note: suggested alternative: ‘yn’ cin>>l>>n>>k; ^ yn Main.cc:24:13: error: ‘k’ was not declared in this scope cin>>l>>n>>k; ^ Main.cc:27:8: error: ‘a’ was not declared in this scope cin>>a[i]; ^ Main.cc:28:3: error: ‘d’ was not declared in this scope d[i-1]=a[i]-a[i-1]; ^ Main.cc:30:7: error: ‘d’ was not declared in this scope sort(d+1,d+n); ^