Language: C++

#include <iostream>
#include <array>
#include <cmath>

int main(){
	
	int data;
	
	std::cin >> data;  //dataset
	
	std::array<double, data>xa;
	std::array<double, data>ya;
	std::array<double, data>ra;
	std::array<double, data>xb;
	std::array<double, data>yb;
	std::array<double, data>rb;
	
	for(int i=0; i<data; ++i){
		std::cin >> xa[i];
		std::cin >> ya[i];
		std::cin >> ra[i];
		std::cin >> xb[i];
		std::cin >> yb[i];
		std::cin >> rb[i];
	}
	
	double length;  //a-b length;
	
	length = hypot(abs(xa-xb),abs(ya-yb));
	
	if(length > ra+rb){
		std::cout << 0 << std::endl;
	}else if(length + rb < ra){
		std::cout << 2 << std::endl; 
	}else if(length + ra < rb){
		std::cout << -2 << std::endl; 
	}else{
		std::cout << 1 << std::endl; 
	}
	
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:32: error: the value of 'data' is not usable in a constant expression
   11 |         std::array<double, data>xa;
      |                                ^
a.cc:7:13: note: 'int data' is not const
    7 |         int data;
      |             ^~~~
a.cc:11:32: note: in template argument for type 'long unsigned int'
   11 |         std::array<double, data>xa;
      |                                ^
a.cc:12:32: error: the value of 'data' is not usable in a constant expression
   12 |         std::array<double, data>ya;
      |                                ^
a.cc:7:13: note: 'int data' is not const
    7 |         int data;
      |             ^~~~
a.cc:12:32: note: in template argument for type 'long unsigned int'
   12 |         std::array<double, data>ya;
      |                                ^
a.cc:13:32: error: the value of 'data' is not usable in a constant expression
   13 |         std::array<double, data>ra;
      |                                ^
a.cc:7:13: note: 'int data' is not const
    7 |         int data;
      |             ^~~~
a.cc:13:32: note: in template argument for type 'long unsigned int'
   13 |         std::array<double, data>ra;
      |                                ^
a.cc:14:32: error: the value of 'data' is not usable in a constant expression
   14 |         std::array<double, data>xb;
      |                                ^
a.cc:7:13: note: 'int data' is not const
    7 |         int data;
      |             ^~~~
a.cc:14:32: note: in template argument for type 'long unsigned int'
   14 |         std::array<double, data>xb;
      |                                ^
a.cc:15:32: error: the value of 'data' is not usable in a constant expression
   15 |         std::array<double, data>yb;
      |                                ^
a.cc:7:13: note: 'int data' is not const
    7 |         int data;
      |             ^~~~
a.cc:15:32: note: in template argument for type 'long unsigned int'
   15 |         std::array<double, data>yb;
      |                                ^
a.cc:16:32: error: the value of 'data' is not usable in a constant expression
   16 |         std::array<double, data>rb;
      |                                ^
a.cc:7:13: note: 'int data' is not const
    7 |         int data;
      |             ^~~~
a.cc:16:32: note: in template argument for type 'long unsigned int'
   16 |         std::array<double, data>rb;
      |                                ^
a.cc:19:31: error: invalid types 'int[int]' for array subscript
   19 |                 std::cin >> xa[i];
      |                               ^
a.cc:20:31: error: invalid types 'int[int]' for array subscript
   20 |                 std::cin >> ya[i];
      |                               ^
a.cc:21:31: error: invalid types 'int[int]' for array subscript
   21 |                 std::cin >> ra[i];
      |                               ^
a.cc:22:31: error: invalid types 'int[int]' for array subscript
   22 |                 std::cin >> xb[i];
      |                               ^
a.cc:23:31: error: invalid types 'int[int]' for array subscript
   23 |                 std::cin >> yb[i];
      |                               ^
a.cc:24:31: error: invalid types 'int[int]' for array subscript
   24 |                 std::cin >> rb[i];
      |                               ^