/in/foo.cc: In function 'int main()':
/in/foo.cc:16:35: error: 'lo' was not declared in this scope
    for(int j=i+1;j<=n;j++)  k=k+1,lo[k]=abs(x[j]-x[i]);
                                   ^~
/in/foo.cc:16:35: note: suggested alternative: 'l'
    for(int j=i+1;j<=n;j++)  k=k+1,lo[k]=abs(x[j]-x[i]);
                                   ^~
                                   l
/in/foo.cc:17:6: error: 'loli' was not declared in this scope
   if(loli(n))
      ^~~~
/in/foo.cc:17:6: note: suggested alternative: 'logl'
   if(loli(n))
      ^~~~
      logl
/in/foo.cc:19:9: error: 'lo' was not declared in this scope
    sort(lo+1,lo+k+1);
         ^~
/in/foo.cc:19:9: note: suggested alternative: 'l'
    sort(lo+1,lo+k+1);
         ^~
         l
/in/foo.cc:22:7: error: 'loli' was not declared in this scope
   if(!loli(n))
       ^~~~
/in/foo.cc:22:7: note: suggested alternative: 'logl'
   if(!loli(n))
       ^~~~
       logl
/in/foo.cc:24:9: error: 'lo' was not declared in this scope
    sort(lo+1,lo+k+1);
         ^~
/in/foo.cc:24:9: note: suggested alternative: 'l'
    sort(lo+1,lo+k+1);
         ^~
         l