Language: C++

#include<iostream>
#include <cstring>
#include<string>
#include<algorithm>
#include<vector>
#include<iomanip>
#include<math.h>
#include<complex>
#include<queue>
#include<deque>
#include<stack>
#include<map>
#include<set>
#include<bitset>
#include<functional>
#include<assert.h>
#include<numeric>
using namespace std;
#define REP(i,m,n) for(int i=(int)(m) ; i < (int) (n) ; ++i )
#define rep(i,n) REP(i,0,n)
using ll = long long;
const int inf=1e9+7;
const ll longinf=(1LL<<63) - 600;
const ll mod=1e9+7 ;
const int MAX = 1000000;
const int MOD = 1000000007;


int main(){
 int N; cin >> N;
  rep(i, N){
    cin >> x[i] >> y[i];
  }
  ll ans = 0;
rep(i, N){
  rep(j, N){
    rep(k, N){
      ll a, b, c, d, e, f; 
      a=x[i], b=y[i], c=x[j], d=y[j], e=x[k], f=y[k];
ll aa = a * a;
ll bb = b * b;
ll cc = c * c;
ll dd = d * d;
ll ee = e * e;
ll ff = f * f;
ll py, px;
py = ((e - a) * (aa + bb - cc - dd) - (c - a) * (aa + bb - ee- ff)) / (2 * (e - a)*(b - d) - 2 * (c - a) * (b - f));

if(c-a) px = (2 * (b - f) * py - aa - bb + ee + ff) / (2 * (e - a));
 px =    (2 * (b - d) * py - aa - bb + cc + dd) / (2 * (c - a));
 double r = sqrt((double)(px-a)*(px-a) + (double)(px-b)*(px-b));
 ans = min(r, ans);
    }
  }
}
  cout << ans << endl;
}

Compiler output:
a.cc:23:28: warning: integer overflow in expression of type 'long long int' results in '9223372036854775208' [-Woverflow]
   23 | const ll longinf=(1LL<<63) - 600;
      |                  ~~~~~~~~~~^~~~~
a.cc: In function 'int main()':
a.cc:32:12: error: 'x' was not declared in this scope
   32 |     cin >> x[i] >> y[i];
      |            ^
a.cc:32:20: error: 'y' was not declared in this scope
   32 |     cin >> x[i] >> y[i];
      |                    ^
a.cc:39:9: error: 'x' was not declared in this scope
   39 |       a=x[i], b=y[i], c=x[j], d=y[j], e=x[k], f=y[k];
      |         ^
a.cc:39:17: error: 'y' was not declared in this scope
   39 |       a=x[i], b=y[i], c=x[j], d=y[j], e=x[k], f=y[k];
      |                 ^
a.cc:52:11: error: no matching function for call to 'min(double&, ll&)'
   52 |  ans = min(r, ans);
      |        ~~~^~~~~~~~
In file included from /usr/include/c++/14/string:51,
                 from /usr/include/c++/14/bits/locale_classes.h:40,
                 from /usr/include/c++/14/bits/ios_base.h:41,
                 from /usr/include/c++/14/ios:44,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_algobase.h:233:5: note: candidate: 'template<class _Tp> constexpr const _Tp& std::min(const _Tp&, const _Tp&)'
  233 |     min(const _Tp& __a, const _Tp& __b)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:233:5: note:   template argument deduction/substitution failed:
a.cc:52:11: note:   deduced conflicting types for parameter 'const _Tp' ('double' and 'll' {aka 'long long int'})
   52 |  ans = min(r, ans);
      |        ~~~^~~~~~~~
/usr/include/c++/14/bits/stl_algobase.h:281:5: note: candidate: 'template<class _Tp, class _Compare> constexpr const _Tp& std::min(const _Tp&, const _Tp&, _Compare)'
  281 |     min(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:281:5: note:   candidate expects 3 arguments, 2 provided
In file included from /usr/include/c++/14/algorithm:61,
                 from a.cc:4:
/usr/include/c++/14/bits/stl_algo.h:5686:5: note: candidate: 'template<class _Tp> constexpr _Tp std::min(initializer_list<_Tp>)'
 5686 |     min(initializer_list<_Tp> __l)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5686:5: note:   candidate expects 1 argument, 2 provided
/usr/include/c++/14/bits/stl_algo.h:5696:5: note: candidate: 'template<class _Tp, class _Compare> constexpr _Tp std::min(initializer_list<_Tp>, _Compare)'
 5696 |     min(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5696:5: note:   template argument deduction/substitution failed:
a.cc:52:11: note:   mismatched types 'std::initializer_list<_Tp>' and 'double'
   52 |  ans = min(r, ans);
      |        ~~~^~~~~~~~