Dataset Viewer
Auto-converted to Parquet Duplicate
exec_outcome
stringclasses
1 value
code_uid
stringlengths
32
32
file_name
stringclasses
111 values
prob_desc_created_at
stringlengths
10
10
prob_desc_description
stringlengths
63
3.8k
prob_desc_memory_limit
stringclasses
18 values
source_code
stringlengths
117
65.5k
lang_cluster
stringclasses
1 value
prob_desc_sample_inputs
stringlengths
2
802
prob_desc_time_limit
stringclasses
27 values
prob_desc_sample_outputs
stringlengths
2
796
prob_desc_notes
nulllengths
4
3k
lang
stringclasses
5 values
prob_desc_input_from
stringclasses
3 values
tags
sequencelengths
0
11
src_uid
stringlengths
32
32
prob_desc_input_spec
stringlengths
28
2.37k
difficulty
int64
-1
3.5k
prob_desc_output_spec
stringlengths
17
1.47k
prob_desc_output_to
stringclasses
3 values
hidden_unit_tests
stringclasses
1 value
PASSED
cc4bd913258499eede67360abafe1602
train_000.jsonl
1267117200
The Olympic Games in Bercouver are in full swing now. Here everyone has their own objectives: sportsmen compete for medals, and sport commentators compete for more convenient positions to give a running commentary. Today the main sport events take place at three round stadiums, and the commentator's objective is to cho...
64 megabytes
import java.io.*; import java.util.*; public class Comments implements Runnable { static class Circle { double x; double y; double r; Circle(double x, double y, double r) { this.x = x; this.y = y; this.r = r; } public Circle swap...
Java
["0 0 10\n60 0 10\n30 30 10"]
1 second
["30.00000 0.00000"]
null
Java 8
standard input
[ "geometry" ]
9829e1913e64072aadc9df5cddb63573
The input data consists of three lines, each of them describes the position of one stadium. The lines have the format x,  y,  r, where (x, y) are the coordinates of the stadium's center ( -  103 ≤ x,  y ≤ 103), and r (1 ≤ r  ≤ 103) is its radius. All the numbers in the input data are integer, stadiums do not have commo...
2,600
Print the coordinates of the required point with five digits after the decimal point. If there is no answer meeting the conditions, the program shouldn't print anything. The output data should be left blank.
standard output
PASSED
d1919199d00f776e7cdd2c7f77f34624
train_000.jsonl
1267117200
The Olympic Games in Bercouver are in full swing now. Here everyone has their own objectives: sportsmen compete for medals, and sport commentators compete for more convenient positions to give a running commentary. Today the main sport events take place at three round stadiums, and the commentator's objective is to cho...
64 megabytes
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Collections; import static java.lang.Math.*; import static java.util.Arrays.asList; import static java.util.Comparator.comparing; public class Main { public static void main(String[] args) throws IOExcept...
Java
["0 0 10\n60 0 10\n30 30 10"]
1 second
["30.00000 0.00000"]
null
Java 8
standard input
[ "geometry" ]
9829e1913e64072aadc9df5cddb63573
The input data consists of three lines, each of them describes the position of one stadium. The lines have the format x,  y,  r, where (x, y) are the coordinates of the stadium's center ( -  103 ≤ x,  y ≤ 103), and r (1 ≤ r  ≤ 103) is its radius. All the numbers in the input data are integer, stadiums do not have commo...
2,600
Print the coordinates of the required point with five digits after the decimal point. If there is no answer meeting the conditions, the program shouldn't print anything. The output data should be left blank.
standard output
PASSED
dbd3f672d8f9851cf7469f9698e769c6
train_000.jsonl
1267117200
The Olympic Games in Bercouver are in full swing now. Here everyone has their own objectives: sportsmen compete for medals, and sport commentators compete for more convenient positions to give a running commentary. Today the main sport events take place at three round stadiums, and the commentator's objective is to cho...
64 megabytes
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import static java.lang.Math.max; import static java.lang.Math.sqrt; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(Sys...
Java
["0 0 10\n60 0 10\n30 30 10"]
1 second
["30.00000 0.00000"]
null
Java 8
standard input
[ "geometry" ]
9829e1913e64072aadc9df5cddb63573
The input data consists of three lines, each of them describes the position of one stadium. The lines have the format x,  y,  r, where (x, y) are the coordinates of the stadium's center ( -  103 ≤ x,  y ≤ 103), and r (1 ≤ r  ≤ 103) is its radius. All the numbers in the input data are integer, stadiums do not have commo...
2,600
Print the coordinates of the required point with five digits after the decimal point. If there is no answer meeting the conditions, the program shouldn't print anything. The output data should be left blank.
standard output
PASSED
5cd110d142ab60cd92a26e09b8f93dc2
train_000.jsonl
1267117200
The Olympic Games in Bercouver are in full swing now. Here everyone has their own objectives: sportsmen compete for medals, and sport commentators compete for more convenient positions to give a running commentary. Today the main sport events take place at three round stadiums, and the commentator's objective is to cho...
64 megabytes
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import static java.lang.Math.max; import static java.lang.Math.sqrt; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(Sys...
Java
["0 0 10\n60 0 10\n30 30 10"]
1 second
["30.00000 0.00000"]
null
Java 8
standard input
[ "geometry" ]
9829e1913e64072aadc9df5cddb63573
The input data consists of three lines, each of them describes the position of one stadium. The lines have the format x,  y,  r, where (x, y) are the coordinates of the stadium's center ( -  103 ≤ x,  y ≤ 103), and r (1 ≤ r  ≤ 103) is its radius. All the numbers in the input data are integer, stadiums do not have commo...
2,600
Print the coordinates of the required point with five digits after the decimal point. If there is no answer meeting the conditions, the program shouldn't print anything. The output data should be left blank.
standard output
PASSED
3d7e2291665226311f7c4ab643a866fd
train_000.jsonl
1267117200
The Olympic Games in Bercouver are in full swing now. Here everyone has their own objectives: sportsmen compete for medals, and sport commentators compete for more convenient positions to give a running commentary. Today the main sport events take place at three round stadiums, and the commentator's objective is to cho...
64 megabytes
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import static java.lang.Math.max; import static java.lang.Math.sqrt; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(Sys...
Java
["0 0 10\n60 0 10\n30 30 10"]
1 second
["30.00000 0.00000"]
null
Java 8
standard input
[ "geometry" ]
9829e1913e64072aadc9df5cddb63573
The input data consists of three lines, each of them describes the position of one stadium. The lines have the format x,  y,  r, where (x, y) are the coordinates of the stadium's center ( -  103 ≤ x,  y ≤ 103), and r (1 ≤ r  ≤ 103) is its radius. All the numbers in the input data are integer, stadiums do not have commo...
2,600
Print the coordinates of the required point with five digits after the decimal point. If there is no answer meeting the conditions, the program shouldn't print anything. The output data should be left blank.
standard output
PASSED
d8a3e42fa33516709cdc634c5586356c
train_000.jsonl
1267117200
The Olympic Games in Bercouver are in full swing now. Here everyone has their own objectives: sportsmen compete for medals, and sport commentators compete for more convenient positions to give a running commentary. Today the main sport events take place at three round stadiums, and the commentator's objective is to cho...
64 megabytes
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Collections; import static java.lang.Math.*; import static java.util.Arrays.asList; import static java.util.Comparator.comparing; public class Main { public static void main(String[] args) throws IOExcept...
Java
["0 0 10\n60 0 10\n30 30 10"]
1 second
["30.00000 0.00000"]
null
Java 8
standard input
[ "geometry" ]
9829e1913e64072aadc9df5cddb63573
The input data consists of three lines, each of them describes the position of one stadium. The lines have the format x,  y,  r, where (x, y) are the coordinates of the stadium's center ( -  103 ≤ x,  y ≤ 103), and r (1 ≤ r  ≤ 103) is its radius. All the numbers in the input data are integer, stadiums do not have commo...
2,600
Print the coordinates of the required point with five digits after the decimal point. If there is no answer meeting the conditions, the program shouldn't print anything. The output data should be left blank.
standard output
PASSED
32bb9539cbdb45e1a19c7cadf06da816
train_000.jsonl
1267117200
The Olympic Games in Bercouver are in full swing now. Here everyone has their own objectives: sportsmen compete for medals, and sport commentators compete for more convenient positions to give a running commentary. Today the main sport events take place at three round stadiums, and the commentator's objective is to cho...
64 megabytes
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import static java.lang.Math.max; import static java.lang.Math.sqrt; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(Sys...
Java
["0 0 10\n60 0 10\n30 30 10"]
1 second
["30.00000 0.00000"]
null
Java 8
standard input
[ "geometry" ]
9829e1913e64072aadc9df5cddb63573
The input data consists of three lines, each of them describes the position of one stadium. The lines have the format x,  y,  r, where (x, y) are the coordinates of the stadium's center ( -  103 ≤ x,  y ≤ 103), and r (1 ≤ r  ≤ 103) is its radius. All the numbers in the input data are integer, stadiums do not have commo...
2,600
Print the coordinates of the required point with five digits after the decimal point. If there is no answer meeting the conditions, the program shouldn't print anything. The output data should be left blank.
standard output
PASSED
484b157955d6d903d36c67350d8c076e
train_000.jsonl
1267117200
The Olympic Games in Bercouver are in full swing now. Here everyone has their own objectives: sportsmen compete for medals, and sport commentators compete for more convenient positions to give a running commentary. Today the main sport events take place at three round stadiums, and the commentator's objective is to cho...
64 megabytes
import java.text.DecimalFormat; import java.util.Scanner; public class Main2 { class circle{ double x,y; double r; } circle[] circ = new circle[3]; public double dis(double x, double y, circle c){ return Math.sqrt((x-c.x)*(x-c.x) + (y-c.y)*(y-c.y)); } public double cost(double x, double y){ double...
Java
["0 0 10\n60 0 10\n30 30 10"]
1 second
["30.00000 0.00000"]
null
Java 8
standard input
[ "geometry" ]
9829e1913e64072aadc9df5cddb63573
The input data consists of three lines, each of them describes the position of one stadium. The lines have the format x,  y,  r, where (x, y) are the coordinates of the stadium's center ( -  103 ≤ x,  y ≤ 103), and r (1 ≤ r  ≤ 103) is its radius. All the numbers in the input data are integer, stadiums do not have commo...
2,600
Print the coordinates of the required point with five digits after the decimal point. If there is no answer meeting the conditions, the program shouldn't print anything. The output data should be left blank.
standard output
PASSED
d5fe5b35f07924a21fb3e39562986e95
train_000.jsonl
1267117200
The Olympic Games in Bercouver are in full swing now. Here everyone has their own objectives: sportsmen compete for medals, and sport commentators compete for more convenient positions to give a running commentary. Today the main sport events take place at three round stadiums, and the commentator's objective is to cho...
64 megabytes
import java.util.*; public class Main { static Point[] cs; static double[] rs; static double fit(Point p) { double[] asist = new double[3]; for (int i = 0; i < 3; i++) { asist[i] = ang(p, cs[i], rs[i]); } return (asist[0] - asist[1]) * (asist[0] - asist[1]) + (a...
Java
["0 0 10\n60 0 10\n30 30 10"]
1 second
["30.00000 0.00000"]
null
Java 8
standard input
[ "geometry" ]
9829e1913e64072aadc9df5cddb63573
The input data consists of three lines, each of them describes the position of one stadium. The lines have the format x,  y,  r, where (x, y) are the coordinates of the stadium's center ( -  103 ≤ x,  y ≤ 103), and r (1 ≤ r  ≤ 103) is its radius. All the numbers in the input data are integer, stadiums do not have commo...
2,600
Print the coordinates of the required point with five digits after the decimal point. If there is no answer meeting the conditions, the program shouldn't print anything. The output data should be left blank.
standard output
PASSED
20ab5f78ebd014335ad2354169ecd1ae
train_000.jsonl
1267117200
The Olympic Games in Bercouver are in full swing now. Here everyone has their own objectives: sportsmen compete for medals, and sport commentators compete for more convenient positions to give a running commentary. Today the main sport events take place at three round stadiums, and the commentator's objective is to cho...
64 megabytes
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; import static java.lang.Math.*; import static java.lang.String.format; public class CF002C { private static class Point { double x; double y; public Point(double x, double y) { this.x = x; ...
Java
["0 0 10\n60 0 10\n30 30 10"]
1 second
["30.00000 0.00000"]
null
Java 8
standard input
[ "geometry" ]
9829e1913e64072aadc9df5cddb63573
The input data consists of three lines, each of them describes the position of one stadium. The lines have the format x,  y,  r, where (x, y) are the coordinates of the stadium's center ( -  103 ≤ x,  y ≤ 103), and r (1 ≤ r  ≤ 103) is its radius. All the numbers in the input data are integer, stadiums do not have commo...
2,600
Print the coordinates of the required point with five digits after the decimal point. If there is no answer meeting the conditions, the program shouldn't print anything. The output data should be left blank.
standard output
PASSED
acd005a428978dcbd582ad264898421a
train_000.jsonl
1267117200
The Olympic Games in Bercouver are in full swing now. Here everyone has their own objectives: sportsmen compete for medals, and sport commentators compete for more convenient positions to give a running commentary. Today the main sport events take place at three round stadiums, and the commentator's objective is to cho...
64 megabytes
import java.util.Scanner; // 模拟退火 public class P2C { private static int[][] p = new int[3][3]; public static void main(String[] args) { Scanner sc = new Scanner(System.in); double x = 0.0, y = 0.0; for (int i = 0; i < 3; ++i) { for (int j = 0; j < 3; ++j) { ...
Java
["0 0 10\n60 0 10\n30 30 10"]
1 second
["30.00000 0.00000"]
null
Java 8
standard input
[ "geometry" ]
9829e1913e64072aadc9df5cddb63573
The input data consists of three lines, each of them describes the position of one stadium. The lines have the format x,  y,  r, where (x, y) are the coordinates of the stadium's center ( -  103 ≤ x,  y ≤ 103), and r (1 ≤ r  ≤ 103) is its radius. All the numbers in the input data are integer, stadiums do not have commo...
2,600
Print the coordinates of the required point with five digits after the decimal point. If there is no answer meeting the conditions, the program shouldn't print anything. The output data should be left blank.
standard output
PASSED
947c69e36031e26d8252f44fffc5b0af
train_000.jsonl
1267117200
The Olympic Games in Bercouver are in full swing now. Here everyone has their own objectives: sportsmen compete for medals, and sport commentators compete for more convenient positions to give a running commentary. Today the main sport events take place at three round stadiums, and the commentator's objective is to cho...
64 megabytes
import java.util.*; import java.io.*; import java.awt.Point; import java.math.BigDecimal; import java.math.BigInteger; import static java.lang.Math.*; // Solution is at the bottom of code public class C implements Runnable{ final boolean ONLINE_JUDGE = System.getProperty("ONLINE_JUDGE") != null; BufferedReader...
Java
["0 0 10\n60 0 10\n30 30 10"]
1 second
["30.00000 0.00000"]
null
Java 8
standard input
[ "geometry" ]
9829e1913e64072aadc9df5cddb63573
The input data consists of three lines, each of them describes the position of one stadium. The lines have the format x,  y,  r, where (x, y) are the coordinates of the stadium's center ( -  103 ≤ x,  y ≤ 103), and r (1 ≤ r  ≤ 103) is its radius. All the numbers in the input data are integer, stadiums do not have commo...
2,600
Print the coordinates of the required point with five digits after the decimal point. If there is no answer meeting the conditions, the program shouldn't print anything. The output data should be left blank.
standard output
PASSED
9e8f67fb945993b33a796282e4ecbe3a
train_000.jsonl
1267117200
The Olympic Games in Bercouver are in full swing now. Here everyone has their own objectives: sportsmen compete for medals, and sport commentators compete for more convenient positions to give a running commentary. Today the main sport events take place at three round stadiums, and the commentator's objective is to cho...
64 megabytes
import java.io.*; import java.util.*; public class Solution { private BufferedReader in; private PrintWriter out; private StringTokenizer st; public String next() throws Exception { while (st == null || !st.hasMoreElements()) { st = new StringTokenizer(in.readLine()); } ...
Java
["0 0 10\n60 0 10\n30 30 10"]
1 second
["30.00000 0.00000"]
null
Java 8
standard input
[ "geometry" ]
9829e1913e64072aadc9df5cddb63573
The input data consists of three lines, each of them describes the position of one stadium. The lines have the format x,  y,  r, where (x, y) are the coordinates of the stadium's center ( -  103 ≤ x,  y ≤ 103), and r (1 ≤ r  ≤ 103) is its radius. All the numbers in the input data are integer, stadiums do not have commo...
2,600
Print the coordinates of the required point with five digits after the decimal point. If there is no answer meeting the conditions, the program shouldn't print anything. The output data should be left blank.
standard output
PASSED
721b681ccf3799012d2df800eb58417b
train_000.jsonl
1267117200
The Olympic Games in Bercouver are in full swing now. Here everyone has their own objectives: sportsmen compete for medals, and sport commentators compete for more convenient positions to give a running commentary. Today the main sport events take place at three round stadiums, and the commentator's objective is to cho...
64 megabytes
import java.io.*; import java.util.*; public class C2 { FastScanner in; PrintWriter out; int x1, y1, r1, x2, y2, r2, x3, y3, r3; double[] getPoints(double angle) { double R1 = r1 / Math.sin(angle / 2), R2 = r2 / Math.sin(angle / 2), R3 = r3 / Math.sin(angle / 2); double A1 = x1 - x2, ...
Java
["0 0 10\n60 0 10\n30 30 10"]
1 second
["30.00000 0.00000"]
null
Java 8
standard input
[ "geometry" ]
9829e1913e64072aadc9df5cddb63573
The input data consists of three lines, each of them describes the position of one stadium. The lines have the format x,  y,  r, where (x, y) are the coordinates of the stadium's center ( -  103 ≤ x,  y ≤ 103), and r (1 ≤ r  ≤ 103) is its radius. All the numbers in the input data are integer, stadiums do not have commo...
2,600
Print the coordinates of the required point with five digits after the decimal point. If there is no answer meeting the conditions, the program shouldn't print anything. The output data should be left blank.
standard output
PASSED
4ca6fe52da7d6651178fe913952c5d66
train_000.jsonl
1267117200
The Olympic Games in Bercouver are in full swing now. Here everyone has their own objectives: sportsmen compete for medals, and sport commentators compete for more convenient positions to give a running commentary. Today the main sport events take place at three round stadiums, and the commentator's objective is to cho...
64 megabytes
import java.util.*; public class Main { public static void main(String[] args) { Scanner input = new Scanner(System.in); cs = new Point[3]; rs = new double[3]; for (int i = 0; i < 3; i++) { cs[i] = new Point(input.nextInt(), input.nextInt()); rs[i] = input.n...
Java
["0 0 10\n60 0 10\n30 30 10"]
1 second
["30.00000 0.00000"]
null
Java 8
standard input
[ "geometry" ]
9829e1913e64072aadc9df5cddb63573
The input data consists of three lines, each of them describes the position of one stadium. The lines have the format x,  y,  r, where (x, y) are the coordinates of the stadium's center ( -  103 ≤ x,  y ≤ 103), and r (1 ≤ r  ≤ 103) is its radius. All the numbers in the input data are integer, stadiums do not have commo...
2,600
Print the coordinates of the required point with five digits after the decimal point. If there is no answer meeting the conditions, the program shouldn't print anything. The output data should be left blank.
standard output
PASSED
c34cf58dfbe1568315750bfcc8c032c2
train_000.jsonl
1267117200
The Olympic Games in Bercouver are in full swing now. Here everyone has their own objectives: sportsmen compete for medals, and sport commentators compete for more convenient positions to give a running commentary. Today the main sport events take place at three round stadiums, and the commentator's objective is to cho...
64 megabytes
import java.util.Scanner; /** * 2c-commentator problem 模拟退火 * 作者:hongyanbo * 时间:2018/3/19 */ public class Main { static Circle[] circles = new Circle[3]; static class Circle{ double x,y,r; } public static void main(String[] args) { Scanner sc = new Scanner(System.in); ...
Java
["0 0 10\n60 0 10\n30 30 10"]
1 second
["30.00000 0.00000"]
null
Java 8
standard input
[ "geometry" ]
9829e1913e64072aadc9df5cddb63573
The input data consists of three lines, each of them describes the position of one stadium. The lines have the format x,  y,  r, where (x, y) are the coordinates of the stadium's center ( -  103 ≤ x,  y ≤ 103), and r (1 ≤ r  ≤ 103) is its radius. All the numbers in the input data are integer, stadiums do not have commo...
2,600
Print the coordinates of the required point with five digits after the decimal point. If there is no answer meeting the conditions, the program shouldn't print anything. The output data should be left blank.
standard output
PASSED
493f399574cec4264d6cd8046da5e45d
train_000.jsonl
1267117200
The Olympic Games in Bercouver are in full swing now. Here everyone has their own objectives: sportsmen compete for medals, and sport commentators compete for more convenient positions to give a running commentary. Today the main sport events take place at three round stadiums, and the commentator's objective is to cho...
64 megabytes
import java.io.*; import java.text.*; import java.math.*; import java.util.*; public class Main implements Runnable { final double eps = 1e-5; circle[] stad; double ans_x, ans_y, ans_r; boolean ans_found; void test2(double x, double y, int e ) { double[] rr = new double[3]; f...
Java
["0 0 10\n60 0 10\n30 30 10"]
1 second
["30.00000 0.00000"]
null
Java 8
standard input
[ "geometry" ]
9829e1913e64072aadc9df5cddb63573
The input data consists of three lines, each of them describes the position of one stadium. The lines have the format x,  y,  r, where (x, y) are the coordinates of the stadium's center ( -  103 ≤ x,  y ≤ 103), and r (1 ≤ r  ≤ 103) is its radius. All the numbers in the input data are integer, stadiums do not have commo...
2,600
Print the coordinates of the required point with five digits after the decimal point. If there is no answer meeting the conditions, the program shouldn't print anything. The output data should be left blank.
standard output
PASSED
b3e4b3e304afddd51c36c06295c00f16
train_000.jsonl
1267117200
The Olympic Games in Bercouver are in full swing now. Here everyone has their own objectives: sportsmen compete for medals, and sport commentators compete for more convenient positions to give a running commentary. Today the main sport events take place at three round stadiums, and the commentator's objective is to cho...
64 megabytes
import java.util.Scanner; public class Solution { public static double distance (double x1, double y1, double x2, double y2) { return Math.sqrt((x2 - x1)*(x2 - x1) + (y2 - y1) * (y2 - y1)); } public static void calculate_line_circle(double a, double b, double c, double x1, double y1, double...
Java
["0 0 10\n60 0 10\n30 30 10"]
1 second
["30.00000 0.00000"]
null
Java 6
standard input
[ "geometry" ]
9829e1913e64072aadc9df5cddb63573
The input data consists of three lines, each of them describes the position of one stadium. The lines have the format x,  y,  r, where (x, y) are the coordinates of the stadium's center ( -  103 ≤ x,  y ≤ 103), and r (1 ≤ r  ≤ 103) is its radius. All the numbers in the input data are integer, stadiums do not have commo...
2,600
Print the coordinates of the required point with five digits after the decimal point. If there is no answer meeting the conditions, the program shouldn't print anything. The output data should be left blank.
standard output
PASSED
a60b40d27e64373ff3c87f645c466b77
train_000.jsonl
1267117200
The Olympic Games in Bercouver are in full swing now. Here everyone has their own objectives: sportsmen compete for medals, and sport commentators compete for more convenient positions to give a running commentary. Today the main sport events take place at three round stadiums, and the commentator's objective is to cho...
64 megabytes
import java.awt.geom.Point2D; import java.io.*; import java.util.*; public class C { static Scanner in = new Scanner(new BufferedInputStream(System.in)); static PrintWriter out = new PrintWriter(System.out); static class Circle { double x, y, r; Circle(double x, double y, double r) { this.x = x; this...
Java
["0 0 10\n60 0 10\n30 30 10"]
1 second
["30.00000 0.00000"]
null
Java 6
standard input
[ "geometry" ]
9829e1913e64072aadc9df5cddb63573
The input data consists of three lines, each of them describes the position of one stadium. The lines have the format x,  y,  r, where (x, y) are the coordinates of the stadium's center ( -  103 ≤ x,  y ≤ 103), and r (1 ≤ r  ≤ 103) is its radius. All the numbers in the input data are integer, stadiums do not have commo...
2,600
Print the coordinates of the required point with five digits after the decimal point. If there is no answer meeting the conditions, the program shouldn't print anything. The output data should be left blank.
standard output
PASSED
d397aafaaa3d15830c0cf85fe7c255c7
train_000.jsonl
1267117200
The Olympic Games in Bercouver are in full swing now. Here everyone has their own objectives: sportsmen compete for medals, and sport commentators compete for more convenient positions to give a running commentary. Today the main sport events take place at three round stadiums, and the commentator's objective is to cho...
64 megabytes
import java.io.PrintWriter; import java.util.*; public class Main { static double EPS = 1e-6; int[][] dir = { { 1, 0 }, { 0, 1 }, { 0, -1 }, { -1, 0 } }; double[] x = new double[3]; double[] y = new double[3]; double[] r = new double[3]; double[] d = new double[3]; double clac(double px, ...
Java
["0 0 10\n60 0 10\n30 30 10"]
1 second
["30.00000 0.00000"]
null
Java 6
standard input
[ "geometry" ]
9829e1913e64072aadc9df5cddb63573
The input data consists of three lines, each of them describes the position of one stadium. The lines have the format x,  y,  r, where (x, y) are the coordinates of the stadium's center ( -  103 ≤ x,  y ≤ 103), and r (1 ≤ r  ≤ 103) is its radius. All the numbers in the input data are integer, stadiums do not have commo...
2,600
Print the coordinates of the required point with five digits after the decimal point. If there is no answer meeting the conditions, the program shouldn't print anything. The output data should be left blank.
standard output
PASSED
da9c8ac216145a37949d635d1c1bba88
train_000.jsonl
1267117200
The Olympic Games in Bercouver are in full swing now. Here everyone has their own objectives: sportsmen compete for medals, and sport commentators compete for more convenient positions to give a running commentary. Today the main sport events take place at three round stadiums, and the commentator's objective is to cho...
64 megabytes
import static java.lang.Math.*; import static java.lang.System.currentTimeMillis; import static java.lang.System.exit; import static java.lang.System.arraycopy; import static java.util.Arrays.sort; import static java.util.Arrays.binarySearch; import static java.util.Arrays.fill; import java.util.*; import java.io.*; /...
Java
["0 0 10\n60 0 10\n30 30 10"]
1 second
["30.00000 0.00000"]
null
Java 6
standard input
[ "geometry" ]
9829e1913e64072aadc9df5cddb63573
The input data consists of three lines, each of them describes the position of one stadium. The lines have the format x,  y,  r, where (x, y) are the coordinates of the stadium's center ( -  103 ≤ x,  y ≤ 103), and r (1 ≤ r  ≤ 103) is its radius. All the numbers in the input data are integer, stadiums do not have commo...
2,600
Print the coordinates of the required point with five digits after the decimal point. If there is no answer meeting the conditions, the program shouldn't print anything. The output data should be left blank.
standard output
PASSED
6365cccab84346b1c2eaf1ae15af6b90
train_000.jsonl
1267117200
The Olympic Games in Bercouver are in full swing now. Here everyone has their own objectives: sportsmen compete for medals, and sport commentators compete for more convenient positions to give a running commentary. Today the main sport events take place at three round stadiums, and the commentator's objective is to cho...
64 megabytes
import static java.lang.Math.*; import static java.lang.System.currentTimeMillis; import static java.lang.System.exit; import static java.lang.System.arraycopy; import static java.util.Arrays.sort; import static java.util.Arrays.binarySearch; import static java.util.Arrays.fill; import java.util.*; import java.io.*; /...
Java
["0 0 10\n60 0 10\n30 30 10"]
1 second
["30.00000 0.00000"]
null
Java 6
standard input
[ "geometry" ]
9829e1913e64072aadc9df5cddb63573
The input data consists of three lines, each of them describes the position of one stadium. The lines have the format x,  y,  r, where (x, y) are the coordinates of the stadium's center ( -  103 ≤ x,  y ≤ 103), and r (1 ≤ r  ≤ 103) is its radius. All the numbers in the input data are integer, stadiums do not have commo...
2,600
Print the coordinates of the required point with five digits after the decimal point. If there is no answer meeting the conditions, the program shouldn't print anything. The output data should be left blank.
standard output
PASSED
93f5103f941818655c1bf4e562840c77
train_000.jsonl
1267117200
The Olympic Games in Bercouver are in full swing now. Here everyone has their own objectives: sportsmen compete for medals, and sport commentators compete for more convenient positions to give a running commentary. Today the main sport events take place at three round stadiums, and the commentator's objective is to cho...
64 megabytes
import static java.lang.Math.*; import static java.lang.System.currentTimeMillis; import static java.lang.System.exit; import static java.lang.System.arraycopy; import static java.util.Arrays.sort; import static java.util.Arrays.binarySearch; import static java.util.Arrays.fill; import java.util.*; import java.io.*; /...
Java
["0 0 10\n60 0 10\n30 30 10"]
1 second
["30.00000 0.00000"]
null
Java 6
standard input
[ "geometry" ]
9829e1913e64072aadc9df5cddb63573
The input data consists of three lines, each of them describes the position of one stadium. The lines have the format x,  y,  r, where (x, y) are the coordinates of the stadium's center ( -  103 ≤ x,  y ≤ 103), and r (1 ≤ r  ≤ 103) is its radius. All the numbers in the input data are integer, stadiums do not have commo...
2,600
Print the coordinates of the required point with five digits after the decimal point. If there is no answer meeting the conditions, the program shouldn't print anything. The output data should be left blank.
standard output
PASSED
cf8bd3c084b232fe371178d096ed87b7
train_000.jsonl
1267117200
The Olympic Games in Bercouver are in full swing now. Here everyone has their own objectives: sportsmen compete for medals, and sport commentators compete for more convenient positions to give a running commentary. Today the main sport events take place at three round stadiums, and the commentator's objective is to cho...
64 megabytes
import static java.lang.Math.*; import static java.lang.System.currentTimeMillis; import static java.lang.System.exit; import static java.lang.System.arraycopy; import static java.util.Arrays.sort; import static java.util.Arrays.binarySearch; import static java.util.Arrays.fill; import java.util.*; import java.io.*; /...
Java
["0 0 10\n60 0 10\n30 30 10"]
1 second
["30.00000 0.00000"]
null
Java 6
standard input
[ "geometry" ]
9829e1913e64072aadc9df5cddb63573
The input data consists of three lines, each of them describes the position of one stadium. The lines have the format x,  y,  r, where (x, y) are the coordinates of the stadium's center ( -  103 ≤ x,  y ≤ 103), and r (1 ≤ r  ≤ 103) is its radius. All the numbers in the input data are integer, stadiums do not have commo...
2,600
Print the coordinates of the required point with five digits after the decimal point. If there is no answer meeting the conditions, the program shouldn't print anything. The output data should be left blank.
standard output
PASSED
2edf1517f0315cffa50eebf2cf6e7fed
train_000.jsonl
1267117200
The Olympic Games in Bercouver are in full swing now. Here everyone has their own objectives: sportsmen compete for medals, and sport commentators compete for more convenient positions to give a running commentary. Today the main sport events take place at three round stadiums, and the commentator's objective is to cho...
64 megabytes
import static java.lang.Math.*; import static java.lang.System.currentTimeMillis; import static java.lang.System.exit; import static java.lang.System.arraycopy; import static java.util.Arrays.sort; import static java.util.Arrays.binarySearch; import static java.util.Arrays.fill; import java.util.*; import java.io.*; /...
Java
["0 0 10\n60 0 10\n30 30 10"]
1 second
["30.00000 0.00000"]
null
Java 6
standard input
[ "geometry" ]
9829e1913e64072aadc9df5cddb63573
The input data consists of three lines, each of them describes the position of one stadium. The lines have the format x,  y,  r, where (x, y) are the coordinates of the stadium's center ( -  103 ≤ x,  y ≤ 103), and r (1 ≤ r  ≤ 103) is its radius. All the numbers in the input data are integer, stadiums do not have commo...
2,600
Print the coordinates of the required point with five digits after the decimal point. If there is no answer meeting the conditions, the program shouldn't print anything. The output data should be left blank.
standard output
PASSED
f3bfdd2ed4ba95247aa44154e63a1e15
train_000.jsonl
1267117200
The Olympic Games in Bercouver are in full swing now. Here everyone has their own objectives: sportsmen compete for medals, and sport commentators compete for more convenient positions to give a running commentary. Today the main sport events take place at three round stadiums, and the commentator's objective is to cho...
64 megabytes
import static java.lang.Math.*; import static java.lang.System.currentTimeMillis; import static java.lang.System.exit; import static java.lang.System.arraycopy; import static java.util.Arrays.sort; import static java.util.Arrays.binarySearch; import static java.util.Arrays.fill; import java.util.*; import java.io.*; /...
Java
["0 0 10\n60 0 10\n30 30 10"]
1 second
["30.00000 0.00000"]
null
Java 6
standard input
[ "geometry" ]
9829e1913e64072aadc9df5cddb63573
The input data consists of three lines, each of them describes the position of one stadium. The lines have the format x,  y,  r, where (x, y) are the coordinates of the stadium's center ( -  103 ≤ x,  y ≤ 103), and r (1 ≤ r  ≤ 103) is its radius. All the numbers in the input data are integer, stadiums do not have commo...
2,600
Print the coordinates of the required point with five digits after the decimal point. If there is no answer meeting the conditions, the program shouldn't print anything. The output data should be left blank.
standard output
PASSED
a97d0a33000022c448bff532d897936a
train_000.jsonl
1267117200
The Olympic Games in Bercouver are in full swing now. Here everyone has their own objectives: sportsmen compete for medals, and sport commentators compete for more convenient positions to give a running commentary. Today the main sport events take place at three round stadiums, and the commentator's objective is to cho...
64 megabytes
import static java.lang.Math.*; import static java.lang.System.currentTimeMillis; import static java.lang.System.exit; import static java.lang.System.arraycopy; import static java.util.Arrays.sort; import static java.util.Arrays.binarySearch; import static java.util.Arrays.fill; import java.util.*; import java.io.*; /...
Java
["0 0 10\n60 0 10\n30 30 10"]
1 second
["30.00000 0.00000"]
null
Java 6
standard input
[ "geometry" ]
9829e1913e64072aadc9df5cddb63573
The input data consists of three lines, each of them describes the position of one stadium. The lines have the format x,  y,  r, where (x, y) are the coordinates of the stadium's center ( -  103 ≤ x,  y ≤ 103), and r (1 ≤ r  ≤ 103) is its radius. All the numbers in the input data are integer, stadiums do not have commo...
2,600
Print the coordinates of the required point with five digits after the decimal point. If there is no answer meeting the conditions, the program shouldn't print anything. The output data should be left blank.
standard output
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
43