node_ids
sequencelengths 4
1.4k
| edge_index
sequencelengths 1
2.22k
| text
sequencelengths 4
1.4k
| source
stringlengths 14
427k
|
---|---|---|---|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
2,
2,
2,
17,
13,
13,
13,
41,
13,
2,
2,
2,
17,
17,
13,
13,
4,
18,
18,
13,
13,
2,
4,
18,
13,
17,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
63,
5
],
[
63,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
24,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
24,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
33,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
33,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
44,
48
],
[
43,
49
],
[
8,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
55,
59
],
[
6,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\tdouble p = 3.141592653589;\n\t\tdouble s = 1.00000 * p * r * r;\n\t\tdouble l = 1.00000 * 2 * p * r;\n\t\tSystem.out.print(String.format(\"%6f\", s) + \" \");\n\t\tSystem.out.println(String.format(\"%6f\", l));\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\tdouble p = 3.141592653589;\n\t\tdouble s = 1.00000 * p * r * r;\n\t\tdouble l = 1.00000 * 2 * p * r;\n\t\tSystem.out.print(String.format(\"%6f\", s) + \" \");\n\t\tSystem.out.println(String.format(\"%6f\", l));\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\tdouble p = 3.141592653589;\n\t\tdouble s = 1.00000 * p * r * r;\n\t\tdouble l = 1.00000 * 2 * p * r;\n\t\tSystem.out.print(String.format(\"%6f\", s) + \" \");\n\t\tSystem.out.println(String.format(\"%6f\", l));\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\tdouble p = 3.141592653589;\n\t\tdouble s = 1.00000 * p * r * r;\n\t\tdouble l = 1.00000 * 2 * p * r;\n\t\tSystem.out.print(String.format(\"%6f\", s) + \" \");\n\t\tSystem.out.println(String.format(\"%6f\", l));\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double r = sc.nextDouble();",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"double p = 3.141592653589;",
"p",
"3.141592653589",
"double s = 1.00000 * p * r * r;",
"s",
"1.00000 * p * r * r",
"r",
"1.00000 * p * r * r",
"1.00000",
"p",
"r",
"r",
"double l = 1.00000 * 2 * p * r;",
"l",
"1.00000 * 2 * p * r",
"p",
"1.00000 * 2 * p * r",
"1.00000",
"2",
"p",
"r",
"System.out.print(String.format(\"%6f\", s) + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"String.format(\"%6f\", s) + \" \"",
"String.format(\"%6f\", s)",
"String.format",
"String",
"\"%6f\"",
"s",
"\" \"",
"System.out.println(String.format(\"%6f\", l))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%6f\", l)",
"String.format",
"String",
"\"%6f\"",
"l",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\tdouble p = 3.141592653589;\n\t\tdouble s = 1.00000 * p * r * r;\n\t\tdouble l = 1.00000 * 2 * p * r;\n\t\tSystem.out.print(String.format(\"%6f\", s) + \" \");\n\t\tSystem.out.println(String.format(\"%6f\", l));\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\tdouble p = 3.141592653589;\n\t\tdouble s = 1.00000 * p * r * r;\n\t\tdouble l = 1.00000 * 2 * p * r;\n\t\tSystem.out.print(String.format(\"%6f\", s) + \" \");\n\t\tSystem.out.println(String.format(\"%6f\", l));\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double r = sc.nextDouble();
double p = 3.141592653589;
double s = 1.00000 * p * r * r;
double l = 1.00000 * 2 * p * r;
System.out.print(String.format("%6f", s) + " ");
System.out.println(String.format("%6f", l));
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
13,
18,
13,
13,
41,
13,
2,
2,
17,
13,
18,
13,
13,
4,
18,
18,
13,
13,
17,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
46,
5
],
[
46,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
20,
20
],
[
20,
21
],
[
20,
22
],
[
20,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
29,
29
],
[
29,
30
],
[
29,
31
],
[
29,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
35,
41
],
[
35,
42
],
[
6,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\t\n\t\tdouble S = r * r * Math.PI;\n\t\tdouble L = 2 * r * Math.PI;\n\t\t\n\t\tSystem.out.printf(\"%f %f\",S,L);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\t\n\t\tdouble S = r * r * Math.PI;\n\t\tdouble L = 2 * r * Math.PI;\n\t\t\n\t\tSystem.out.printf(\"%f %f\",S,L);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\t\n\t\tdouble S = r * r * Math.PI;\n\t\tdouble L = 2 * r * Math.PI;\n\t\t\n\t\tSystem.out.printf(\"%f %f\",S,L);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\t\n\t\tdouble S = r * r * Math.PI;\n\t\tdouble L = 2 * r * Math.PI;\n\t\t\n\t\tSystem.out.printf(\"%f %f\",S,L);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double r = sc.nextDouble();",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"double S = r * r * Math.PI;",
"S",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"double L = 2 * r * Math.PI;",
"L",
"2 * r * Math.PI",
"2 * r * Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"System.out.printf(\"%f %f\",S,L)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f %f\"",
"S",
"L",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\t\n\t\tdouble S = r * r * Math.PI;\n\t\tdouble L = 2 * r * Math.PI;\n\t\t\n\t\tSystem.out.printf(\"%f %f\",S,L);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\t\n\t\tdouble S = r * r * Math.PI;\n\t\tdouble L = 2 * r * Math.PI;\n\t\t\n\t\tSystem.out.printf(\"%f %f\",S,L);\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
double r = sc.nextDouble();
double S = r * r * Math.PI;
double L = 2 * r * Math.PI;
System.out.printf("%f %f",S,L);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
17,
2,
2,
4,
18,
13,
13,
4,
18,
13,
13,
18,
13,
13,
2,
2,
17,
4,
18,
13,
13,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
23,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
30,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
29,
39
],
[
39,
40
],
[
39,
41
],
[
23,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
42,
49
],
[
49,
50
],
[
49,
51
],
[
12,
52
],
[
52,
53
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString strNum = br.readLine();\n\t\tSystem.out.printf(\"%.5f %.5f\",(Double.parseDouble(strNum) * Double.parseDouble(strNum) * Math.PI), (2 * Double.parseDouble(strNum) * Math.PI));\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString strNum = br.readLine();\n\t\tSystem.out.printf(\"%.5f %.5f\",(Double.parseDouble(strNum) * Double.parseDouble(strNum) * Math.PI), (2 * Double.parseDouble(strNum) * Math.PI));\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString strNum = br.readLine();\n\t\tSystem.out.printf(\"%.5f %.5f\",(Double.parseDouble(strNum) * Double.parseDouble(strNum) * Math.PI), (2 * Double.parseDouble(strNum) * Math.PI));\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString strNum = br.readLine();\n\t\tSystem.out.printf(\"%.5f %.5f\",(Double.parseDouble(strNum) * Double.parseDouble(strNum) * Math.PI), (2 * Double.parseDouble(strNum) * Math.PI));\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String strNum = br.readLine();",
"strNum",
"br.readLine()",
"br.readLine",
"br",
"System.out.printf(\"%.5f %.5f\",(Double.parseDouble(strNum) * Double.parseDouble(strNum) * Math.PI), (2 * Double.parseDouble(strNum) * Math.PI))",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.5f %.5f\"",
"(Double.parseDouble(strNum) * Double.parseDouble(strNum) * Math.PI)",
"Double.parseDouble(strNum) * Double.parseDouble(strNum) * Math.PI",
"Double.parseDouble(strNum)",
"Double.parseDouble",
"Double",
"strNum",
"Double.parseDouble(strNum)",
"Double.parseDouble",
"Double",
"strNum",
"Math.PI",
"Math",
"Math.PI",
"(2 * Double.parseDouble(strNum) * Math.PI)",
"2 * Double.parseDouble(strNum) * Math.PI",
"2",
"Double.parseDouble(strNum)",
"Double.parseDouble",
"Double",
"strNum",
"Math.PI",
"Math",
"Math.PI",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String strNum = br.readLine();
System.out.printf("%.5f %.5f",(Double.parseDouble(strNum) * Double.parseDouble(strNum) * Math.PI), (2 * Double.parseDouble(strNum) * Math.PI));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
13,
18,
13,
13,
41,
13,
2,
2,
17,
13,
18,
13,
13,
41,
13,
4,
18,
13,
17,
13,
41,
13,
4,
18,
13,
17,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
20,
20
],
[
20,
21
],
[
20,
22
],
[
20,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
29,
29
],
[
29,
30
],
[
29,
31
],
[
29,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
37,
41
],
[
8,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
44,
48
],
[
8,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
55,
55
],
[
55,
56
],
[
55,
57
],
[
55,
58
],
[
6,
59
],
[
59,
60
]
] | [
"import java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n \n double r = scan.nextDouble();\n \n double S = r * r * Math.PI;\n double R = 2 * r * Math.PI;\n\n String str = String.format(\"%.6f\", S);\n String rstr = String.format(\"%.6f\", R);\n System.out.println(str + \" \" + rstr);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n \n double r = scan.nextDouble();\n \n double S = r * r * Math.PI;\n double R = 2 * r * Math.PI;\n\n String str = String.format(\"%.6f\", S);\n String rstr = String.format(\"%.6f\", R);\n System.out.println(str + \" \" + rstr);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n \n double r = scan.nextDouble();\n \n double S = r * r * Math.PI;\n double R = 2 * r * Math.PI;\n\n String str = String.format(\"%.6f\", S);\n String rstr = String.format(\"%.6f\", R);\n System.out.println(str + \" \" + rstr);\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n \n double r = scan.nextDouble();\n \n double S = r * r * Math.PI;\n double R = 2 * r * Math.PI;\n\n String str = String.format(\"%.6f\", S);\n String rstr = String.format(\"%.6f\", R);\n System.out.println(str + \" \" + rstr);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"double r = scan.nextDouble();",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"double S = r * r * Math.PI;",
"S",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"double R = 2 * r * Math.PI;",
"R",
"2 * r * Math.PI",
"2 * r * Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"String str = String.format(\"%.6f\", S);",
"str",
"String.format(\"%.6f\", S)",
"String.format",
"String",
"\"%.6f\"",
"S",
"String rstr = String.format(\"%.6f\", R);",
"rstr",
"String.format(\"%.6f\", R)",
"String.format",
"String",
"\"%.6f\"",
"R",
"System.out.println(str + \" \" + rstr)",
"System.out.println",
"System.out",
"System",
"System.out",
"str + \" \" + rstr",
"str + \" \" + rstr",
"str",
"\" \"",
"rstr",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
double S = r * r * Math.PI;
double R = 2 * r * Math.PI;
String str = String.format("%.6f", S);
String rstr = String.format("%.6f", R);
System.out.println(str + " " + rstr);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
13,
13,
41,
13,
2,
2,
17,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
23,
23
],
[
23,
24
],
[
23,
25
],
[
23,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
30,
30
],
[
30,
31
],
[
30,
32
],
[
30,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
39,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
49,
53
],
[
6,
54
],
[
54,
55
]
] | [
"import java.util.Scanner;\n\nclass Main{\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tdouble PI = 3.141592653589;\n\t\tdouble r = sc.nextDouble();\n\n\n\t\tdouble area = PI * r * r;\n\t\tdouble len = 2.0 * PI * r; \n\n\t\tSystem.out.println(String.format(\"%5f\", area));\n\t\tSystem.out.println(String.format(\"%5f\", len));\n\t\t\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tdouble PI = 3.141592653589;\n\t\tdouble r = sc.nextDouble();\n\n\n\t\tdouble area = PI * r * r;\n\t\tdouble len = 2.0 * PI * r; \n\n\t\tSystem.out.println(String.format(\"%5f\", area));\n\t\tSystem.out.println(String.format(\"%5f\", len));\n\t\t\n\n\t}\n}",
"Main",
"public static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tdouble PI = 3.141592653589;\n\t\tdouble r = sc.nextDouble();\n\n\n\t\tdouble area = PI * r * r;\n\t\tdouble len = 2.0 * PI * r; \n\n\t\tSystem.out.println(String.format(\"%5f\", area));\n\t\tSystem.out.println(String.format(\"%5f\", len));\n\t\t\n\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tdouble PI = 3.141592653589;\n\t\tdouble r = sc.nextDouble();\n\n\n\t\tdouble area = PI * r * r;\n\t\tdouble len = 2.0 * PI * r; \n\n\t\tSystem.out.println(String.format(\"%5f\", area));\n\t\tSystem.out.println(String.format(\"%5f\", len));\n\t\t\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double PI = 3.141592653589;",
"PI",
"3.141592653589",
"double r = sc.nextDouble();",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"double area = PI * r * r;",
"area",
"PI * r * r",
"PI * r * r",
"PI",
"r",
"r",
"double len = 2.0 * PI * r;",
"len",
"2.0 * PI * r",
"2.0 * PI * r",
"2.0",
"PI",
"r",
"System.out.println(String.format(\"%5f\", area))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%5f\", area)",
"String.format",
"String",
"\"%5f\"",
"area",
"System.out.println(String.format(\"%5f\", len))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%5f\", len)",
"String.format",
"String",
"\"%5f\"",
"len",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
double PI = 3.141592653589;
double r = sc.nextDouble();
double area = PI * r * r;
double len = 2.0 * PI * r;
System.out.println(String.format("%5f", area));
System.out.println(String.format("%5f", len));
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
17,
2,
4,
18,
13,
13,
17,
18,
13,
13,
2,
2,
17,
13,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
17,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
24,
28
],
[
23,
29
],
[
29,
30
],
[
29,
31
],
[
17,
32
],
[
33,
33
],
[
33,
34
],
[
33,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
6,
39
],
[
39,
40
]
] | [
"import java.util.*;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tdouble r = stdIn.nextDouble();\n\t\tSystem.out.printf(\"%.6f %.6f\\n\",Math.pow(r,2)*Math.PI,2*r*Math.PI);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tdouble r = stdIn.nextDouble();\n\t\tSystem.out.printf(\"%.6f %.6f\\n\",Math.pow(r,2)*Math.PI,2*r*Math.PI);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tdouble r = stdIn.nextDouble();\n\t\tSystem.out.printf(\"%.6f %.6f\\n\",Math.pow(r,2)*Math.PI,2*r*Math.PI);\n\t}",
"main",
"{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tdouble r = stdIn.nextDouble();\n\t\tSystem.out.printf(\"%.6f %.6f\\n\",Math.pow(r,2)*Math.PI,2*r*Math.PI);\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"double r = stdIn.nextDouble();",
"r",
"stdIn.nextDouble()",
"stdIn.nextDouble",
"stdIn",
"System.out.printf(\"%.6f %.6f\\n\",Math.pow(r,2)*Math.PI,2*r*Math.PI)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f %.6f\\n\"",
"Math.pow(r,2)*Math.PI",
"Math.pow(r,2)",
"Math.pow",
"Math",
"r",
"2",
"Math.PI",
"Math",
"Math.PI",
"2*r*Math.PI",
"2*r*Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"String[] args",
"args"
] | import java.util.*;
class Main {
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
double r = stdIn.nextDouble();
System.out.printf("%.6f %.6f\n",Math.pow(r,2)*Math.PI,2*r*Math.PI);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
2,
2,
13,
13,
18,
13,
13,
2,
2,
17,
13,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
7,
11
],
[
11,
12
],
[
11,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
13,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
13,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
33,
37
],
[
38,
38
],
[
38,
39
],
[
38,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
33,
44
],
[
45,
45
],
[
45,
46
],
[
45,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
11,
51
],
[
51,
52
]
] | [
"import java.lang.Math;\nimport java.util.Scanner;\nclass Main {\n\tprivate static Scanner sc;\n\t\n\tpublic static void main(String[] args) {\n\t\tsc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tdouble r = Double.parseDouble(s);\n\t\tSystem.out.println(String.format(\"%f %f\", r * r * Math.PI, 2 * r * Math.PI));\n }\n}",
"import java.lang.Math;",
"Math",
"java.lang",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tprivate static Scanner sc;\n\t\n\tpublic static void main(String[] args) {\n\t\tsc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tdouble r = Double.parseDouble(s);\n\t\tSystem.out.println(String.format(\"%f %f\", r * r * Math.PI, 2 * r * Math.PI));\n }\n}",
"Main",
"private static Scanner sc;",
"sc",
"public static void main(String[] args) {\n\t\tsc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tdouble r = Double.parseDouble(s);\n\t\tSystem.out.println(String.format(\"%f %f\", r * r * Math.PI, 2 * r * Math.PI));\n }",
"main",
"{\n\t\tsc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tdouble r = Double.parseDouble(s);\n\t\tSystem.out.println(String.format(\"%f %f\", r * r * Math.PI, 2 * r * Math.PI));\n }",
"sc = new Scanner(System.in)",
"sc",
"new Scanner(System.in)",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"double r = Double.parseDouble(s);",
"r",
"Double.parseDouble(s)",
"Double.parseDouble",
"Double",
"s",
"System.out.println(String.format(\"%f %f\", r * r * Math.PI, 2 * r * Math.PI))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%f %f\", r * r * Math.PI, 2 * r * Math.PI)",
"String.format",
"String",
"\"%f %f\"",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"2 * r * Math.PI",
"2 * r * Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"String[] args",
"args"
] | import java.lang.Math;
import java.util.Scanner;
class Main {
private static Scanner sc;
public static void main(String[] args) {
sc = new Scanner(System.in);
String s = sc.next();
double r = Double.parseDouble(s);
System.out.println(String.format("%f %f", r * r * Math.PI, 2 * r * Math.PI));
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
2,
2,
13,
13,
13,
41,
13,
2,
2,
17,
13,
13,
41,
13,
20,
0,
13,
4,
18,
13,
17,
18,
13,
13,
41,
13,
20,
0,
13,
4,
18,
13,
17,
18,
13,
13,
4,
18,
18,
13,
13,
2,
2,
17,
17,
17,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
76,
8
],
[
76,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
26,
26
],
[
26,
27
],
[
26,
28
],
[
26,
29
],
[
11,
30
],
[
30,
31
],
[
30,
32
],
[
33,
33
],
[
33,
34
],
[
33,
35
],
[
33,
36
],
[
11,
37
],
[
37,
38
],
[
37,
39
],
[
11,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
42,
46
],
[
46,
47
],
[
46,
48
],
[
11,
49
],
[
49,
50
],
[
49,
51
],
[
11,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
11,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
67,
67
],
[
67,
68
],
[
67,
69
],
[
67,
70
],
[
61,
71
],
[
61,
72
],
[
9,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] | [
"import java.util.Scanner;\nimport java.math.BigDecimal;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tdouble r = scan.nextDouble();\n\n\t\tfinal double CIRCLERATE = 3.141592653589;\n\n\t\tdouble s = CIRCLERATE * r * r;\n\t\tdouble l = 2 * CIRCLERATE * r;\n\n\t\tBigDecimal x = new BigDecimal(s);\n\t\tx = x.setScale(5, BigDecimal.ROUND_HALF_UP);\n\n\t\tBigDecimal y = new BigDecimal(l);\n\t\ty = y.setScale(5, BigDecimal.ROUND_HALF_UP);\n\n\t\tSystem.out.printf(\"%.5f\" + \" \" + \"%.5f\", x, y);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"public class Main{\n\tpublic static void main(String[] args){\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tdouble r = scan.nextDouble();\n\n\t\tfinal double CIRCLERATE = 3.141592653589;\n\n\t\tdouble s = CIRCLERATE * r * r;\n\t\tdouble l = 2 * CIRCLERATE * r;\n\n\t\tBigDecimal x = new BigDecimal(s);\n\t\tx = x.setScale(5, BigDecimal.ROUND_HALF_UP);\n\n\t\tBigDecimal y = new BigDecimal(l);\n\t\ty = y.setScale(5, BigDecimal.ROUND_HALF_UP);\n\n\t\tSystem.out.printf(\"%.5f\" + \" \" + \"%.5f\", x, y);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tdouble r = scan.nextDouble();\n\n\t\tfinal double CIRCLERATE = 3.141592653589;\n\n\t\tdouble s = CIRCLERATE * r * r;\n\t\tdouble l = 2 * CIRCLERATE * r;\n\n\t\tBigDecimal x = new BigDecimal(s);\n\t\tx = x.setScale(5, BigDecimal.ROUND_HALF_UP);\n\n\t\tBigDecimal y = new BigDecimal(l);\n\t\ty = y.setScale(5, BigDecimal.ROUND_HALF_UP);\n\n\t\tSystem.out.printf(\"%.5f\" + \" \" + \"%.5f\", x, y);\n\t}",
"main",
"{\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tdouble r = scan.nextDouble();\n\n\t\tfinal double CIRCLERATE = 3.141592653589;\n\n\t\tdouble s = CIRCLERATE * r * r;\n\t\tdouble l = 2 * CIRCLERATE * r;\n\n\t\tBigDecimal x = new BigDecimal(s);\n\t\tx = x.setScale(5, BigDecimal.ROUND_HALF_UP);\n\n\t\tBigDecimal y = new BigDecimal(l);\n\t\ty = y.setScale(5, BigDecimal.ROUND_HALF_UP);\n\n\t\tSystem.out.printf(\"%.5f\" + \" \" + \"%.5f\", x, y);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"double r = scan.nextDouble();",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"final double CIRCLERATE = 3.141592653589;",
"CIRCLERATE",
"3.141592653589",
"double s = CIRCLERATE * r * r;",
"s",
"CIRCLERATE * r * r",
"CIRCLERATE * r * r",
"CIRCLERATE",
"r",
"r",
"double l = 2 * CIRCLERATE * r;",
"l",
"2 * CIRCLERATE * r",
"2 * CIRCLERATE * r",
"2",
"CIRCLERATE",
"r",
"BigDecimal x = new BigDecimal(s);",
"x",
"new BigDecimal(s)",
"x = x.setScale(5, BigDecimal.ROUND_HALF_UP)",
"x",
"x.setScale(5, BigDecimal.ROUND_HALF_UP)",
"x.setScale",
"x",
"5",
"BigDecimal.ROUND_HALF_UP",
"BigDecimal",
"BigDecimal.ROUND_HALF_UP",
"BigDecimal y = new BigDecimal(l);",
"y",
"new BigDecimal(l)",
"y = y.setScale(5, BigDecimal.ROUND_HALF_UP)",
"y",
"y.setScale(5, BigDecimal.ROUND_HALF_UP)",
"y.setScale",
"y",
"5",
"BigDecimal.ROUND_HALF_UP",
"BigDecimal",
"BigDecimal.ROUND_HALF_UP",
"System.out.printf(\"%.5f\" + \" \" + \"%.5f\", x, y)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.5f\" + \" \" + \"%.5f\"",
"\"%.5f\" + \" \" + \"%.5f\"",
"\"%.5f\"",
"\" \"",
"\"%.5f\"",
"x",
"y",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tdouble r = scan.nextDouble();\n\n\t\tfinal double CIRCLERATE = 3.141592653589;\n\n\t\tdouble s = CIRCLERATE * r * r;\n\t\tdouble l = 2 * CIRCLERATE * r;\n\n\t\tBigDecimal x = new BigDecimal(s);\n\t\tx = x.setScale(5, BigDecimal.ROUND_HALF_UP);\n\n\t\tBigDecimal y = new BigDecimal(l);\n\t\ty = y.setScale(5, BigDecimal.ROUND_HALF_UP);\n\n\t\tSystem.out.printf(\"%.5f\" + \" \" + \"%.5f\", x, y);\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tdouble r = scan.nextDouble();\n\n\t\tfinal double CIRCLERATE = 3.141592653589;\n\n\t\tdouble s = CIRCLERATE * r * r;\n\t\tdouble l = 2 * CIRCLERATE * r;\n\n\t\tBigDecimal x = new BigDecimal(s);\n\t\tx = x.setScale(5, BigDecimal.ROUND_HALF_UP);\n\n\t\tBigDecimal y = new BigDecimal(l);\n\t\ty = y.setScale(5, BigDecimal.ROUND_HALF_UP);\n\n\t\tSystem.out.printf(\"%.5f\" + \" \" + \"%.5f\", x, y);\n\t}\n}",
"Main"
] | import java.util.Scanner;
import java.math.BigDecimal;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
final double CIRCLERATE = 3.141592653589;
double s = CIRCLERATE * r * r;
double l = 2 * CIRCLERATE * r;
BigDecimal x = new BigDecimal(s);
x = x.setScale(5, BigDecimal.ROUND_HALF_UP);
BigDecimal y = new BigDecimal(l);
y = y.setScale(5, BigDecimal.ROUND_HALF_UP);
System.out.printf("%.5f" + " " + "%.5f", x, y);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
17,
2,
4,
18,
13,
13,
17,
18,
13,
13,
2,
2,
13,
17,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
45,
5
],
[
45,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
17,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
24,
28
],
[
23,
29
],
[
29,
30
],
[
29,
31
],
[
17,
32
],
[
33,
33
],
[
33,
34
],
[
33,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
6,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n System.out.printf(\"%f %f\\n\", Math.pow(r, 2) * Math.PI, r * 2 * Math.PI);\n sc.close();\n }\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n System.out.printf(\"%f %f\\n\", Math.pow(r, 2) * Math.PI, r * 2 * Math.PI);\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n System.out.printf(\"%f %f\\n\", Math.pow(r, 2) * Math.PI, r * 2 * Math.PI);\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n System.out.printf(\"%f %f\\n\", Math.pow(r, 2) * Math.PI, r * 2 * Math.PI);\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double r = sc.nextDouble();",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"System.out.printf(\"%f %f\\n\", Math.pow(r, 2) * Math.PI, r * 2 * Math.PI)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f %f\\n\"",
"Math.pow(r, 2) * Math.PI",
"Math.pow(r, 2)",
"Math.pow",
"Math",
"r",
"2",
"Math.PI",
"Math",
"Math.PI",
"r * 2 * Math.PI",
"r * 2 * Math.PI",
"r",
"2",
"Math.PI",
"Math",
"Math.PI",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n System.out.printf(\"%f %f\\n\", Math.pow(r, 2) * Math.PI, r * 2 * Math.PI);\n sc.close();\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n System.out.printf(\"%f %f\\n\", Math.pow(r, 2) * Math.PI, r * 2 * Math.PI);\n sc.close();\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double r = sc.nextDouble();
System.out.printf("%f %f\n", Math.pow(r, 2) * Math.PI, r * 2 * Math.PI);
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
18,
13,
13,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
13,
13,
41,
13,
2,
2,
13,
13,
13,
41,
13,
4,
18,
13,
17,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
56,
5
],
[
56,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
25,
25
],
[
25,
26
],
[
25,
27
],
[
25,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
8,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
38,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
49,
49
],
[
49,
50
],
[
49,
51
],
[
49,
52
],
[
6,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
] | [
"\n\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String [] args){\n\t\t//????????£?????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble P = Math.PI;\n\t\t//???????????????\n\t\tdouble radius = sc.nextDouble();\n\t\t//????????¢??? ?????????????? ???????¨???\n\t\tdouble area = radius * radius * P;\n\t\t//?????¨????????? ??´??????????¨???\n\t\tdouble circumference = (radius + radius) * P;\n\t\t//?°???°???\n\t\tString strArea = String.format(\"%.5f\", area);\n\t\t//???????????¨???\n\t\tSystem.out.println(strArea +\" \"+ circumference);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String [] args){\n\t\t//????????£?????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble P = Math.PI;\n\t\t//???????????????\n\t\tdouble radius = sc.nextDouble();\n\t\t//????????¢??? ?????????????? ???????¨???\n\t\tdouble area = radius * radius * P;\n\t\t//?????¨????????? ??´??????????¨???\n\t\tdouble circumference = (radius + radius) * P;\n\t\t//?°???°???\n\t\tString strArea = String.format(\"%.5f\", area);\n\t\t//???????????¨???\n\t\tSystem.out.println(strArea +\" \"+ circumference);\n\t}\n}",
"Main",
"public static void main(String [] args){\n\t\t//????????£?????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble P = Math.PI;\n\t\t//???????????????\n\t\tdouble radius = sc.nextDouble();\n\t\t//????????¢??? ?????????????? ???????¨???\n\t\tdouble area = radius * radius * P;\n\t\t//?????¨????????? ??´??????????¨???\n\t\tdouble circumference = (radius + radius) * P;\n\t\t//?°???°???\n\t\tString strArea = String.format(\"%.5f\", area);\n\t\t//???????????¨???\n\t\tSystem.out.println(strArea +\" \"+ circumference);\n\t}",
"main",
"{\n\t\t//????????£?????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble P = Math.PI;\n\t\t//???????????????\n\t\tdouble radius = sc.nextDouble();\n\t\t//????????¢??? ?????????????? ???????¨???\n\t\tdouble area = radius * radius * P;\n\t\t//?????¨????????? ??´??????????¨???\n\t\tdouble circumference = (radius + radius) * P;\n\t\t//?°???°???\n\t\tString strArea = String.format(\"%.5f\", area);\n\t\t//???????????¨???\n\t\tSystem.out.println(strArea +\" \"+ circumference);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double P = Math.PI;",
"P",
"Math.PI",
"Math",
"Math.PI",
"double radius = sc.nextDouble();",
"radius",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"double area = radius * radius * P;",
"area",
"radius * radius * P",
"radius * radius * P",
"radius",
"radius",
"P",
"double circumference = (radius + radius) * P;",
"circumference",
"(radius + radius) * P",
"(radius + radius)",
"radius",
"radius",
"P",
"String strArea = String.format(\"%.5f\", area);",
"strArea",
"String.format(\"%.5f\", area)",
"String.format",
"String",
"\"%.5f\"",
"area",
"System.out.println(strArea +\" \"+ circumference)",
"System.out.println",
"System.out",
"System",
"System.out",
"strArea +\" \"+ circumference",
"strArea +\" \"+ circumference",
"strArea",
"\" \"",
"circumference",
"String [] args",
"args",
"public class Main {\n\tpublic static void main(String [] args){\n\t\t//????????£?????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble P = Math.PI;\n\t\t//???????????????\n\t\tdouble radius = sc.nextDouble();\n\t\t//????????¢??? ?????????????? ???????¨???\n\t\tdouble area = radius * radius * P;\n\t\t//?????¨????????? ??´??????????¨???\n\t\tdouble circumference = (radius + radius) * P;\n\t\t//?°???°???\n\t\tString strArea = String.format(\"%.5f\", area);\n\t\t//???????????¨???\n\t\tSystem.out.println(strArea +\" \"+ circumference);\n\t}\n}",
"public class Main {\n\tpublic static void main(String [] args){\n\t\t//????????£?????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble P = Math.PI;\n\t\t//???????????????\n\t\tdouble radius = sc.nextDouble();\n\t\t//????????¢??? ?????????????? ???????¨???\n\t\tdouble area = radius * radius * P;\n\t\t//?????¨????????? ??´??????????¨???\n\t\tdouble circumference = (radius + radius) * P;\n\t\t//?°???°???\n\t\tString strArea = String.format(\"%.5f\", area);\n\t\t//???????????¨???\n\t\tSystem.out.println(strArea +\" \"+ circumference);\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String [] args){
//????????£?????????????????????
Scanner sc = new Scanner(System.in);
double P = Math.PI;
//???????????????
double radius = sc.nextDouble();
//????????¢??? ?????????????? ???????¨???
double area = radius * radius * P;
//?????¨????????? ??´??????????¨???
double circumference = (radius + radius) * P;
//?°???°???
String strArea = String.format("%.5f", area);
//???????????¨???
System.out.println(strArea +" "+ circumference);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
17,
2,
2,
13,
13,
17,
0,
13,
4,
18,
13,
17,
2,
2,
17,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
39,
43
],
[
44,
44
],
[
44,
45
],
[
44,
46
],
[
44,
47
],
[
8,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
50,
54
],
[
55,
55
],
[
55,
56
],
[
55,
57
],
[
55,
58
],
[
8,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
65,
65
],
[
65,
66
],
[
65,
67
],
[
65,
68
],
[
6,
69
],
[
69,
70
]
] | [
"import java.io.*;\n\nclass Main{\n public static void main(String[] args)throws IOException{\n double r;\n String area,rect;\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n \n String str = br.readLine(); \n String[] strAry = str.split(\" \");\n r = Double.parseDouble(strAry[0]); \n area=String.format(\"%.5f\", r*r*3.141592653589); \n rect=String.format(\"%.5f\", 2*r*3.141592653589); \n \n System.out.println(area + \" \"+ rect); \n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n public static void main(String[] args)throws IOException{\n double r;\n String area,rect;\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n \n String str = br.readLine(); \n String[] strAry = str.split(\" \");\n r = Double.parseDouble(strAry[0]); \n area=String.format(\"%.5f\", r*r*3.141592653589); \n rect=String.format(\"%.5f\", 2*r*3.141592653589); \n \n System.out.println(area + \" \"+ rect); \n }\n}",
"Main",
"public static void main(String[] args)throws IOException{\n double r;\n String area,rect;\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n \n String str = br.readLine(); \n String[] strAry = str.split(\" \");\n r = Double.parseDouble(strAry[0]); \n area=String.format(\"%.5f\", r*r*3.141592653589); \n rect=String.format(\"%.5f\", 2*r*3.141592653589); \n \n System.out.println(area + \" \"+ rect); \n }",
"main",
"{\n double r;\n String area,rect;\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n \n String str = br.readLine(); \n String[] strAry = str.split(\" \");\n r = Double.parseDouble(strAry[0]); \n area=String.format(\"%.5f\", r*r*3.141592653589); \n rect=String.format(\"%.5f\", 2*r*3.141592653589); \n \n System.out.println(area + \" \"+ rect); \n }",
"double r;",
"r",
"String area",
"area",
"rect;",
"rect",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"String[] strAry = str.split(\" \");",
"strAry",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"r = Double.parseDouble(strAry[0])",
"r",
"Double.parseDouble(strAry[0])",
"Double.parseDouble",
"Double",
"strAry[0]",
"strAry",
"0",
"area=String.format(\"%.5f\", r*r*3.141592653589)",
"area",
"String.format(\"%.5f\", r*r*3.141592653589)",
"String.format",
"String",
"\"%.5f\"",
"r*r*3.141592653589",
"r*r*3.141592653589",
"r",
"r",
"3.141592653589",
"rect=String.format(\"%.5f\", 2*r*3.141592653589)",
"rect",
"String.format(\"%.5f\", 2*r*3.141592653589)",
"String.format",
"String",
"\"%.5f\"",
"2*r*3.141592653589",
"2*r*3.141592653589",
"2",
"r",
"3.141592653589",
"System.out.println(area + \" \"+ rect)",
"System.out.println",
"System.out",
"System",
"System.out",
"area + \" \"+ rect",
"area + \" \"+ rect",
"area",
"\" \"",
"rect",
"String[] args",
"args"
] | import java.io.*;
class Main{
public static void main(String[] args)throws IOException{
double r;
String area,rect;
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
String[] strAry = str.split(" ");
r = Double.parseDouble(strAry[0]);
area=String.format("%.5f", r*r*3.141592653589);
rect=String.format("%.5f", 2*r*3.141592653589);
System.out.println(area + " "+ rect);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
17,
2,
2,
18,
13,
13,
13,
13,
2,
2,
17,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
54,
5
],
[
54,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
12,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
19,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
31,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
37,
43
],
[
31,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
44,
50
],
[
6,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
] | [
"import java.io.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tString line = reader.readLine();\n\t\t\tdouble r = Double.parseDouble(line);\n\t\t\tSystem.out.printf(\"%.6f %.6f\\n\", (Math.PI * r * r), (2 * Math.PI * r));\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tString line = reader.readLine();\n\t\t\tdouble r = Double.parseDouble(line);\n\t\t\tSystem.out.printf(\"%.6f %.6f\\n\", (Math.PI * r * r), (2 * Math.PI * r));\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tString line = reader.readLine();\n\t\t\tdouble r = Double.parseDouble(line);\n\t\t\tSystem.out.printf(\"%.6f %.6f\\n\", (Math.PI * r * r), (2 * Math.PI * r));\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tString line = reader.readLine();\n\t\t\tdouble r = Double.parseDouble(line);\n\t\t\tSystem.out.printf(\"%.6f %.6f\\n\", (Math.PI * r * r), (2 * Math.PI * r));\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"try {\n\t\t\tString line = reader.readLine();\n\t\t\tdouble r = Double.parseDouble(line);\n\t\t\tSystem.out.printf(\"%.6f %.6f\\n\", (Math.PI * r * r), (2 * Math.PI * r));\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"IOException e",
"{\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\tString line = reader.readLine();\n\t\t\tdouble r = Double.parseDouble(line);\n\t\t\tSystem.out.printf(\"%.6f %.6f\\n\", (Math.PI * r * r), (2 * Math.PI * r));\n\t\t}",
"String line = reader.readLine();",
"line",
"reader.readLine()",
"reader.readLine",
"reader",
"double r = Double.parseDouble(line);",
"r",
"Double.parseDouble(line)",
"Double.parseDouble",
"Double",
"line",
"System.out.printf(\"%.6f %.6f\\n\", (Math.PI * r * r), (2 * Math.PI * r))",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f %.6f\\n\"",
"(Math.PI * r * r)",
"Math.PI * r * r",
"Math.PI",
"Math",
"Math.PI",
"r",
"r",
"(2 * Math.PI * r)",
"2 * Math.PI * r",
"2",
"Math.PI",
"Math",
"Math.PI",
"r",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tString line = reader.readLine();\n\t\t\tdouble r = Double.parseDouble(line);\n\t\t\tSystem.out.printf(\"%.6f %.6f\\n\", (Math.PI * r * r), (2 * Math.PI * r));\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tString line = reader.readLine();\n\t\t\tdouble r = Double.parseDouble(line);\n\t\t\tSystem.out.printf(\"%.6f %.6f\\n\", (Math.PI * r * r), (2 * Math.PI * r));\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
try {
String line = reader.readLine();
double r = Double.parseDouble(line);
System.out.printf("%.6f %.6f\n", (Math.PI * r * r), (2 * Math.PI * r));
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
17,
30,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
2,
2,
13,
13,
13,
2,
2,
17,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
83,
14
],
[
83,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
31,
32
],
[
21,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
18,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
37,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
44,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
51,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
63,
67
],
[
68,
68
],
[
68,
69
],
[
68,
70
],
[
68,
71
],
[
63,
72
],
[
73,
73
],
[
73,
74
],
[
73,
75
],
[
73,
76
],
[
37,
77
],
[
77,
78
],
[
78,
79
],
[
15,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\nimport static java.lang.Math.PI;\n\npublic class Main{\n public static void main(String[] args) {\n\ttry {\n\t BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n\t String line;\n\t while ((line = stdReader.readLine()) != null) {\n\t\tDouble r = Double.parseDouble(line);\n\t\tSystem.out.println( String.format(\"%f %f\", PI*r*r, 2*PI*r) );\n\t }\n\t stdReader.close();\n\t} catch (Exception e) {\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import static java.lang.Math.PI;",
"import static java.lang.Math.PI;",
"import static java.lang.Math.PI;",
"public class Main{\n public static void main(String[] args) {\n\ttry {\n\t BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n\t String line;\n\t while ((line = stdReader.readLine()) != null) {\n\t\tDouble r = Double.parseDouble(line);\n\t\tSystem.out.println( String.format(\"%f %f\", PI*r*r, 2*PI*r) );\n\t }\n\t stdReader.close();\n\t} catch (Exception e) {\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}\n }\n}",
"Main",
"public static void main(String[] args) {\n\ttry {\n\t BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n\t String line;\n\t while ((line = stdReader.readLine()) != null) {\n\t\tDouble r = Double.parseDouble(line);\n\t\tSystem.out.println( String.format(\"%f %f\", PI*r*r, 2*PI*r) );\n\t }\n\t stdReader.close();\n\t} catch (Exception e) {\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}\n }",
"main",
"{\n\ttry {\n\t BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n\t String line;\n\t while ((line = stdReader.readLine()) != null) {\n\t\tDouble r = Double.parseDouble(line);\n\t\tSystem.out.println( String.format(\"%f %f\", PI*r*r, 2*PI*r) );\n\t }\n\t stdReader.close();\n\t} catch (Exception e) {\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}\n }",
"try {\n\t BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n\t String line;\n\t while ((line = stdReader.readLine()) != null) {\n\t\tDouble r = Double.parseDouble(line);\n\t\tSystem.out.println( String.format(\"%f %f\", PI*r*r, 2*PI*r) );\n\t }\n\t stdReader.close();\n\t} catch (Exception e) {\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}",
"catch (Exception e) {\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}",
"Exception e",
"{\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}",
"System.out.println(Arrays.toString(e.getStackTrace()))",
"System.out.println",
"System.out",
"System",
"System.out",
"Arrays.toString(e.getStackTrace())",
"Arrays.toString",
"Arrays",
"e.getStackTrace()",
"e.getStackTrace",
"e",
"System.exit(0)",
"System.exit",
"System",
"0",
"{\n\t BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n\t String line;\n\t while ((line = stdReader.readLine()) != null) {\n\t\tDouble r = Double.parseDouble(line);\n\t\tSystem.out.println( String.format(\"%f %f\", PI*r*r, 2*PI*r) );\n\t }\n\t stdReader.close();\n\t}",
"BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));",
"stdReader",
"new BufferedReader(new InputStreamReader(System.in))",
"String line;",
"line",
"while ((line = stdReader.readLine()) != null) {\n\t\tDouble r = Double.parseDouble(line);\n\t\tSystem.out.println( String.format(\"%f %f\", PI*r*r, 2*PI*r) );\n\t }",
"(line = stdReader.readLine()) != null",
"(line = stdReader.readLine())",
"line",
"stdReader.readLine()",
"stdReader.readLine",
"stdReader",
"null",
"{\n\t\tDouble r = Double.parseDouble(line);\n\t\tSystem.out.println( String.format(\"%f %f\", PI*r*r, 2*PI*r) );\n\t }",
"Double r = Double.parseDouble(line);",
"r",
"Double.parseDouble(line)",
"Double.parseDouble",
"Double",
"line",
"System.out.println( String.format(\"%f %f\", PI*r*r, 2*PI*r) )",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%f %f\", PI*r*r, 2*PI*r)",
"String.format",
"String",
"\"%f %f\"",
"PI*r*r",
"PI*r*r",
"PI",
"r",
"r",
"2*PI*r",
"2*PI*r",
"2",
"PI",
"r",
"stdReader.close()",
"stdReader.close",
"stdReader",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args) {\n\ttry {\n\t BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n\t String line;\n\t while ((line = stdReader.readLine()) != null) {\n\t\tDouble r = Double.parseDouble(line);\n\t\tSystem.out.println( String.format(\"%f %f\", PI*r*r, 2*PI*r) );\n\t }\n\t stdReader.close();\n\t} catch (Exception e) {\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}\n }\n}",
"public class Main{\n public static void main(String[] args) {\n\ttry {\n\t BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n\t String line;\n\t while ((line = stdReader.readLine()) != null) {\n\t\tDouble r = Double.parseDouble(line);\n\t\tSystem.out.println( String.format(\"%f %f\", PI*r*r, 2*PI*r) );\n\t }\n\t stdReader.close();\n\t} catch (Exception e) {\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;
import static java.lang.Math.PI;
public class Main{
public static void main(String[] args) {
try {
BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
String line;
while ((line = stdReader.readLine()) != null) {
Double r = Double.parseDouble(line);
System.out.println( String.format("%f %f", PI*r*r, 2*PI*r) );
}
stdReader.close();
} catch (Exception e) {
System.out.println(Arrays.toString(e.getStackTrace()));
System.exit(0);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
2,
2,
17,
13,
18,
13,
13,
41,
13,
2,
2,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
17,
13,
17,
4,
18,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
65,
8
],
[
65,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
29,
29
],
[
29,
30
],
[
29,
31
],
[
29,
32
],
[
32,
33
],
[
32,
34
],
[
11,
35
],
[
35,
36
],
[
35,
37
],
[
38,
38
],
[
38,
39
],
[
38,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
11,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
50,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
51,
55
],
[
50,
56
],
[
50,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
57,
61
],
[
9,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tdouble r = Double.parseDouble(line);\n\n\t\tdouble ensyu = 2 * r * Math.PI;\n\t\tdouble menseki = r * r * Math.PI;\n\t\t// TODO ?????????????????????????????????????????????\n\t\tSystem.out.println(String.format(\"%.6f\", menseki) + \" \"\n\t\t\t\t+ (String.format(\"%.6f\", ensyu)));\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tdouble r = Double.parseDouble(line);\n\n\t\tdouble ensyu = 2 * r * Math.PI;\n\t\tdouble menseki = r * r * Math.PI;\n\t\t// TODO ?????????????????????????????????????????????\n\t\tSystem.out.println(String.format(\"%.6f\", menseki) + \" \"\n\t\t\t\t+ (String.format(\"%.6f\", ensyu)));\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tdouble r = Double.parseDouble(line);\n\n\t\tdouble ensyu = 2 * r * Math.PI;\n\t\tdouble menseki = r * r * Math.PI;\n\t\t// TODO ?????????????????????????????????????????????\n\t\tSystem.out.println(String.format(\"%.6f\", menseki) + \" \"\n\t\t\t\t+ (String.format(\"%.6f\", ensyu)));\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tdouble r = Double.parseDouble(line);\n\n\t\tdouble ensyu = 2 * r * Math.PI;\n\t\tdouble menseki = r * r * Math.PI;\n\t\t// TODO ?????????????????????????????????????????????\n\t\tSystem.out.println(String.format(\"%.6f\", menseki) + \" \"\n\t\t\t\t+ (String.format(\"%.6f\", ensyu)));\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"double r = Double.parseDouble(line);",
"r",
"Double.parseDouble(line)",
"Double.parseDouble",
"Double",
"line",
"double ensyu = 2 * r * Math.PI;",
"ensyu",
"2 * r * Math.PI",
"2 * r * Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"double menseki = r * r * Math.PI;",
"menseki",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"System.out.println(String.format(\"%.6f\", menseki) + \" \"\n\t\t\t\t+ (String.format(\"%.6f\", ensyu)))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%.6f\", menseki) + \" \"\n\t\t\t\t+ (String.format(\"%.6f\", ensyu))",
"String.format(\"%.6f\", menseki) + \" \"\n\t\t\t\t+ (String.format(\"%.6f\", ensyu))",
"String.format(\"%.6f\", menseki)",
"String.format",
"String",
"\"%.6f\"",
"menseki",
"\" \"",
"(String.format(\"%.6f\", ensyu))",
"String.format",
"String",
"\"%.6f\"",
"ensyu",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tdouble r = Double.parseDouble(line);\n\n\t\tdouble ensyu = 2 * r * Math.PI;\n\t\tdouble menseki = r * r * Math.PI;\n\t\t// TODO ?????????????????????????????????????????????\n\t\tSystem.out.println(String.format(\"%.6f\", menseki) + \" \"\n\t\t\t\t+ (String.format(\"%.6f\", ensyu)));\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tdouble r = Double.parseDouble(line);\n\n\t\tdouble ensyu = 2 * r * Math.PI;\n\t\tdouble menseki = r * r * Math.PI;\n\t\t// TODO ?????????????????????????????????????????????\n\t\tSystem.out.println(String.format(\"%.6f\", menseki) + \" \"\n\t\t\t\t+ (String.format(\"%.6f\", ensyu)));\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = br.readLine();
double r = Double.parseDouble(line);
double ensyu = 2 * r * Math.PI;
double menseki = r * r * Math.PI;
// TODO ?????????????????????????????????????????????
System.out.println(String.format("%.6f", menseki) + " "
+ (String.format("%.6f", ensyu)));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
17,
2,
2,
13,
13,
18,
13,
13,
2,
2,
17,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
46,
5
],
[
46,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
23,
29
],
[
30,
30
],
[
30,
31
],
[
30,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
23,
36
],
[
37,
37
],
[
37,
38
],
[
37,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
6,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
] | [
"import java.io.*;\npublic class Main {\n\t\n\t\tpublic static void main(String[] args) throws IOException{\n\t\t\t\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString str = br.readLine();\n\t\t\t\n\t\t\tdouble r = Double.parseDouble(str);\n\t\t\t\n\t\t\tSystem.out.printf(\"%6f %6f\",r*r*Math.PI ,2*r*Math.PI );\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t}\n\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\t\n\t\tpublic static void main(String[] args) throws IOException{\n\t\t\t\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString str = br.readLine();\n\t\t\t\n\t\t\tdouble r = Double.parseDouble(str);\n\t\t\t\n\t\t\tSystem.out.printf(\"%6f %6f\",r*r*Math.PI ,2*r*Math.PI );\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\t\t\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString str = br.readLine();\n\t\t\t\n\t\t\tdouble r = Double.parseDouble(str);\n\t\t\t\n\t\t\tSystem.out.printf(\"%6f %6f\",r*r*Math.PI ,2*r*Math.PI );\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t}",
"main",
"{\n\t\t\t\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString str = br.readLine();\n\t\t\t\n\t\t\tdouble r = Double.parseDouble(str);\n\t\t\t\n\t\t\tSystem.out.printf(\"%6f %6f\",r*r*Math.PI ,2*r*Math.PI );\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"double r = Double.parseDouble(str);",
"r",
"Double.parseDouble(str)",
"Double.parseDouble",
"Double",
"str",
"System.out.printf(\"%6f %6f\",r*r*Math.PI ,2*r*Math.PI )",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%6f %6f\"",
"r*r*Math.PI",
"r*r*Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"2*r*Math.PI",
"2*r*Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"String[] args",
"args",
"public class Main {\n\t\n\t\tpublic static void main(String[] args) throws IOException{\n\t\t\t\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString str = br.readLine();\n\t\t\t\n\t\t\tdouble r = Double.parseDouble(str);\n\t\t\t\n\t\t\tSystem.out.printf(\"%6f %6f\",r*r*Math.PI ,2*r*Math.PI );\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t}\n\n}",
"public class Main {\n\t\n\t\tpublic static void main(String[] args) throws IOException{\n\t\t\t\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString str = br.readLine();\n\t\t\t\n\t\t\tdouble r = Double.parseDouble(str);\n\t\t\t\n\t\t\tSystem.out.printf(\"%6f %6f\",r*r*Math.PI ,2*r*Math.PI );\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t}\n\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
double r = Double.parseDouble(str);
System.out.printf("%6f %6f",r*r*Math.PI ,2*r*Math.PI );
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
17,
2,
13,
4,
13,
13,
17,
2,
2,
17,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
23,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
31,
34
],
[
23,
35
],
[
36,
36
],
[
36,
37
],
[
36,
38
],
[
36,
39
],
[
9,
40
],
[
40,
41
]
] | [
"import static java.lang.Math.*;\n\nimport java.util.Scanner;\n\nclass Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\n\t\tscan.close();\n\n\t\tSystem.out.printf(\"%f %f\",PI*pow(r,2),2*PI*r);\n\t}\n\n}",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\n\t\tscan.close();\n\n\t\tSystem.out.printf(\"%f %f\",PI*pow(r,2),2*PI*r);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\n\t\tscan.close();\n\n\t\tSystem.out.printf(\"%f %f\",PI*pow(r,2),2*PI*r);\n\t}",
"main",
"{\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\n\t\tscan.close();\n\n\t\tSystem.out.printf(\"%f %f\",PI*pow(r,2),2*PI*r);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"double r = scan.nextDouble();",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"scan.close()",
"scan.close",
"scan",
"System.out.printf(\"%f %f\",PI*pow(r,2),2*PI*r)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f %f\"",
"PI*pow(r,2)",
"PI",
"pow(r,2)",
"pow",
"r",
"2",
"2*PI*r",
"2*PI*r",
"2",
"PI",
"r",
"String[] args",
"args"
] | import static java.lang.Math.*;
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
scan.close();
System.out.printf("%f %f",PI*pow(r,2),2*PI*r);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
17,
2,
2,
18,
13,
13,
13,
13,
2,
2,
18,
13,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
55,
20
],
[
55,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
23,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
32,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
38,
44
],
[
32,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
45,
51
],
[
21,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] | [
"import java.io.File;\nimport java.io.IOException;\nimport java.util.ArrayDeque;\nimport java.util.ArrayList;\nimport java.util.Deque;\nimport java.util.Scanner;\n\n \n/*\n * メモ\n * Scanner:nextは空白か改行までの単語\n * String[][] c = new String[h][w];\n * TemplateMain,\"template_input.txt\"\n * 0.5 == 1.0/2\n * Integer.valueOf(char)はダメ、(String)\n */\n \npublic class Main {\n \n\tpublic static void main(String[] args) throws IOException {\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tdouble r = sc.nextDouble();\n\t\t\n\t\tSystem.out.printf(\"%.6f %.6f\", (Math.PI*r*r), (Math.PI*2*r));\n\t}\n}",
"import java.io.File;",
"File",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.ArrayDeque;",
"ArrayDeque",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Deque;",
"Deque",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n \n\tpublic static void main(String[] args) throws IOException {\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tdouble r = sc.nextDouble();\n\t\t\n\t\tSystem.out.printf(\"%.6f %.6f\", (Math.PI*r*r), (Math.PI*2*r));\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tdouble r = sc.nextDouble();\n\t\t\n\t\tSystem.out.printf(\"%.6f %.6f\", (Math.PI*r*r), (Math.PI*2*r));\n\t}",
"main",
"{\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tdouble r = sc.nextDouble();\n\t\t\n\t\tSystem.out.printf(\"%.6f %.6f\", (Math.PI*r*r), (Math.PI*2*r));\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double r = sc.nextDouble();",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"System.out.printf(\"%.6f %.6f\", (Math.PI*r*r), (Math.PI*2*r))",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f %.6f\"",
"(Math.PI*r*r)",
"Math.PI*r*r",
"Math.PI",
"Math",
"Math.PI",
"r",
"r",
"(Math.PI*2*r)",
"Math.PI*2*r",
"Math.PI",
"Math",
"Math.PI",
"2",
"r",
"String[] args",
"args",
"public class Main {\n \n\tpublic static void main(String[] args) throws IOException {\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tdouble r = sc.nextDouble();\n\t\t\n\t\tSystem.out.printf(\"%.6f %.6f\", (Math.PI*r*r), (Math.PI*2*r));\n\t}\n}",
"public class Main {\n \n\tpublic static void main(String[] args) throws IOException {\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tdouble r = sc.nextDouble();\n\t\t\n\t\tSystem.out.printf(\"%.6f %.6f\", (Math.PI*r*r), (Math.PI*2*r));\n\t}\n}",
"Main"
] | import java.io.File;
import java.io.IOException;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Deque;
import java.util.Scanner;
/*
* メモ
* Scanner:nextは空白か改行までの単語
* String[][] c = new String[h][w];
* TemplateMain,"template_input.txt"
* 0.5 == 1.0/2
* Integer.valueOf(char)はダメ、(String)
*/
public class Main {
public static void main(String[] args) throws IOException {
//File file = new File("input.txt");
//Scanner sc = new Scanner(file);
Scanner sc = new Scanner(System.in);
double r = sc.nextDouble();
System.out.printf("%.6f %.6f", (Math.PI*r*r), (Math.PI*2*r));
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
0,
13,
4,
18,
13,
17,
18,
13,
13,
41,
13,
20,
0,
13,
4,
18,
13,
17,
18,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
57,
8
],
[
57,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
25,
29
],
[
29,
30
],
[
29,
31
],
[
11,
32
],
[
32,
33
],
[
32,
34
],
[
11,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
11,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
50,
50
],
[
50,
51
],
[
50,
52
],
[
50,
53
],
[
9,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
] | [
"import java.util.Scanner;\nimport java.math.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble a = scan.nextDouble();\n\t\tBigDecimal x = new BigDecimal(a*a*Math.PI);\n\t\tx = x.setScale(6, BigDecimal.ROUND_HALF_UP);\n\t\tBigDecimal y = new BigDecimal(2*a*Math.PI);\n\t\ty = y.setScale(6, BigDecimal.ROUND_HALF_UP);\n\t\tSystem.out.println(x +\" \"+ y);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.math.*;",
"math.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble a = scan.nextDouble();\n\t\tBigDecimal x = new BigDecimal(a*a*Math.PI);\n\t\tx = x.setScale(6, BigDecimal.ROUND_HALF_UP);\n\t\tBigDecimal y = new BigDecimal(2*a*Math.PI);\n\t\ty = y.setScale(6, BigDecimal.ROUND_HALF_UP);\n\t\tSystem.out.println(x +\" \"+ y);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble a = scan.nextDouble();\n\t\tBigDecimal x = new BigDecimal(a*a*Math.PI);\n\t\tx = x.setScale(6, BigDecimal.ROUND_HALF_UP);\n\t\tBigDecimal y = new BigDecimal(2*a*Math.PI);\n\t\ty = y.setScale(6, BigDecimal.ROUND_HALF_UP);\n\t\tSystem.out.println(x +\" \"+ y);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble a = scan.nextDouble();\n\t\tBigDecimal x = new BigDecimal(a*a*Math.PI);\n\t\tx = x.setScale(6, BigDecimal.ROUND_HALF_UP);\n\t\tBigDecimal y = new BigDecimal(2*a*Math.PI);\n\t\ty = y.setScale(6, BigDecimal.ROUND_HALF_UP);\n\t\tSystem.out.println(x +\" \"+ y);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"double a = scan.nextDouble();",
"a",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"BigDecimal x = new BigDecimal(a*a*Math.PI);",
"x",
"new BigDecimal(a*a*Math.PI)",
"x = x.setScale(6, BigDecimal.ROUND_HALF_UP)",
"x",
"x.setScale(6, BigDecimal.ROUND_HALF_UP)",
"x.setScale",
"x",
"6",
"BigDecimal.ROUND_HALF_UP",
"BigDecimal",
"BigDecimal.ROUND_HALF_UP",
"BigDecimal y = new BigDecimal(2*a*Math.PI);",
"y",
"new BigDecimal(2*a*Math.PI)",
"y = y.setScale(6, BigDecimal.ROUND_HALF_UP)",
"y",
"y.setScale(6, BigDecimal.ROUND_HALF_UP)",
"y.setScale",
"y",
"6",
"BigDecimal.ROUND_HALF_UP",
"BigDecimal",
"BigDecimal.ROUND_HALF_UP",
"System.out.println(x +\" \"+ y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x +\" \"+ y",
"x +\" \"+ y",
"x",
"\" \"",
"y",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble a = scan.nextDouble();\n\t\tBigDecimal x = new BigDecimal(a*a*Math.PI);\n\t\tx = x.setScale(6, BigDecimal.ROUND_HALF_UP);\n\t\tBigDecimal y = new BigDecimal(2*a*Math.PI);\n\t\ty = y.setScale(6, BigDecimal.ROUND_HALF_UP);\n\t\tSystem.out.println(x +\" \"+ y);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble a = scan.nextDouble();\n\t\tBigDecimal x = new BigDecimal(a*a*Math.PI);\n\t\tx = x.setScale(6, BigDecimal.ROUND_HALF_UP);\n\t\tBigDecimal y = new BigDecimal(2*a*Math.PI);\n\t\ty = y.setScale(6, BigDecimal.ROUND_HALF_UP);\n\t\tSystem.out.println(x +\" \"+ y);\n\t}\n}",
"Main"
] | import java.util.Scanner;
import java.math.*;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
double a = scan.nextDouble();
BigDecimal x = new BigDecimal(a*a*Math.PI);
x = x.setScale(6, BigDecimal.ROUND_HALF_UP);
BigDecimal y = new BigDecimal(2*a*Math.PI);
y = y.setScale(6, BigDecimal.ROUND_HALF_UP);
System.out.println(x +" "+ y);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
2,
17,
17,
13,
41,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
17,
13,
17,
4,
18,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
20,
20
],
[
20,
21
],
[
20,
22
],
[
20,
23
],
[
8,
24
],
[
24,
25
],
[
24,
26
],
[
27,
27
],
[
27,
28
],
[
27,
29
],
[
27,
30
],
[
8,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
38,
42
],
[
37,
43
],
[
37,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
44,
48
],
[
6,
49
],
[
49,
50
]
] | [
"import java.util.Scanner; \nclass Main {\n \n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n double a = in.nextDouble();\n double c = (double)2*3.141592653589*a;\n double b = (double)a*a*3.141592653589;\n System.out.println(String.format(\"%.6f\",b) + \" \" +String.format(\"%.6f\",c));\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n \n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n double a = in.nextDouble();\n double c = (double)2*3.141592653589*a;\n double b = (double)a*a*3.141592653589;\n System.out.println(String.format(\"%.6f\",b) + \" \" +String.format(\"%.6f\",c));\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n double a = in.nextDouble();\n double c = (double)2*3.141592653589*a;\n double b = (double)a*a*3.141592653589;\n System.out.println(String.format(\"%.6f\",b) + \" \" +String.format(\"%.6f\",c));\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n double a = in.nextDouble();\n double c = (double)2*3.141592653589*a;\n double b = (double)a*a*3.141592653589;\n System.out.println(String.format(\"%.6f\",b) + \" \" +String.format(\"%.6f\",c));\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"double a = in.nextDouble();",
"a",
"in.nextDouble()",
"in.nextDouble",
"in",
"double c = (double)2*3.141592653589*a;",
"c",
"(double)2*3.141592653589*a",
"(double)2*3.141592653589*a",
"(double)2",
"3.141592653589",
"a",
"double b = (double)a*a*3.141592653589;",
"b",
"(double)a*a*3.141592653589",
"(double)a*a*3.141592653589",
"(double)a",
"a",
"3.141592653589",
"System.out.println(String.format(\"%.6f\",b) + \" \" +String.format(\"%.6f\",c))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%.6f\",b) + \" \" +String.format(\"%.6f\",c)",
"String.format(\"%.6f\",b) + \" \" +String.format(\"%.6f\",c)",
"String.format(\"%.6f\",b)",
"String.format",
"String",
"\"%.6f\"",
"b",
"\" \"",
"String.format(\"%.6f\",c)",
"String.format",
"String",
"\"%.6f\"",
"c",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args){
Scanner in = new Scanner(System.in);
double a = in.nextDouble();
double c = (double)2*3.141592653589*a;
double b = (double)a*a*3.141592653589;
System.out.println(String.format("%.6f",b) + " " +String.format("%.6f",c));
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
18,
13,
13,
4,
18,
13,
13,
17,
41,
13,
2,
2,
17,
18,
13,
13,
13,
4,
18,
18,
13,
13,
2,
2,
4,
18,
4,
18,
13,
13,
17,
4,
18,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
63,
8
],
[
63,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
26,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
34,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
11,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
46,
53
],
[
46,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
9,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
] | [
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\n\t\tdouble sum = Math.PI * Math.pow(r, 2);\n\t\tdouble length = 2 * Math.PI * r;\n\t\tSystem.out.println(BigDecimal.valueOf(sum).toPlainString() + \" \" + BigDecimal.valueOf(length).toPlainString());\n\t}\n\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\n\t\tdouble sum = Math.PI * Math.pow(r, 2);\n\t\tdouble length = 2 * Math.PI * r;\n\t\tSystem.out.println(BigDecimal.valueOf(sum).toPlainString() + \" \" + BigDecimal.valueOf(length).toPlainString());\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\n\t\tdouble sum = Math.PI * Math.pow(r, 2);\n\t\tdouble length = 2 * Math.PI * r;\n\t\tSystem.out.println(BigDecimal.valueOf(sum).toPlainString() + \" \" + BigDecimal.valueOf(length).toPlainString());\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\n\t\tdouble sum = Math.PI * Math.pow(r, 2);\n\t\tdouble length = 2 * Math.PI * r;\n\t\tSystem.out.println(BigDecimal.valueOf(sum).toPlainString() + \" \" + BigDecimal.valueOf(length).toPlainString());\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"double r = scan.nextDouble();",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"double sum = Math.PI * Math.pow(r, 2);",
"sum",
"Math.PI * Math.pow(r, 2)",
"Math.PI",
"Math",
"Math.PI",
"Math.pow(r, 2)",
"Math.pow",
"Math",
"r",
"2",
"double length = 2 * Math.PI * r;",
"length",
"2 * Math.PI * r",
"2 * Math.PI * r",
"2",
"Math.PI",
"Math",
"Math.PI",
"r",
"System.out.println(BigDecimal.valueOf(sum).toPlainString() + \" \" + BigDecimal.valueOf(length).toPlainString())",
"System.out.println",
"System.out",
"System",
"System.out",
"BigDecimal.valueOf(sum).toPlainString() + \" \" + BigDecimal.valueOf(length).toPlainString()",
"BigDecimal.valueOf(sum).toPlainString() + \" \" + BigDecimal.valueOf(length).toPlainString()",
"BigDecimal.valueOf(sum).toPlainString()",
"BigDecimal.valueOf(sum).toPlainString",
"BigDecimal.valueOf(sum)",
"BigDecimal.valueOf",
"BigDecimal",
"sum",
"\" \"",
"BigDecimal.valueOf(length).toPlainString()",
"BigDecimal.valueOf(length).toPlainString",
"BigDecimal.valueOf(length)",
"BigDecimal.valueOf",
"BigDecimal",
"length",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\n\t\tdouble sum = Math.PI * Math.pow(r, 2);\n\t\tdouble length = 2 * Math.PI * r;\n\t\tSystem.out.println(BigDecimal.valueOf(sum).toPlainString() + \" \" + BigDecimal.valueOf(length).toPlainString());\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\n\t\tdouble sum = Math.PI * Math.pow(r, 2);\n\t\tdouble length = 2 * Math.PI * r;\n\t\tSystem.out.println(BigDecimal.valueOf(sum).toPlainString() + \" \" + BigDecimal.valueOf(length).toPlainString());\n\t}\n\n}",
"Main"
] | import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
double sum = Math.PI * Math.pow(r, 2);
double length = 2 * Math.PI * r;
System.out.println(BigDecimal.valueOf(sum).toPlainString() + " " + BigDecimal.valueOf(length).toPlainString());
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
18,
13,
13,
41,
13,
41,
13,
0,
13,
2,
2,
13,
13,
13,
0,
13,
2,
2,
17,
13,
13,
4,
18,
18,
13,
13,
17,
13,
13,
12,
13,
30,
4,
18,
20,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
57,
5
],
[
57,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
8,
24
],
[
24,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
29,
29
],
[
29,
30
],
[
29,
31
],
[
29,
32
],
[
8,
33
],
[
33,
34
],
[
33,
35
],
[
36,
36
],
[
36,
37
],
[
36,
38
],
[
36,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
40,
46
],
[
40,
47
],
[
57,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
48,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tvoid run(){\n\t\tScanner s = new Scanner(System.in);\n\t\tdouble r = s.nextDouble();\n\t\tdouble pi = Math.PI;\n\t\tdouble area, circ;\n\t\tarea = r * r * pi;\n\t\tcirc = 2 * pi * r;\n\t\tSystem.out.printf(\"%f %f\", area, circ);\n\t}\n\tpublic static void main(String[] args) {\n\t\t/* \n\t\t * Main x;\n\t\t * x = new Main();\n\t\t * x.run();\n\t\t * ??¨????????????\n\t\t */\n\t\tnew Main().run();\n\t\t\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tvoid run(){\n\t\tScanner s = new Scanner(System.in);\n\t\tdouble r = s.nextDouble();\n\t\tdouble pi = Math.PI;\n\t\tdouble area, circ;\n\t\tarea = r * r * pi;\n\t\tcirc = 2 * pi * r;\n\t\tSystem.out.printf(\"%f %f\", area, circ);\n\t}\n\tpublic static void main(String[] args) {\n\t\t/* \n\t\t * Main x;\n\t\t * x = new Main();\n\t\t * x.run();\n\t\t * ??¨????????????\n\t\t */\n\t\tnew Main().run();\n\t\t\n\t}\n}",
"Main",
"void run(){\n\t\tScanner s = new Scanner(System.in);\n\t\tdouble r = s.nextDouble();\n\t\tdouble pi = Math.PI;\n\t\tdouble area, circ;\n\t\tarea = r * r * pi;\n\t\tcirc = 2 * pi * r;\n\t\tSystem.out.printf(\"%f %f\", area, circ);\n\t}",
"run",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\tdouble r = s.nextDouble();\n\t\tdouble pi = Math.PI;\n\t\tdouble area, circ;\n\t\tarea = r * r * pi;\n\t\tcirc = 2 * pi * r;\n\t\tSystem.out.printf(\"%f %f\", area, circ);\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"double r = s.nextDouble();",
"r",
"s.nextDouble()",
"s.nextDouble",
"s",
"double pi = Math.PI;",
"pi",
"Math.PI",
"Math",
"Math.PI",
"double area",
"area",
"circ;",
"circ",
"area = r * r * pi",
"area",
"r * r * pi",
"r * r * pi",
"r",
"r",
"pi",
"circ = 2 * pi * r",
"circ",
"2 * pi * r",
"2 * pi * r",
"2",
"pi",
"r",
"System.out.printf(\"%f %f\", area, circ)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f %f\"",
"area",
"circ",
"public static void main(String[] args) {\n\t\t/* \n\t\t * Main x;\n\t\t * x = new Main();\n\t\t * x.run();\n\t\t * ??¨????????????\n\t\t */\n\t\tnew Main().run();\n\t\t\n\t}",
"main",
"{\n\t\t/* \n\t\t * Main x;\n\t\t * x = new Main();\n\t\t * x.run();\n\t\t * ??¨????????????\n\t\t */\n\t\tnew Main().run();\n\t\t\n\t}",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"public class Main {\n\tvoid run(){\n\t\tScanner s = new Scanner(System.in);\n\t\tdouble r = s.nextDouble();\n\t\tdouble pi = Math.PI;\n\t\tdouble area, circ;\n\t\tarea = r * r * pi;\n\t\tcirc = 2 * pi * r;\n\t\tSystem.out.printf(\"%f %f\", area, circ);\n\t}\n\tpublic static void main(String[] args) {\n\t\t/* \n\t\t * Main x;\n\t\t * x = new Main();\n\t\t * x.run();\n\t\t * ??¨????????????\n\t\t */\n\t\tnew Main().run();\n\t\t\n\t}\n}",
"public class Main {\n\tvoid run(){\n\t\tScanner s = new Scanner(System.in);\n\t\tdouble r = s.nextDouble();\n\t\tdouble pi = Math.PI;\n\t\tdouble area, circ;\n\t\tarea = r * r * pi;\n\t\tcirc = 2 * pi * r;\n\t\tSystem.out.printf(\"%f %f\", area, circ);\n\t}\n\tpublic static void main(String[] args) {\n\t\t/* \n\t\t * Main x;\n\t\t * x = new Main();\n\t\t * x.run();\n\t\t * ??¨????????????\n\t\t */\n\t\tnew Main().run();\n\t\t\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
void run(){
Scanner s = new Scanner(System.in);
double r = s.nextDouble();
double pi = Math.PI;
double area, circ;
area = r * r * pi;
circ = 2 * pi * r;
System.out.printf("%f %f", area, circ);
}
public static void main(String[] args) {
/*
* Main x;
* x = new Main();
* x.run();
* ??¨????????????
*/
new Main().run();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
18,
13,
13,
41,
13,
2,
2,
13,
13,
13,
41,
13,
2,
2,
17,
13,
13,
4,
18,
18,
13,
13,
17,
13,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
62,
5
],
[
62,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
28,
28
],
[
28,
29
],
[
28,
30
],
[
28,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
35,
35
],
[
35,
36
],
[
35,
37
],
[
35,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
39,
45
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
8,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
52,
58
],
[
6,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
] | [
"import java.util.Scanner;\n\n \npublic class Main {\n\t\n\t\n public static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n\tDouble r=Double.parseDouble(sc.next());\n\tdouble p=Math.PI;\n\tdouble s=r*r*p;\n\tdouble l=2*r*p;\n\tSystem.out.printf(\"%.6f\",s);\n\tSystem.out.print(\" \");\n\tSystem.out.printf(\"%.6f\\n\",l);\n\t\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t\n\t\n public static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n\tDouble r=Double.parseDouble(sc.next());\n\tdouble p=Math.PI;\n\tdouble s=r*r*p;\n\tdouble l=2*r*p;\n\tSystem.out.printf(\"%.6f\",s);\n\tSystem.out.print(\" \");\n\tSystem.out.printf(\"%.6f\\n\",l);\n\t\n }\n}",
"Main",
"public static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n\tDouble r=Double.parseDouble(sc.next());\n\tdouble p=Math.PI;\n\tdouble s=r*r*p;\n\tdouble l=2*r*p;\n\tSystem.out.printf(\"%.6f\",s);\n\tSystem.out.print(\" \");\n\tSystem.out.printf(\"%.6f\\n\",l);\n\t\n }",
"main",
"{\n\t Scanner sc=new Scanner(System.in);\n\tDouble r=Double.parseDouble(sc.next());\n\tdouble p=Math.PI;\n\tdouble s=r*r*p;\n\tdouble l=2*r*p;\n\tSystem.out.printf(\"%.6f\",s);\n\tSystem.out.print(\" \");\n\tSystem.out.printf(\"%.6f\\n\",l);\n\t\n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Double r=Double.parseDouble(sc.next());",
"r",
"Double.parseDouble(sc.next())",
"Double.parseDouble",
"Double",
"sc.next()",
"sc.next",
"sc",
"double p=Math.PI;",
"p",
"Math.PI",
"Math",
"Math.PI",
"double s=r*r*p;",
"s",
"r*r*p",
"r*r*p",
"r",
"r",
"p",
"double l=2*r*p;",
"l",
"2*r*p",
"2*r*p",
"2",
"r",
"p",
"System.out.printf(\"%.6f\",s)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f\"",
"s",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.printf(\"%.6f\\n\",l)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f\\n\"",
"l",
"String[] args",
"args",
"public class Main {\n\t\n\t\n public static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n\tDouble r=Double.parseDouble(sc.next());\n\tdouble p=Math.PI;\n\tdouble s=r*r*p;\n\tdouble l=2*r*p;\n\tSystem.out.printf(\"%.6f\",s);\n\tSystem.out.print(\" \");\n\tSystem.out.printf(\"%.6f\\n\",l);\n\t\n }\n}",
"public class Main {\n\t\n\t\n public static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n\tDouble r=Double.parseDouble(sc.next());\n\tdouble p=Math.PI;\n\tdouble s=r*r*p;\n\tdouble l=2*r*p;\n\tSystem.out.printf(\"%.6f\",s);\n\tSystem.out.print(\" \");\n\tSystem.out.printf(\"%.6f\\n\",l);\n\t\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
Double r=Double.parseDouble(sc.next());
double p=Math.PI;
double s=r*r*p;
double l=2*r*p;
System.out.printf("%.6f",s);
System.out.print(" ");
System.out.printf("%.6f\n",l);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
17,
4,
13,
13,
4,
13,
13,
23,
13,
12,
13,
30,
41,
13,
17,
0,
13,
2,
2,
13,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
17,
0,
13,
2,
2,
17,
18,
13,
13,
13,
29,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
88,
11
],
[
88,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
14,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
14,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
35,
41
],
[
41,
42
],
[
41,
43
],
[
35,
44
],
[
44,
45
],
[
44,
46
],
[
12,
47
],
[
47,
48
],
[
88,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
58,
58
],
[
58,
59
],
[
58,
60
],
[
58,
61
],
[
61,
62
],
[
61,
63
],
[
51,
64
],
[
64,
65
],
[
49,
66
],
[
66,
67
],
[
88,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
77,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
70,
83
],
[
83,
84
],
[
68,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\n\n/*\n * ???????????§??????????´? EightQueen.java\n *\n * Copyright(C) 2016 Nagasaki Team All Rights Reserved.\n */\n/**\n * ??????????????????????????????????????????????????¢???????±??????????\n * AIZU???Circle???????????¨\n *@author Iwanaga\n * @version 1.00\n */\n\npublic class Main{\n\t/*\n\t * main????????????\n\t */\n\tpublic static void main(String[] args) throws IOException{\n\t\t/*?????°??£?¨?*/\n\t\tBufferedReader br =\n\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\tString str = null; //??\\?????¨?????????\n\t\tdouble radius = 0; //??????\n\n\t\t//??\\?????????\n\t\tstr = br.readLine();\n\t\tradius = Double.parseDouble(str); //??°????????????\n\n\t\t//??¢?????¨???\n\t\tSystem.out.printf(\"%.6f %.6f\",getCircleArea(radius)\n\t\t\t\t\t\t\t\t,getCirum(radius));\n\t}\n\n\t/**\n\t * ????????¢???????±???????\n\t * @param radius ??????\n\t * @return ??¢???\n\t */\n\tpublic static double getCircleArea(double radius){\n\t\t/*?????°??£?¨?*/\n\t\tdouble area = 0;\n\n\t\tarea = radius*radius*Math.PI;\n\n\t\treturn area;\n\t}\n\t\n\t/**\n\t * ?????¨?????????????±???????\n\t * @param radius ??????\n\t * @return ?????¨?????????\n\t */\n\tpublic static double getCirum(double radius){\n\t\t/*?????°??£?¨?*/\n\t\tdouble cirum = 0;\n\t\t\n\t\tcirum = 2*Math.PI*radius;\n\t\t\n\t\treturn cirum;\n\t}\n}\n\t\t",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"public class Main{\n\t/*\n\t * main????????????\n\t */\n\tpublic static void main(String[] args) throws IOException{\n\t\t/*?????°??£?¨?*/\n\t\tBufferedReader br =\n\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\tString str = null; //??\\?????¨?????????\n\t\tdouble radius = 0; //??????\n\n\t\t//??\\?????????\n\t\tstr = br.readLine();\n\t\tradius = Double.parseDouble(str); //??°????????????\n\n\t\t//??¢?????¨???\n\t\tSystem.out.printf(\"%.6f %.6f\",getCircleArea(radius)\n\t\t\t\t\t\t\t\t,getCirum(radius));\n\t}\n\n\t/**\n\t * ????????¢???????±???????\n\t * @param radius ??????\n\t * @return ??¢???\n\t */\n\tpublic static double getCircleArea(double radius){\n\t\t/*?????°??£?¨?*/\n\t\tdouble area = 0;\n\n\t\tarea = radius*radius*Math.PI;\n\n\t\treturn area;\n\t}\n\t\n\t/**\n\t * ?????¨?????????????±???????\n\t * @param radius ??????\n\t * @return ?????¨?????????\n\t */\n\tpublic static double getCirum(double radius){\n\t\t/*?????°??£?¨?*/\n\t\tdouble cirum = 0;\n\t\t\n\t\tcirum = 2*Math.PI*radius;\n\t\t\n\t\treturn cirum;\n\t}\n}",
"Main",
"/*\n\t * main????????????\n\t */\n\tpublic static void main(String[] args) throws IOException{\n\t\t/*?????°??£?¨?*/\n\t\tBufferedReader br =\n\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\tString str = null; //??\\?????¨?????????\n\t\tdouble radius = 0; //??????\n\n\t\t//??\\?????????\n\t\tstr = br.readLine();\n\t\tradius = Double.parseDouble(str); //??°????????????\n\n\t\t//??¢?????¨???\n\t\tSystem.out.printf(\"%.6f %.6f\",getCircleArea(radius)\n\t\t\t\t\t\t\t\t,getCirum(radius));\n\t}",
"main",
"{\n\t\t/*?????°??£?¨?*/\n\t\tBufferedReader br =\n\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\tString str = null; //??\\?????¨?????????\n\t\tdouble radius = 0; //??????\n\n\t\t//??\\?????????\n\t\tstr = br.readLine();\n\t\tradius = Double.parseDouble(str); //??°????????????\n\n\t\t//??¢?????¨???\n\t\tSystem.out.printf(\"%.6f %.6f\",getCircleArea(radius)\n\t\t\t\t\t\t\t\t,getCirum(radius));\n\t}",
"BufferedReader br =\n\t\t\tnew BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = null;",
"str",
"null",
"double radius = 0;",
"radius",
"0",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"radius = Double.parseDouble(str)",
"radius",
"Double.parseDouble(str)",
"Double.parseDouble",
"Double",
"str",
"System.out.printf(\"%.6f %.6f\",getCircleArea(radius)\n\t\t\t\t\t\t\t\t,getCirum(radius))",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f %.6f\"",
"getCircleArea(radius)",
"getCircleArea",
"radius",
"getCirum(radius)",
"getCirum",
"radius",
"String[] args",
"args",
"/**\n\t * ????????¢???????±???????\n\t * @param radius ??????\n\t * @return ??¢???\n\t */\n\tpublic static double getCircleArea(double radius){\n\t\t/*?????°??£?¨?*/\n\t\tdouble area = 0;\n\n\t\tarea = radius*radius*Math.PI;\n\n\t\treturn area;\n\t}",
"getCircleArea",
"{\n\t\t/*?????°??£?¨?*/\n\t\tdouble area = 0;\n\n\t\tarea = radius*radius*Math.PI;\n\n\t\treturn area;\n\t}",
"double area = 0;",
"area",
"0",
"area = radius*radius*Math.PI",
"area",
"radius*radius*Math.PI",
"radius*radius*Math.PI",
"radius",
"radius",
"Math.PI",
"Math",
"Math.PI",
"return area;",
"area",
"double radius",
"radius",
"/**\n\t * ?????¨?????????????±???????\n\t * @param radius ??????\n\t * @return ?????¨?????????\n\t */\n\tpublic static double getCirum(double radius){\n\t\t/*?????°??£?¨?*/\n\t\tdouble cirum = 0;\n\t\t\n\t\tcirum = 2*Math.PI*radius;\n\t\t\n\t\treturn cirum;\n\t}",
"getCirum",
"{\n\t\t/*?????°??£?¨?*/\n\t\tdouble cirum = 0;\n\t\t\n\t\tcirum = 2*Math.PI*radius;\n\t\t\n\t\treturn cirum;\n\t}",
"double cirum = 0;",
"cirum",
"0",
"cirum = 2*Math.PI*radius",
"cirum",
"2*Math.PI*radius",
"2*Math.PI*radius",
"2",
"Math.PI",
"Math",
"Math.PI",
"radius",
"return cirum;",
"cirum",
"double radius",
"radius",
"public class Main{\n\t/*\n\t * main????????????\n\t */\n\tpublic static void main(String[] args) throws IOException{\n\t\t/*?????°??£?¨?*/\n\t\tBufferedReader br =\n\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\tString str = null; //??\\?????¨?????????\n\t\tdouble radius = 0; //??????\n\n\t\t//??\\?????????\n\t\tstr = br.readLine();\n\t\tradius = Double.parseDouble(str); //??°????????????\n\n\t\t//??¢?????¨???\n\t\tSystem.out.printf(\"%.6f %.6f\",getCircleArea(radius)\n\t\t\t\t\t\t\t\t,getCirum(radius));\n\t}\n\n\t/**\n\t * ????????¢???????±???????\n\t * @param radius ??????\n\t * @return ??¢???\n\t */\n\tpublic static double getCircleArea(double radius){\n\t\t/*?????°??£?¨?*/\n\t\tdouble area = 0;\n\n\t\tarea = radius*radius*Math.PI;\n\n\t\treturn area;\n\t}\n\t\n\t/**\n\t * ?????¨?????????????±???????\n\t * @param radius ??????\n\t * @return ?????¨?????????\n\t */\n\tpublic static double getCirum(double radius){\n\t\t/*?????°??£?¨?*/\n\t\tdouble cirum = 0;\n\t\t\n\t\tcirum = 2*Math.PI*radius;\n\t\t\n\t\treturn cirum;\n\t}\n}",
"public class Main{\n\t/*\n\t * main????????????\n\t */\n\tpublic static void main(String[] args) throws IOException{\n\t\t/*?????°??£?¨?*/\n\t\tBufferedReader br =\n\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\tString str = null; //??\\?????¨?????????\n\t\tdouble radius = 0; //??????\n\n\t\t//??\\?????????\n\t\tstr = br.readLine();\n\t\tradius = Double.parseDouble(str); //??°????????????\n\n\t\t//??¢?????¨???\n\t\tSystem.out.printf(\"%.6f %.6f\",getCircleArea(radius)\n\t\t\t\t\t\t\t\t,getCirum(radius));\n\t}\n\n\t/**\n\t * ????????¢???????±???????\n\t * @param radius ??????\n\t * @return ??¢???\n\t */\n\tpublic static double getCircleArea(double radius){\n\t\t/*?????°??£?¨?*/\n\t\tdouble area = 0;\n\n\t\tarea = radius*radius*Math.PI;\n\n\t\treturn area;\n\t}\n\t\n\t/**\n\t * ?????¨?????????????±???????\n\t * @param radius ??????\n\t * @return ?????¨?????????\n\t */\n\tpublic static double getCirum(double radius){\n\t\t/*?????°??£?¨?*/\n\t\tdouble cirum = 0;\n\t\t\n\t\tcirum = 2*Math.PI*radius;\n\t\t\n\t\treturn cirum;\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
/*
* ???????????§??????????´? EightQueen.java
*
* Copyright(C) 2016 Nagasaki Team All Rights Reserved.
*/
/**
* ??????????????????????????????????????????????????¢???????±??????????
* AIZU???Circle???????????¨
*@author Iwanaga
* @version 1.00
*/
public class Main{
/*
* main????????????
*/
public static void main(String[] args) throws IOException{
/*?????°??£?¨?*/
BufferedReader br =
new BufferedReader(new InputStreamReader(System.in));
String str = null; //??\?????¨?????????
double radius = 0; //??????
//??\?????????
str = br.readLine();
radius = Double.parseDouble(str); //??°????????????
//??¢?????¨???
System.out.printf("%.6f %.6f",getCircleArea(radius)
,getCirum(radius));
}
/**
* ????????¢???????±???????
* @param radius ??????
* @return ??¢???
*/
public static double getCircleArea(double radius){
/*?????°??£?¨?*/
double area = 0;
area = radius*radius*Math.PI;
return area;
}
/**
* ?????¨?????????????±???????
* @param radius ??????
* @return ?????¨?????????
*/
public static double getCirum(double radius){
/*?????°??£?¨?*/
double cirum = 0;
cirum = 2*Math.PI*radius;
return cirum;
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
2,
2,
13,
13,
18,
13,
13,
41,
13,
2,
2,
13,
17,
18,
13,
13,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
13,
17,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
60,
8
],
[
60,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
26,
26
],
[
26,
27
],
[
26,
28
],
[
26,
29
],
[
29,
30
],
[
29,
31
],
[
11,
32
],
[
32,
33
],
[
32,
34
],
[
35,
35
],
[
35,
36
],
[
35,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
11,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
47,
52
],
[
47,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
9,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
] | [
"import java.text.DecimalFormat;\nimport java.util.Scanner;\n\n\npublic class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t double r = scan.nextDouble();\n\t\tDecimalFormat df = new DecimalFormat(\"0.000000\");\n\t\tdouble s = r*r*Math.PI;\n\t\tdouble a = r*2*Math.PI;\n\t\tSystem.out.println(df.format(s)+\" \"+df.format(a));\n\n\t}\n\n}",
"import java.text.DecimalFormat;",
"DecimalFormat",
"java.text",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t double r = scan.nextDouble();\n\t\tDecimalFormat df = new DecimalFormat(\"0.000000\");\n\t\tdouble s = r*r*Math.PI;\n\t\tdouble a = r*2*Math.PI;\n\t\tSystem.out.println(df.format(s)+\" \"+df.format(a));\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t double r = scan.nextDouble();\n\t\tDecimalFormat df = new DecimalFormat(\"0.000000\");\n\t\tdouble s = r*r*Math.PI;\n\t\tdouble a = r*2*Math.PI;\n\t\tSystem.out.println(df.format(s)+\" \"+df.format(a));\n\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\t double r = scan.nextDouble();\n\t\tDecimalFormat df = new DecimalFormat(\"0.000000\");\n\t\tdouble s = r*r*Math.PI;\n\t\tdouble a = r*2*Math.PI;\n\t\tSystem.out.println(df.format(s)+\" \"+df.format(a));\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"double r = scan.nextDouble();",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"DecimalFormat df = new DecimalFormat(\"0.000000\");",
"df",
"new DecimalFormat(\"0.000000\")",
"double s = r*r*Math.PI;",
"s",
"r*r*Math.PI",
"r*r*Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"double a = r*2*Math.PI;",
"a",
"r*2*Math.PI",
"r*2*Math.PI",
"r",
"2",
"Math.PI",
"Math",
"Math.PI",
"System.out.println(df.format(s)+\" \"+df.format(a))",
"System.out.println",
"System.out",
"System",
"System.out",
"df.format(s)+\" \"+df.format(a)",
"df.format(s)+\" \"+df.format(a)",
"df.format(s)",
"df.format",
"df",
"s",
"\" \"",
"df.format(a)",
"df.format",
"df",
"a",
"String[] args",
"args",
"public class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t double r = scan.nextDouble();\n\t\tDecimalFormat df = new DecimalFormat(\"0.000000\");\n\t\tdouble s = r*r*Math.PI;\n\t\tdouble a = r*2*Math.PI;\n\t\tSystem.out.println(df.format(s)+\" \"+df.format(a));\n\n\t}\n\n}",
"public class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t double r = scan.nextDouble();\n\t\tDecimalFormat df = new DecimalFormat(\"0.000000\");\n\t\tdouble s = r*r*Math.PI;\n\t\tdouble a = r*2*Math.PI;\n\t\tSystem.out.println(df.format(s)+\" \"+df.format(a));\n\n\t}\n\n}",
"Main"
] | import java.text.DecimalFormat;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
DecimalFormat df = new DecimalFormat("0.000000");
double s = r*r*Math.PI;
double a = r*2*Math.PI;
System.out.println(df.format(s)+" "+df.format(a));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
2,
2,
13,
13,
13,
41,
13,
2,
2,
17,
13,
13,
4,
18,
18,
13,
13,
17,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
53,
5
],
[
53,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
31,
31
],
[
31,
32
],
[
31,
33
],
[
31,
34
],
[
8,
35
],
[
35,
36
],
[
35,
37
],
[
38,
38
],
[
38,
39
],
[
38,
40
],
[
38,
41
],
[
8,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
42,
48
],
[
42,
49
],
[
6,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
] | [
"import java.util.*;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString r = scan.nextLine();\n\t\tdouble rr = Double.parseDouble(r);\n\t\tdouble x = Math.PI;\n\t\tdouble area = rr * rr * x;\n\t\tdouble len = 2 * rr * x;\n\t\tSystem.out.printf(\"%f %f\\n\", area, len);\n\t\t\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString r = scan.nextLine();\n\t\tdouble rr = Double.parseDouble(r);\n\t\tdouble x = Math.PI;\n\t\tdouble area = rr * rr * x;\n\t\tdouble len = 2 * rr * x;\n\t\tSystem.out.printf(\"%f %f\\n\", area, len);\n\t\t\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString r = scan.nextLine();\n\t\tdouble rr = Double.parseDouble(r);\n\t\tdouble x = Math.PI;\n\t\tdouble area = rr * rr * x;\n\t\tdouble len = 2 * rr * x;\n\t\tSystem.out.printf(\"%f %f\\n\", area, len);\n\t\t\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString r = scan.nextLine();\n\t\tdouble rr = Double.parseDouble(r);\n\t\tdouble x = Math.PI;\n\t\tdouble area = rr * rr * x;\n\t\tdouble len = 2 * rr * x;\n\t\tSystem.out.printf(\"%f %f\\n\", area, len);\n\t\t\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String r = scan.nextLine();",
"r",
"scan.nextLine()",
"scan.nextLine",
"scan",
"double rr = Double.parseDouble(r);",
"rr",
"Double.parseDouble(r)",
"Double.parseDouble",
"Double",
"r",
"double x = Math.PI;",
"x",
"Math.PI",
"Math",
"Math.PI",
"double area = rr * rr * x;",
"area",
"rr * rr * x",
"rr * rr * x",
"rr",
"rr",
"x",
"double len = 2 * rr * x;",
"len",
"2 * rr * x",
"2 * rr * x",
"2",
"rr",
"x",
"System.out.printf(\"%f %f\\n\", area, len)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f %f\\n\"",
"area",
"len",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString r = scan.nextLine();\n\t\tdouble rr = Double.parseDouble(r);\n\t\tdouble x = Math.PI;\n\t\tdouble area = rr * rr * x;\n\t\tdouble len = 2 * rr * x;\n\t\tSystem.out.printf(\"%f %f\\n\", area, len);\n\t\t\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString r = scan.nextLine();\n\t\tdouble rr = Double.parseDouble(r);\n\t\tdouble x = Math.PI;\n\t\tdouble area = rr * rr * x;\n\t\tdouble len = 2 * rr * x;\n\t\tSystem.out.printf(\"%f %f\\n\", area, len);\n\t\t\n\t}\n}",
"Main"
] | import java.util.*;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
String r = scan.nextLine();
double rr = Double.parseDouble(r);
double x = Math.PI;
double area = rr * rr * x;
double len = 2 * rr * x;
System.out.printf("%f %f\n", area, len);
}
} |
[
7,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
0,
13,
4,
18,
13,
14,
2,
2,
17,
13,
2,
13,
4,
18,
13,
17,
17,
30,
0,
13,
2,
2,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
13,
4,
18,
18,
13,
13,
17,
0,
13,
2,
2,
13,
17,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
80,
2
],
[
80,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
5,
11
],
[
11,
12
],
[
5,
13
],
[
13,
14
],
[
5,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
5,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
21,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
27,
31
],
[
20,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
36,
36
],
[
36,
37
],
[
36,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
32,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
47,
51
],
[
32,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
32,
58
],
[
58,
59
],
[
58,
60
],
[
61,
61
],
[
61,
62
],
[
61,
63
],
[
61,
64
],
[
64,
65
],
[
64,
66
],
[
32,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
72,
76
],
[
3,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] | [
"public class Main {\n\n\n\t\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tdouble i, r, s;\n\t\ti = scan.nextDouble();\n\n\t\tif(0<i && i < Math.pow(10, 4)){\n\t\t\t\n\t\t\tr = i*i*Math.PI;\n\t\t\tSystem.out.print(String.format(\"%.6f\",r));\n\t\t\tSystem.out.print(\" \");\n\t\t\ts = i*2*Math.PI;\n\t\t\tSystem.out.println(String.format(\"%.6f\",s));\n\n\t\t}\n\n\n\t\t}\n}",
"public class Main {\n\n\n\t\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tdouble i, r, s;\n\t\ti = scan.nextDouble();\n\n\t\tif(0<i && i < Math.pow(10, 4)){\n\t\t\t\n\t\t\tr = i*i*Math.PI;\n\t\t\tSystem.out.print(String.format(\"%.6f\",r));\n\t\t\tSystem.out.print(\" \");\n\t\t\ts = i*2*Math.PI;\n\t\t\tSystem.out.println(String.format(\"%.6f\",s));\n\n\t\t}\n\n\n\t\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tdouble i, r, s;\n\t\ti = scan.nextDouble();\n\n\t\tif(0<i && i < Math.pow(10, 4)){\n\t\t\t\n\t\t\tr = i*i*Math.PI;\n\t\t\tSystem.out.print(String.format(\"%.6f\",r));\n\t\t\tSystem.out.print(\" \");\n\t\t\ts = i*2*Math.PI;\n\t\t\tSystem.out.println(String.format(\"%.6f\",s));\n\n\t\t}\n\n\n\t\t}",
"main",
"{\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tdouble i, r, s;\n\t\ti = scan.nextDouble();\n\n\t\tif(0<i && i < Math.pow(10, 4)){\n\t\t\t\n\t\t\tr = i*i*Math.PI;\n\t\t\tSystem.out.print(String.format(\"%.6f\",r));\n\t\t\tSystem.out.print(\" \");\n\t\t\ts = i*2*Math.PI;\n\t\t\tSystem.out.println(String.format(\"%.6f\",s));\n\n\t\t}\n\n\n\t\t}",
"java.util.Scanner scan = new java.util.Scanner(System.in);",
"scan",
"new java.util.Scanner(System.in)",
"double i",
"i",
"r",
"r",
"s;",
"s",
"i = scan.nextDouble()",
"i",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"if(0<i && i < Math.pow(10, 4)){\n\t\t\t\n\t\t\tr = i*i*Math.PI;\n\t\t\tSystem.out.print(String.format(\"%.6f\",r));\n\t\t\tSystem.out.print(\" \");\n\t\t\ts = i*2*Math.PI;\n\t\t\tSystem.out.println(String.format(\"%.6f\",s));\n\n\t\t}",
"0<i && i < Math.pow(10, 4)",
"0<i",
"0",
"i",
"i < Math.pow(10, 4)",
"i",
"Math.pow(10, 4)",
"Math.pow",
"Math",
"10",
"4",
"{\n\t\t\t\n\t\t\tr = i*i*Math.PI;\n\t\t\tSystem.out.print(String.format(\"%.6f\",r));\n\t\t\tSystem.out.print(\" \");\n\t\t\ts = i*2*Math.PI;\n\t\t\tSystem.out.println(String.format(\"%.6f\",s));\n\n\t\t}",
"r = i*i*Math.PI",
"r",
"i*i*Math.PI",
"i*i*Math.PI",
"i",
"i",
"Math.PI",
"Math",
"Math.PI",
"System.out.print(String.format(\"%.6f\",r))",
"System.out.print",
"System.out",
"System",
"System.out",
"String.format(\"%.6f\",r)",
"String.format",
"String",
"\"%.6f\"",
"r",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"s = i*2*Math.PI",
"s",
"i*2*Math.PI",
"i*2*Math.PI",
"i",
"2",
"Math.PI",
"Math",
"Math.PI",
"System.out.println(String.format(\"%.6f\",s))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%.6f\",s)",
"String.format",
"String",
"\"%.6f\"",
"s",
"String[] args",
"args",
"public class Main {\n\n\n\t\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tdouble i, r, s;\n\t\ti = scan.nextDouble();\n\n\t\tif(0<i && i < Math.pow(10, 4)){\n\t\t\t\n\t\t\tr = i*i*Math.PI;\n\t\t\tSystem.out.print(String.format(\"%.6f\",r));\n\t\t\tSystem.out.print(\" \");\n\t\t\ts = i*2*Math.PI;\n\t\t\tSystem.out.println(String.format(\"%.6f\",s));\n\n\t\t}\n\n\n\t\t}\n}",
"public class Main {\n\n\n\t\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tdouble i, r, s;\n\t\ti = scan.nextDouble();\n\n\t\tif(0<i && i < Math.pow(10, 4)){\n\t\t\t\n\t\t\tr = i*i*Math.PI;\n\t\t\tSystem.out.print(String.format(\"%.6f\",r));\n\t\t\tSystem.out.print(\" \");\n\t\t\ts = i*2*Math.PI;\n\t\t\tSystem.out.println(String.format(\"%.6f\",s));\n\n\t\t}\n\n\n\t\t}\n}",
"Main"
] | public class Main {
public static void main(String[] args) {
java.util.Scanner scan = new java.util.Scanner(System.in);
double i, r, s;
i = scan.nextDouble();
if(0<i && i < Math.pow(10, 4)){
r = i*i*Math.PI;
System.out.print(String.format("%.6f",r));
System.out.print(" ");
s = i*2*Math.PI;
System.out.println(String.format("%.6f",s));
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
0,
13,
4,
18,
13,
0,
13,
2,
2,
17,
13,
18,
13,
13,
0,
13,
2,
2,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
17,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
26,
26
],
[
26,
27
],
[
26,
28
],
[
26,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
35,
35
],
[
35,
36
],
[
35,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
41,
47
],
[
41,
48
],
[
6,
49
],
[
49,
50
]
] | [
"import java.util.*;\n\nclass Main{\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r, l, s;\n\t\t\n\t\tr = sc.nextDouble();\n\t\t\n\t\tl = 2 * r * Math.PI;\n\t\ts = r * r * Math.PI;\n\t\t\n\t\tSystem.out.printf(\"%.5f %.5f\\n\", s, l);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r, l, s;\n\t\t\n\t\tr = sc.nextDouble();\n\t\t\n\t\tl = 2 * r * Math.PI;\n\t\ts = r * r * Math.PI;\n\t\t\n\t\tSystem.out.printf(\"%.5f %.5f\\n\", s, l);\n\t}\n}",
"Main",
"public static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r, l, s;\n\t\t\n\t\tr = sc.nextDouble();\n\t\t\n\t\tl = 2 * r * Math.PI;\n\t\ts = r * r * Math.PI;\n\t\t\n\t\tSystem.out.printf(\"%.5f %.5f\\n\", s, l);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r, l, s;\n\t\t\n\t\tr = sc.nextDouble();\n\t\t\n\t\tl = 2 * r * Math.PI;\n\t\ts = r * r * Math.PI;\n\t\t\n\t\tSystem.out.printf(\"%.5f %.5f\\n\", s, l);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double r",
"r",
"l",
"l",
"s;",
"s",
"r = sc.nextDouble()",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"l = 2 * r * Math.PI",
"l",
"2 * r * Math.PI",
"2 * r * Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"s = r * r * Math.PI",
"s",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"System.out.printf(\"%.5f %.5f\\n\", s, l)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.5f %.5f\\n\"",
"s",
"l",
"String args[]",
"args"
] | import java.util.*;
class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
double r, l, s;
r = sc.nextDouble();
l = 2 * r * Math.PI;
s = r * r * Math.PI;
System.out.printf("%.5f %.5f\n", s, l);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
0,
13,
4,
18,
13,
13,
40,
13,
0,
13,
2,
2,
13,
17,
18,
13,
13,
0,
13,
2,
2,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
17,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
11,
24
],
[
24,
25
],
[
24,
26
],
[
11,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
11,
32
],
[
32,
33
],
[
32,
34
],
[
11,
35
],
[
35,
36
],
[
35,
37
],
[
11,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
42,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
42,
58
],
[
58,
59
],
[
11,
60
],
[
60,
61
],
[
60,
62
],
[
63,
63
],
[
63,
64
],
[
63,
65
],
[
63,
66
],
[
66,
67
],
[
66,
68
],
[
11,
69
],
[
69,
70
],
[
69,
71
],
[
72,
72
],
[
72,
73
],
[
72,
74
],
[
72,
75
],
[
75,
76
],
[
75,
77
],
[
11,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
78,
84
],
[
78,
85
],
[
9,
86
],
[
86,
87
]
] | [
"import java.io.*;\nimport java.util.*;\nclass Main{\n public static void main(String args[]) throws IOException{\n\n\tdouble a=0;\n\tint i=0;\n\tdouble j=0;\n\tdouble k=0;\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString str = br.readLine();\n\tString delimiter = \" \";\n StringTokenizer stringTokenizer = new StringTokenizer( str, delimiter );\n\twhile(stringTokenizer.hasMoreTokens())\n\t{\n String current = stringTokenizer.nextToken();\n\t if(i==0)a=Double.parseDouble(current);\n\t i++;\n\t}\n\tj=a*2.0*Math.PI;\n\tk=a*a*Math.PI;\n\tSystem.out.printf(\"%.6f %.6f\\n\",k,j);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String args[]) throws IOException{\n\n\tdouble a=0;\n\tint i=0;\n\tdouble j=0;\n\tdouble k=0;\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString str = br.readLine();\n\tString delimiter = \" \";\n StringTokenizer stringTokenizer = new StringTokenizer( str, delimiter );\n\twhile(stringTokenizer.hasMoreTokens())\n\t{\n String current = stringTokenizer.nextToken();\n\t if(i==0)a=Double.parseDouble(current);\n\t i++;\n\t}\n\tj=a*2.0*Math.PI;\n\tk=a*a*Math.PI;\n\tSystem.out.printf(\"%.6f %.6f\\n\",k,j);\n }\n}",
"Main",
"public static void main(String args[]) throws IOException{\n\n\tdouble a=0;\n\tint i=0;\n\tdouble j=0;\n\tdouble k=0;\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString str = br.readLine();\n\tString delimiter = \" \";\n StringTokenizer stringTokenizer = new StringTokenizer( str, delimiter );\n\twhile(stringTokenizer.hasMoreTokens())\n\t{\n String current = stringTokenizer.nextToken();\n\t if(i==0)a=Double.parseDouble(current);\n\t i++;\n\t}\n\tj=a*2.0*Math.PI;\n\tk=a*a*Math.PI;\n\tSystem.out.printf(\"%.6f %.6f\\n\",k,j);\n }",
"main",
"{\n\n\tdouble a=0;\n\tint i=0;\n\tdouble j=0;\n\tdouble k=0;\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString str = br.readLine();\n\tString delimiter = \" \";\n StringTokenizer stringTokenizer = new StringTokenizer( str, delimiter );\n\twhile(stringTokenizer.hasMoreTokens())\n\t{\n String current = stringTokenizer.nextToken();\n\t if(i==0)a=Double.parseDouble(current);\n\t i++;\n\t}\n\tj=a*2.0*Math.PI;\n\tk=a*a*Math.PI;\n\tSystem.out.printf(\"%.6f %.6f\\n\",k,j);\n }",
"double a=0;",
"a",
"0",
"int i=0;",
"i",
"0",
"double j=0;",
"j",
"0",
"double k=0;",
"k",
"0",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"String delimiter = \" \";",
"delimiter",
"\" \"",
"StringTokenizer stringTokenizer = new StringTokenizer( str, delimiter );",
"stringTokenizer",
"new StringTokenizer( str, delimiter )",
"while(stringTokenizer.hasMoreTokens())\n\t{\n String current = stringTokenizer.nextToken();\n\t if(i==0)a=Double.parseDouble(current);\n\t i++;\n\t}",
"stringTokenizer.hasMoreTokens()",
"stringTokenizer.hasMoreTokens",
"stringTokenizer",
"{\n String current = stringTokenizer.nextToken();\n\t if(i==0)a=Double.parseDouble(current);\n\t i++;\n\t}",
"String current = stringTokenizer.nextToken();",
"current",
"stringTokenizer.nextToken()",
"stringTokenizer.nextToken",
"stringTokenizer",
"if(i==0)a=Double.parseDouble(current);",
"i==0",
"i",
"0",
"a=Double.parseDouble(current)",
"a",
"Double.parseDouble(current)",
"Double.parseDouble",
"Double",
"current",
"i++",
"i",
"j=a*2.0*Math.PI",
"j",
"a*2.0*Math.PI",
"a*2.0*Math.PI",
"a",
"2.0",
"Math.PI",
"Math",
"Math.PI",
"k=a*a*Math.PI",
"k",
"a*a*Math.PI",
"a*a*Math.PI",
"a",
"a",
"Math.PI",
"Math",
"Math.PI",
"System.out.printf(\"%.6f %.6f\\n\",k,j)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f %.6f\\n\"",
"k",
"j",
"String args[]",
"args"
] | import java.io.*;
import java.util.*;
class Main{
public static void main(String args[]) throws IOException{
double a=0;
int i=0;
double j=0;
double k=0;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
String delimiter = " ";
StringTokenizer stringTokenizer = new StringTokenizer( str, delimiter );
while(stringTokenizer.hasMoreTokens())
{
String current = stringTokenizer.nextToken();
if(i==0)a=Double.parseDouble(current);
i++;
}
j=a*2.0*Math.PI;
k=a*a*Math.PI;
System.out.printf("%.6f %.6f\n",k,j);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
17,
2,
2,
13,
13,
17,
41,
13,
4,
18,
13,
17,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
58,
5
],
[
58,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
25,
29
],
[
30,
30
],
[
30,
31
],
[
30,
32
],
[
30,
33
],
[
8,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
36,
40
],
[
41,
41
],
[
41,
42
],
[
41,
43
],
[
41,
44
],
[
8,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
51,
51
],
[
51,
52
],
[
51,
53
],
[
51,
54
],
[
6,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] | [
"import java.io.*;\npublic class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n String str=buf.readLine();\n double x=Double.parseDouble(str);\n \n String f=String.format(\"%.6f\",(double)x*(double)x*3.141592653589);\n String t=String.format(\"%.6f\",(double)x*2*3.141592653589);\n System.out.println(f+\" \"+t);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n String str=buf.readLine();\n double x=Double.parseDouble(str);\n \n String f=String.format(\"%.6f\",(double)x*(double)x*3.141592653589);\n String t=String.format(\"%.6f\",(double)x*2*3.141592653589);\n System.out.println(f+\" \"+t);\n }\n}",
"Main",
"public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n String str=buf.readLine();\n double x=Double.parseDouble(str);\n \n String f=String.format(\"%.6f\",(double)x*(double)x*3.141592653589);\n String t=String.format(\"%.6f\",(double)x*2*3.141592653589);\n System.out.println(f+\" \"+t);\n }",
"main",
"{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n String str=buf.readLine();\n double x=Double.parseDouble(str);\n \n String f=String.format(\"%.6f\",(double)x*(double)x*3.141592653589);\n String t=String.format(\"%.6f\",(double)x*2*3.141592653589);\n System.out.println(f+\" \"+t);\n }",
"BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));",
"buf",
"new BufferedReader(new InputStreamReader(System.in))",
"String str=buf.readLine();",
"str",
"buf.readLine()",
"buf.readLine",
"buf",
"double x=Double.parseDouble(str);",
"x",
"Double.parseDouble(str)",
"Double.parseDouble",
"Double",
"str",
"String f=String.format(\"%.6f\",(double)x*(double)x*3.141592653589);",
"f",
"String.format(\"%.6f\",(double)x*(double)x*3.141592653589)",
"String.format",
"String",
"\"%.6f\"",
"(double)x*(double)x*3.141592653589",
"(double)x*(double)x*3.141592653589",
"(double)x",
"(double)x",
"3.141592653589",
"String t=String.format(\"%.6f\",(double)x*2*3.141592653589);",
"t",
"String.format(\"%.6f\",(double)x*2*3.141592653589)",
"String.format",
"String",
"\"%.6f\"",
"(double)x*2*3.141592653589",
"(double)x*2*3.141592653589",
"(double)x",
"2",
"3.141592653589",
"System.out.println(f+\" \"+t)",
"System.out.println",
"System.out",
"System",
"System.out",
"f+\" \"+t",
"f+\" \"+t",
"f",
"\" \"",
"t",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n String str=buf.readLine();\n double x=Double.parseDouble(str);\n \n String f=String.format(\"%.6f\",(double)x*(double)x*3.141592653589);\n String t=String.format(\"%.6f\",(double)x*2*3.141592653589);\n System.out.println(f+\" \"+t);\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n String str=buf.readLine();\n double x=Double.parseDouble(str);\n \n String f=String.format(\"%.6f\",(double)x*(double)x*3.141592653589);\n String t=String.format(\"%.6f\",(double)x*2*3.141592653589);\n System.out.println(f+\" \"+t);\n }\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) throws IOException{
BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));
String str=buf.readLine();
double x=Double.parseDouble(str);
String f=String.format("%.6f",(double)x*(double)x*3.141592653589);
String t=String.format("%.6f",(double)x*2*3.141592653589);
System.out.println(f+" "+t);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
18,
13,
13,
41,
13,
2,
2,
13,
13,
13,
41,
13,
2,
2,
17,
13,
13,
4,
18,
18,
13,
13,
17,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
25,
25
],
[
25,
26
],
[
25,
27
],
[
25,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
32,
32
],
[
32,
33
],
[
32,
34
],
[
32,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
36,
42
],
[
36,
43
],
[
6,
44
],
[
44,
45
]
] | [
"import java.util.*;\n\nclass Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\t\n\t\tdouble pi = Math.PI;//円周率\n\t\tdouble menseki = r * r * pi;//面積算出\n\t\tdouble ensyu = 2 * r * pi;//円周算出\n\t\tSystem.out.printf(\"%.6f %.6f\",menseki,ensyu);//計算結果を6桁で表示\n\t\t\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\t\n\t\tdouble pi = Math.PI;//円周率\n\t\tdouble menseki = r * r * pi;//面積算出\n\t\tdouble ensyu = 2 * r * pi;//円周算出\n\t\tSystem.out.printf(\"%.6f %.6f\",menseki,ensyu);//計算結果を6桁で表示\n\t\t\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\t\n\t\tdouble pi = Math.PI;//円周率\n\t\tdouble menseki = r * r * pi;//面積算出\n\t\tdouble ensyu = 2 * r * pi;//円周算出\n\t\tSystem.out.printf(\"%.6f %.6f\",menseki,ensyu);//計算結果を6桁で表示\n\t\t\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\t\n\t\tdouble pi = Math.PI;//円周率\n\t\tdouble menseki = r * r * pi;//面積算出\n\t\tdouble ensyu = 2 * r * pi;//円周算出\n\t\tSystem.out.printf(\"%.6f %.6f\",menseki,ensyu);//計算結果を6桁で表示\n\t\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double r = sc.nextDouble();",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"double pi = Math.PI;",
"pi",
"Math.PI",
"Math",
"Math.PI",
"double menseki = r * r * pi;",
"menseki",
"r * r * pi",
"r * r * pi",
"r",
"r",
"pi",
"double ensyu = 2 * r * pi;",
"ensyu",
"2 * r * pi",
"2 * r * pi",
"2",
"r",
"pi",
"System.out.printf(\"%.6f %.6f\",menseki,ensyu)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f %.6f\"",
"menseki",
"ensyu",
"String[] args",
"args"
] | import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
double r = sc.nextDouble();
double pi = Math.PI;//円周率
double menseki = r * r * pi;//面積算出
double ensyu = 2 * r * pi;//円周算出
System.out.printf("%.6f %.6f",menseki,ensyu);//計算結果を6桁で表示
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
2,
2,
13,
13,
13,
41,
13,
2,
2,
13,
17,
13,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
17,
13,
17,
4,
18,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
55,
5
],
[
55,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
23,
23
],
[
23,
24
],
[
23,
25
],
[
23,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
30,
30
],
[
30,
31
],
[
30,
32
],
[
30,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
41,
45
],
[
40,
46
],
[
40,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
47,
51
],
[
6,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] | [
"import java.util.Scanner;\n \npublic class Main\n{\n \n public static void main(String[] args)\n {\n Scanner scan = new Scanner(System.in);\ndouble r = scan.nextDouble();\ndouble pai=3.141592653589;\ndouble men =r*r*pai;\ndouble naga= r*2*pai;\n\n System.out.println(String.format(\"%.6f\", men)+\" \"+String.format(\"%.6f\", naga));\n}\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main\n{\n \n public static void main(String[] args)\n {\n Scanner scan = new Scanner(System.in);\ndouble r = scan.nextDouble();\ndouble pai=3.141592653589;\ndouble men =r*r*pai;\ndouble naga= r*2*pai;\n\n System.out.println(String.format(\"%.6f\", men)+\" \"+String.format(\"%.6f\", naga));\n}\n}",
"Main",
"public static void main(String[] args)\n {\n Scanner scan = new Scanner(System.in);\ndouble r = scan.nextDouble();\ndouble pai=3.141592653589;\ndouble men =r*r*pai;\ndouble naga= r*2*pai;\n\n System.out.println(String.format(\"%.6f\", men)+\" \"+String.format(\"%.6f\", naga));\n}",
"main",
"{\n Scanner scan = new Scanner(System.in);\ndouble r = scan.nextDouble();\ndouble pai=3.141592653589;\ndouble men =r*r*pai;\ndouble naga= r*2*pai;\n\n System.out.println(String.format(\"%.6f\", men)+\" \"+String.format(\"%.6f\", naga));\n}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"double r = scan.nextDouble();",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"double pai=3.141592653589;",
"pai",
"3.141592653589",
"double men =r*r*pai;",
"men",
"r*r*pai",
"r*r*pai",
"r",
"r",
"pai",
"double naga= r*2*pai;",
"naga",
"r*2*pai",
"r*2*pai",
"r",
"2",
"pai",
"System.out.println(String.format(\"%.6f\", men)+\" \"+String.format(\"%.6f\", naga))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%.6f\", men)+\" \"+String.format(\"%.6f\", naga)",
"String.format(\"%.6f\", men)+\" \"+String.format(\"%.6f\", naga)",
"String.format(\"%.6f\", men)",
"String.format",
"String",
"\"%.6f\"",
"men",
"\" \"",
"String.format(\"%.6f\", naga)",
"String.format",
"String",
"\"%.6f\"",
"naga",
"String[] args",
"args",
"public class Main\n{\n \n public static void main(String[] args)\n {\n Scanner scan = new Scanner(System.in);\ndouble r = scan.nextDouble();\ndouble pai=3.141592653589;\ndouble men =r*r*pai;\ndouble naga= r*2*pai;\n\n System.out.println(String.format(\"%.6f\", men)+\" \"+String.format(\"%.6f\", naga));\n}\n}",
"public class Main\n{\n \n public static void main(String[] args)\n {\n Scanner scan = new Scanner(System.in);\ndouble r = scan.nextDouble();\ndouble pai=3.141592653589;\ndouble men =r*r*pai;\ndouble naga= r*2*pai;\n\n System.out.println(String.format(\"%.6f\", men)+\" \"+String.format(\"%.6f\", naga));\n}\n}",
"Main"
] | import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
double pai=3.141592653589;
double men =r*r*pai;
double naga= r*2*pai;
System.out.println(String.format("%.6f", men)+" "+String.format("%.6f", naga));
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
4,
18,
18,
13,
13,
17,
2,
2,
13,
13,
13,
2,
2,
17,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
39,
5
],
[
39,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
20,
26
],
[
27,
27
],
[
27,
28
],
[
27,
29
],
[
27,
30
],
[
20,
31
],
[
32,
32
],
[
32,
33
],
[
32,
34
],
[
32,
35
],
[
6,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
] | [
"import java.util.Scanner;\n\npublic class Main \n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tdouble r = scanner.nextDouble();\n\t\tdouble pi = 3.14159265359;\n\t\tSystem.out.printf(\"%1$.6f %2$.6f\", pi*r*r, 2*r*pi);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main \n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tdouble r = scanner.nextDouble();\n\t\tdouble pi = 3.14159265359;\n\t\tSystem.out.printf(\"%1$.6f %2$.6f\", pi*r*r, 2*r*pi);\n\t}\n}",
"Main",
"public static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tdouble r = scanner.nextDouble();\n\t\tdouble pi = 3.14159265359;\n\t\tSystem.out.printf(\"%1$.6f %2$.6f\", pi*r*r, 2*r*pi);\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tdouble r = scanner.nextDouble();\n\t\tdouble pi = 3.14159265359;\n\t\tSystem.out.printf(\"%1$.6f %2$.6f\", pi*r*r, 2*r*pi);\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"double r = scanner.nextDouble();",
"r",
"scanner.nextDouble()",
"scanner.nextDouble",
"scanner",
"double pi = 3.14159265359;",
"pi",
"3.14159265359",
"System.out.printf(\"%1$.6f %2$.6f\", pi*r*r, 2*r*pi)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%1$.6f %2$.6f\"",
"pi*r*r",
"pi*r*r",
"pi",
"r",
"r",
"2*r*pi",
"2*r*pi",
"2",
"r",
"pi",
"String[] args",
"args",
"public class Main \n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tdouble r = scanner.nextDouble();\n\t\tdouble pi = 3.14159265359;\n\t\tSystem.out.printf(\"%1$.6f %2$.6f\", pi*r*r, 2*r*pi);\n\t}\n}",
"public class Main \n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tdouble r = scanner.nextDouble();\n\t\tdouble pi = 3.14159265359;\n\t\tSystem.out.printf(\"%1$.6f %2$.6f\", pi*r*r, 2*r*pi);\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
Scanner scanner = new Scanner(System.in);
double r = scanner.nextDouble();
double pi = 3.14159265359;
System.out.printf("%1$.6f %2$.6f", pi*r*r, 2*r*pi);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
13,
18,
13,
13,
41,
13,
2,
2,
13,
17,
18,
13,
13,
4,
18,
18,
13,
13,
17,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
20,
20
],
[
20,
21
],
[
20,
22
],
[
20,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
29,
29
],
[
29,
30
],
[
29,
31
],
[
29,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
35,
41
],
[
35,
42
],
[
6,
43
],
[
43,
44
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n double r = scanner.nextDouble();\n\n double circleArea = r * r * Math.PI;\n double lengthOfCircumference = r * 2 * Math.PI;\n\n System.out.printf(\"%f %f\", circleArea, lengthOfCircumference);\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n double r = scanner.nextDouble();\n\n double circleArea = r * r * Math.PI;\n double lengthOfCircumference = r * 2 * Math.PI;\n\n System.out.printf(\"%f %f\", circleArea, lengthOfCircumference);\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n double r = scanner.nextDouble();\n\n double circleArea = r * r * Math.PI;\n double lengthOfCircumference = r * 2 * Math.PI;\n\n System.out.printf(\"%f %f\", circleArea, lengthOfCircumference);\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n double r = scanner.nextDouble();\n\n double circleArea = r * r * Math.PI;\n double lengthOfCircumference = r * 2 * Math.PI;\n\n System.out.printf(\"%f %f\", circleArea, lengthOfCircumference);\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"double r = scanner.nextDouble();",
"r",
"scanner.nextDouble()",
"scanner.nextDouble",
"scanner",
"double circleArea = r * r * Math.PI;",
"circleArea",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"double lengthOfCircumference = r * 2 * Math.PI;",
"lengthOfCircumference",
"r * 2 * Math.PI",
"r * 2 * Math.PI",
"r",
"2",
"Math.PI",
"Math",
"Math.PI",
"System.out.printf(\"%f %f\", circleArea, lengthOfCircumference)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f %f\"",
"circleArea",
"lengthOfCircumference",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
double r = scanner.nextDouble();
double circleArea = r * r * Math.PI;
double lengthOfCircumference = r * 2 * Math.PI;
System.out.printf("%f %f", circleArea, lengthOfCircumference);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
18,
13,
13,
41,
13,
2,
2,
17,
13,
13,
41,
13,
2,
2,
13,
13,
13,
41,
13,
4,
18,
13,
17,
13,
41,
13,
4,
18,
13,
17,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
63,
5
],
[
63,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
25,
25
],
[
25,
26
],
[
25,
27
],
[
25,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
32,
32
],
[
32,
33
],
[
32,
34
],
[
32,
35
],
[
8,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
38,
42
],
[
8,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
45,
49
],
[
8,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
56,
56
],
[
56,
57
],
[
56,
58
],
[
56,
59
],
[
6,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\t\t\n\t\tdouble x = Math.PI;\n\t\tdouble l = 2 * r * x;\n\t\tdouble c = r * r * x;\n\t\tString g = String.format(\"%.6f\", l);\n\t\tString h = String.format(\"%.6f\", c);\n\t\tSystem.out.println(h+\" \"+g);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\t\t\n\t\tdouble x = Math.PI;\n\t\tdouble l = 2 * r * x;\n\t\tdouble c = r * r * x;\n\t\tString g = String.format(\"%.6f\", l);\n\t\tString h = String.format(\"%.6f\", c);\n\t\tSystem.out.println(h+\" \"+g);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\t\t\n\t\tdouble x = Math.PI;\n\t\tdouble l = 2 * r * x;\n\t\tdouble c = r * r * x;\n\t\tString g = String.format(\"%.6f\", l);\n\t\tString h = String.format(\"%.6f\", c);\n\t\tSystem.out.println(h+\" \"+g);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\t\t\n\t\tdouble x = Math.PI;\n\t\tdouble l = 2 * r * x;\n\t\tdouble c = r * r * x;\n\t\tString g = String.format(\"%.6f\", l);\n\t\tString h = String.format(\"%.6f\", c);\n\t\tSystem.out.println(h+\" \"+g);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"double r = scan.nextDouble();",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"double x = Math.PI;",
"x",
"Math.PI",
"Math",
"Math.PI",
"double l = 2 * r * x;",
"l",
"2 * r * x",
"2 * r * x",
"2",
"r",
"x",
"double c = r * r * x;",
"c",
"r * r * x",
"r * r * x",
"r",
"r",
"x",
"String g = String.format(\"%.6f\", l);",
"g",
"String.format(\"%.6f\", l)",
"String.format",
"String",
"\"%.6f\"",
"l",
"String h = String.format(\"%.6f\", c);",
"h",
"String.format(\"%.6f\", c)",
"String.format",
"String",
"\"%.6f\"",
"c",
"System.out.println(h+\" \"+g)",
"System.out.println",
"System.out",
"System",
"System.out",
"h+\" \"+g",
"h+\" \"+g",
"h",
"\" \"",
"g",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\t\t\n\t\tdouble x = Math.PI;\n\t\tdouble l = 2 * r * x;\n\t\tdouble c = r * r * x;\n\t\tString g = String.format(\"%.6f\", l);\n\t\tString h = String.format(\"%.6f\", c);\n\t\tSystem.out.println(h+\" \"+g);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\t\t\n\t\tdouble x = Math.PI;\n\t\tdouble l = 2 * r * x;\n\t\tdouble c = r * r * x;\n\t\tString g = String.format(\"%.6f\", l);\n\t\tString h = String.format(\"%.6f\", c);\n\t\tSystem.out.println(h+\" \"+g);\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
double x = Math.PI;
double l = 2 * r * x;
double c = r * r * x;
String g = String.format("%.6f", l);
String h = String.format("%.6f", c);
System.out.println(h+" "+g);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
40,
2,
2,
17,
13,
2,
17,
13,
30,
4,
18,
13,
17,
41,
13,
2,
2,
18,
13,
13,
17,
13,
41,
13,
2,
2,
13,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
0,
13,
4,
18,
13,
17,
18,
13,
13,
0,
13,
4,
18,
13,
17,
18,
13,
13,
4,
18,
18,
13,
13,
17,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
109,
14
],
[
109,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
23,
28
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
34,
36
],
[
17,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
43,
45
],
[
37,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
17,
51
],
[
51,
52
],
[
51,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
54,
59
],
[
17,
60
],
[
60,
61
],
[
60,
62
],
[
63,
63
],
[
63,
64
],
[
63,
65
],
[
63,
66
],
[
66,
67
],
[
66,
68
],
[
17,
69
],
[
69,
70
],
[
69,
71
],
[
17,
72
],
[
72,
73
],
[
72,
74
],
[
17,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
77,
81
],
[
81,
82
],
[
81,
83
],
[
17,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
86,
90
],
[
90,
91
],
[
90,
92
],
[
17,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
93,
99
],
[
93,
100
],
[
17,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
15,
106
],
[
106,
107
],
[
0,
108
],
[
108,
109
],
[
108,
110
]
] | [
"/*AOJ-ITP-4-2*/\n\n/* ?????? r ???????????¢?????¨?????¨?????????????±???????????????°????????????????????????????????? */\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigDecimal;\n \npublic class Main {\n public static void main(String[] args) throws NumberFormatException, IOException {\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String st[] = br.readLine().split(\" \");\n double r = Double.parseDouble(st[0]);\n if(!(0 < r && 10000 > r)){System.exit(1);}\n \n double circumference = Math.PI * 2 * r;\n double circleArea = r * r * Math.PI;\n \n BigDecimal x = new BigDecimal(circumference);\n BigDecimal y = new BigDecimal(circleArea);\n //?°???°???5????????§?????????\n x = x.setScale(5, BigDecimal.ROUND_HALF_UP);\n y = y.setScale(5, BigDecimal.ROUND_HALF_UP);\n System.out.printf(\"%.5f %.5f\",y,x);\n System.out.println();\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"public class Main {\n public static void main(String[] args) throws NumberFormatException, IOException {\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String st[] = br.readLine().split(\" \");\n double r = Double.parseDouble(st[0]);\n if(!(0 < r && 10000 > r)){System.exit(1);}\n \n double circumference = Math.PI * 2 * r;\n double circleArea = r * r * Math.PI;\n \n BigDecimal x = new BigDecimal(circumference);\n BigDecimal y = new BigDecimal(circleArea);\n //?°???°???5????????§?????????\n x = x.setScale(5, BigDecimal.ROUND_HALF_UP);\n y = y.setScale(5, BigDecimal.ROUND_HALF_UP);\n System.out.printf(\"%.5f %.5f\",y,x);\n System.out.println();\n }\n}",
"Main",
"public static void main(String[] args) throws NumberFormatException, IOException {\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String st[] = br.readLine().split(\" \");\n double r = Double.parseDouble(st[0]);\n if(!(0 < r && 10000 > r)){System.exit(1);}\n \n double circumference = Math.PI * 2 * r;\n double circleArea = r * r * Math.PI;\n \n BigDecimal x = new BigDecimal(circumference);\n BigDecimal y = new BigDecimal(circleArea);\n //?°???°???5????????§?????????\n x = x.setScale(5, BigDecimal.ROUND_HALF_UP);\n y = y.setScale(5, BigDecimal.ROUND_HALF_UP);\n System.out.printf(\"%.5f %.5f\",y,x);\n System.out.println();\n }",
"main",
"{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String st[] = br.readLine().split(\" \");\n double r = Double.parseDouble(st[0]);\n if(!(0 < r && 10000 > r)){System.exit(1);}\n \n double circumference = Math.PI * 2 * r;\n double circleArea = r * r * Math.PI;\n \n BigDecimal x = new BigDecimal(circumference);\n BigDecimal y = new BigDecimal(circleArea);\n //?°???°???5????????§?????????\n x = x.setScale(5, BigDecimal.ROUND_HALF_UP);\n y = y.setScale(5, BigDecimal.ROUND_HALF_UP);\n System.out.printf(\"%.5f %.5f\",y,x);\n System.out.println();\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String st[] = br.readLine().split(\" \");",
"st",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"double r = Double.parseDouble(st[0]);",
"r",
"Double.parseDouble(st[0])",
"Double.parseDouble",
"Double",
"st[0]",
"st",
"0",
"if(!(0 < r && 10000 > r)){System.exit(1);}",
"!(0 < r && 10000 > r)",
"(0 < r && 10000 > r)",
"0 < r",
"0",
"r",
"10000 > r",
"10000",
"r",
"{System.exit(1);}",
"System.exit(1)",
"System.exit",
"System",
"1",
"double circumference = Math.PI * 2 * r;",
"circumference",
"Math.PI * 2 * r",
"Math.PI * 2 * r",
"Math.PI",
"Math",
"Math.PI",
"2",
"r",
"double circleArea = r * r * Math.PI;",
"circleArea",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"BigDecimal x = new BigDecimal(circumference);",
"x",
"new BigDecimal(circumference)",
"BigDecimal y = new BigDecimal(circleArea);",
"y",
"new BigDecimal(circleArea)",
"x = x.setScale(5, BigDecimal.ROUND_HALF_UP)",
"x",
"x.setScale(5, BigDecimal.ROUND_HALF_UP)",
"x.setScale",
"x",
"5",
"BigDecimal.ROUND_HALF_UP",
"BigDecimal",
"BigDecimal.ROUND_HALF_UP",
"y = y.setScale(5, BigDecimal.ROUND_HALF_UP)",
"y",
"y.setScale(5, BigDecimal.ROUND_HALF_UP)",
"y.setScale",
"y",
"5",
"BigDecimal.ROUND_HALF_UP",
"BigDecimal",
"BigDecimal.ROUND_HALF_UP",
"System.out.printf(\"%.5f %.5f\",y,x)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.5f %.5f\"",
"y",
"x",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws NumberFormatException, IOException {\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String st[] = br.readLine().split(\" \");\n double r = Double.parseDouble(st[0]);\n if(!(0 < r && 10000 > r)){System.exit(1);}\n \n double circumference = Math.PI * 2 * r;\n double circleArea = r * r * Math.PI;\n \n BigDecimal x = new BigDecimal(circumference);\n BigDecimal y = new BigDecimal(circleArea);\n //?°???°???5????????§?????????\n x = x.setScale(5, BigDecimal.ROUND_HALF_UP);\n y = y.setScale(5, BigDecimal.ROUND_HALF_UP);\n System.out.printf(\"%.5f %.5f\",y,x);\n System.out.println();\n }\n}",
"public class Main {\n public static void main(String[] args) throws NumberFormatException, IOException {\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String st[] = br.readLine().split(\" \");\n double r = Double.parseDouble(st[0]);\n if(!(0 < r && 10000 > r)){System.exit(1);}\n \n double circumference = Math.PI * 2 * r;\n double circleArea = r * r * Math.PI;\n \n BigDecimal x = new BigDecimal(circumference);\n BigDecimal y = new BigDecimal(circleArea);\n //?°???°???5????????§?????????\n x = x.setScale(5, BigDecimal.ROUND_HALF_UP);\n y = y.setScale(5, BigDecimal.ROUND_HALF_UP);\n System.out.printf(\"%.5f %.5f\",y,x);\n System.out.println();\n }\n}",
"Main"
] | /*AOJ-ITP-4-2*/
/* ?????? r ???????????¢?????¨?????¨?????????????±???????????????°????????????????????????????????? */
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigDecimal;
public class Main {
public static void main(String[] args) throws NumberFormatException, IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String st[] = br.readLine().split(" ");
double r = Double.parseDouble(st[0]);
if(!(0 < r && 10000 > r)){System.exit(1);}
double circumference = Math.PI * 2 * r;
double circleArea = r * r * Math.PI;
BigDecimal x = new BigDecimal(circumference);
BigDecimal y = new BigDecimal(circleArea);
//?°???°???5????????§?????????
x = x.setScale(5, BigDecimal.ROUND_HALF_UP);
y = y.setScale(5, BigDecimal.ROUND_HALF_UP);
System.out.printf("%.5f %.5f",y,x);
System.out.println();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
2,
18,
13,
13,
13,
13,
41,
13,
2,
2,
18,
13,
13,
17,
13,
4,
18,
18,
13,
13,
17,
13,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
58,
5
],
[
58,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
20,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
20,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
29,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
29,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
35,
41
],
[
8,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
48,
54
],
[
6,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] | [
"import java.util.*;\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n\tdouble r = sc.nextDouble();\n\t\n\tdouble area = Math.PI * (double)r * (double)r; \n double cir = Math.PI * 2 * (double)r ;\n\t\n\tSystem.out.printf(\"%6f\",area);\n\tSystem.out.printf(\" \");\n\tSystem.out.printf(\"%6f\\n\",cir);\t\n }\n\t\n\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n\tdouble r = sc.nextDouble();\n\t\n\tdouble area = Math.PI * (double)r * (double)r; \n double cir = Math.PI * 2 * (double)r ;\n\t\n\tSystem.out.printf(\"%6f\",area);\n\tSystem.out.printf(\" \");\n\tSystem.out.printf(\"%6f\\n\",cir);\t\n }\n\t\n\n\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n\tdouble r = sc.nextDouble();\n\t\n\tdouble area = Math.PI * (double)r * (double)r; \n double cir = Math.PI * 2 * (double)r ;\n\t\n\tSystem.out.printf(\"%6f\",area);\n\tSystem.out.printf(\" \");\n\tSystem.out.printf(\"%6f\\n\",cir);\t\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n\tdouble r = sc.nextDouble();\n\t\n\tdouble area = Math.PI * (double)r * (double)r; \n double cir = Math.PI * 2 * (double)r ;\n\t\n\tSystem.out.printf(\"%6f\",area);\n\tSystem.out.printf(\" \");\n\tSystem.out.printf(\"%6f\\n\",cir);\t\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double r = sc.nextDouble();",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"double area = Math.PI * (double)r * (double)r;",
"area",
"Math.PI * (double)r * (double)r",
"Math.PI * (double)r * (double)r",
"Math.PI",
"Math",
"Math.PI",
"(double)r",
"(double)r",
"double cir = Math.PI * 2 * (double)r ;",
"cir",
"Math.PI * 2 * (double)r",
"Math.PI * 2 * (double)r",
"Math.PI",
"Math",
"Math.PI",
"2",
"(double)r",
"System.out.printf(\"%6f\",area)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%6f\"",
"area",
"System.out.printf(\" \")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.printf(\"%6f\\n\",cir)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%6f\\n\"",
"cir",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n\tdouble r = sc.nextDouble();\n\t\n\tdouble area = Math.PI * (double)r * (double)r; \n double cir = Math.PI * 2 * (double)r ;\n\t\n\tSystem.out.printf(\"%6f\",area);\n\tSystem.out.printf(\" \");\n\tSystem.out.printf(\"%6f\\n\",cir);\t\n }\n\t\n\n\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n\tdouble r = sc.nextDouble();\n\t\n\tdouble area = Math.PI * (double)r * (double)r; \n double cir = Math.PI * 2 * (double)r ;\n\t\n\tSystem.out.printf(\"%6f\",area);\n\tSystem.out.printf(\" \");\n\tSystem.out.printf(\"%6f\\n\",cir);\t\n }\n\t\n\n\n}",
"Main"
] | import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
double r = sc.nextDouble();
double area = Math.PI * (double)r * (double)r;
double cir = Math.PI * 2 * (double)r ;
System.out.printf("%6f",area);
System.out.printf(" ");
System.out.printf("%6f\n",cir);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
17,
2,
2,
13,
13,
18,
13,
13,
2,
2,
17,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
43,
5
],
[
43,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
20,
26
],
[
27,
27
],
[
27,
28
],
[
27,
29
],
[
27,
30
],
[
30,
31
],
[
30,
32
],
[
20,
33
],
[
34,
34
],
[
34,
35
],
[
34,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
6,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
] | [
"import java.util.Scanner;\npublic class Main{\npublic static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tdouble r = sc.nextDouble();\n\tsc.close();\n\tSystem.out.printf(\"%f %f\", r * r* Math.PI, 2 * r * Math.PI);\n}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\npublic static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tdouble r = sc.nextDouble();\n\tsc.close();\n\tSystem.out.printf(\"%f %f\", r * r* Math.PI, 2 * r * Math.PI);\n}\n}",
"Main",
"public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tdouble r = sc.nextDouble();\n\tsc.close();\n\tSystem.out.printf(\"%f %f\", r * r* Math.PI, 2 * r * Math.PI);\n}",
"main",
"{\n\tScanner sc = new Scanner(System.in);\n\tdouble r = sc.nextDouble();\n\tsc.close();\n\tSystem.out.printf(\"%f %f\", r * r* Math.PI, 2 * r * Math.PI);\n}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double r = sc.nextDouble();",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"sc.close()",
"sc.close",
"sc",
"System.out.printf(\"%f %f\", r * r* Math.PI, 2 * r * Math.PI)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f %f\"",
"r * r* Math.PI",
"r * r* Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"2 * r * Math.PI",
"2 * r * Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"String[] args",
"args",
"public class Main{\npublic static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tdouble r = sc.nextDouble();\n\tsc.close();\n\tSystem.out.printf(\"%f %f\", r * r* Math.PI, 2 * r * Math.PI);\n}\n}",
"public class Main{\npublic static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tdouble r = sc.nextDouble();\n\tsc.close();\n\tSystem.out.printf(\"%f %f\", r * r* Math.PI, 2 * r * Math.PI);\n}\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
double r = sc.nextDouble();
sc.close();
System.out.printf("%f %f", r * r* Math.PI, 2 * r * Math.PI);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
41,
13,
0,
13,
2,
2,
13,
13,
17,
0,
13,
2,
2,
17,
13,
17,
4,
18,
18,
13,
13,
17,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
57,
5
],
[
57,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
14,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
8,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
35,
35
],
[
35,
36
],
[
35,
37
],
[
35,
38
],
[
8,
39
],
[
39,
40
],
[
39,
41
],
[
42,
42
],
[
42,
43
],
[
42,
44
],
[
42,
45
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
46,
52
],
[
46,
53
],
[
6,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
] | [
"import java.io.*;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] line = br.readLine().split(\" \");\n double r = Double.valueOf(line[0]);\n\n double d,l;\n\n d = (double)r * (double)r * 3.141592653589;\n l = 2 * r * 3.141592653589;\n \n System.out.printf(\"%.5f %.5f\", d, l);\n\n }\n\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] line = br.readLine().split(\" \");\n double r = Double.valueOf(line[0]);\n\n double d,l;\n\n d = (double)r * (double)r * 3.141592653589;\n l = 2 * r * 3.141592653589;\n \n System.out.printf(\"%.5f %.5f\", d, l);\n\n }\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] line = br.readLine().split(\" \");\n double r = Double.valueOf(line[0]);\n\n double d,l;\n\n d = (double)r * (double)r * 3.141592653589;\n l = 2 * r * 3.141592653589;\n \n System.out.printf(\"%.5f %.5f\", d, l);\n\n }",
"main",
"{\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] line = br.readLine().split(\" \");\n double r = Double.valueOf(line[0]);\n\n double d,l;\n\n d = (double)r * (double)r * 3.141592653589;\n l = 2 * r * 3.141592653589;\n \n System.out.printf(\"%.5f %.5f\", d, l);\n\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] line = br.readLine().split(\" \");",
"line",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"double r = Double.valueOf(line[0]);",
"r",
"Double.valueOf(line[0])",
"Double.valueOf",
"Double",
"line[0]",
"line",
"0",
"double d",
"d",
"l;",
"l",
"d = (double)r * (double)r * 3.141592653589",
"d",
"(double)r * (double)r * 3.141592653589",
"(double)r * (double)r * 3.141592653589",
"(double)r",
"(double)r",
"3.141592653589",
"l = 2 * r * 3.141592653589",
"l",
"2 * r * 3.141592653589",
"2 * r * 3.141592653589",
"2",
"r",
"3.141592653589",
"System.out.printf(\"%.5f %.5f\", d, l)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.5f %.5f\"",
"d",
"l",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] line = br.readLine().split(\" \");\n double r = Double.valueOf(line[0]);\n\n double d,l;\n\n d = (double)r * (double)r * 3.141592653589;\n l = 2 * r * 3.141592653589;\n \n System.out.printf(\"%.5f %.5f\", d, l);\n\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] line = br.readLine().split(\" \");\n double r = Double.valueOf(line[0]);\n\n double d,l;\n\n d = (double)r * (double)r * 3.141592653589;\n l = 2 * r * 3.141592653589;\n \n System.out.printf(\"%.5f %.5f\", d, l);\n\n }\n\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String[] line = br.readLine().split(" ");
double r = Double.valueOf(line[0]);
double d,l;
d = (double)r * (double)r * 3.141592653589;
l = 2 * r * 3.141592653589;
System.out.printf("%.5f %.5f", d, l);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
17,
2,
2,
13,
13,
18,
13,
13,
2,
2,
17,
13,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
43,
5
],
[
43,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
17,
23
],
[
24,
24
],
[
24,
25
],
[
24,
26
],
[
24,
27
],
[
27,
28
],
[
27,
29
],
[
17,
30
],
[
31,
31
],
[
31,
32
],
[
31,
33
],
[
31,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
6,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
] | [
"import java.util.*;\n\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tdouble r = scanner.nextDouble();\n\t\tSystem.out.printf(\"%.6f %.6f\",r*r*Math.PI , 2*r*Math.PI);\n\t\tscanner.close();\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tdouble r = scanner.nextDouble();\n\t\tSystem.out.printf(\"%.6f %.6f\",r*r*Math.PI , 2*r*Math.PI);\n\t\tscanner.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tdouble r = scanner.nextDouble();\n\t\tSystem.out.printf(\"%.6f %.6f\",r*r*Math.PI , 2*r*Math.PI);\n\t\tscanner.close();\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tdouble r = scanner.nextDouble();\n\t\tSystem.out.printf(\"%.6f %.6f\",r*r*Math.PI , 2*r*Math.PI);\n\t\tscanner.close();\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"double r = scanner.nextDouble();",
"r",
"scanner.nextDouble()",
"scanner.nextDouble",
"scanner",
"System.out.printf(\"%.6f %.6f\",r*r*Math.PI , 2*r*Math.PI)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f %.6f\"",
"r*r*Math.PI",
"r*r*Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"2*r*Math.PI",
"2*r*Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"scanner.close()",
"scanner.close",
"scanner",
"String[] args",
"args",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tdouble r = scanner.nextDouble();\n\t\tSystem.out.printf(\"%.6f %.6f\",r*r*Math.PI , 2*r*Math.PI);\n\t\tscanner.close();\n\t}\n\n}",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tdouble r = scanner.nextDouble();\n\t\tSystem.out.printf(\"%.6f %.6f\",r*r*Math.PI , 2*r*Math.PI);\n\t\tscanner.close();\n\t}\n\n}",
"Main"
] | import java.util.*;
public class Main{
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
double r = scanner.nextDouble();
System.out.printf("%.6f %.6f",r*r*Math.PI , 2*r*Math.PI);
scanner.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
2,
2,
18,
13,
13,
13,
13,
41,
13,
2,
2,
17,
18,
13,
13,
13,
41,
13,
4,
18,
13,
17,
13,
41,
13,
4,
18,
13,
17,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
68,
5
],
[
68,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
26,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
26,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
35,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
8,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
43,
47
],
[
8,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
50,
54
],
[
8,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
61,
61
],
[
61,
62
],
[
61,
63
],
[
61,
64
],
[
6,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String str = in.next();\n Double num = Double.parseDouble(str);\n Double Ans1 = Math.PI * num * num;\n Double Ans2 = 2 * Math.PI * num;\n String Ans1_str = String.format(\"%.5f\", Ans1);\n String Ans2_str = String.format(\"%.5f\", Ans2);\n System.out.println(Ans1_str+\" \"+Ans2_str);\n }\n \n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String str = in.next();\n Double num = Double.parseDouble(str);\n Double Ans1 = Math.PI * num * num;\n Double Ans2 = 2 * Math.PI * num;\n String Ans1_str = String.format(\"%.5f\", Ans1);\n String Ans2_str = String.format(\"%.5f\", Ans2);\n System.out.println(Ans1_str+\" \"+Ans2_str);\n }\n \n}",
"Main",
"public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String str = in.next();\n Double num = Double.parseDouble(str);\n Double Ans1 = Math.PI * num * num;\n Double Ans2 = 2 * Math.PI * num;\n String Ans1_str = String.format(\"%.5f\", Ans1);\n String Ans2_str = String.format(\"%.5f\", Ans2);\n System.out.println(Ans1_str+\" \"+Ans2_str);\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n String str = in.next();\n Double num = Double.parseDouble(str);\n Double Ans1 = Math.PI * num * num;\n Double Ans2 = 2 * Math.PI * num;\n String Ans1_str = String.format(\"%.5f\", Ans1);\n String Ans2_str = String.format(\"%.5f\", Ans2);\n System.out.println(Ans1_str+\" \"+Ans2_str);\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"String str = in.next();",
"str",
"in.next()",
"in.next",
"in",
"Double num = Double.parseDouble(str);",
"num",
"Double.parseDouble(str)",
"Double.parseDouble",
"Double",
"str",
"Double Ans1 = Math.PI * num * num;",
"Ans1",
"Math.PI * num * num",
"Math.PI * num * num",
"Math.PI",
"Math",
"Math.PI",
"num",
"num",
"Double Ans2 = 2 * Math.PI * num;",
"Ans2",
"2 * Math.PI * num",
"2 * Math.PI * num",
"2",
"Math.PI",
"Math",
"Math.PI",
"num",
"String Ans1_str = String.format(\"%.5f\", Ans1);",
"Ans1_str",
"String.format(\"%.5f\", Ans1)",
"String.format",
"String",
"\"%.5f\"",
"Ans1",
"String Ans2_str = String.format(\"%.5f\", Ans2);",
"Ans2_str",
"String.format(\"%.5f\", Ans2)",
"String.format",
"String",
"\"%.5f\"",
"Ans2",
"System.out.println(Ans1_str+\" \"+Ans2_str)",
"System.out.println",
"System.out",
"System",
"System.out",
"Ans1_str+\" \"+Ans2_str",
"Ans1_str+\" \"+Ans2_str",
"Ans1_str",
"\" \"",
"Ans2_str",
"String[] args",
"args",
"public class Main {\n\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String str = in.next();\n Double num = Double.parseDouble(str);\n Double Ans1 = Math.PI * num * num;\n Double Ans2 = 2 * Math.PI * num;\n String Ans1_str = String.format(\"%.5f\", Ans1);\n String Ans2_str = String.format(\"%.5f\", Ans2);\n System.out.println(Ans1_str+\" \"+Ans2_str);\n }\n \n}",
"public class Main {\n\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String str = in.next();\n Double num = Double.parseDouble(str);\n Double Ans1 = Math.PI * num * num;\n Double Ans2 = 2 * Math.PI * num;\n String Ans1_str = String.format(\"%.5f\", Ans1);\n String Ans2_str = String.format(\"%.5f\", Ans2);\n System.out.println(Ans1_str+\" \"+Ans2_str);\n }\n \n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
String str = in.next();
Double num = Double.parseDouble(str);
Double Ans1 = Math.PI * num * num;
Double Ans2 = 2 * Math.PI * num;
String Ans1_str = String.format("%.5f", Ans1);
String Ans2_str = String.format("%.5f", Ans2);
System.out.println(Ans1_str+" "+Ans2_str);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
4,
18,
4,
18,
13,
13,
13,
41,
13,
4,
18,
4,
18,
4,
18,
13,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
17,
29,
4,
18,
13,
17,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
17,
29,
4,
18,
13,
2,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
105,
11
],
[
105,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
14,
29
],
[
29,
30
],
[
29,
31
],
[
14,
32
],
[
32,
33
],
[
32,
34
],
[
14,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
39,
45
],
[
14,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
50,
56
],
[
14,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
63,
63
],
[
63,
64
],
[
63,
65
],
[
63,
66
],
[
12,
67
],
[
67,
68
],
[
105,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
71,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
79,
83
],
[
69,
84
],
[
84,
85
],
[
105,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
88,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
99,
100
],
[
99,
101
],
[
86,
102
],
[
102,
103
],
[
0,
104
],
[
104,
105
],
[
104,
106
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.math.BigDecimal;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\n\t\tString str = br.readLine();\n\n\t\tBigDecimal r = new BigDecimal(str);\n\t\tBigDecimal pi = new BigDecimal(Math.PI);\n\t\tBigDecimal d = new BigDecimal(\"2\");\n\n\t\tString area =r.multiply(r).multiply(pi).toPlainString();\n\t\tString circle =r.multiply(d).multiply(pi).toPlainString();\n\n\t\tSystem.out.println(area + \" \"+circle);\n\t}\n\n\t//?¬¬????????°???????????????????????????\n\tpublic static String SubStringStart(String str) {\n\t\tint index = str.indexOf(\" \");\n\t\treturn (str.substring(0, index));\n\t}\n\n\t//\t?¬¬????????°???????????????????????????\n\tpublic static String SubStringEnd(String str) {\n\t\tint index = str.lastIndexOf(\" \");\n\t\treturn (str.substring(index + 1));\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\n\t\tString str = br.readLine();\n\n\t\tBigDecimal r = new BigDecimal(str);\n\t\tBigDecimal pi = new BigDecimal(Math.PI);\n\t\tBigDecimal d = new BigDecimal(\"2\");\n\n\t\tString area =r.multiply(r).multiply(pi).toPlainString();\n\t\tString circle =r.multiply(d).multiply(pi).toPlainString();\n\n\t\tSystem.out.println(area + \" \"+circle);\n\t}\n\n\t//?¬¬????????°???????????????????????????\n\tpublic static String SubStringStart(String str) {\n\t\tint index = str.indexOf(\" \");\n\t\treturn (str.substring(0, index));\n\t}\n\n\t//\t?¬¬????????°???????????????????????????\n\tpublic static String SubStringEnd(String str) {\n\t\tint index = str.lastIndexOf(\" \");\n\t\treturn (str.substring(index + 1));\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\n\t\tString str = br.readLine();\n\n\t\tBigDecimal r = new BigDecimal(str);\n\t\tBigDecimal pi = new BigDecimal(Math.PI);\n\t\tBigDecimal d = new BigDecimal(\"2\");\n\n\t\tString area =r.multiply(r).multiply(pi).toPlainString();\n\t\tString circle =r.multiply(d).multiply(pi).toPlainString();\n\n\t\tSystem.out.println(area + \" \"+circle);\n\t}",
"main",
"{\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\n\t\tString str = br.readLine();\n\n\t\tBigDecimal r = new BigDecimal(str);\n\t\tBigDecimal pi = new BigDecimal(Math.PI);\n\t\tBigDecimal d = new BigDecimal(\"2\");\n\n\t\tString area =r.multiply(r).multiply(pi).toPlainString();\n\t\tString circle =r.multiply(d).multiply(pi).toPlainString();\n\n\t\tSystem.out.println(area + \" \"+circle);\n\t}",
"InputStreamReader is = new InputStreamReader(System.in);",
"is",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(is);",
"br",
"new BufferedReader(is)",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"BigDecimal r = new BigDecimal(str);",
"r",
"new BigDecimal(str)",
"BigDecimal pi = new BigDecimal(Math.PI);",
"pi",
"new BigDecimal(Math.PI)",
"BigDecimal d = new BigDecimal(\"2\");",
"d",
"new BigDecimal(\"2\")",
"String area =r.multiply(r).multiply(pi).toPlainString();",
"area",
"r.multiply(r).multiply(pi).toPlainString()",
"r.multiply(r).multiply(pi).toPlainString",
"r.multiply(r).multiply(pi)",
"r.multiply(r).multiply",
"r.multiply(r)",
"r.multiply",
"r",
"r",
"pi",
"String circle =r.multiply(d).multiply(pi).toPlainString();",
"circle",
"r.multiply(d).multiply(pi).toPlainString()",
"r.multiply(d).multiply(pi).toPlainString",
"r.multiply(d).multiply(pi)",
"r.multiply(d).multiply",
"r.multiply(d)",
"r.multiply",
"r",
"d",
"pi",
"System.out.println(area + \" \"+circle)",
"System.out.println",
"System.out",
"System",
"System.out",
"area + \" \"+circle",
"area + \" \"+circle",
"area",
"\" \"",
"circle",
"String[] args",
"args",
"//?¬¬????????°???????????????????????????\n\tpublic static String SubStringStart(String str) {\n\t\tint index = str.indexOf(\" \");\n\t\treturn (str.substring(0, index));\n\t}",
"SubStringStart",
"{\n\t\tint index = str.indexOf(\" \");\n\t\treturn (str.substring(0, index));\n\t}",
"int index = str.indexOf(\" \");",
"index",
"str.indexOf(\" \")",
"str.indexOf",
"str",
"\" \"",
"return (str.substring(0, index));",
"(str.substring(0, index))",
"str.substring",
"str",
"0",
"index",
"String str",
"str",
"//\t?¬¬????????°???????????????????????????\n\tpublic static String SubStringEnd(String str) {\n\t\tint index = str.lastIndexOf(\" \");\n\t\treturn (str.substring(index + 1));\n\t}",
"SubStringEnd",
"{\n\t\tint index = str.lastIndexOf(\" \");\n\t\treturn (str.substring(index + 1));\n\t}",
"int index = str.lastIndexOf(\" \");",
"index",
"str.lastIndexOf(\" \")",
"str.lastIndexOf",
"str",
"\" \"",
"return (str.substring(index + 1));",
"(str.substring(index + 1))",
"str.substring",
"str",
"index + 1",
"index",
"1",
"String str",
"str",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\n\t\tString str = br.readLine();\n\n\t\tBigDecimal r = new BigDecimal(str);\n\t\tBigDecimal pi = new BigDecimal(Math.PI);\n\t\tBigDecimal d = new BigDecimal(\"2\");\n\n\t\tString area =r.multiply(r).multiply(pi).toPlainString();\n\t\tString circle =r.multiply(d).multiply(pi).toPlainString();\n\n\t\tSystem.out.println(area + \" \"+circle);\n\t}\n\n\t//?¬¬????????°???????????????????????????\n\tpublic static String SubStringStart(String str) {\n\t\tint index = str.indexOf(\" \");\n\t\treturn (str.substring(0, index));\n\t}\n\n\t//\t?¬¬????????°???????????????????????????\n\tpublic static String SubStringEnd(String str) {\n\t\tint index = str.lastIndexOf(\" \");\n\t\treturn (str.substring(index + 1));\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\n\t\tString str = br.readLine();\n\n\t\tBigDecimal r = new BigDecimal(str);\n\t\tBigDecimal pi = new BigDecimal(Math.PI);\n\t\tBigDecimal d = new BigDecimal(\"2\");\n\n\t\tString area =r.multiply(r).multiply(pi).toPlainString();\n\t\tString circle =r.multiply(d).multiply(pi).toPlainString();\n\n\t\tSystem.out.println(area + \" \"+circle);\n\t}\n\n\t//?¬¬????????°???????????????????????????\n\tpublic static String SubStringStart(String str) {\n\t\tint index = str.indexOf(\" \");\n\t\treturn (str.substring(0, index));\n\t}\n\n\t//\t?¬¬????????°???????????????????????????\n\tpublic static String SubStringEnd(String str) {\n\t\tint index = str.lastIndexOf(\" \");\n\t\treturn (str.substring(index + 1));\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.math.BigDecimal;
public class Main {
public static void main(String[] args) throws Exception {
InputStreamReader is = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(is);
String str = br.readLine();
BigDecimal r = new BigDecimal(str);
BigDecimal pi = new BigDecimal(Math.PI);
BigDecimal d = new BigDecimal("2");
String area =r.multiply(r).multiply(pi).toPlainString();
String circle =r.multiply(d).multiply(pi).toPlainString();
System.out.println(area + " "+circle);
}
//?¬¬????????°???????????????????????????
public static String SubStringStart(String str) {
int index = str.indexOf(" ");
return (str.substring(0, index));
}
// ?¬¬????????°???????????????????????????
public static String SubStringEnd(String str) {
int index = str.lastIndexOf(" ");
return (str.substring(index + 1));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
20,
0,
13,
4,
18,
13,
0,
13,
2,
2,
13,
13,
18,
13,
13,
0,
13,
2,
2,
13,
17,
18,
13,
13,
4,
18,
18,
13,
13,
17,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
26,
26
],
[
26,
27
],
[
26,
28
],
[
26,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
35,
35
],
[
35,
36
],
[
35,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
41,
47
],
[
41,
48
],
[
6,
49
],
[
49,
50
]
] | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String[] arg){\n \tdouble r, menseki, ensyu;\n \tScanner in = new Scanner(System.in);\n \tr = in.nextDouble();\n \tmenseki = r*r*Math.PI;\n \tensyu = r*2*Math.PI;\n \tSystem.out.printf(\"%.6f %.6f\",menseki,ensyu);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] arg){\n \tdouble r, menseki, ensyu;\n \tScanner in = new Scanner(System.in);\n \tr = in.nextDouble();\n \tmenseki = r*r*Math.PI;\n \tensyu = r*2*Math.PI;\n \tSystem.out.printf(\"%.6f %.6f\",menseki,ensyu);\n\t}\n}",
"Main",
"public static void main(String[] arg){\n \tdouble r, menseki, ensyu;\n \tScanner in = new Scanner(System.in);\n \tr = in.nextDouble();\n \tmenseki = r*r*Math.PI;\n \tensyu = r*2*Math.PI;\n \tSystem.out.printf(\"%.6f %.6f\",menseki,ensyu);\n\t}",
"main",
"{\n \tdouble r, menseki, ensyu;\n \tScanner in = new Scanner(System.in);\n \tr = in.nextDouble();\n \tmenseki = r*r*Math.PI;\n \tensyu = r*2*Math.PI;\n \tSystem.out.printf(\"%.6f %.6f\",menseki,ensyu);\n\t}",
"double r",
"r",
"menseki",
"menseki",
"ensyu;",
"ensyu",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"r = in.nextDouble()",
"r",
"in.nextDouble()",
"in.nextDouble",
"in",
"menseki = r*r*Math.PI",
"menseki",
"r*r*Math.PI",
"r*r*Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"ensyu = r*2*Math.PI",
"ensyu",
"r*2*Math.PI",
"r*2*Math.PI",
"r",
"2",
"Math.PI",
"Math",
"Math.PI",
"System.out.printf(\"%.6f %.6f\",menseki,ensyu)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f %.6f\"",
"menseki",
"ensyu",
"String[] arg",
"arg"
] | import java.util.Scanner;
class Main{
public static void main(String[] arg){
double r, menseki, ensyu;
Scanner in = new Scanner(System.in);
r = in.nextDouble();
menseki = r*r*Math.PI;
ensyu = r*2*Math.PI;
System.out.printf("%.6f %.6f",menseki,ensyu);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
2,
18,
13,
13,
4,
18,
13,
13,
17,
41,
13,
2,
2,
17,
18,
13,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
63,
11
],
[
63,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
14,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
35,
39
],
[
14,
40
],
[
40,
41
],
[
40,
42
],
[
43,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
14,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
54,
58
],
[
54,
59
],
[
12,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n String data = br.readLine();\n double r = Double.parseDouble(data);\n double circle1 = Math.PI * Math.pow(r, 2);\n double circle2 = 2 * Math.PI * r;\n\n System.out\n .println(String.format(\"%1$.5f %2$.5f\", circle1, circle2));\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n String data = br.readLine();\n double r = Double.parseDouble(data);\n double circle1 = Math.PI * Math.pow(r, 2);\n double circle2 = 2 * Math.PI * r;\n\n System.out\n .println(String.format(\"%1$.5f %2$.5f\", circle1, circle2));\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n String data = br.readLine();\n double r = Double.parseDouble(data);\n double circle1 = Math.PI * Math.pow(r, 2);\n double circle2 = 2 * Math.PI * r;\n\n System.out\n .println(String.format(\"%1$.5f %2$.5f\", circle1, circle2));\n }",
"main",
"{\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n String data = br.readLine();\n double r = Double.parseDouble(data);\n double circle1 = Math.PI * Math.pow(r, 2);\n double circle2 = 2 * Math.PI * r;\n\n System.out\n .println(String.format(\"%1$.5f %2$.5f\", circle1, circle2));\n }",
"BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));",
"br",
"new BufferedReader(\n new InputStreamReader(System.in))",
"String data = br.readLine();",
"data",
"br.readLine()",
"br.readLine",
"br",
"double r = Double.parseDouble(data);",
"r",
"Double.parseDouble(data)",
"Double.parseDouble",
"Double",
"data",
"double circle1 = Math.PI * Math.pow(r, 2);",
"circle1",
"Math.PI * Math.pow(r, 2)",
"Math.PI",
"Math",
"Math.PI",
"Math.pow(r, 2)",
"Math.pow",
"Math",
"r",
"2",
"double circle2 = 2 * Math.PI * r;",
"circle2",
"2 * Math.PI * r",
"2 * Math.PI * r",
"2",
"Math.PI",
"Math",
"Math.PI",
"r",
"System.out\n .println(String.format(\"%1$.5f %2$.5f\", circle1, circle2))",
"System.out\n .println",
"System.out",
"System",
"System.out",
"String.format(\"%1$.5f %2$.5f\", circle1, circle2)",
"String.format",
"String",
"\"%1$.5f %2$.5f\"",
"circle1",
"circle2",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n String data = br.readLine();\n double r = Double.parseDouble(data);\n double circle1 = Math.PI * Math.pow(r, 2);\n double circle2 = 2 * Math.PI * r;\n\n System.out\n .println(String.format(\"%1$.5f %2$.5f\", circle1, circle2));\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n String data = br.readLine();\n double r = Double.parseDouble(data);\n double circle1 = Math.PI * Math.pow(r, 2);\n double circle2 = 2 * Math.PI * r;\n\n System.out\n .println(String.format(\"%1$.5f %2$.5f\", circle1, circle2));\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(
new InputStreamReader(System.in));
String data = br.readLine();
double r = Double.parseDouble(data);
double circle1 = Math.PI * Math.pow(r, 2);
double circle2 = 2 * Math.PI * r;
System.out
.println(String.format("%1$.5f %2$.5f", circle1, circle2));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
18,
13,
13,
41,
13,
2,
2,
17,
13,
13,
41,
13,
2,
13,
2,
13,
13,
4,
18,
18,
13,
13,
17,
13,
4,
18,
18,
13,
13,
2,
17,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
58,
5
],
[
58,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
28,
28
],
[
28,
29
],
[
28,
30
],
[
28,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
39,
45
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
46,
54
],
[
6,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] | [
"\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tdouble r = scan.nextDouble();\n\n\t\tscan.close();\n\n\t\tdouble dbPi = Math.PI;\n\n\t\t//System.out.println(\"??\" + dbPi);\n\n\t\tdouble outLine = 2 * dbPi * r;\n\t\tdouble area = dbPi * (r * r);\n\t\tSystem.out.printf(\"%.6f\",area);\n\t\tSystem.out.printf(\" \" + \"%.6f\",outLine);\n\n\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tdouble r = scan.nextDouble();\n\n\t\tscan.close();\n\n\t\tdouble dbPi = Math.PI;\n\n\t\t//System.out.println(\"??\" + dbPi);\n\n\t\tdouble outLine = 2 * dbPi * r;\n\t\tdouble area = dbPi * (r * r);\n\t\tSystem.out.printf(\"%.6f\",area);\n\t\tSystem.out.printf(\" \" + \"%.6f\",outLine);\n\n\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tdouble r = scan.nextDouble();\n\n\t\tscan.close();\n\n\t\tdouble dbPi = Math.PI;\n\n\t\t//System.out.println(\"??\" + dbPi);\n\n\t\tdouble outLine = 2 * dbPi * r;\n\t\tdouble area = dbPi * (r * r);\n\t\tSystem.out.printf(\"%.6f\",area);\n\t\tSystem.out.printf(\" \" + \"%.6f\",outLine);\n\n\n\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tdouble r = scan.nextDouble();\n\n\t\tscan.close();\n\n\t\tdouble dbPi = Math.PI;\n\n\t\t//System.out.println(\"??\" + dbPi);\n\n\t\tdouble outLine = 2 * dbPi * r;\n\t\tdouble area = dbPi * (r * r);\n\t\tSystem.out.printf(\"%.6f\",area);\n\t\tSystem.out.printf(\" \" + \"%.6f\",outLine);\n\n\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"double r = scan.nextDouble();",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"scan.close()",
"scan.close",
"scan",
"double dbPi = Math.PI;",
"dbPi",
"Math.PI",
"Math",
"Math.PI",
"double outLine = 2 * dbPi * r;",
"outLine",
"2 * dbPi * r",
"2 * dbPi * r",
"2",
"dbPi",
"r",
"double area = dbPi * (r * r);",
"area",
"dbPi * (r * r)",
"dbPi",
"(r * r)",
"r",
"r",
"System.out.printf(\"%.6f\",area)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f\"",
"area",
"System.out.printf(\" \" + \"%.6f\",outLine)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\" \" + \"%.6f\"",
"\" \"",
"\"%.6f\"",
"outLine",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tdouble r = scan.nextDouble();\n\n\t\tscan.close();\n\n\t\tdouble dbPi = Math.PI;\n\n\t\t//System.out.println(\"??\" + dbPi);\n\n\t\tdouble outLine = 2 * dbPi * r;\n\t\tdouble area = dbPi * (r * r);\n\t\tSystem.out.printf(\"%.6f\",area);\n\t\tSystem.out.printf(\" \" + \"%.6f\",outLine);\n\n\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tdouble r = scan.nextDouble();\n\n\t\tscan.close();\n\n\t\tdouble dbPi = Math.PI;\n\n\t\t//System.out.println(\"??\" + dbPi);\n\n\t\tdouble outLine = 2 * dbPi * r;\n\t\tdouble area = dbPi * (r * r);\n\t\tSystem.out.printf(\"%.6f\",area);\n\t\tSystem.out.printf(\" \" + \"%.6f\",outLine);\n\n\n\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
scan.close();
double dbPi = Math.PI;
//System.out.println("??" + dbPi);
double outLine = 2 * dbPi * r;
double area = dbPi * (r * r);
System.out.printf("%.6f",area);
System.out.printf(" " + "%.6f",outLine);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
0,
13,
4,
18,
13,
0,
13,
2,
2,
13,
13,
17,
0,
13,
2,
2,
17,
13,
17,
4,
18,
18,
13,
13,
17,
13,
13,
12,
13,
30,
4,
18,
20,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
26,
26
],
[
26,
27
],
[
26,
28
],
[
26,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
33,
33
],
[
33,
34
],
[
33,
35
],
[
33,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
37,
43
],
[
37,
44
],
[
4,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
45,
51
],
[
51,
52
]
] | [
"import java.util.Scanner;\nclass Main {\n\tpublic void ci(){\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r,S,O;\n\t\tr = sc.nextDouble();\n\t\tS = r * r * 3.141592653589;\n\t\tO = 2 * r * 3.141592653589;\n\t\tSystem.out.printf(\"%2.6f %2.6f\\n\",S,O);\n\t}\n\tpublic static void main(String[] args){\n\t\tnew Main().ci();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic void ci(){\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r,S,O;\n\t\tr = sc.nextDouble();\n\t\tS = r * r * 3.141592653589;\n\t\tO = 2 * r * 3.141592653589;\n\t\tSystem.out.printf(\"%2.6f %2.6f\\n\",S,O);\n\t}\n\tpublic static void main(String[] args){\n\t\tnew Main().ci();\n\t}\n}",
"Main",
"public void ci(){\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r,S,O;\n\t\tr = sc.nextDouble();\n\t\tS = r * r * 3.141592653589;\n\t\tO = 2 * r * 3.141592653589;\n\t\tSystem.out.printf(\"%2.6f %2.6f\\n\",S,O);\n\t}",
"ci",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r,S,O;\n\t\tr = sc.nextDouble();\n\t\tS = r * r * 3.141592653589;\n\t\tO = 2 * r * 3.141592653589;\n\t\tSystem.out.printf(\"%2.6f %2.6f\\n\",S,O);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double r",
"r",
"S",
"S",
"O;",
"O",
"r = sc.nextDouble()",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"S = r * r * 3.141592653589",
"S",
"r * r * 3.141592653589",
"r * r * 3.141592653589",
"r",
"r",
"3.141592653589",
"O = 2 * r * 3.141592653589",
"O",
"2 * r * 3.141592653589",
"2 * r * 3.141592653589",
"2",
"r",
"3.141592653589",
"System.out.printf(\"%2.6f %2.6f\\n\",S,O)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%2.6f %2.6f\\n\"",
"S",
"O",
"public static void main(String[] args){\n\t\tnew Main().ci();\n\t}",
"main",
"{\n\t\tnew Main().ci();\n\t}",
"new Main().ci()",
"new Main().ci",
"new Main()",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public void ci(){
Scanner sc = new Scanner(System.in);
double r,S,O;
r = sc.nextDouble();
S = r * r * 3.141592653589;
O = 2 * r * 3.141592653589;
System.out.printf("%2.6f %2.6f\n",S,O);
}
public static void main(String[] args){
new Main().ci();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
18,
13,
13,
41,
13,
2,
2,
13,
13,
13,
41,
13,
2,
2,
17,
13,
13,
4,
18,
18,
13,
13,
17,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
14,
31
],
[
31,
32
],
[
31,
33
],
[
34,
34
],
[
34,
35
],
[
34,
36
],
[
34,
37
],
[
14,
38
],
[
38,
39
],
[
38,
40
],
[
41,
41
],
[
41,
42
],
[
41,
43
],
[
41,
44
],
[
14,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
45,
51
],
[
45,
52
],
[
12,
53
],
[
53,
54
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble r = Double.parseDouble(br.readLine());\n\t\tdouble pi = Math.PI;\n\t\tdouble x = r*r*pi;\n\t\tdouble y = 2*r*pi;\n\t\tSystem.out.printf(\"%.6f %.6f\",x,y);\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble r = Double.parseDouble(br.readLine());\n\t\tdouble pi = Math.PI;\n\t\tdouble x = r*r*pi;\n\t\tdouble y = 2*r*pi;\n\t\tSystem.out.printf(\"%.6f %.6f\",x,y);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble r = Double.parseDouble(br.readLine());\n\t\tdouble pi = Math.PI;\n\t\tdouble x = r*r*pi;\n\t\tdouble y = 2*r*pi;\n\t\tSystem.out.printf(\"%.6f %.6f\",x,y);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble r = Double.parseDouble(br.readLine());\n\t\tdouble pi = Math.PI;\n\t\tdouble x = r*r*pi;\n\t\tdouble y = 2*r*pi;\n\t\tSystem.out.printf(\"%.6f %.6f\",x,y);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"double r = Double.parseDouble(br.readLine());",
"r",
"Double.parseDouble(br.readLine())",
"Double.parseDouble",
"Double",
"br.readLine()",
"br.readLine",
"br",
"double pi = Math.PI;",
"pi",
"Math.PI",
"Math",
"Math.PI",
"double x = r*r*pi;",
"x",
"r*r*pi",
"r*r*pi",
"r",
"r",
"pi",
"double y = 2*r*pi;",
"y",
"2*r*pi",
"2*r*pi",
"2",
"r",
"pi",
"System.out.printf(\"%.6f %.6f\",x,y)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f %.6f\"",
"x",
"y",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main{
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
double r = Double.parseDouble(br.readLine());
double pi = Math.PI;
double x = r*r*pi;
double y = 2*r*pi;
System.out.printf("%.6f %.6f",x,y);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
4,
18,
13,
0,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
17,
2,
2,
13,
13,
13,
2,
2,
17,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
55,
11
],
[
55,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
14,
22
],
[
22,
23
],
[
22,
24
],
[
14,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
14,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
14,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
36,
42
],
[
43,
43
],
[
43,
44
],
[
43,
45
],
[
43,
46
],
[
36,
47
],
[
48,
48
],
[
48,
49
],
[
48,
50
],
[
48,
51
],
[
12,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tdouble r;\n\t\tdouble p = Math.PI;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tr = Double.parseDouble(str);\n\n\t\tSystem.out.printf(\"%1.6f %1.6f\",r*r*p,2*r*p);\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tdouble r;\n\t\tdouble p = Math.PI;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tr = Double.parseDouble(str);\n\n\t\tSystem.out.printf(\"%1.6f %1.6f\",r*r*p,2*r*p);\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tdouble r;\n\t\tdouble p = Math.PI;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tr = Double.parseDouble(str);\n\n\t\tSystem.out.printf(\"%1.6f %1.6f\",r*r*p,2*r*p);\n\t}",
"main",
"{\n\t\tdouble r;\n\t\tdouble p = Math.PI;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tr = Double.parseDouble(str);\n\n\t\tSystem.out.printf(\"%1.6f %1.6f\",r*r*p,2*r*p);\n\t}",
"double r;",
"r",
"double p = Math.PI;",
"p",
"Math.PI",
"Math",
"Math.PI",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"r = Double.parseDouble(str)",
"r",
"Double.parseDouble(str)",
"Double.parseDouble",
"Double",
"str",
"System.out.printf(\"%1.6f %1.6f\",r*r*p,2*r*p)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%1.6f %1.6f\"",
"r*r*p",
"r*r*p",
"r",
"r",
"p",
"2*r*p",
"2*r*p",
"2",
"r",
"p",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tdouble r;\n\t\tdouble p = Math.PI;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tr = Double.parseDouble(str);\n\n\t\tSystem.out.printf(\"%1.6f %1.6f\",r*r*p,2*r*p);\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tdouble r;\n\t\tdouble p = Math.PI;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tr = Double.parseDouble(str);\n\n\t\tSystem.out.printf(\"%1.6f %1.6f\",r*r*p,2*r*p);\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException{
double r;
double p = Math.PI;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
r = Double.parseDouble(str);
System.out.printf("%1.6f %1.6f",r*r*p,2*r*p);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
41,
13,
0,
13,
2,
2,
17,
13,
13,
0,
13,
2,
2,
17,
17,
13,
41,
13,
20,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
13,
17,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
60,
8
],
[
60,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
11,
22
],
[
22,
23
],
[
11,
24
],
[
24,
25
],
[
24,
26
],
[
27,
27
],
[
27,
28
],
[
27,
29
],
[
27,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
34,
34
],
[
34,
35
],
[
34,
36
],
[
34,
37
],
[
11,
38
],
[
38,
39
],
[
38,
40
],
[
11,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
47,
52
],
[
47,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
9,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
] | [
"import java.text.DecimalFormat;\nimport java.util.Scanner;\n\n/**\n *\n * @author lenovo\n */\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n double r = scanner.nextDouble();\n\n double a, b;\n a = 3.141592653589 * r * r;\n b = 3.141592653589 * 2 * r;\n DecimalFormat df = new DecimalFormat(\"0.000000000\");\n\n System.out.println(df.format(a) + \" \" + df.format(b));\n }\n}",
"import java.text.DecimalFormat;",
"DecimalFormat",
"java.text",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n double r = scanner.nextDouble();\n\n double a, b;\n a = 3.141592653589 * r * r;\n b = 3.141592653589 * 2 * r;\n DecimalFormat df = new DecimalFormat(\"0.000000000\");\n\n System.out.println(df.format(a) + \" \" + df.format(b));\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n double r = scanner.nextDouble();\n\n double a, b;\n a = 3.141592653589 * r * r;\n b = 3.141592653589 * 2 * r;\n DecimalFormat df = new DecimalFormat(\"0.000000000\");\n\n System.out.println(df.format(a) + \" \" + df.format(b));\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n double r = scanner.nextDouble();\n\n double a, b;\n a = 3.141592653589 * r * r;\n b = 3.141592653589 * 2 * r;\n DecimalFormat df = new DecimalFormat(\"0.000000000\");\n\n System.out.println(df.format(a) + \" \" + df.format(b));\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"double r = scanner.nextDouble();",
"r",
"scanner.nextDouble()",
"scanner.nextDouble",
"scanner",
"double a",
"a",
"b;",
"b",
"a = 3.141592653589 * r * r",
"a",
"3.141592653589 * r * r",
"3.141592653589 * r * r",
"3.141592653589",
"r",
"r",
"b = 3.141592653589 * 2 * r",
"b",
"3.141592653589 * 2 * r",
"3.141592653589 * 2 * r",
"3.141592653589",
"2",
"r",
"DecimalFormat df = new DecimalFormat(\"0.000000000\");",
"df",
"new DecimalFormat(\"0.000000000\")",
"System.out.println(df.format(a) + \" \" + df.format(b))",
"System.out.println",
"System.out",
"System",
"System.out",
"df.format(a) + \" \" + df.format(b)",
"df.format(a) + \" \" + df.format(b)",
"df.format(a)",
"df.format",
"df",
"a",
"\" \"",
"df.format(b)",
"df.format",
"df",
"b",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n double r = scanner.nextDouble();\n\n double a, b;\n a = 3.141592653589 * r * r;\n b = 3.141592653589 * 2 * r;\n DecimalFormat df = new DecimalFormat(\"0.000000000\");\n\n System.out.println(df.format(a) + \" \" + df.format(b));\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n double r = scanner.nextDouble();\n\n double a, b;\n a = 3.141592653589 * r * r;\n b = 3.141592653589 * 2 * r;\n DecimalFormat df = new DecimalFormat(\"0.000000000\");\n\n System.out.println(df.format(a) + \" \" + df.format(b));\n }\n}",
"Main"
] | import java.text.DecimalFormat;
import java.util.Scanner;
/**
*
* @author lenovo
*/
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
double r = scanner.nextDouble();
double a, b;
a = 3.141592653589 * r * r;
b = 3.141592653589 * 2 * r;
DecimalFormat df = new DecimalFormat("0.000000000");
System.out.println(df.format(a) + " " + df.format(b));
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
2,
2,
13,
13,
13,
41,
13,
2,
2,
13,
17,
13,
4,
18,
18,
13,
13,
17,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
59,
11
],
[
59,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
14,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
37,
37
],
[
37,
38
],
[
37,
39
],
[
37,
40
],
[
14,
41
],
[
41,
42
],
[
41,
43
],
[
44,
44
],
[
44,
45
],
[
44,
46
],
[
44,
47
],
[
14,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
48,
54
],
[
48,
55
],
[
12,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\npublic class Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString r=br.readLine();\n\t\tdouble i=Double.parseDouble(r);\n\t\tdouble p =Math.PI;\n\t\tdouble s=i*i*p;\n\t\tdouble l=p*2*i;\n\t\tSystem.out.printf(\"%f %f\",s,l);\n\t\n\t}\n\t}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString r=br.readLine();\n\t\tdouble i=Double.parseDouble(r);\n\t\tdouble p =Math.PI;\n\t\tdouble s=i*i*p;\n\t\tdouble l=p*2*i;\n\t\tSystem.out.printf(\"%f %f\",s,l);\n\t\n\t}\n\t}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString r=br.readLine();\n\t\tdouble i=Double.parseDouble(r);\n\t\tdouble p =Math.PI;\n\t\tdouble s=i*i*p;\n\t\tdouble l=p*2*i;\n\t\tSystem.out.printf(\"%f %f\",s,l);\n\t\n\t}",
"main",
"{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString r=br.readLine();\n\t\tdouble i=Double.parseDouble(r);\n\t\tdouble p =Math.PI;\n\t\tdouble s=i*i*p;\n\t\tdouble l=p*2*i;\n\t\tSystem.out.printf(\"%f %f\",s,l);\n\t\n\t}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String r=br.readLine();",
"r",
"br.readLine()",
"br.readLine",
"br",
"double i=Double.parseDouble(r);",
"i",
"Double.parseDouble(r)",
"Double.parseDouble",
"Double",
"r",
"double p =Math.PI;",
"p",
"Math.PI",
"Math",
"Math.PI",
"double s=i*i*p;",
"s",
"i*i*p",
"i*i*p",
"i",
"i",
"p",
"double l=p*2*i;",
"l",
"p*2*i",
"p*2*i",
"p",
"2",
"i",
"System.out.printf(\"%f %f\",s,l)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f %f\"",
"s",
"l",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString r=br.readLine();\n\t\tdouble i=Double.parseDouble(r);\n\t\tdouble p =Math.PI;\n\t\tdouble s=i*i*p;\n\t\tdouble l=p*2*i;\n\t\tSystem.out.printf(\"%f %f\",s,l);\n\t\n\t}\n\t}",
"public class Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString r=br.readLine();\n\t\tdouble i=Double.parseDouble(r);\n\t\tdouble p =Math.PI;\n\t\tdouble s=i*i*p;\n\t\tdouble l=p*2*i;\n\t\tSystem.out.printf(\"%f %f\",s,l);\n\t\n\t}\n\t}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main{
public static void main(String[] args) throws IOException {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String r=br.readLine();
double i=Double.parseDouble(r);
double p =Math.PI;
double s=i*i*p;
double l=p*2*i;
System.out.printf("%f %f",s,l);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
2,
2,
13,
13,
17,
41,
13,
2,
2,
17,
17,
13,
4,
18,
18,
13,
13,
17,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
48,
5
],
[
48,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
26,
26
],
[
26,
27
],
[
26,
28
],
[
26,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
33,
33
],
[
33,
34
],
[
33,
35
],
[
33,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
37,
43
],
[
37,
44
],
[
6,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] | [
"import java.io.*;\n \npublic class Main {\n public static void main(String[] arg)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String str = br.readLine();\n\n double r = Double.parseDouble(str);\n \n double menseki =(double)r * (double)r * 3.141592653589;\n double ensyu =(double)2 * 3.141592653589 * (double)r;\n\n System.out.printf(\"%.6f %.6f\\n\", menseki, ensyu);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] arg)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String str = br.readLine();\n\n double r = Double.parseDouble(str);\n \n double menseki =(double)r * (double)r * 3.141592653589;\n double ensyu =(double)2 * 3.141592653589 * (double)r;\n\n System.out.printf(\"%.6f %.6f\\n\", menseki, ensyu);\n }\n}",
"Main",
"public static void main(String[] arg)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String str = br.readLine();\n\n double r = Double.parseDouble(str);\n \n double menseki =(double)r * (double)r * 3.141592653589;\n double ensyu =(double)2 * 3.141592653589 * (double)r;\n\n System.out.printf(\"%.6f %.6f\\n\", menseki, ensyu);\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String str = br.readLine();\n\n double r = Double.parseDouble(str);\n \n double menseki =(double)r * (double)r * 3.141592653589;\n double ensyu =(double)2 * 3.141592653589 * (double)r;\n\n System.out.printf(\"%.6f %.6f\\n\", menseki, ensyu);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"double r = Double.parseDouble(str);",
"r",
"Double.parseDouble(str)",
"Double.parseDouble",
"Double",
"str",
"double menseki =(double)r * (double)r * 3.141592653589;",
"menseki",
"(double)r * (double)r * 3.141592653589",
"(double)r * (double)r * 3.141592653589",
"(double)r",
"(double)r",
"3.141592653589",
"double ensyu =(double)2 * 3.141592653589 * (double)r;",
"ensyu",
"(double)2 * 3.141592653589 * (double)r",
"(double)2 * 3.141592653589 * (double)r",
"(double)2",
"3.141592653589",
"(double)r",
"System.out.printf(\"%.6f %.6f\\n\", menseki, ensyu)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f %.6f\\n\"",
"menseki",
"ensyu",
"String[] arg",
"arg",
"public class Main {\n public static void main(String[] arg)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String str = br.readLine();\n\n double r = Double.parseDouble(str);\n \n double menseki =(double)r * (double)r * 3.141592653589;\n double ensyu =(double)2 * 3.141592653589 * (double)r;\n\n System.out.printf(\"%.6f %.6f\\n\", menseki, ensyu);\n }\n}",
"public class Main {\n public static void main(String[] arg)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String str = br.readLine();\n\n double r = Double.parseDouble(str);\n \n double menseki =(double)r * (double)r * 3.141592653589;\n double ensyu =(double)2 * 3.141592653589 * (double)r;\n\n System.out.printf(\"%.6f %.6f\\n\", menseki, ensyu);\n }\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] arg)throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
double r = Double.parseDouble(str);
double menseki =(double)r * (double)r * 3.141592653589;
double ensyu =(double)2 * 3.141592653589 * (double)r;
System.out.printf("%.6f %.6f\n", menseki, ensyu);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
4,
18,
13,
40,
17,
30,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
13,
41,
13,
2,
2,
13,
13,
18,
13,
13,
41,
13,
2,
2,
17,
13,
18,
13,
13,
41,
13,
4,
18,
13,
17,
13,
41,
13,
4,
18,
13,
17,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
96,
11
],
[
96,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
18,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
15,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
34,
40
],
[
33,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
41,
48
],
[
48,
49
],
[
48,
50
],
[
51,
51
],
[
51,
52
],
[
51,
53
],
[
51,
54
],
[
54,
55
],
[
54,
56
],
[
41,
57
],
[
57,
58
],
[
57,
59
],
[
60,
60
],
[
60,
61
],
[
60,
62
],
[
60,
63
],
[
63,
64
],
[
63,
65
],
[
41,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
68,
72
],
[
41,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
75,
79
],
[
41,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
86,
86
],
[
86,
87
],
[
86,
88
],
[
86,
89
],
[
27,
90
],
[
90,
91
],
[
91,
92
],
[
12,
93
],
[
93,
94
],
[
0,
95
],
[
95,
96
],
[
95,
97
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.lang.Math;\n\npublic class Main {\n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n \n while((line = stdReader.readLine()) != null) {\n double r = Double.parseDouble(line);\n double area = r * r * Math.PI;\n double length = 2 * r * Math.PI;\n \n String circleArea = String.format(\"%.6f\", area);\n String circleLength = String.format(\"%.6f\", length);\n \n System.out.println(circleArea + \" \" + circleLength);\n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.lang.Math;",
"Math",
"java.lang",
"public class Main {\n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n \n while((line = stdReader.readLine()) != null) {\n double r = Double.parseDouble(line);\n double area = r * r * Math.PI;\n double length = 2 * r * Math.PI;\n \n String circleArea = String.format(\"%.6f\", area);\n String circleLength = String.format(\"%.6f\", length);\n \n System.out.println(circleArea + \" \" + circleLength);\n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n \n while((line = stdReader.readLine()) != null) {\n double r = Double.parseDouble(line);\n double area = r * r * Math.PI;\n double length = 2 * r * Math.PI;\n \n String circleArea = String.format(\"%.6f\", area);\n String circleLength = String.format(\"%.6f\", length);\n \n System.out.println(circleArea + \" \" + circleLength);\n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }\n }",
"main",
"{\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n \n while((line = stdReader.readLine()) != null) {\n double r = Double.parseDouble(line);\n double area = r * r * Math.PI;\n double length = 2 * r * Math.PI;\n \n String circleArea = String.format(\"%.6f\", area);\n String circleLength = String.format(\"%.6f\", length);\n \n System.out.println(circleArea + \" \" + circleLength);\n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }\n }",
"try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n \n while((line = stdReader.readLine()) != null) {\n double r = Double.parseDouble(line);\n double area = r * r * Math.PI;\n double length = 2 * r * Math.PI;\n \n String circleArea = String.format(\"%.6f\", area);\n String circleLength = String.format(\"%.6f\", length);\n \n System.out.println(circleArea + \" \" + circleLength);\n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }",
"catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }",
"Exception e",
"{\n e.getStackTrace();\n System.exit(-1);\n }",
"e.getStackTrace()",
"e.getStackTrace",
"e",
"System.exit(-1)",
"System.exit",
"System",
"-1",
"1",
"{\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n \n while((line = stdReader.readLine()) != null) {\n double r = Double.parseDouble(line);\n double area = r * r * Math.PI;\n double length = 2 * r * Math.PI;\n \n String circleArea = String.format(\"%.6f\", area);\n String circleLength = String.format(\"%.6f\", length);\n \n System.out.println(circleArea + \" \" + circleLength);\n }\n stdReader.close();\n }",
"BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));",
"stdReader",
"new BufferedReader(new InputStreamReader(System.in))",
"String line;",
"line",
"while((line = stdReader.readLine()) != null) {\n double r = Double.parseDouble(line);\n double area = r * r * Math.PI;\n double length = 2 * r * Math.PI;\n \n String circleArea = String.format(\"%.6f\", area);\n String circleLength = String.format(\"%.6f\", length);\n \n System.out.println(circleArea + \" \" + circleLength);\n }",
"(line = stdReader.readLine()) != null",
"(line = stdReader.readLine())",
"line",
"stdReader.readLine()",
"stdReader.readLine",
"stdReader",
"null",
"{\n double r = Double.parseDouble(line);\n double area = r * r * Math.PI;\n double length = 2 * r * Math.PI;\n \n String circleArea = String.format(\"%.6f\", area);\n String circleLength = String.format(\"%.6f\", length);\n \n System.out.println(circleArea + \" \" + circleLength);\n }",
"double r = Double.parseDouble(line);",
"r",
"Double.parseDouble(line)",
"Double.parseDouble",
"Double",
"line",
"double area = r * r * Math.PI;",
"area",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"double length = 2 * r * Math.PI;",
"length",
"2 * r * Math.PI",
"2 * r * Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"String circleArea = String.format(\"%.6f\", area);",
"circleArea",
"String.format(\"%.6f\", area)",
"String.format",
"String",
"\"%.6f\"",
"area",
"String circleLength = String.format(\"%.6f\", length);",
"circleLength",
"String.format(\"%.6f\", length)",
"String.format",
"String",
"\"%.6f\"",
"length",
"System.out.println(circleArea + \" \" + circleLength)",
"System.out.println",
"System.out",
"System",
"System.out",
"circleArea + \" \" + circleLength",
"circleArea + \" \" + circleLength",
"circleArea",
"\" \"",
"circleLength",
"stdReader.close()",
"stdReader.close",
"stdReader",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n \n while((line = stdReader.readLine()) != null) {\n double r = Double.parseDouble(line);\n double area = r * r * Math.PI;\n double length = 2 * r * Math.PI;\n \n String circleArea = String.format(\"%.6f\", area);\n String circleLength = String.format(\"%.6f\", length);\n \n System.out.println(circleArea + \" \" + circleLength);\n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n \n while((line = stdReader.readLine()) != null) {\n double r = Double.parseDouble(line);\n double area = r * r * Math.PI;\n double length = 2 * r * Math.PI;\n \n String circleArea = String.format(\"%.6f\", area);\n String circleLength = String.format(\"%.6f\", length);\n \n System.out.println(circleArea + \" \" + circleLength);\n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.lang.Math;
public class Main {
public static void main(String[] args) {
try {
BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
String line;
while((line = stdReader.readLine()) != null) {
double r = Double.parseDouble(line);
double area = r * r * Math.PI;
double length = 2 * r * Math.PI;
String circleArea = String.format("%.6f", area);
String circleLength = String.format("%.6f", length);
System.out.println(circleArea + " " + circleLength);
}
stdReader.close();
} catch(Exception e) {
e.getStackTrace();
System.exit(-1);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
18,
13,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
2,
2,
13,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
2,
2,
17,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
53,
5
],
[
53,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
27,
31
],
[
32,
32
],
[
32,
33
],
[
32,
34
],
[
32,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
41,
45
],
[
46,
46
],
[
46,
47
],
[
46,
48
],
[
46,
49
],
[
6,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n double x=Math.PI;\n double r = sc.nextDouble();\n System.out.println(String.format(\"%.6f\",r*r*x));\n System.out.println(String.format(\"%.6f\",2*r*x));\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n double x=Math.PI;\n double r = sc.nextDouble();\n System.out.println(String.format(\"%.6f\",r*r*x));\n System.out.println(String.format(\"%.6f\",2*r*x));\n }\n}",
"Main",
"public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n double x=Math.PI;\n double r = sc.nextDouble();\n System.out.println(String.format(\"%.6f\",r*r*x));\n System.out.println(String.format(\"%.6f\",2*r*x));\n }",
"main",
"{\n \n Scanner sc = new Scanner(System.in);\n double x=Math.PI;\n double r = sc.nextDouble();\n System.out.println(String.format(\"%.6f\",r*r*x));\n System.out.println(String.format(\"%.6f\",2*r*x));\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double x=Math.PI;",
"x",
"Math.PI",
"Math",
"Math.PI",
"double r = sc.nextDouble();",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"System.out.println(String.format(\"%.6f\",r*r*x))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%.6f\",r*r*x)",
"String.format",
"String",
"\"%.6f\"",
"r*r*x",
"r*r*x",
"r",
"r",
"x",
"System.out.println(String.format(\"%.6f\",2*r*x))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%.6f\",2*r*x)",
"String.format",
"String",
"\"%.6f\"",
"2*r*x",
"2*r*x",
"2",
"r",
"x",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n double x=Math.PI;\n double r = sc.nextDouble();\n System.out.println(String.format(\"%.6f\",r*r*x));\n System.out.println(String.format(\"%.6f\",2*r*x));\n }\n}",
"public class Main{\n\tpublic static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n double x=Math.PI;\n double r = sc.nextDouble();\n System.out.println(String.format(\"%.6f\",r*r*x));\n System.out.println(String.format(\"%.6f\",2*r*x));\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
double x=Math.PI;
double r = sc.nextDouble();
System.out.println(String.format("%.6f",r*r*x));
System.out.println(String.format("%.6f",2*r*x));
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
0,
13,
4,
18,
13,
41,
13,
20,
0,
13,
2,
4,
18,
13,
4,
18,
13,
17,
18,
13,
13,
17,
41,
13,
20,
0,
13,
2,
13,
4,
18,
13,
4,
18,
13,
17,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
67,
8
],
[
67,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
11,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
11,
24
],
[
24,
25
],
[
24,
26
],
[
11,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
33,
37
],
[
37,
38
],
[
37,
39
],
[
29,
40
],
[
11,
41
],
[
41,
42
],
[
41,
43
],
[
11,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
11,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
9,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
] | [
"\n\nimport java.math.BigDecimal;\nimport java.util.*;\n\npublic class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString str;//???????????\\??????\n\t\t\n\t\tdouble r;\n\t\tr = scan.nextDouble();\n\t\t\n\t\t//double r;\n\t\t//r = Double.parseDouble(Integer.toString(scan.nextInt()) + \".0\");//??°??????????????????/0????????????\n\t\t//?????¨?????3.14\n\t\t\n\t\t//????????¢???????±???????\n\t\t//BigDecimal x = new BigDecimal(?¨???????????????\\??????);\n\t\tBigDecimal x = new BigDecimal(r * r * Math.PI);\n\t\tstr = String.valueOf(x.setScale(5, BigDecimal.ROUND_UP)) + \" \";\n\t\t\n\t\t\n\t\t\n\t\t//?????¨????????????????±???????\n\t\tBigDecimal y = new BigDecimal(2 * r * Math.PI);\n\t\tstr = str + String.valueOf(y.setScale(5, BigDecimal.ROUND_HALF_UP));\n\t\t\n\t\t\n\t\tSystem.out.println(str);\n\t\t\n\t\t\n\t}\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString str;//???????????\\??????\n\t\t\n\t\tdouble r;\n\t\tr = scan.nextDouble();\n\t\t\n\t\t//double r;\n\t\t//r = Double.parseDouble(Integer.toString(scan.nextInt()) + \".0\");//??°??????????????????/0????????????\n\t\t//?????¨?????3.14\n\t\t\n\t\t//????????¢???????±???????\n\t\t//BigDecimal x = new BigDecimal(?¨???????????????\\??????);\n\t\tBigDecimal x = new BigDecimal(r * r * Math.PI);\n\t\tstr = String.valueOf(x.setScale(5, BigDecimal.ROUND_UP)) + \" \";\n\t\t\n\t\t\n\t\t\n\t\t//?????¨????????????????±???????\n\t\tBigDecimal y = new BigDecimal(2 * r * Math.PI);\n\t\tstr = str + String.valueOf(y.setScale(5, BigDecimal.ROUND_HALF_UP));\n\t\t\n\t\t\n\t\tSystem.out.println(str);\n\t\t\n\t\t\n\t}\n}",
"Main",
"public static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString str;//???????????\\??????\n\t\t\n\t\tdouble r;\n\t\tr = scan.nextDouble();\n\t\t\n\t\t//double r;\n\t\t//r = Double.parseDouble(Integer.toString(scan.nextInt()) + \".0\");//??°??????????????????/0????????????\n\t\t//?????¨?????3.14\n\t\t\n\t\t//????????¢???????±???????\n\t\t//BigDecimal x = new BigDecimal(?¨???????????????\\??????);\n\t\tBigDecimal x = new BigDecimal(r * r * Math.PI);\n\t\tstr = String.valueOf(x.setScale(5, BigDecimal.ROUND_UP)) + \" \";\n\t\t\n\t\t\n\t\t\n\t\t//?????¨????????????????±???????\n\t\tBigDecimal y = new BigDecimal(2 * r * Math.PI);\n\t\tstr = str + String.valueOf(y.setScale(5, BigDecimal.ROUND_HALF_UP));\n\t\t\n\t\t\n\t\tSystem.out.println(str);\n\t\t\n\t\t\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString str;//???????????\\??????\n\t\t\n\t\tdouble r;\n\t\tr = scan.nextDouble();\n\t\t\n\t\t//double r;\n\t\t//r = Double.parseDouble(Integer.toString(scan.nextInt()) + \".0\");//??°??????????????????/0????????????\n\t\t//?????¨?????3.14\n\t\t\n\t\t//????????¢???????±???????\n\t\t//BigDecimal x = new BigDecimal(?¨???????????????\\??????);\n\t\tBigDecimal x = new BigDecimal(r * r * Math.PI);\n\t\tstr = String.valueOf(x.setScale(5, BigDecimal.ROUND_UP)) + \" \";\n\t\t\n\t\t\n\t\t\n\t\t//?????¨????????????????±???????\n\t\tBigDecimal y = new BigDecimal(2 * r * Math.PI);\n\t\tstr = str + String.valueOf(y.setScale(5, BigDecimal.ROUND_HALF_UP));\n\t\t\n\t\t\n\t\tSystem.out.println(str);\n\t\t\n\t\t\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String str;",
"str",
"double r;",
"r",
"r = scan.nextDouble()",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"BigDecimal x = new BigDecimal(r * r * Math.PI);",
"x",
"new BigDecimal(r * r * Math.PI)",
"str = String.valueOf(x.setScale(5, BigDecimal.ROUND_UP)) + \" \"",
"str",
"String.valueOf(x.setScale(5, BigDecimal.ROUND_UP)) + \" \"",
"String.valueOf(x.setScale(5, BigDecimal.ROUND_UP))",
"String.valueOf",
"String",
"x.setScale(5, BigDecimal.ROUND_UP)",
"x.setScale",
"x",
"5",
"BigDecimal.ROUND_UP",
"BigDecimal",
"BigDecimal.ROUND_UP",
"\" \"",
"BigDecimal y = new BigDecimal(2 * r * Math.PI);",
"y",
"new BigDecimal(2 * r * Math.PI)",
"str = str + String.valueOf(y.setScale(5, BigDecimal.ROUND_HALF_UP))",
"str",
"str + String.valueOf(y.setScale(5, BigDecimal.ROUND_HALF_UP))",
"str",
"String.valueOf(y.setScale(5, BigDecimal.ROUND_HALF_UP))",
"String.valueOf",
"String",
"y.setScale(5, BigDecimal.ROUND_HALF_UP)",
"y.setScale",
"y",
"5",
"BigDecimal.ROUND_HALF_UP",
"BigDecimal",
"BigDecimal.ROUND_HALF_UP",
"System.out.println(str)",
"System.out.println",
"System.out",
"System",
"System.out",
"str",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString str;//???????????\\??????\n\t\t\n\t\tdouble r;\n\t\tr = scan.nextDouble();\n\t\t\n\t\t//double r;\n\t\t//r = Double.parseDouble(Integer.toString(scan.nextInt()) + \".0\");//??°??????????????????/0????????????\n\t\t//?????¨?????3.14\n\t\t\n\t\t//????????¢???????±???????\n\t\t//BigDecimal x = new BigDecimal(?¨???????????????\\??????);\n\t\tBigDecimal x = new BigDecimal(r * r * Math.PI);\n\t\tstr = String.valueOf(x.setScale(5, BigDecimal.ROUND_UP)) + \" \";\n\t\t\n\t\t\n\t\t\n\t\t//?????¨????????????????±???????\n\t\tBigDecimal y = new BigDecimal(2 * r * Math.PI);\n\t\tstr = str + String.valueOf(y.setScale(5, BigDecimal.ROUND_HALF_UP));\n\t\t\n\t\t\n\t\tSystem.out.println(str);\n\t\t\n\t\t\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tString str;//???????????\\??????\n\t\t\n\t\tdouble r;\n\t\tr = scan.nextDouble();\n\t\t\n\t\t//double r;\n\t\t//r = Double.parseDouble(Integer.toString(scan.nextInt()) + \".0\");//??°??????????????????/0????????????\n\t\t//?????¨?????3.14\n\t\t\n\t\t//????????¢???????±???????\n\t\t//BigDecimal x = new BigDecimal(?¨???????????????\\??????);\n\t\tBigDecimal x = new BigDecimal(r * r * Math.PI);\n\t\tstr = String.valueOf(x.setScale(5, BigDecimal.ROUND_UP)) + \" \";\n\t\t\n\t\t\n\t\t\n\t\t//?????¨????????????????±???????\n\t\tBigDecimal y = new BigDecimal(2 * r * Math.PI);\n\t\tstr = str + String.valueOf(y.setScale(5, BigDecimal.ROUND_HALF_UP));\n\t\t\n\t\t\n\t\tSystem.out.println(str);\n\t\t\n\t\t\n\t}\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.*;
public class Main {
public static void main(String args[]){
Scanner scan = new Scanner(System.in);
String str;//???????????\??????
double r;
r = scan.nextDouble();
//double r;
//r = Double.parseDouble(Integer.toString(scan.nextInt()) + ".0");//??°??????????????????/0????????????
//?????¨?????3.14
//????????¢???????±???????
//BigDecimal x = new BigDecimal(?¨???????????????\??????);
BigDecimal x = new BigDecimal(r * r * Math.PI);
str = String.valueOf(x.setScale(5, BigDecimal.ROUND_UP)) + " ";
//?????¨????????????????±???????
BigDecimal y = new BigDecimal(2 * r * Math.PI);
str = str + String.valueOf(y.setScale(5, BigDecimal.ROUND_HALF_UP));
System.out.println(str);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
17,
2,
2,
13,
13,
18,
13,
13,
2,
2,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
49,
11
],
[
49,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
26,
32
],
[
33,
33
],
[
33,
34
],
[
33,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
26,
39
],
[
40,
40
],
[
40,
41
],
[
40,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
12,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String args[]) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble a= Double.parseDouble(reader.readLine());\n\t\tSystem.out.printf(\"%6f %6f\",a*a*Math.PI,a*2*Math.PI);\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String args[]) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble a= Double.parseDouble(reader.readLine());\n\t\tSystem.out.printf(\"%6f %6f\",a*a*Math.PI,a*2*Math.PI);\n\t}\n}",
"Main",
"public static void main(String args[]) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble a= Double.parseDouble(reader.readLine());\n\t\tSystem.out.printf(\"%6f %6f\",a*a*Math.PI,a*2*Math.PI);\n\t}",
"main",
"{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble a= Double.parseDouble(reader.readLine());\n\t\tSystem.out.printf(\"%6f %6f\",a*a*Math.PI,a*2*Math.PI);\n\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"double a= Double.parseDouble(reader.readLine());",
"a",
"Double.parseDouble(reader.readLine())",
"Double.parseDouble",
"Double",
"reader.readLine()",
"reader.readLine",
"reader",
"System.out.printf(\"%6f %6f\",a*a*Math.PI,a*2*Math.PI)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%6f %6f\"",
"a*a*Math.PI",
"a*a*Math.PI",
"a",
"a",
"Math.PI",
"Math",
"Math.PI",
"a*2*Math.PI",
"a*2*Math.PI",
"a",
"2",
"Math.PI",
"Math",
"Math.PI",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble a= Double.parseDouble(reader.readLine());\n\t\tSystem.out.printf(\"%6f %6f\",a*a*Math.PI,a*2*Math.PI);\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble a= Double.parseDouble(reader.readLine());\n\t\tSystem.out.printf(\"%6f %6f\",a*a*Math.PI,a*2*Math.PI);\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String args[]) throws IOException{
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
double a= Double.parseDouble(reader.readLine());
System.out.printf("%6f %6f",a*a*Math.PI,a*2*Math.PI);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
2,
2,
13,
13,
18,
13,
13,
41,
13,
4,
18,
13,
17,
2,
2,
17,
13,
18,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
19,
23
],
[
24,
24
],
[
24,
25
],
[
24,
26
],
[
24,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
32,
36
],
[
37,
37
],
[
37,
38
],
[
37,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
49,
49
],
[
49,
50
],
[
49,
51
],
[
49,
52
],
[
6,
53
],
[
53,
54
]
] | [
"import java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n Double r = scanner.nextDouble();\n String s = String.format(\"%.6f\", r * r * Math.PI);\n String l = String.format(\"%.6f\", 2 * r * Math.PI);\n System.out.println(s + \" \" + l);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n Double r = scanner.nextDouble();\n String s = String.format(\"%.6f\", r * r * Math.PI);\n String l = String.format(\"%.6f\", 2 * r * Math.PI);\n System.out.println(s + \" \" + l);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n Double r = scanner.nextDouble();\n String s = String.format(\"%.6f\", r * r * Math.PI);\n String l = String.format(\"%.6f\", 2 * r * Math.PI);\n System.out.println(s + \" \" + l);\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n Double r = scanner.nextDouble();\n String s = String.format(\"%.6f\", r * r * Math.PI);\n String l = String.format(\"%.6f\", 2 * r * Math.PI);\n System.out.println(s + \" \" + l);\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"Double r = scanner.nextDouble();",
"r",
"scanner.nextDouble()",
"scanner.nextDouble",
"scanner",
"String s = String.format(\"%.6f\", r * r * Math.PI);",
"s",
"String.format(\"%.6f\", r * r * Math.PI)",
"String.format",
"String",
"\"%.6f\"",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"String l = String.format(\"%.6f\", 2 * r * Math.PI);",
"l",
"String.format(\"%.6f\", 2 * r * Math.PI)",
"String.format",
"String",
"\"%.6f\"",
"2 * r * Math.PI",
"2 * r * Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"System.out.println(s + \" \" + l)",
"System.out.println",
"System.out",
"System",
"System.out",
"s + \" \" + l",
"s + \" \" + l",
"s",
"\" \"",
"l",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
Double r = scanner.nextDouble();
String s = String.format("%.6f", r * r * Math.PI);
String l = String.format("%.6f", 2 * r * Math.PI);
System.out.println(s + " " + l);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
0,
13,
4,
18,
13,
4,
18,
13,
0,
13,
2,
2,
17,
18,
13,
13,
13,
0,
13,
2,
2,
18,
13,
13,
13,
13,
4,
18,
18,
13,
13,
17,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
61,
8
],
[
61,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
11,
19
],
[
19,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
26,
27
],
[
27,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
32,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
11,
38
],
[
38,
39
],
[
38,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
41,
46
],
[
11,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
47,
53
],
[
47,
54
],
[
11,
55
],
[
55,
56
],
[
56,
57
],
[
9,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
] | [
"import java.io.IOException;\nimport java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{\n\tScanner sc = new Scanner(System.in);\n\tdouble r;\n\tdouble cir,area;\n\n\tr = Double.parseDouble(sc.next());\n\tcir = 2*Math.PI*r;\n\tarea = Math.PI*r*r;\n\n\tSystem.out.printf(\"%.6f %.6f\", area,cir);\n\tsc.close();\n\t}\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\tScanner sc = new Scanner(System.in);\n\tdouble r;\n\tdouble cir,area;\n\n\tr = Double.parseDouble(sc.next());\n\tcir = 2*Math.PI*r;\n\tarea = Math.PI*r*r;\n\n\tSystem.out.printf(\"%.6f %.6f\", area,cir);\n\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\tScanner sc = new Scanner(System.in);\n\tdouble r;\n\tdouble cir,area;\n\n\tr = Double.parseDouble(sc.next());\n\tcir = 2*Math.PI*r;\n\tarea = Math.PI*r*r;\n\n\tSystem.out.printf(\"%.6f %.6f\", area,cir);\n\tsc.close();\n\t}",
"main",
"{\n\tScanner sc = new Scanner(System.in);\n\tdouble r;\n\tdouble cir,area;\n\n\tr = Double.parseDouble(sc.next());\n\tcir = 2*Math.PI*r;\n\tarea = Math.PI*r*r;\n\n\tSystem.out.printf(\"%.6f %.6f\", area,cir);\n\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double r;",
"r",
"double cir",
"cir",
"area;",
"area",
"r = Double.parseDouble(sc.next())",
"r",
"Double.parseDouble(sc.next())",
"Double.parseDouble",
"Double",
"sc.next()",
"sc.next",
"sc",
"cir = 2*Math.PI*r",
"cir",
"2*Math.PI*r",
"2*Math.PI*r",
"2",
"Math.PI",
"Math",
"Math.PI",
"r",
"area = Math.PI*r*r",
"area",
"Math.PI*r*r",
"Math.PI*r*r",
"Math.PI",
"Math",
"Math.PI",
"r",
"r",
"System.out.printf(\"%.6f %.6f\", area,cir)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f %.6f\"",
"area",
"cir",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\tScanner sc = new Scanner(System.in);\n\tdouble r;\n\tdouble cir,area;\n\n\tr = Double.parseDouble(sc.next());\n\tcir = 2*Math.PI*r;\n\tarea = Math.PI*r*r;\n\n\tSystem.out.printf(\"%.6f %.6f\", area,cir);\n\tsc.close();\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\tScanner sc = new Scanner(System.in);\n\tdouble r;\n\tdouble cir,area;\n\n\tr = Double.parseDouble(sc.next());\n\tcir = 2*Math.PI*r;\n\tarea = Math.PI*r*r;\n\n\tSystem.out.printf(\"%.6f %.6f\", area,cir);\n\tsc.close();\n\t}\n}",
"Main"
] | import java.io.IOException;
import java.util.Scanner;
public class Main{
public static void main(String[] args) throws IOException{
Scanner sc = new Scanner(System.in);
double r;
double cir,area;
r = Double.parseDouble(sc.next());
cir = 2*Math.PI*r;
area = Math.PI*r*r;
System.out.printf("%.6f %.6f", area,cir);
sc.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
0,
13,
4,
18,
13,
13,
0,
13,
2,
2,
13,
13,
18,
13,
13,
0,
13,
2,
2,
17,
13,
18,
13,
13,
4,
18,
18,
13,
13,
17,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
11,
14
],
[
14,
15
],
[
11,
16
],
[
16,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
11,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
11,
35
],
[
35,
36
],
[
35,
37
],
[
38,
38
],
[
38,
39
],
[
38,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
11,
44
],
[
44,
45
],
[
44,
46
],
[
47,
47
],
[
47,
48
],
[
47,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
11,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
53,
59
],
[
53,
60
],
[
9,
61
],
[
61,
62
]
] | [
"import java.io.*;\nimport java.lang.Math;\nclass Main{\n public static void main(String[] args)throws IOException{\n double r, s, l; // s:??¢???, l:??¨?????????\n \tInputStreamReader isr =new InputStreamReader(System.in);\n \t\tBufferedReader br =new BufferedReader(isr);\n String buf = br.readLine();\n r = Double.parseDouble(buf);\n \ts = r * r * Math.PI;\n \tl = 2 * r * Math.PI;\n System.out.printf(\"%.6f %.6f\\n\", s, l);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.lang.Math;",
"Math",
"java.lang",
"class Main{\n public static void main(String[] args)throws IOException{\n double r, s, l; // s:??¢???, l:??¨?????????\n \tInputStreamReader isr =new InputStreamReader(System.in);\n \t\tBufferedReader br =new BufferedReader(isr);\n String buf = br.readLine();\n r = Double.parseDouble(buf);\n \ts = r * r * Math.PI;\n \tl = 2 * r * Math.PI;\n System.out.printf(\"%.6f %.6f\\n\", s, l);\n }\n}",
"Main",
"public static void main(String[] args)throws IOException{\n double r, s, l; // s:??¢???, l:??¨?????????\n \tInputStreamReader isr =new InputStreamReader(System.in);\n \t\tBufferedReader br =new BufferedReader(isr);\n String buf = br.readLine();\n r = Double.parseDouble(buf);\n \ts = r * r * Math.PI;\n \tl = 2 * r * Math.PI;\n System.out.printf(\"%.6f %.6f\\n\", s, l);\n }",
"main",
"{\n double r, s, l; // s:??¢???, l:??¨?????????\n \tInputStreamReader isr =new InputStreamReader(System.in);\n \t\tBufferedReader br =new BufferedReader(isr);\n String buf = br.readLine();\n r = Double.parseDouble(buf);\n \ts = r * r * Math.PI;\n \tl = 2 * r * Math.PI;\n System.out.printf(\"%.6f %.6f\\n\", s, l);\n }",
"double r",
"r",
"s",
"s",
"l;",
"l",
"InputStreamReader isr =new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br =new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"String buf = br.readLine();",
"buf",
"br.readLine()",
"br.readLine",
"br",
"r = Double.parseDouble(buf)",
"r",
"Double.parseDouble(buf)",
"Double.parseDouble",
"Double",
"buf",
"s = r * r * Math.PI",
"s",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"l = 2 * r * Math.PI",
"l",
"2 * r * Math.PI",
"2 * r * Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"System.out.printf(\"%.6f %.6f\\n\", s, l)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f %.6f\\n\"",
"s",
"l",
"String[] args",
"args"
] | import java.io.*;
import java.lang.Math;
class Main{
public static void main(String[] args)throws IOException{
double r, s, l; // s:??¢???, l:??¨?????????
InputStreamReader isr =new InputStreamReader(System.in);
BufferedReader br =new BufferedReader(isr);
String buf = br.readLine();
r = Double.parseDouble(buf);
s = r * r * Math.PI;
l = 2 * r * Math.PI;
System.out.printf("%.6f %.6f\n", s, l);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
2,
2,
13,
13,
18,
13,
13,
41,
13,
2,
2,
17,
13,
18,
13,
13,
4,
18,
18,
13,
13,
17,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
55,
11
],
[
55,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
29,
29
],
[
29,
30
],
[
29,
31
],
[
29,
32
],
[
32,
33
],
[
32,
34
],
[
14,
35
],
[
35,
36
],
[
35,
37
],
[
38,
38
],
[
38,
39
],
[
38,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
14,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
44,
50
],
[
44,
51
],
[
12,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble r = Double.parseDouble(br.readLine());\n\n\t\tdouble s = r*r*Math.PI;\n\t\tdouble l = 2*r*Math.PI;\n\t\tSystem.out.printf(\"%6f %6f\",s,l);\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble r = Double.parseDouble(br.readLine());\n\n\t\tdouble s = r*r*Math.PI;\n\t\tdouble l = 2*r*Math.PI;\n\t\tSystem.out.printf(\"%6f %6f\",s,l);\n\t}\n}",
"Main",
"public static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble r = Double.parseDouble(br.readLine());\n\n\t\tdouble s = r*r*Math.PI;\n\t\tdouble l = 2*r*Math.PI;\n\t\tSystem.out.printf(\"%6f %6f\",s,l);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble r = Double.parseDouble(br.readLine());\n\n\t\tdouble s = r*r*Math.PI;\n\t\tdouble l = 2*r*Math.PI;\n\t\tSystem.out.printf(\"%6f %6f\",s,l);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"double r = Double.parseDouble(br.readLine());",
"r",
"Double.parseDouble(br.readLine())",
"Double.parseDouble",
"Double",
"br.readLine()",
"br.readLine",
"br",
"double s = r*r*Math.PI;",
"s",
"r*r*Math.PI",
"r*r*Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"double l = 2*r*Math.PI;",
"l",
"2*r*Math.PI",
"2*r*Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"System.out.printf(\"%6f %6f\",s,l)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%6f %6f\"",
"s",
"l",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble r = Double.parseDouble(br.readLine());\n\n\t\tdouble s = r*r*Math.PI;\n\t\tdouble l = 2*r*Math.PI;\n\t\tSystem.out.printf(\"%6f %6f\",s,l);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble r = Double.parseDouble(br.readLine());\n\n\t\tdouble s = r*r*Math.PI;\n\t\tdouble l = 2*r*Math.PI;\n\t\tSystem.out.printf(\"%6f %6f\",s,l);\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args)throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
double r = Double.parseDouble(br.readLine());
double s = r*r*Math.PI;
double l = 2*r*Math.PI;
System.out.printf("%6f %6f",s,l);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
17,
2,
2,
13,
13,
13,
17,
4,
18,
13,
17,
2,
2,
17,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
11,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
28,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
29,
33
],
[
34,
34
],
[
34,
35
],
[
34,
36
],
[
34,
37
],
[
28,
38
],
[
28,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
39,
43
],
[
44,
44
],
[
44,
45
],
[
44,
46
],
[
44,
47
],
[
6,
48
],
[
48,
49
]
] | [
"import java.util.Scanner;\nclass Main{\n public static void main(String[] args){\n \n double x = Math.PI;\n \n Scanner sc = new Scanner(System.in);\n \n double r = sc.nextDouble();\n System.out.println(String.format(\"%.6f\",r*r*x) + \" \"+ String.format(\"%.6f\",2*r*x));\n }\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n \n double x = Math.PI;\n \n Scanner sc = new Scanner(System.in);\n \n double r = sc.nextDouble();\n System.out.println(String.format(\"%.6f\",r*r*x) + \" \"+ String.format(\"%.6f\",2*r*x));\n }\n}",
"Main",
"public static void main(String[] args){\n \n double x = Math.PI;\n \n Scanner sc = new Scanner(System.in);\n \n double r = sc.nextDouble();\n System.out.println(String.format(\"%.6f\",r*r*x) + \" \"+ String.format(\"%.6f\",2*r*x));\n }",
"main",
"{\n \n double x = Math.PI;\n \n Scanner sc = new Scanner(System.in);\n \n double r = sc.nextDouble();\n System.out.println(String.format(\"%.6f\",r*r*x) + \" \"+ String.format(\"%.6f\",2*r*x));\n }",
"double x = Math.PI;",
"x",
"Math.PI",
"Math",
"Math.PI",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double r = sc.nextDouble();",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"System.out.println(String.format(\"%.6f\",r*r*x) + \" \"+ String.format(\"%.6f\",2*r*x))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%.6f\",r*r*x) + \" \"+ String.format(\"%.6f\",2*r*x)",
"String.format(\"%.6f\",r*r*x) + \" \"+ String.format(\"%.6f\",2*r*x)",
"String.format(\"%.6f\",r*r*x)",
"String.format",
"String",
"\"%.6f\"",
"r*r*x",
"r*r*x",
"r",
"r",
"x",
"\" \"",
"String.format(\"%.6f\",2*r*x)",
"String.format",
"String",
"\"%.6f\"",
"2*r*x",
"2*r*x",
"2",
"r",
"x",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
double x = Math.PI;
Scanner sc = new Scanner(System.in);
double r = sc.nextDouble();
System.out.println(String.format("%.6f",r*r*x) + " "+ String.format("%.6f",2*r*x));
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
2,
2,
13,
13,
18,
13,
13,
2,
2,
17,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
55,
11
],
[
55,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
14,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
34,
38
],
[
39,
39
],
[
39,
40
],
[
39,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
34,
45
],
[
46,
46
],
[
46,
47
],
[
46,
48
],
[
46,
49
],
[
49,
50
],
[
49,
51
],
[
12,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] | [
"import java.io.IOException;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n double r = Double.parseDouble(line);\n System.out.println(String.format(\"%.6f %.6f\", r*r*Math.PI, 2*r*Math.PI));\n }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n double r = Double.parseDouble(line);\n System.out.println(String.format(\"%.6f %.6f\", r*r*Math.PI, 2*r*Math.PI));\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n double r = Double.parseDouble(line);\n System.out.println(String.format(\"%.6f %.6f\", r*r*Math.PI, 2*r*Math.PI));\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n double r = Double.parseDouble(line);\n System.out.println(String.format(\"%.6f %.6f\", r*r*Math.PI, 2*r*Math.PI));\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"double r = Double.parseDouble(line);",
"r",
"Double.parseDouble(line)",
"Double.parseDouble",
"Double",
"line",
"System.out.println(String.format(\"%.6f %.6f\", r*r*Math.PI, 2*r*Math.PI))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%.6f %.6f\", r*r*Math.PI, 2*r*Math.PI)",
"String.format",
"String",
"\"%.6f %.6f\"",
"r*r*Math.PI",
"r*r*Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"2*r*Math.PI",
"2*r*Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n double r = Double.parseDouble(line);\n System.out.println(String.format(\"%.6f %.6f\", r*r*Math.PI, 2*r*Math.PI));\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n double r = Double.parseDouble(line);\n System.out.println(String.format(\"%.6f %.6f\", r*r*Math.PI, 2*r*Math.PI));\n }\n}",
"Main"
] | import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = br.readLine();
double r = Double.parseDouble(line);
System.out.println(String.format("%.6f %.6f", r*r*Math.PI, 2*r*Math.PI));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
18,
13,
13,
4,
18,
18,
13,
13,
17,
2,
2,
13,
13,
13,
2,
2,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
22,
28
],
[
29,
29
],
[
29,
30
],
[
29,
31
],
[
29,
32
],
[
22,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
6,
38
],
[
38,
39
]
] | [
"/** 半径 r の円の面積と円周の長さを求めるプログラムを作成して下さい。\n */\n\n/*sucannerクラス使うためにインポート*/\nimport java.util.Scanner;\nclass Main{\n\t//プログラムのエントリポイント\n\tpublic static void main(String[] args){\n\t\t//入力ストリームの生成\n\t\tScanner sc = new Scanner(System.in);\n\t\t//数字を1つうけとる\n\t\tdouble dbr = sc.nextDouble();\n\t\t//mathクラスから円周率を変数dbensuuに入れる\n\t\tdouble dbensyuu = Math.PI;\n\t\t//結果表示\n\t\t//表示時、浮動小数は5桁までに設定して表示\n\t\tSystem.out.printf(\"%.5f %.5f\" , dbr * dbr * dbensyuu , (dbr + dbr) * dbensyuu);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\t//プログラムのエントリポイント\n\tpublic static void main(String[] args){\n\t\t//入力ストリームの生成\n\t\tScanner sc = new Scanner(System.in);\n\t\t//数字を1つうけとる\n\t\tdouble dbr = sc.nextDouble();\n\t\t//mathクラスから円周率を変数dbensuuに入れる\n\t\tdouble dbensyuu = Math.PI;\n\t\t//結果表示\n\t\t//表示時、浮動小数は5桁までに設定して表示\n\t\tSystem.out.printf(\"%.5f %.5f\" , dbr * dbr * dbensyuu , (dbr + dbr) * dbensyuu);\n\t}\n}",
"Main",
"//プログラムのエントリポイント\n\tpublic static void main(String[] args){\n\t\t//入力ストリームの生成\n\t\tScanner sc = new Scanner(System.in);\n\t\t//数字を1つうけとる\n\t\tdouble dbr = sc.nextDouble();\n\t\t//mathクラスから円周率を変数dbensuuに入れる\n\t\tdouble dbensyuu = Math.PI;\n\t\t//結果表示\n\t\t//表示時、浮動小数は5桁までに設定して表示\n\t\tSystem.out.printf(\"%.5f %.5f\" , dbr * dbr * dbensyuu , (dbr + dbr) * dbensyuu);\n\t}",
"main",
"{\n\t\t//入力ストリームの生成\n\t\tScanner sc = new Scanner(System.in);\n\t\t//数字を1つうけとる\n\t\tdouble dbr = sc.nextDouble();\n\t\t//mathクラスから円周率を変数dbensuuに入れる\n\t\tdouble dbensyuu = Math.PI;\n\t\t//結果表示\n\t\t//表示時、浮動小数は5桁までに設定して表示\n\t\tSystem.out.printf(\"%.5f %.5f\" , dbr * dbr * dbensyuu , (dbr + dbr) * dbensyuu);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double dbr = sc.nextDouble();",
"dbr",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"double dbensyuu = Math.PI;",
"dbensyuu",
"Math.PI",
"Math",
"Math.PI",
"System.out.printf(\"%.5f %.5f\" , dbr * dbr * dbensyuu , (dbr + dbr) * dbensyuu)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.5f %.5f\"",
"dbr * dbr * dbensyuu",
"dbr * dbr * dbensyuu",
"dbr",
"dbr",
"dbensyuu",
"(dbr + dbr) * dbensyuu",
"(dbr + dbr)",
"dbr",
"dbr",
"dbensyuu",
"String[] args",
"args"
] | /** 半径 r の円の面積と円周の長さを求めるプログラムを作成して下さい。
*/
/*sucannerクラス使うためにインポート*/
import java.util.Scanner;
class Main{
//プログラムのエントリポイント
public static void main(String[] args){
//入力ストリームの生成
Scanner sc = new Scanner(System.in);
//数字を1つうけとる
double dbr = sc.nextDouble();
//mathクラスから円周率を変数dbensuuに入れる
double dbensyuu = Math.PI;
//結果表示
//表示時、浮動小数は5桁までに設定して表示
System.out.printf("%.5f %.5f" , dbr * dbr * dbensyuu , (dbr + dbr) * dbensyuu);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
13,
18,
13,
13,
41,
13,
2,
2,
17,
13,
18,
13,
13,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
17,
13,
17,
4,
18,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
20,
20
],
[
20,
21
],
[
20,
22
],
[
20,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
29,
29
],
[
29,
30
],
[
29,
31
],
[
29,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
42,
46
],
[
41,
47
],
[
41,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
48,
52
],
[
6,
53
],
[
53,
54
]
] | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n double a = r*r*Math.PI;\n double b = 2*r*Math.PI;\n System.out.println(String.format(\"%.5f\",a)+\" \"+String.format(\"%.5f\",b));\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n double a = r*r*Math.PI;\n double b = 2*r*Math.PI;\n System.out.println(String.format(\"%.5f\",a)+\" \"+String.format(\"%.5f\",b));\n }\n}",
"Main",
"public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n double a = r*r*Math.PI;\n double b = 2*r*Math.PI;\n System.out.println(String.format(\"%.5f\",a)+\" \"+String.format(\"%.5f\",b));\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n double a = r*r*Math.PI;\n double b = 2*r*Math.PI;\n System.out.println(String.format(\"%.5f\",a)+\" \"+String.format(\"%.5f\",b));\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double r = sc.nextDouble();",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"double a = r*r*Math.PI;",
"a",
"r*r*Math.PI",
"r*r*Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"double b = 2*r*Math.PI;",
"b",
"2*r*Math.PI",
"2*r*Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"System.out.println(String.format(\"%.5f\",a)+\" \"+String.format(\"%.5f\",b))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%.5f\",a)+\" \"+String.format(\"%.5f\",b)",
"String.format(\"%.5f\",a)+\" \"+String.format(\"%.5f\",b)",
"String.format(\"%.5f\",a)",
"String.format",
"String",
"\"%.5f\"",
"a",
"\" \"",
"String.format(\"%.5f\",b)",
"String.format",
"String",
"\"%.5f\"",
"b",
"String args[]",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
double r = sc.nextDouble();
double a = r*r*Math.PI;
double b = 2*r*Math.PI;
System.out.println(String.format("%.5f",a)+" "+String.format("%.5f",b));
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
4,
18,
13,
0,
13,
2,
2,
13,
13,
18,
13,
13,
0,
13,
2,
2,
17,
13,
18,
13,
13,
4,
18,
18,
13,
13,
17,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
4,
8
],
[
8,
9
],
[
4,
10
],
[
10,
11
],
[
4,
12
],
[
12,
13
],
[
4,
14
],
[
14,
15
],
[
4,
16
],
[
16,
17
],
[
4,
18
],
[
18,
19
],
[
4,
20
],
[
20,
21
],
[
4,
22
],
[
22,
23
],
[
4,
24
],
[
24,
25
],
[
4,
26
],
[
26,
27
],
[
4,
28
],
[
28,
29
],
[
4,
30
],
[
30,
31
],
[
4,
32
],
[
32,
33
],
[
4,
34
],
[
34,
35
],
[
4,
36
],
[
36,
37
],
[
4,
38
],
[
38,
39
],
[
4,
40
],
[
40,
41
],
[
4,
42
],
[
42,
43
],
[
4,
44
],
[
44,
45
],
[
4,
46
],
[
46,
47
],
[
4,
48
],
[
48,
49
],
[
4,
50
],
[
50,
51
],
[
4,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
54,
63
],
[
63,
64
],
[
63,
65
],
[
66,
66
],
[
66,
67
],
[
66,
68
],
[
66,
69
],
[
69,
70
],
[
69,
71
],
[
54,
72
],
[
72,
73
],
[
72,
74
],
[
75,
75
],
[
75,
76
],
[
75,
77
],
[
75,
78
],
[
78,
79
],
[
78,
80
],
[
54,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
81,
87
],
[
81,
88
],
[
52,
89
],
[
89,
90
]
] | [
"import java.util.*;\n\nclass Main{\n\tstatic int a;\n\tstatic int b;\n\tstatic int c;\n\tstatic int d;\n\tstatic int e;\n\tstatic int p;\n\tstatic double f;\n\tstatic int g;\n\tstatic int h;\n\tstatic int i;\n\tstatic int j;\n\tstatic int k;\n\tstatic int l;\n\tstatic int m;\n\tstatic int o;\n\tstatic int q;\n\tstatic double r;\n\tstatic int s;\n\tstatic int t;\n\tstatic int u;\n\tstatic double x;\n\tstatic double y;\n\tprivate static Scanner sc;\n\tpublic static void main(String[]agrs){\n\t\tsc=new Scanner(System.in);\n\t\tr =sc.nextDouble();\n\t\tx=r*r*(Math.PI);\n\t\ty=2*r*(Math.PI);\n\t\tSystem.out.printf(\"%f %f\",x,y);\n\t\t\n\t\t\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tstatic int a;\n\tstatic int b;\n\tstatic int c;\n\tstatic int d;\n\tstatic int e;\n\tstatic int p;\n\tstatic double f;\n\tstatic int g;\n\tstatic int h;\n\tstatic int i;\n\tstatic int j;\n\tstatic int k;\n\tstatic int l;\n\tstatic int m;\n\tstatic int o;\n\tstatic int q;\n\tstatic double r;\n\tstatic int s;\n\tstatic int t;\n\tstatic int u;\n\tstatic double x;\n\tstatic double y;\n\tprivate static Scanner sc;\n\tpublic static void main(String[]agrs){\n\t\tsc=new Scanner(System.in);\n\t\tr =sc.nextDouble();\n\t\tx=r*r*(Math.PI);\n\t\ty=2*r*(Math.PI);\n\t\tSystem.out.printf(\"%f %f\",x,y);\n\t\t\n\t\t\n\t}\n}",
"Main",
"static int a;",
"a",
"static int b;",
"b",
"static int c;",
"c",
"static int d;",
"d",
"static int e;",
"e",
"static int p;",
"p",
"static double f;",
"f",
"static int g;",
"g",
"static int h;",
"h",
"static int i;",
"i",
"static int j;",
"j",
"static int k;",
"k",
"static int l;",
"l",
"static int m;",
"m",
"static int o;",
"o",
"static int q;",
"q",
"static double r;",
"r",
"static int s;",
"s",
"static int t;",
"t",
"static int u;",
"u",
"static double x;",
"x",
"static double y;",
"y",
"private static Scanner sc;",
"sc",
"public static void main(String[]agrs){\n\t\tsc=new Scanner(System.in);\n\t\tr =sc.nextDouble();\n\t\tx=r*r*(Math.PI);\n\t\ty=2*r*(Math.PI);\n\t\tSystem.out.printf(\"%f %f\",x,y);\n\t\t\n\t\t\n\t}",
"main",
"{\n\t\tsc=new Scanner(System.in);\n\t\tr =sc.nextDouble();\n\t\tx=r*r*(Math.PI);\n\t\ty=2*r*(Math.PI);\n\t\tSystem.out.printf(\"%f %f\",x,y);\n\t\t\n\t\t\n\t}",
"sc=new Scanner(System.in)",
"sc",
"new Scanner(System.in)",
"r =sc.nextDouble()",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"x=r*r*(Math.PI)",
"x",
"r*r*(Math.PI)",
"r*r*(Math.PI)",
"r",
"r",
"(Math.PI)",
"Math",
"Math.PI",
"y=2*r*(Math.PI)",
"y",
"2*r*(Math.PI)",
"2*r*(Math.PI)",
"2",
"r",
"(Math.PI)",
"Math",
"Math.PI",
"System.out.printf(\"%f %f\",x,y)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f %f\"",
"x",
"y",
"String[]agrs",
"agrs"
] | import java.util.*;
class Main{
static int a;
static int b;
static int c;
static int d;
static int e;
static int p;
static double f;
static int g;
static int h;
static int i;
static int j;
static int k;
static int l;
static int m;
static int o;
static int q;
static double r;
static int s;
static int t;
static int u;
static double x;
static double y;
private static Scanner sc;
public static void main(String[]agrs){
sc=new Scanner(System.in);
r =sc.nextDouble();
x=r*r*(Math.PI);
y=2*r*(Math.PI);
System.out.printf("%f %f",x,y);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
13,
41,
13,
2,
2,
13,
13,
18,
13,
13,
41,
13,
2,
2,
17,
13,
18,
13,
13,
4,
18,
18,
13,
13,
17,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
23,
23
],
[
23,
24
],
[
23,
25
],
[
23,
26
],
[
26,
27
],
[
26,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
32,
32
],
[
32,
33
],
[
32,
34
],
[
32,
35
],
[
35,
36
],
[
35,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
38,
44
],
[
38,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n double a = scanner.nextDouble();\n double b=a;\n double menseki = b * b *Math.PI;\n double enshuu = 2*b*Math.PI;\n System.out.printf(\"%f %f\",menseki,enshuu);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n double a = scanner.nextDouble();\n double b=a;\n double menseki = b * b *Math.PI;\n double enshuu = 2*b*Math.PI;\n System.out.printf(\"%f %f\",menseki,enshuu);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n double a = scanner.nextDouble();\n double b=a;\n double menseki = b * b *Math.PI;\n double enshuu = 2*b*Math.PI;\n System.out.printf(\"%f %f\",menseki,enshuu);\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n double a = scanner.nextDouble();\n double b=a;\n double menseki = b * b *Math.PI;\n double enshuu = 2*b*Math.PI;\n System.out.printf(\"%f %f\",menseki,enshuu);\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"double a = scanner.nextDouble();",
"a",
"scanner.nextDouble()",
"scanner.nextDouble",
"scanner",
"double b=a;",
"b",
"a",
"double menseki = b * b *Math.PI;",
"menseki",
"b * b *Math.PI",
"b * b *Math.PI",
"b",
"b",
"Math.PI",
"Math",
"Math.PI",
"double enshuu = 2*b*Math.PI;",
"enshuu",
"2*b*Math.PI",
"2*b*Math.PI",
"2",
"b",
"Math.PI",
"Math",
"Math.PI",
"System.out.printf(\"%f %f\",menseki,enshuu)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f %f\"",
"menseki",
"enshuu",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n double a = scanner.nextDouble();\n double b=a;\n double menseki = b * b *Math.PI;\n double enshuu = 2*b*Math.PI;\n System.out.printf(\"%f %f\",menseki,enshuu);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n double a = scanner.nextDouble();\n double b=a;\n double menseki = b * b *Math.PI;\n double enshuu = 2*b*Math.PI;\n System.out.printf(\"%f %f\",menseki,enshuu);\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
double a = scanner.nextDouble();
double b=a;
double menseki = b * b *Math.PI;
double enshuu = 2*b*Math.PI;
System.out.printf("%f %f",menseki,enshuu);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
20,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
2,
2,
13,
13,
18,
13,
13,
17,
4,
18,
13,
2,
2,
17,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
57,
8
],
[
57,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
32,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
37,
37
],
[
37,
38
],
[
37,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
32,
43
],
[
32,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
48,
48
],
[
48,
49
],
[
48,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
9,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
] | [
"import java.text.DecimalFormat;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws java.io.IOException{\n Scanner sc = new Scanner(System.in);\n Double r = sc.nextDouble();\n sc.close();\n DecimalFormat df1 = new DecimalFormat(\"0.00000\");\n System.out.println(df1.format(r*r*Math.PI) + \" \" + df1.format(2*r*Math.PI));\n }\n}",
"import java.text.DecimalFormat;",
"DecimalFormat",
"java.text",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws java.io.IOException{\n Scanner sc = new Scanner(System.in);\n Double r = sc.nextDouble();\n sc.close();\n DecimalFormat df1 = new DecimalFormat(\"0.00000\");\n System.out.println(df1.format(r*r*Math.PI) + \" \" + df1.format(2*r*Math.PI));\n }\n}",
"Main",
"public static void main(String[] args) throws java.io.IOException{\n Scanner sc = new Scanner(System.in);\n Double r = sc.nextDouble();\n sc.close();\n DecimalFormat df1 = new DecimalFormat(\"0.00000\");\n System.out.println(df1.format(r*r*Math.PI) + \" \" + df1.format(2*r*Math.PI));\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n Double r = sc.nextDouble();\n sc.close();\n DecimalFormat df1 = new DecimalFormat(\"0.00000\");\n System.out.println(df1.format(r*r*Math.PI) + \" \" + df1.format(2*r*Math.PI));\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Double r = sc.nextDouble();",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"sc.close()",
"sc.close",
"sc",
"DecimalFormat df1 = new DecimalFormat(\"0.00000\");",
"df1",
"new DecimalFormat(\"0.00000\")",
"System.out.println(df1.format(r*r*Math.PI) + \" \" + df1.format(2*r*Math.PI))",
"System.out.println",
"System.out",
"System",
"System.out",
"df1.format(r*r*Math.PI) + \" \" + df1.format(2*r*Math.PI)",
"df1.format(r*r*Math.PI) + \" \" + df1.format(2*r*Math.PI)",
"df1.format(r*r*Math.PI)",
"df1.format",
"df1",
"r*r*Math.PI",
"r*r*Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"\" \"",
"df1.format(2*r*Math.PI)",
"df1.format",
"df1",
"2*r*Math.PI",
"2*r*Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws java.io.IOException{\n Scanner sc = new Scanner(System.in);\n Double r = sc.nextDouble();\n sc.close();\n DecimalFormat df1 = new DecimalFormat(\"0.00000\");\n System.out.println(df1.format(r*r*Math.PI) + \" \" + df1.format(2*r*Math.PI));\n }\n}",
"public class Main {\n public static void main(String[] args) throws java.io.IOException{\n Scanner sc = new Scanner(System.in);\n Double r = sc.nextDouble();\n sc.close();\n DecimalFormat df1 = new DecimalFormat(\"0.00000\");\n System.out.println(df1.format(r*r*Math.PI) + \" \" + df1.format(2*r*Math.PI));\n }\n}",
"Main"
] | import java.text.DecimalFormat;
import java.util.*;
public class Main {
public static void main(String[] args) throws java.io.IOException{
Scanner sc = new Scanner(System.in);
Double r = sc.nextDouble();
sc.close();
DecimalFormat df1 = new DecimalFormat("0.00000");
System.out.println(df1.format(r*r*Math.PI) + " " + df1.format(2*r*Math.PI));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
2,
17,
13,
18,
13,
13,
41,
13,
2,
2,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
17,
13,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
29,
29
],
[
29,
30
],
[
29,
31
],
[
29,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
35,
41
],
[
35,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
6,
46
],
[
46,
47
]
] | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n double r = sc.nextDouble();\n double x = (2*r)*Math.PI;\n double y = r*r*Math.PI;\n \n System.out.printf(\"%.6f %.6f\\n\",y,x);\n sc.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n double r = sc.nextDouble();\n double x = (2*r)*Math.PI;\n double y = r*r*Math.PI;\n \n System.out.printf(\"%.6f %.6f\\n\",y,x);\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n double r = sc.nextDouble();\n double x = (2*r)*Math.PI;\n double y = r*r*Math.PI;\n \n System.out.printf(\"%.6f %.6f\\n\",y,x);\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n double r = sc.nextDouble();\n double x = (2*r)*Math.PI;\n double y = r*r*Math.PI;\n \n System.out.printf(\"%.6f %.6f\\n\",y,x);\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double r = sc.nextDouble();",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"double x = (2*r)*Math.PI;",
"x",
"(2*r)*Math.PI",
"(2*r)",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"double y = r*r*Math.PI;",
"y",
"r*r*Math.PI",
"r*r*Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"System.out.printf(\"%.6f %.6f\\n\",y,x)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f %.6f\\n\"",
"y",
"x",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
double r = sc.nextDouble();
double x = (2*r)*Math.PI;
double y = r*r*Math.PI;
System.out.printf("%.6f %.6f\n",y,x);
sc.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
2,
4,
18,
13,
2,
2,
13,
13,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
2,
2,
17,
13,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
27,
29
],
[
20,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
20,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
20,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
54,
54
],
[
54,
55
],
[
54,
56
],
[
54,
57
],
[
57,
58
],
[
57,
59
],
[
49,
60
],
[
20,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
70,
70
],
[
70,
71
],
[
70,
72
],
[
70,
73
],
[
73,
74
],
[
73,
75
],
[
18,
76
],
[
76,
77
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.text.DecimalFormat;\nimport java.util.ArrayList;\n\n\nclass Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tDecimalFormat df1 = new DecimalFormat(\"0.000000\");\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s = new String(in.readLine());\n\t\tString[] ss = s.split(\" \");\n\t\tdouble a = Double.parseDouble(ss[0]);\n\t\tSystem.out.print(df1.format((double)a*(double)a*Math.PI)+ \" \");\n\t\tSystem.out.println(df1.format(2*(double)a*Math.PI));\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.text.DecimalFormat;",
"DecimalFormat",
"java.text",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tDecimalFormat df1 = new DecimalFormat(\"0.000000\");\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s = new String(in.readLine());\n\t\tString[] ss = s.split(\" \");\n\t\tdouble a = Double.parseDouble(ss[0]);\n\t\tSystem.out.print(df1.format((double)a*(double)a*Math.PI)+ \" \");\n\t\tSystem.out.println(df1.format(2*(double)a*Math.PI));\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tDecimalFormat df1 = new DecimalFormat(\"0.000000\");\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s = new String(in.readLine());\n\t\tString[] ss = s.split(\" \");\n\t\tdouble a = Double.parseDouble(ss[0]);\n\t\tSystem.out.print(df1.format((double)a*(double)a*Math.PI)+ \" \");\n\t\tSystem.out.println(df1.format(2*(double)a*Math.PI));\n\t}",
"main",
"{\n\t\tDecimalFormat df1 = new DecimalFormat(\"0.000000\");\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s = new String(in.readLine());\n\t\tString[] ss = s.split(\" \");\n\t\tdouble a = Double.parseDouble(ss[0]);\n\t\tSystem.out.print(df1.format((double)a*(double)a*Math.PI)+ \" \");\n\t\tSystem.out.println(df1.format(2*(double)a*Math.PI));\n\t}",
"DecimalFormat df1 = new DecimalFormat(\"0.000000\");",
"df1",
"new DecimalFormat(\"0.000000\")",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"String s = new String(in.readLine());",
"s",
"new String(in.readLine())",
"String[] ss = s.split(\" \");",
"ss",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"double a = Double.parseDouble(ss[0]);",
"a",
"Double.parseDouble(ss[0])",
"Double.parseDouble",
"Double",
"ss[0]",
"ss",
"0",
"System.out.print(df1.format((double)a*(double)a*Math.PI)+ \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"df1.format((double)a*(double)a*Math.PI)+ \" \"",
"df1.format((double)a*(double)a*Math.PI)",
"df1.format",
"df1",
"(double)a*(double)a*Math.PI",
"(double)a*(double)a*Math.PI",
"(double)a",
"(double)a",
"Math.PI",
"Math",
"Math.PI",
"\" \"",
"System.out.println(df1.format(2*(double)a*Math.PI))",
"System.out.println",
"System.out",
"System",
"System.out",
"df1.format(2*(double)a*Math.PI)",
"df1.format",
"df1",
"2*(double)a*Math.PI",
"2*(double)a*Math.PI",
"2",
"(double)a",
"Math.PI",
"Math",
"Math.PI",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.text.DecimalFormat;
import java.util.ArrayList;
class Main {
public static void main(String[] args) throws IOException {
DecimalFormat df1 = new DecimalFormat("0.000000");
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String s = new String(in.readLine());
String[] ss = s.split(" ");
double a = Double.parseDouble(ss[0]);
System.out.print(df1.format((double)a*(double)a*Math.PI)+ " ");
System.out.println(df1.format(2*(double)a*Math.PI));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
4,
13,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
17,
2,
2,
13,
13,
18,
13,
13,
2,
2,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
50,
5
],
[
50,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
6,
17
],
[
17,
18
],
[
50,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
27,
33
],
[
34,
34
],
[
34,
35
],
[
34,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
27,
40
],
[
41,
41
],
[
41,
42
],
[
41,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
19,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n final double r = in.nextDouble();\n System.out.printf(\"%.5f %.5f\\n\", r * r * Math.PI, r * 2 * Math.PI);\n // System.out.printf(\"%f %f\\n\", r * r * Math.PI, r * 2 * Math.PI);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n final double r = in.nextDouble();\n System.out.printf(\"%.5f %.5f\\n\", r * r * Math.PI, r * 2 * Math.PI);\n // System.out.printf(\"%f %f\\n\", r * r * Math.PI, r * 2 * Math.PI);\n }\n}",
"Main",
"public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }",
"main",
"{\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }",
"try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }",
"{\n solve(in);\n }",
"Scanner in = new Scanner(System.in)",
"Scanner in = new Scanner(System.in)",
"new Scanner(System.in)",
"solve(in)",
"solve",
"in",
"String[] args",
"args",
"private static void solve(Scanner in) {\n final double r = in.nextDouble();\n System.out.printf(\"%.5f %.5f\\n\", r * r * Math.PI, r * 2 * Math.PI);\n // System.out.printf(\"%f %f\\n\", r * r * Math.PI, r * 2 * Math.PI);\n }",
"solve",
"{\n final double r = in.nextDouble();\n System.out.printf(\"%.5f %.5f\\n\", r * r * Math.PI, r * 2 * Math.PI);\n // System.out.printf(\"%f %f\\n\", r * r * Math.PI, r * 2 * Math.PI);\n }",
"final double r = in.nextDouble();",
"r",
"in.nextDouble()",
"in.nextDouble",
"in",
"System.out.printf(\"%.5f %.5f\\n\", r * r * Math.PI, r * 2 * Math.PI)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.5f %.5f\\n\"",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"r * 2 * Math.PI",
"r * 2 * Math.PI",
"r",
"2",
"Math.PI",
"Math",
"Math.PI",
"Scanner in",
"in",
"public class Main {\n\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n final double r = in.nextDouble();\n System.out.printf(\"%.5f %.5f\\n\", r * r * Math.PI, r * 2 * Math.PI);\n // System.out.printf(\"%f %f\\n\", r * r * Math.PI, r * 2 * Math.PI);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n final double r = in.nextDouble();\n System.out.printf(\"%.5f %.5f\\n\", r * r * Math.PI, r * 2 * Math.PI);\n // System.out.printf(\"%f %f\\n\", r * r * Math.PI, r * 2 * Math.PI);\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner in = new Scanner(System.in)) {
solve(in);
}
}
private static void solve(Scanner in) {
final double r = in.nextDouble();
System.out.printf("%.5f %.5f\n", r * r * Math.PI, r * 2 * Math.PI);
// System.out.printf("%f %f\n", r * r * Math.PI, r * 2 * Math.PI);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
17,
2,
2,
13,
13,
18,
13,
13,
2,
2,
17,
13,
18,
13,
13,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
55,
8
],
[
55,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
11,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
26,
32
],
[
33,
33
],
[
33,
34
],
[
33,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
26,
39
],
[
40,
40
],
[
40,
41
],
[
40,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
11,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
9,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n \n double r = Double.parseDouble(line);\n \n System.out.printf(\"%.6f %.6f\", r * r * Math.PI, 2 * r * Math.PI);\n System.out.println(\"\");\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n \n double r = Double.parseDouble(line);\n \n System.out.printf(\"%.6f %.6f\", r * r * Math.PI, 2 * r * Math.PI);\n System.out.println(\"\");\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n \n double r = Double.parseDouble(line);\n \n System.out.printf(\"%.6f %.6f\", r * r * Math.PI, 2 * r * Math.PI);\n System.out.println(\"\");\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n \n double r = Double.parseDouble(line);\n \n System.out.printf(\"%.6f %.6f\", r * r * Math.PI, 2 * r * Math.PI);\n System.out.println(\"\");\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"double r = Double.parseDouble(line);",
"r",
"Double.parseDouble(line)",
"Double.parseDouble",
"Double",
"line",
"System.out.printf(\"%.6f %.6f\", r * r * Math.PI, 2 * r * Math.PI)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f %.6f\"",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"2 * r * Math.PI",
"2 * r * Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n \n double r = Double.parseDouble(line);\n \n System.out.printf(\"%.6f %.6f\", r * r * Math.PI, 2 * r * Math.PI);\n System.out.println(\"\");\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n \n double r = Double.parseDouble(line);\n \n System.out.printf(\"%.6f %.6f\", r * r * Math.PI, 2 * r * Math.PI);\n System.out.println(\"\");\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = br.readLine();
double r = Double.parseDouble(line);
System.out.printf("%.6f %.6f", r * r * Math.PI, 2 * r * Math.PI);
System.out.println("");
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
4,
18,
13,
17,
2,
2,
2,
17,
13,
13,
13,
41,
13,
4,
18,
13,
17,
2,
2,
13,
17,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
57,
5
],
[
57,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
22,
26
],
[
28,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
28,
32
],
[
8,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
35,
39
],
[
40,
40
],
[
40,
41
],
[
40,
42
],
[
40,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
50,
50
],
[
50,
51
],
[
50,
52
],
[
50,
53
],
[
6,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t Scanner sc = new Scanner(System.in);\n\t\t double r = sc.nextDouble();\n\t\t double pi = 3.141592653589;\n\t\t String area = String.format(\"%.6f\", 1.0*r*r*pi);\n\t\t String circle = String.format(\"%.6f\", r*2*pi);\n\t\t System.out.println(area + \" \" + circle);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t Scanner sc = new Scanner(System.in);\n\t\t double r = sc.nextDouble();\n\t\t double pi = 3.141592653589;\n\t\t String area = String.format(\"%.6f\", 1.0*r*r*pi);\n\t\t String circle = String.format(\"%.6f\", r*2*pi);\n\t\t System.out.println(area + \" \" + circle);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t Scanner sc = new Scanner(System.in);\n\t\t double r = sc.nextDouble();\n\t\t double pi = 3.141592653589;\n\t\t String area = String.format(\"%.6f\", 1.0*r*r*pi);\n\t\t String circle = String.format(\"%.6f\", r*2*pi);\n\t\t System.out.println(area + \" \" + circle);\n\t}",
"main",
"{\n\t\t Scanner sc = new Scanner(System.in);\n\t\t double r = sc.nextDouble();\n\t\t double pi = 3.141592653589;\n\t\t String area = String.format(\"%.6f\", 1.0*r*r*pi);\n\t\t String circle = String.format(\"%.6f\", r*2*pi);\n\t\t System.out.println(area + \" \" + circle);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double r = sc.nextDouble();",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"double pi = 3.141592653589;",
"pi",
"3.141592653589",
"String area = String.format(\"%.6f\", 1.0*r*r*pi);",
"area",
"String.format(\"%.6f\", 1.0*r*r*pi)",
"String.format",
"String",
"\"%.6f\"",
"1.0*r*r*pi",
"r",
"1.0*r*r*pi",
"1.0",
"r",
"r",
"pi",
"String circle = String.format(\"%.6f\", r*2*pi);",
"circle",
"String.format(\"%.6f\", r*2*pi)",
"String.format",
"String",
"\"%.6f\"",
"r*2*pi",
"r*2*pi",
"r",
"2",
"pi",
"System.out.println(area + \" \" + circle)",
"System.out.println",
"System.out",
"System",
"System.out",
"area + \" \" + circle",
"area + \" \" + circle",
"area",
"\" \"",
"circle",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t Scanner sc = new Scanner(System.in);\n\t\t double r = sc.nextDouble();\n\t\t double pi = 3.141592653589;\n\t\t String area = String.format(\"%.6f\", 1.0*r*r*pi);\n\t\t String circle = String.format(\"%.6f\", r*2*pi);\n\t\t System.out.println(area + \" \" + circle);\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t Scanner sc = new Scanner(System.in);\n\t\t double r = sc.nextDouble();\n\t\t double pi = 3.141592653589;\n\t\t String area = String.format(\"%.6f\", 1.0*r*r*pi);\n\t\t String circle = String.format(\"%.6f\", r*2*pi);\n\t\t System.out.println(area + \" \" + circle);\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double r = sc.nextDouble();
double pi = 3.141592653589;
String area = String.format("%.6f", 1.0*r*r*pi);
String circle = String.format("%.6f", r*2*pi);
System.out.println(area + " " + circle);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
2,
2,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
17,
2,
2,
13,
13,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
61,
5
],
[
61,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
22,
26
],
[
27,
27
],
[
27,
28
],
[
27,
29
],
[
27,
30
],
[
30,
31
],
[
30,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
8,
55
],
[
55,
56
],
[
56,
57
],
[
6,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
] | [
"import java.util.Scanner;\n\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\t\n\t\tSystem.out.print(String.format(\"%.6f\", r * r * Math.PI ));\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.println(String.format(\"%.6f\",(r + r) * Math.PI));\n\t\t\n\t\tsc.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\t\n\t\tSystem.out.print(String.format(\"%.6f\", r * r * Math.PI ));\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.println(String.format(\"%.6f\",(r + r) * Math.PI));\n\t\t\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\t\n\t\tSystem.out.print(String.format(\"%.6f\", r * r * Math.PI ));\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.println(String.format(\"%.6f\",(r + r) * Math.PI));\n\t\t\n\t\tsc.close();\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\t\n\t\tSystem.out.print(String.format(\"%.6f\", r * r * Math.PI ));\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.println(String.format(\"%.6f\",(r + r) * Math.PI));\n\t\t\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double r = sc.nextDouble();",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"System.out.print(String.format(\"%.6f\", r * r * Math.PI ))",
"System.out.print",
"System.out",
"System",
"System.out",
"String.format(\"%.6f\", r * r * Math.PI )",
"String.format",
"String",
"\"%.6f\"",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println(String.format(\"%.6f\",(r + r) * Math.PI))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%.6f\",(r + r) * Math.PI)",
"String.format",
"String",
"\"%.6f\"",
"(r + r) * Math.PI",
"(r + r)",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\t\n\t\tSystem.out.print(String.format(\"%.6f\", r * r * Math.PI ));\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.println(String.format(\"%.6f\",(r + r) * Math.PI));\n\t\t\n\t\tsc.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\t\n\t\tSystem.out.print(String.format(\"%.6f\", r * r * Math.PI ));\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.println(String.format(\"%.6f\",(r + r) * Math.PI));\n\t\t\n\t\tsc.close();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner sc = new Scanner(System.in);
double r = sc.nextDouble();
System.out.print(String.format("%.6f", r * r * Math.PI ));
System.out.print(" ");
System.out.println(String.format("%.6f",(r + r) * Math.PI));
sc.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
2,
17,
13,
2,
13,
17,
30,
41,
13,
2,
2,
13,
13,
18,
13,
13,
41,
13,
2,
2,
13,
17,
18,
13,
13,
4,
18,
18,
13,
13,
17,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
64,
11
],
[
64,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
34,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
34,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
53,
59
],
[
53,
60
],
[
12,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tdouble r = Double.parseDouble(br.readLine());\n\t\tif((0 < r) && (r <= 10000)){\n\t\t\tdouble f = ((double)(r * r)*Math.PI);\n\t\t\tdouble d = ((double)(r * 2)*Math.PI);\n\n\t\t\tSystem.out.printf(\"%1.6f %1.6f\",f , d);\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tdouble r = Double.parseDouble(br.readLine());\n\t\tif((0 < r) && (r <= 10000)){\n\t\t\tdouble f = ((double)(r * r)*Math.PI);\n\t\t\tdouble d = ((double)(r * 2)*Math.PI);\n\n\t\t\tSystem.out.printf(\"%1.6f %1.6f\",f , d);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tdouble r = Double.parseDouble(br.readLine());\n\t\tif((0 < r) && (r <= 10000)){\n\t\t\tdouble f = ((double)(r * r)*Math.PI);\n\t\t\tdouble d = ((double)(r * 2)*Math.PI);\n\n\t\t\tSystem.out.printf(\"%1.6f %1.6f\",f , d);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tdouble r = Double.parseDouble(br.readLine());\n\t\tif((0 < r) && (r <= 10000)){\n\t\t\tdouble f = ((double)(r * r)*Math.PI);\n\t\t\tdouble d = ((double)(r * 2)*Math.PI);\n\n\t\t\tSystem.out.printf(\"%1.6f %1.6f\",f , d);\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"double r = Double.parseDouble(br.readLine());",
"r",
"Double.parseDouble(br.readLine())",
"Double.parseDouble",
"Double",
"br.readLine()",
"br.readLine",
"br",
"if((0 < r) && (r <= 10000)){\n\t\t\tdouble f = ((double)(r * r)*Math.PI);\n\t\t\tdouble d = ((double)(r * 2)*Math.PI);\n\n\t\t\tSystem.out.printf(\"%1.6f %1.6f\",f , d);\n\t\t}",
"(0 < r) && (r <= 10000)",
"(0 < r)",
"0",
"r",
"(r <= 10000)",
"r",
"10000",
"{\n\t\t\tdouble f = ((double)(r * r)*Math.PI);\n\t\t\tdouble d = ((double)(r * 2)*Math.PI);\n\n\t\t\tSystem.out.printf(\"%1.6f %1.6f\",f , d);\n\t\t}",
"double f = ((double)(r * r)*Math.PI);",
"f",
"((double)(r * r)*Math.PI)",
"(double)(r * r)",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"double d = ((double)(r * 2)*Math.PI);",
"d",
"((double)(r * 2)*Math.PI)",
"(double)(r * 2)",
"r",
"2",
"Math.PI",
"Math",
"Math.PI",
"System.out.printf(\"%1.6f %1.6f\",f , d)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%1.6f %1.6f\"",
"f",
"d",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tdouble r = Double.parseDouble(br.readLine());\n\t\tif((0 < r) && (r <= 10000)){\n\t\t\tdouble f = ((double)(r * r)*Math.PI);\n\t\t\tdouble d = ((double)(r * 2)*Math.PI);\n\n\t\t\tSystem.out.printf(\"%1.6f %1.6f\",f , d);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tdouble r = Double.parseDouble(br.readLine());\n\t\tif((0 < r) && (r <= 10000)){\n\t\t\tdouble f = ((double)(r * r)*Math.PI);\n\t\t\tdouble d = ((double)(r * 2)*Math.PI);\n\n\t\t\tSystem.out.printf(\"%1.6f %1.6f\",f , d);\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args)throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
double r = Double.parseDouble(br.readLine());
if((0 < r) && (r <= 10000)){
double f = ((double)(r * r)*Math.PI);
double d = ((double)(r * 2)*Math.PI);
System.out.printf("%1.6f %1.6f",f , d);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
13,
41,
13,
20,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
13,
4,
18,
13,
17,
18,
13,
13,
4,
18,
13,
17,
18,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
2,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
84,
8
],
[
84,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
11,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
11,
38
],
[
38,
39
],
[
38,
40
],
[
11,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
11,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
11,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
11,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
11,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
11,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
78,
80
],
[
9,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
] | [
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] arges) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\n\t\tBigDecimal r = new BigDecimal(line);\n\t\tBigDecimal p = new BigDecimal(Math.PI);\n\t\tBigDecimal c = r.multiply(r);\n\t\tBigDecimal m = c.multiply(p);\n\n\t\tBigDecimal two = new BigDecimal(\"2\");\n\t\tBigDecimal d = r.multiply(two);\n\t\tBigDecimal s= d.multiply(p);\n\n\t\tm.setScale(7, BigDecimal.ROUND_DOWN);\n\t\ts.setScale(7, BigDecimal.ROUND_DOWN);\n\t\tSystem.out.print(m);System.out.println(\" \"+s);\n\t}\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] arges) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\n\t\tBigDecimal r = new BigDecimal(line);\n\t\tBigDecimal p = new BigDecimal(Math.PI);\n\t\tBigDecimal c = r.multiply(r);\n\t\tBigDecimal m = c.multiply(p);\n\n\t\tBigDecimal two = new BigDecimal(\"2\");\n\t\tBigDecimal d = r.multiply(two);\n\t\tBigDecimal s= d.multiply(p);\n\n\t\tm.setScale(7, BigDecimal.ROUND_DOWN);\n\t\ts.setScale(7, BigDecimal.ROUND_DOWN);\n\t\tSystem.out.print(m);System.out.println(\" \"+s);\n\t}\n}",
"Main",
"public static void main(String[] arges) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\n\t\tBigDecimal r = new BigDecimal(line);\n\t\tBigDecimal p = new BigDecimal(Math.PI);\n\t\tBigDecimal c = r.multiply(r);\n\t\tBigDecimal m = c.multiply(p);\n\n\t\tBigDecimal two = new BigDecimal(\"2\");\n\t\tBigDecimal d = r.multiply(two);\n\t\tBigDecimal s= d.multiply(p);\n\n\t\tm.setScale(7, BigDecimal.ROUND_DOWN);\n\t\ts.setScale(7, BigDecimal.ROUND_DOWN);\n\t\tSystem.out.print(m);System.out.println(\" \"+s);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\n\t\tBigDecimal r = new BigDecimal(line);\n\t\tBigDecimal p = new BigDecimal(Math.PI);\n\t\tBigDecimal c = r.multiply(r);\n\t\tBigDecimal m = c.multiply(p);\n\n\t\tBigDecimal two = new BigDecimal(\"2\");\n\t\tBigDecimal d = r.multiply(two);\n\t\tBigDecimal s= d.multiply(p);\n\n\t\tm.setScale(7, BigDecimal.ROUND_DOWN);\n\t\ts.setScale(7, BigDecimal.ROUND_DOWN);\n\t\tSystem.out.print(m);System.out.println(\" \"+s);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String line = sc.nextLine();",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"BigDecimal r = new BigDecimal(line);",
"r",
"new BigDecimal(line)",
"BigDecimal p = new BigDecimal(Math.PI);",
"p",
"new BigDecimal(Math.PI)",
"BigDecimal c = r.multiply(r);",
"c",
"r.multiply(r)",
"r.multiply",
"r",
"r",
"BigDecimal m = c.multiply(p);",
"m",
"c.multiply(p)",
"c.multiply",
"c",
"p",
"BigDecimal two = new BigDecimal(\"2\");",
"two",
"new BigDecimal(\"2\")",
"BigDecimal d = r.multiply(two);",
"d",
"r.multiply(two)",
"r.multiply",
"r",
"two",
"BigDecimal s= d.multiply(p);",
"s",
"d.multiply(p)",
"d.multiply",
"d",
"p",
"m.setScale(7, BigDecimal.ROUND_DOWN)",
"m.setScale",
"m",
"7",
"BigDecimal.ROUND_DOWN",
"BigDecimal",
"BigDecimal.ROUND_DOWN",
"s.setScale(7, BigDecimal.ROUND_DOWN)",
"s.setScale",
"s",
"7",
"BigDecimal.ROUND_DOWN",
"BigDecimal",
"BigDecimal.ROUND_DOWN",
"System.out.print(m)",
"System.out.print",
"System.out",
"System",
"System.out",
"m",
"System.out.println(\" \"+s)",
"System.out.println",
"System.out",
"System",
"System.out",
"\" \"+s",
"\" \"",
"s",
"String[] arges",
"arges",
"public class Main {\n\n\tpublic static void main(String[] arges) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\n\t\tBigDecimal r = new BigDecimal(line);\n\t\tBigDecimal p = new BigDecimal(Math.PI);\n\t\tBigDecimal c = r.multiply(r);\n\t\tBigDecimal m = c.multiply(p);\n\n\t\tBigDecimal two = new BigDecimal(\"2\");\n\t\tBigDecimal d = r.multiply(two);\n\t\tBigDecimal s= d.multiply(p);\n\n\t\tm.setScale(7, BigDecimal.ROUND_DOWN);\n\t\ts.setScale(7, BigDecimal.ROUND_DOWN);\n\t\tSystem.out.print(m);System.out.println(\" \"+s);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] arges) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\n\t\tBigDecimal r = new BigDecimal(line);\n\t\tBigDecimal p = new BigDecimal(Math.PI);\n\t\tBigDecimal c = r.multiply(r);\n\t\tBigDecimal m = c.multiply(p);\n\n\t\tBigDecimal two = new BigDecimal(\"2\");\n\t\tBigDecimal d = r.multiply(two);\n\t\tBigDecimal s= d.multiply(p);\n\n\t\tm.setScale(7, BigDecimal.ROUND_DOWN);\n\t\ts.setScale(7, BigDecimal.ROUND_DOWN);\n\t\tSystem.out.print(m);System.out.println(\" \"+s);\n\t}\n}",
"Main"
] | import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] arges) {
Scanner sc = new Scanner(System.in);
String line = sc.nextLine();
BigDecimal r = new BigDecimal(line);
BigDecimal p = new BigDecimal(Math.PI);
BigDecimal c = r.multiply(r);
BigDecimal m = c.multiply(p);
BigDecimal two = new BigDecimal("2");
BigDecimal d = r.multiply(two);
BigDecimal s= d.multiply(p);
m.setScale(7, BigDecimal.ROUND_DOWN);
s.setScale(7, BigDecimal.ROUND_DOWN);
System.out.print(m);System.out.println(" "+s);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
4,
13,
40,
13,
13,
4,
18,
13,
17,
23,
13,
12,
13,
30,
41,
13,
2,
2,
17,
13,
18,
13,
13,
41,
13,
2,
2,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
17,
13,
13,
23,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
91,
11
],
[
91,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
14,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
31,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
31,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
46,
50
],
[
14,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
12,
55
],
[
55,
56
],
[
91,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
63,
63
],
[
63,
64
],
[
63,
65
],
[
63,
66
],
[
66,
67
],
[
66,
68
],
[
59,
69
],
[
69,
70
],
[
69,
71
],
[
72,
72
],
[
72,
73
],
[
72,
74
],
[
72,
75
],
[
75,
76
],
[
75,
77
],
[
59,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
78,
84
],
[
78,
85
],
[
57,
86
],
[
86,
87
],
[
57,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tString[] se = s.split(\" \");\n\t\t\tDouble in1 = Double.valueOf(se[0]);\n\t\t\tdoMain(++inCnt, in1);\n\t\t}\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static void doMain(int inCnt, Double in1) {\n\t\tDouble a = 2 * in1 * Math.PI;\n\t\tDouble b = in1 * in1 * Math.PI;\n\t\tSystem.out.printf(\"%f %f\\n\", b, a);\n\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tString[] se = s.split(\" \");\n\t\t\tDouble in1 = Double.valueOf(se[0]);\n\t\t\tdoMain(++inCnt, in1);\n\t\t}\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static void doMain(int inCnt, Double in1) {\n\t\tDouble a = 2 * in1 * Math.PI;\n\t\tDouble b = in1 * in1 * Math.PI;\n\t\tSystem.out.printf(\"%f %f\\n\", b, a);\n\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tString[] se = s.split(\" \");\n\t\t\tDouble in1 = Double.valueOf(se[0]);\n\t\t\tdoMain(++inCnt, in1);\n\t\t}\n\t\tSystem.exit(0);\n\t}",
"main",
"{\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tString[] se = s.split(\" \");\n\t\t\tDouble in1 = Double.valueOf(se[0]);\n\t\t\tdoMain(++inCnt, in1);\n\t\t}\n\t\tSystem.exit(0);\n\t}",
"BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));",
"stdIn",
"new BufferedReader(new InputStreamReader(System.in))",
"String s;",
"s",
"int inCnt = 0;",
"inCnt",
"0",
"while ((s = stdIn.readLine()) != null) {\n\t\t\tString[] se = s.split(\" \");\n\t\t\tDouble in1 = Double.valueOf(se[0]);\n\t\t\tdoMain(++inCnt, in1);\n\t\t}",
"(s = stdIn.readLine()) != null",
"(s = stdIn.readLine())",
"s",
"stdIn.readLine()",
"stdIn.readLine",
"stdIn",
"null",
"{\n\t\t\tString[] se = s.split(\" \");\n\t\t\tDouble in1 = Double.valueOf(se[0]);\n\t\t\tdoMain(++inCnt, in1);\n\t\t}",
"String[] se = s.split(\" \");",
"se",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"Double in1 = Double.valueOf(se[0]);",
"in1",
"Double.valueOf(se[0])",
"Double.valueOf",
"Double",
"se[0]",
"se",
"0",
"doMain(++inCnt, in1)",
"doMain",
"++inCnt",
"inCnt",
"in1",
"System.exit(0)",
"System.exit",
"System",
"0",
"String[] args",
"args",
"private static void doMain(int inCnt, Double in1) {\n\t\tDouble a = 2 * in1 * Math.PI;\n\t\tDouble b = in1 * in1 * Math.PI;\n\t\tSystem.out.printf(\"%f %f\\n\", b, a);\n\n\t}",
"doMain",
"{\n\t\tDouble a = 2 * in1 * Math.PI;\n\t\tDouble b = in1 * in1 * Math.PI;\n\t\tSystem.out.printf(\"%f %f\\n\", b, a);\n\n\t}",
"Double a = 2 * in1 * Math.PI;",
"a",
"2 * in1 * Math.PI",
"2 * in1 * Math.PI",
"2",
"in1",
"Math.PI",
"Math",
"Math.PI",
"Double b = in1 * in1 * Math.PI;",
"b",
"in1 * in1 * Math.PI",
"in1 * in1 * Math.PI",
"in1",
"in1",
"Math.PI",
"Math",
"Math.PI",
"System.out.printf(\"%f %f\\n\", b, a)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f %f\\n\"",
"b",
"a",
"int inCnt",
"inCnt",
"Double in1",
"in1",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tString[] se = s.split(\" \");\n\t\t\tDouble in1 = Double.valueOf(se[0]);\n\t\t\tdoMain(++inCnt, in1);\n\t\t}\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static void doMain(int inCnt, Double in1) {\n\t\tDouble a = 2 * in1 * Math.PI;\n\t\tDouble b = in1 * in1 * Math.PI;\n\t\tSystem.out.printf(\"%f %f\\n\", b, a);\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tString[] se = s.split(\" \");\n\t\t\tDouble in1 = Double.valueOf(se[0]);\n\t\t\tdoMain(++inCnt, in1);\n\t\t}\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static void doMain(int inCnt, Double in1) {\n\t\tDouble a = 2 * in1 * Math.PI;\n\t\tDouble b = in1 * in1 * Math.PI;\n\t\tSystem.out.printf(\"%f %f\\n\", b, a);\n\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));
String s;
int inCnt = 0;
while ((s = stdIn.readLine()) != null) {
String[] se = s.split(" ");
Double in1 = Double.valueOf(se[0]);
doMain(++inCnt, in1);
}
System.exit(0);
}
private static void doMain(int inCnt, Double in1) {
Double a = 2 * in1 * Math.PI;
Double b = in1 * in1 * Math.PI;
System.out.printf("%f %f\n", b, a);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
18,
13,
13,
2,
17,
13,
30,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
13,
17,
41,
13,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
17,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
15,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
33,
35
],
[
36,
36
],
[
36,
37
],
[
36,
38
],
[
36,
39
],
[
27,
40
],
[
40,
41
],
[
40,
42
],
[
43,
43
],
[
43,
44
],
[
43,
45
],
[
43,
46
],
[
27,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
47,
53
],
[
47,
54
],
[
9,
55
],
[
55,
56
]
] | [
"import java.util.Scanner;\nimport java.util.InputMismatchException;\n\n\nclass Main{\npublic static void main(String[] args){\nScanner scan =new Scanner(System.in);\ntry{\ndouble r=scan.nextDouble();\ndouble a=r*r*3.141592653589;\ndouble b=r*2.00000000*3.141592653589;\nSystem.out.printf(\"%f %f\\n\",a,b);\n}catch (InputMismatchException e){\n System.out.println(\"?????????????????????\" + e);\n }\n\n}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"class Main{\npublic static void main(String[] args){\nScanner scan =new Scanner(System.in);\ntry{\ndouble r=scan.nextDouble();\ndouble a=r*r*3.141592653589;\ndouble b=r*2.00000000*3.141592653589;\nSystem.out.printf(\"%f %f\\n\",a,b);\n}catch (InputMismatchException e){\n System.out.println(\"?????????????????????\" + e);\n }\n\n}\n}",
"Main",
"public static void main(String[] args){\nScanner scan =new Scanner(System.in);\ntry{\ndouble r=scan.nextDouble();\ndouble a=r*r*3.141592653589;\ndouble b=r*2.00000000*3.141592653589;\nSystem.out.printf(\"%f %f\\n\",a,b);\n}catch (InputMismatchException e){\n System.out.println(\"?????????????????????\" + e);\n }\n\n}",
"main",
"{\nScanner scan =new Scanner(System.in);\ntry{\ndouble r=scan.nextDouble();\ndouble a=r*r*3.141592653589;\ndouble b=r*2.00000000*3.141592653589;\nSystem.out.printf(\"%f %f\\n\",a,b);\n}catch (InputMismatchException e){\n System.out.println(\"?????????????????????\" + e);\n }\n\n}",
"Scanner scan =new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"try{\ndouble r=scan.nextDouble();\ndouble a=r*r*3.141592653589;\ndouble b=r*2.00000000*3.141592653589;\nSystem.out.printf(\"%f %f\\n\",a,b);\n}catch (InputMismatchException e){\n System.out.println(\"?????????????????????\" + e);\n }",
"catch (InputMismatchException e){\n System.out.println(\"?????????????????????\" + e);\n }",
"InputMismatchException e",
"{\n System.out.println(\"?????????????????????\" + e);\n }",
"System.out.println(\"?????????????????????\" + e)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"?????????????????????\" + e",
"\"?????????????????????\"",
"e",
"{\ndouble r=scan.nextDouble();\ndouble a=r*r*3.141592653589;\ndouble b=r*2.00000000*3.141592653589;\nSystem.out.printf(\"%f %f\\n\",a,b);\n}",
"double r=scan.nextDouble();",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"double a=r*r*3.141592653589;",
"a",
"r*r*3.141592653589",
"r*r*3.141592653589",
"r",
"r",
"3.141592653589",
"double b=r*2.00000000*3.141592653589;",
"b",
"r*2.00000000*3.141592653589",
"r*2.00000000*3.141592653589",
"r",
"2.00000000",
"3.141592653589",
"System.out.printf(\"%f %f\\n\",a,b)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f %f\\n\"",
"a",
"b",
"String[] args",
"args"
] | import java.util.Scanner;
import java.util.InputMismatchException;
class Main{
public static void main(String[] args){
Scanner scan =new Scanner(System.in);
try{
double r=scan.nextDouble();
double a=r*r*3.141592653589;
double b=r*2.00000000*3.141592653589;
System.out.printf("%f %f\n",a,b);
}catch (InputMismatchException e){
System.out.println("?????????????????????" + e);
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
2,
2,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
17,
2,
2,
17,
13,
18,
13,
13,
4,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
14,
2,
13,
17,
30,
4,
18,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
77,
5
],
[
77,
6
],
[
6,
7
],
[
6,
8
],
[
77,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
11,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
22,
23
],
[
21,
24
],
[
21,
25
],
[
26,
26
],
[
26,
27
],
[
26,
28
],
[
26,
29
],
[
29,
30
],
[
29,
31
],
[
11,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
11,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
43,
47
],
[
48,
48
],
[
48,
49
],
[
48,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
11,
54
],
[
54,
55
],
[
9,
56
],
[
56,
57
],
[
77,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
77,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tdouble r = input();\n\n\t\tSystem.out.print(String.format(\"%.5f\", r * r * Math.PI));\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.print(String.format(\"%.5f\", 2.0 * r * Math.PI));\n\n\t\tclose();\n\n\t}\n\n\tpublic static double input() {\n\n\t\treturn scanner.nextDouble();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tdouble r = input();\n\n\t\tSystem.out.print(String.format(\"%.5f\", r * r * Math.PI));\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.print(String.format(\"%.5f\", 2.0 * r * Math.PI));\n\n\t\tclose();\n\n\t}\n\n\tpublic static double input() {\n\n\t\treturn scanner.nextDouble();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"Main",
"public static Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"public static void main(String[] args) {\n\n\t\tdouble r = input();\n\n\t\tSystem.out.print(String.format(\"%.5f\", r * r * Math.PI));\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.print(String.format(\"%.5f\", 2.0 * r * Math.PI));\n\n\t\tclose();\n\n\t}",
"main",
"{\n\n\t\tdouble r = input();\n\n\t\tSystem.out.print(String.format(\"%.5f\", r * r * Math.PI));\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.print(String.format(\"%.5f\", 2.0 * r * Math.PI));\n\n\t\tclose();\n\n\t}",
"double r = input();",
"r",
"input()",
"input",
"System.out.print(String.format(\"%.5f\", r * r * Math.PI))",
"System.out.print",
"System.out",
"System",
"System.out",
"String.format(\"%.5f\", r * r * Math.PI)",
"String.format",
"String",
"\"%.5f\"",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.print(String.format(\"%.5f\", 2.0 * r * Math.PI))",
"System.out.print",
"System.out",
"System",
"System.out",
"String.format(\"%.5f\", 2.0 * r * Math.PI)",
"String.format",
"String",
"\"%.5f\"",
"2.0 * r * Math.PI",
"2.0 * r * Math.PI",
"2.0",
"r",
"Math.PI",
"Math",
"Math.PI",
"close()",
"close",
"String[] args",
"args",
"public static double input() {\n\n\t\treturn scanner.nextDouble();\n\n\t}",
"input",
"{\n\n\t\treturn scanner.nextDouble();\n\n\t}",
"return scanner.nextDouble();",
"scanner.nextDouble()",
"scanner.nextDouble",
"scanner",
"public static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}",
"close",
"{\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}",
"if (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}",
"scanner != null",
"scanner",
"null",
"{\n\n\t\t\tscanner.close();\n\n\t\t}",
"scanner.close()",
"scanner.close",
"scanner",
"public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tdouble r = input();\n\n\t\tSystem.out.print(String.format(\"%.5f\", r * r * Math.PI));\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.print(String.format(\"%.5f\", 2.0 * r * Math.PI));\n\n\t\tclose();\n\n\t}\n\n\tpublic static double input() {\n\n\t\treturn scanner.nextDouble();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tdouble r = input();\n\n\t\tSystem.out.print(String.format(\"%.5f\", r * r * Math.PI));\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.print(String.format(\"%.5f\", 2.0 * r * Math.PI));\n\n\t\tclose();\n\n\t}\n\n\tpublic static double input() {\n\n\t\treturn scanner.nextDouble();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static Scanner scanner = new Scanner(System.in);
public static void main(String[] args) {
double r = input();
System.out.print(String.format("%.5f", r * r * Math.PI));
System.out.print(" ");
System.out.print(String.format("%.5f", 2.0 * r * Math.PI));
close();
}
public static double input() {
return scanner.nextDouble();
}
public static void close() {
if (scanner != null) {
scanner.close();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
2,
2,
17,
13,
13,
41,
13,
2,
2,
13,
13,
13,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
17,
13,
17,
4,
18,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
55,
5
],
[
55,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
23,
23
],
[
23,
24
],
[
23,
25
],
[
23,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
30,
30
],
[
30,
31
],
[
30,
32
],
[
30,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
41,
45
],
[
40,
46
],
[
40,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
47,
51
],
[
6,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble p = 3.141592653589;\n\t\tdouble r = scan.nextDouble(); //????????§???????????\\???\n\t\tdouble x = 2*r*p;\n\t\tdouble y = r*r*p;\n\t\tSystem.out.println(String.format(\"%.6f\", y) + \" \" + String.format(\"%.6f\", x));\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble p = 3.141592653589;\n\t\tdouble r = scan.nextDouble(); //????????§???????????\\???\n\t\tdouble x = 2*r*p;\n\t\tdouble y = r*r*p;\n\t\tSystem.out.println(String.format(\"%.6f\", y) + \" \" + String.format(\"%.6f\", x));\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble p = 3.141592653589;\n\t\tdouble r = scan.nextDouble(); //????????§???????????\\???\n\t\tdouble x = 2*r*p;\n\t\tdouble y = r*r*p;\n\t\tSystem.out.println(String.format(\"%.6f\", y) + \" \" + String.format(\"%.6f\", x));\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble p = 3.141592653589;\n\t\tdouble r = scan.nextDouble(); //????????§???????????\\???\n\t\tdouble x = 2*r*p;\n\t\tdouble y = r*r*p;\n\t\tSystem.out.println(String.format(\"%.6f\", y) + \" \" + String.format(\"%.6f\", x));\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"double p = 3.141592653589;",
"p",
"3.141592653589",
"double r = scan.nextDouble();",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"double x = 2*r*p;",
"x",
"2*r*p",
"2*r*p",
"2",
"r",
"p",
"double y = r*r*p;",
"y",
"r*r*p",
"r*r*p",
"r",
"r",
"p",
"System.out.println(String.format(\"%.6f\", y) + \" \" + String.format(\"%.6f\", x))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%.6f\", y) + \" \" + String.format(\"%.6f\", x)",
"String.format(\"%.6f\", y) + \" \" + String.format(\"%.6f\", x)",
"String.format(\"%.6f\", y)",
"String.format",
"String",
"\"%.6f\"",
"y",
"\" \"",
"String.format(\"%.6f\", x)",
"String.format",
"String",
"\"%.6f\"",
"x",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble p = 3.141592653589;\n\t\tdouble r = scan.nextDouble(); //????????§???????????\\???\n\t\tdouble x = 2*r*p;\n\t\tdouble y = r*r*p;\n\t\tSystem.out.println(String.format(\"%.6f\", y) + \" \" + String.format(\"%.6f\", x));\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble p = 3.141592653589;\n\t\tdouble r = scan.nextDouble(); //????????§???????????\\???\n\t\tdouble x = 2*r*p;\n\t\tdouble y = r*r*p;\n\t\tSystem.out.println(String.format(\"%.6f\", y) + \" \" + String.format(\"%.6f\", x));\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
double p = 3.141592653589;
double r = scan.nextDouble(); //????????§???????????\???
double x = 2*r*p;
double y = r*r*p;
System.out.println(String.format("%.6f", y) + " " + String.format("%.6f", x));
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
18,
13,
13,
2,
17,
13,
30,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
2,
2,
18,
13,
13,
13,
13,
41,
13,
2,
2,
18,
13,
13,
17,
13,
4,
18,
18,
13,
13,
17,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
71,
11
],
[
71,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
18,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
37,
38
],
[
30,
39
],
[
39,
40
],
[
39,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
42,
47
],
[
30,
48
],
[
48,
49
],
[
48,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
51,
56
],
[
30,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
57,
63
],
[
57,
64
],
[
30,
65
],
[
65,
66
],
[
66,
67
],
[
12,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main{\n\n\n\tpublic static void main(String[] args){\n\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry{\n\n\n\t\t\tdouble r=Double.parseDouble(reader.readLine());\n\n\t\t\tdouble S=Math.PI*r*r;\n\t\t\tdouble l=Math.PI*2*r;\n\t\t\tSystem.out.printf(\"%6f %6f\", S, l);\n\n\t\t\treader.close();\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}\n\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main{\n\n\n\tpublic static void main(String[] args){\n\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry{\n\n\n\t\t\tdouble r=Double.parseDouble(reader.readLine());\n\n\t\t\tdouble S=Math.PI*r*r;\n\t\t\tdouble l=Math.PI*2*r;\n\t\t\tSystem.out.printf(\"%6f %6f\", S, l);\n\n\t\t\treader.close();\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args){\n\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry{\n\n\n\t\t\tdouble r=Double.parseDouble(reader.readLine());\n\n\t\t\tdouble S=Math.PI*r*r;\n\t\t\tdouble l=Math.PI*2*r;\n\t\t\tSystem.out.printf(\"%6f %6f\", S, l);\n\n\t\t\treader.close();\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}\n\n\t}",
"main",
"{\n\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry{\n\n\n\t\t\tdouble r=Double.parseDouble(reader.readLine());\n\n\t\t\tdouble S=Math.PI*r*r;\n\t\t\tdouble l=Math.PI*2*r;\n\t\t\tSystem.out.printf(\"%6f %6f\", S, l);\n\n\t\t\treader.close();\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}\n\n\t}",
"BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"try{\n\n\n\t\t\tdouble r=Double.parseDouble(reader.readLine());\n\n\t\t\tdouble S=Math.PI*r*r;\n\t\t\tdouble l=Math.PI*2*r;\n\t\t\tSystem.out.printf(\"%6f %6f\", S, l);\n\n\t\t\treader.close();\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}",
"catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}",
"IOException e",
"{\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}",
"System.out.println(\"??¨??????:\"+e)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"??¨??????:\"+e",
"\"??¨??????:\"",
"e",
"{\n\n\n\t\t\tdouble r=Double.parseDouble(reader.readLine());\n\n\t\t\tdouble S=Math.PI*r*r;\n\t\t\tdouble l=Math.PI*2*r;\n\t\t\tSystem.out.printf(\"%6f %6f\", S, l);\n\n\t\t\treader.close();\n\t\t}",
"double r=Double.parseDouble(reader.readLine());",
"r",
"Double.parseDouble(reader.readLine())",
"Double.parseDouble",
"Double",
"reader.readLine()",
"reader.readLine",
"reader",
"double S=Math.PI*r*r;",
"S",
"Math.PI*r*r",
"Math.PI*r*r",
"Math.PI",
"Math",
"Math.PI",
"r",
"r",
"double l=Math.PI*2*r;",
"l",
"Math.PI*2*r",
"Math.PI*2*r",
"Math.PI",
"Math",
"Math.PI",
"2",
"r",
"System.out.printf(\"%6f %6f\", S, l)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%6f %6f\"",
"S",
"l",
"reader.close()",
"reader.close",
"reader",
"String[] args",
"args",
"public class Main{\n\n\n\tpublic static void main(String[] args){\n\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry{\n\n\n\t\t\tdouble r=Double.parseDouble(reader.readLine());\n\n\t\t\tdouble S=Math.PI*r*r;\n\t\t\tdouble l=Math.PI*2*r;\n\t\t\tSystem.out.printf(\"%6f %6f\", S, l);\n\n\t\t\treader.close();\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}\n\n\t}\n\n}",
"public class Main{\n\n\n\tpublic static void main(String[] args){\n\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry{\n\n\n\t\t\tdouble r=Double.parseDouble(reader.readLine());\n\n\t\t\tdouble S=Math.PI*r*r;\n\t\t\tdouble l=Math.PI*2*r;\n\t\t\tSystem.out.printf(\"%6f %6f\", S, l);\n\n\t\t\treader.close();\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}\n\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main{
public static void main(String[] args){
BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));
try{
double r=Double.parseDouble(reader.readLine());
double S=Math.PI*r*r;
double l=Math.PI*2*r;
System.out.printf("%6f %6f", S, l);
reader.close();
}catch(IOException e){
System.out.println("??¨??????:"+e);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
2,
2,
13,
13,
17,
41,
13,
2,
2,
17,
17,
13,
4,
18,
18,
13,
13,
17,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
54,
11
],
[
54,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
14,
29
],
[
29,
30
],
[
29,
31
],
[
32,
32
],
[
32,
33
],
[
32,
34
],
[
32,
35
],
[
14,
36
],
[
36,
37
],
[
36,
38
],
[
39,
39
],
[
39,
40
],
[
39,
41
],
[
39,
42
],
[
14,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
43,
49
],
[
43,
50
],
[
12,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] arg)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n //String = データの型。主に文字列を扱う。\n String str = br.readLine();\n\n //今回はdouble型に変換\n double r = Double.parseDouble(str);\n\n double menseki\t=(double)r * (double)r * 3.141592653589;\t//menseki(半径[r]*半径[r]*π)\n\t\tdouble ensyu\t=(double)2 * 3.141592653589 * (double)r;\t//ensyu(2*π*半径[r])\n\n\t\t /*今回は桁数出すためprintfを使用\n\t\t * % = 文字表示用\n\t\t * d = 10進数の整数\n\t\t * %d = 10進数の整数を文字表示、みたいな使い方\n\t\t * .6で小数点以下を6桁表示してる\n\t\t * \\nは改行用\n\t\t */\n\t\t System.out.printf(\"%.6f %.6f\\n\", menseki, ensyu);\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] arg)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n //String = データの型。主に文字列を扱う。\n String str = br.readLine();\n\n //今回はdouble型に変換\n double r = Double.parseDouble(str);\n\n double menseki\t=(double)r * (double)r * 3.141592653589;\t//menseki(半径[r]*半径[r]*π)\n\t\tdouble ensyu\t=(double)2 * 3.141592653589 * (double)r;\t//ensyu(2*π*半径[r])\n\n\t\t /*今回は桁数出すためprintfを使用\n\t\t * % = 文字表示用\n\t\t * d = 10進数の整数\n\t\t * %d = 10進数の整数を文字表示、みたいな使い方\n\t\t * .6で小数点以下を6桁表示してる\n\t\t * \\nは改行用\n\t\t */\n\t\t System.out.printf(\"%.6f %.6f\\n\", menseki, ensyu);\n }\n}",
"Main",
"public static void main(String[] arg)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n //String = データの型。主に文字列を扱う。\n String str = br.readLine();\n\n //今回はdouble型に変換\n double r = Double.parseDouble(str);\n\n double menseki\t=(double)r * (double)r * 3.141592653589;\t//menseki(半径[r]*半径[r]*π)\n\t\tdouble ensyu\t=(double)2 * 3.141592653589 * (double)r;\t//ensyu(2*π*半径[r])\n\n\t\t /*今回は桁数出すためprintfを使用\n\t\t * % = 文字表示用\n\t\t * d = 10進数の整数\n\t\t * %d = 10進数の整数を文字表示、みたいな使い方\n\t\t * .6で小数点以下を6桁表示してる\n\t\t * \\nは改行用\n\t\t */\n\t\t System.out.printf(\"%.6f %.6f\\n\", menseki, ensyu);\n }",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n //String = データの型。主に文字列を扱う。\n String str = br.readLine();\n\n //今回はdouble型に変換\n double r = Double.parseDouble(str);\n\n double menseki\t=(double)r * (double)r * 3.141592653589;\t//menseki(半径[r]*半径[r]*π)\n\t\tdouble ensyu\t=(double)2 * 3.141592653589 * (double)r;\t//ensyu(2*π*半径[r])\n\n\t\t /*今回は桁数出すためprintfを使用\n\t\t * % = 文字表示用\n\t\t * d = 10進数の整数\n\t\t * %d = 10進数の整数を文字表示、みたいな使い方\n\t\t * .6で小数点以下を6桁表示してる\n\t\t * \\nは改行用\n\t\t */\n\t\t System.out.printf(\"%.6f %.6f\\n\", menseki, ensyu);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"double r = Double.parseDouble(str);",
"r",
"Double.parseDouble(str)",
"Double.parseDouble",
"Double",
"str",
"double menseki\t=(double)r * (double)r * 3.141592653589;",
"menseki",
"(double)r * (double)r * 3.141592653589",
"(double)r * (double)r * 3.141592653589",
"(double)r",
"(double)r",
"3.141592653589",
"double ensyu\t=(double)2 * 3.141592653589 * (double)r;",
"ensyu",
"(double)2 * 3.141592653589 * (double)r",
"(double)2 * 3.141592653589 * (double)r",
"(double)2",
"3.141592653589",
"(double)r",
"System.out.printf(\"%.6f %.6f\\n\", menseki, ensyu)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f %.6f\\n\"",
"menseki",
"ensyu",
"String[] arg",
"arg",
"public class Main {\n\tpublic static void main(String[] arg)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n //String = データの型。主に文字列を扱う。\n String str = br.readLine();\n\n //今回はdouble型に変換\n double r = Double.parseDouble(str);\n\n double menseki\t=(double)r * (double)r * 3.141592653589;\t//menseki(半径[r]*半径[r]*π)\n\t\tdouble ensyu\t=(double)2 * 3.141592653589 * (double)r;\t//ensyu(2*π*半径[r])\n\n\t\t /*今回は桁数出すためprintfを使用\n\t\t * % = 文字表示用\n\t\t * d = 10進数の整数\n\t\t * %d = 10進数の整数を文字表示、みたいな使い方\n\t\t * .6で小数点以下を6桁表示してる\n\t\t * \\nは改行用\n\t\t */\n\t\t System.out.printf(\"%.6f %.6f\\n\", menseki, ensyu);\n }\n}",
"public class Main {\n\tpublic static void main(String[] arg)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n //String = データの型。主に文字列を扱う。\n String str = br.readLine();\n\n //今回はdouble型に変換\n double r = Double.parseDouble(str);\n\n double menseki\t=(double)r * (double)r * 3.141592653589;\t//menseki(半径[r]*半径[r]*π)\n\t\tdouble ensyu\t=(double)2 * 3.141592653589 * (double)r;\t//ensyu(2*π*半径[r])\n\n\t\t /*今回は桁数出すためprintfを使用\n\t\t * % = 文字表示用\n\t\t * d = 10進数の整数\n\t\t * %d = 10進数の整数を文字表示、みたいな使い方\n\t\t * .6で小数点以下を6桁表示してる\n\t\t * \\nは改行用\n\t\t */\n\t\t System.out.printf(\"%.6f %.6f\\n\", menseki, ensyu);\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] arg)throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
//String = データの型。主に文字列を扱う。
String str = br.readLine();
//今回はdouble型に変換
double r = Double.parseDouble(str);
double menseki =(double)r * (double)r * 3.141592653589; //menseki(半径[r]*半径[r]*π)
double ensyu =(double)2 * 3.141592653589 * (double)r; //ensyu(2*π*半径[r])
/*今回は桁数出すためprintfを使用
* % = 文字表示用
* d = 10進数の整数
* %d = 10進数の整数を文字表示、みたいな使い方
* .6で小数点以下を6桁表示してる
* \nは改行用
*/
System.out.printf("%.6f %.6f\n", menseki, ensyu);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
20,
0,
13,
4,
18,
4,
18,
13,
13,
13,
0,
13,
4,
18,
4,
18,
13,
13,
13,
0,
13,
4,
18,
13,
17,
18,
13,
13,
0,
13,
4,
18,
13,
17,
18,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
92,
8
],
[
92,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
11,
32
],
[
32,
33
],
[
32,
34
],
[
11,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
37,
43
],
[
11,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
46,
52
],
[
11,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
55,
59
],
[
59,
60
],
[
59,
61
],
[
11,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
64,
68
],
[
68,
69
],
[
68,
70
],
[
11,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
11,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
11,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
9,
89
],
[
89,
90
],
[
0,
91
],
[
91,
92
],
[
91,
93
]
] | [
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.nextLine();\n\n\t\tBigDecimal r = new BigDecimal(s);\n\t\tBigDecimal p = new BigDecimal(Math.PI);\n\n\t\tBigDecimal a = new BigDecimal(0);\n\t\tBigDecimal b = new BigDecimal(0);\n\t\tBigDecimal c = new BigDecimal(2);\n\t\t\n\t\ta = p.multiply(r).multiply(r);\n\t\tb = p.multiply(r).multiply(c);\n\t\t\n\t\ta = a.setScale(6, BigDecimal.ROUND_UP);\n\t\tb = b.setScale(6, BigDecimal.ROUND_UP);\n\n\t\tSystem.out.print(a);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.println(b);\n\t}\n\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.nextLine();\n\n\t\tBigDecimal r = new BigDecimal(s);\n\t\tBigDecimal p = new BigDecimal(Math.PI);\n\n\t\tBigDecimal a = new BigDecimal(0);\n\t\tBigDecimal b = new BigDecimal(0);\n\t\tBigDecimal c = new BigDecimal(2);\n\t\t\n\t\ta = p.multiply(r).multiply(r);\n\t\tb = p.multiply(r).multiply(c);\n\t\t\n\t\ta = a.setScale(6, BigDecimal.ROUND_UP);\n\t\tb = b.setScale(6, BigDecimal.ROUND_UP);\n\n\t\tSystem.out.print(a);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.println(b);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.nextLine();\n\n\t\tBigDecimal r = new BigDecimal(s);\n\t\tBigDecimal p = new BigDecimal(Math.PI);\n\n\t\tBigDecimal a = new BigDecimal(0);\n\t\tBigDecimal b = new BigDecimal(0);\n\t\tBigDecimal c = new BigDecimal(2);\n\t\t\n\t\ta = p.multiply(r).multiply(r);\n\t\tb = p.multiply(r).multiply(c);\n\t\t\n\t\ta = a.setScale(6, BigDecimal.ROUND_UP);\n\t\tb = b.setScale(6, BigDecimal.ROUND_UP);\n\n\t\tSystem.out.print(a);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.println(b);\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.nextLine();\n\n\t\tBigDecimal r = new BigDecimal(s);\n\t\tBigDecimal p = new BigDecimal(Math.PI);\n\n\t\tBigDecimal a = new BigDecimal(0);\n\t\tBigDecimal b = new BigDecimal(0);\n\t\tBigDecimal c = new BigDecimal(2);\n\t\t\n\t\ta = p.multiply(r).multiply(r);\n\t\tb = p.multiply(r).multiply(c);\n\t\t\n\t\ta = a.setScale(6, BigDecimal.ROUND_UP);\n\t\tb = b.setScale(6, BigDecimal.ROUND_UP);\n\n\t\tSystem.out.print(a);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.println(b);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s = sc.nextLine();",
"s",
"sc.nextLine()",
"sc.nextLine",
"sc",
"BigDecimal r = new BigDecimal(s);",
"r",
"new BigDecimal(s)",
"BigDecimal p = new BigDecimal(Math.PI);",
"p",
"new BigDecimal(Math.PI)",
"BigDecimal a = new BigDecimal(0);",
"a",
"new BigDecimal(0)",
"BigDecimal b = new BigDecimal(0);",
"b",
"new BigDecimal(0)",
"BigDecimal c = new BigDecimal(2);",
"c",
"new BigDecimal(2)",
"a = p.multiply(r).multiply(r)",
"a",
"p.multiply(r).multiply(r)",
"p.multiply(r).multiply",
"p.multiply(r)",
"p.multiply",
"p",
"r",
"r",
"b = p.multiply(r).multiply(c)",
"b",
"p.multiply(r).multiply(c)",
"p.multiply(r).multiply",
"p.multiply(r)",
"p.multiply",
"p",
"r",
"c",
"a = a.setScale(6, BigDecimal.ROUND_UP)",
"a",
"a.setScale(6, BigDecimal.ROUND_UP)",
"a.setScale",
"a",
"6",
"BigDecimal.ROUND_UP",
"BigDecimal",
"BigDecimal.ROUND_UP",
"b = b.setScale(6, BigDecimal.ROUND_UP)",
"b",
"b.setScale(6, BigDecimal.ROUND_UP)",
"b.setScale",
"b",
"6",
"BigDecimal.ROUND_UP",
"BigDecimal",
"BigDecimal.ROUND_UP",
"System.out.print(a)",
"System.out.print",
"System.out",
"System",
"System.out",
"a",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println(b)",
"System.out.println",
"System.out",
"System",
"System.out",
"b",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.nextLine();\n\n\t\tBigDecimal r = new BigDecimal(s);\n\t\tBigDecimal p = new BigDecimal(Math.PI);\n\n\t\tBigDecimal a = new BigDecimal(0);\n\t\tBigDecimal b = new BigDecimal(0);\n\t\tBigDecimal c = new BigDecimal(2);\n\t\t\n\t\ta = p.multiply(r).multiply(r);\n\t\tb = p.multiply(r).multiply(c);\n\t\t\n\t\ta = a.setScale(6, BigDecimal.ROUND_UP);\n\t\tb = b.setScale(6, BigDecimal.ROUND_UP);\n\n\t\tSystem.out.print(a);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.println(b);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.nextLine();\n\n\t\tBigDecimal r = new BigDecimal(s);\n\t\tBigDecimal p = new BigDecimal(Math.PI);\n\n\t\tBigDecimal a = new BigDecimal(0);\n\t\tBigDecimal b = new BigDecimal(0);\n\t\tBigDecimal c = new BigDecimal(2);\n\t\t\n\t\ta = p.multiply(r).multiply(r);\n\t\tb = p.multiply(r).multiply(c);\n\t\t\n\t\ta = a.setScale(6, BigDecimal.ROUND_UP);\n\t\tb = b.setScale(6, BigDecimal.ROUND_UP);\n\n\t\tSystem.out.print(a);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.println(b);\n\t}\n\n}",
"Main"
] | import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner sc = new Scanner(System.in);
String s = sc.nextLine();
BigDecimal r = new BigDecimal(s);
BigDecimal p = new BigDecimal(Math.PI);
BigDecimal a = new BigDecimal(0);
BigDecimal b = new BigDecimal(0);
BigDecimal c = new BigDecimal(2);
a = p.multiply(r).multiply(r);
b = p.multiply(r).multiply(c);
a = a.setScale(6, BigDecimal.ROUND_UP);
b = b.setScale(6, BigDecimal.ROUND_UP);
System.out.print(a);
System.out.print(" ");
System.out.println(b);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
17,
2,
2,
13,
13,
18,
13,
13,
2,
2,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
55,
17
],
[
55,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
30,
31
],
[
20,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
32,
38
],
[
39,
39
],
[
39,
40
],
[
39,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
32,
45
],
[
46,
46
],
[
46,
47
],
[
46,
48
],
[
46,
49
],
[
49,
50
],
[
49,
51
],
[
18,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigDecimal;\nimport java.math.RoundingMode;\n//import java.io.*;\n//class Main{\n// public static void main(String[] args) throws Exception{\n// int x, ans;\n// \n// BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n// x = Integer.parseInt(br.readLine());\n// \n// ans = x*x*x;\n// System.out.println(ans);\n// }\n//}\n//class Main {\n// public static void main(String[] arg)throws IOException{\n// BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n// String str = br.readLine();\n// String[] div = str.split(\" \");\n// int s = Integer.parseInt(div[0]);\n// int l = Integer.parseInt(div[1]);\n// System.out.println(s*l + \" \"+ 2*(s+l));\n// } \n//}\n//import java.io.BufferedReader;\n//import java.io.InputStreamReader;\n// \n//public class Main{\n// public static void main(String args[])throws java.lang.Exception{\n// BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n// String line = br.readLine();\n// //?????°??????????????£??\\\n// int s =Integer.parseInt(line);\n// int h = s / 3600;\n// int m = (s % 3600) / 60;\n// s = s % 60;\n// System.out.println(h+\":\"+m+\":\"+s);\n// \n// }\n//}\n//import java.io.*;\n//\n//public class Main\n//{\n//\tpublic static void main(String[] args) throws Exception\n//\t{\n//\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n//\t\tString str = br.readLine();\n//\t\tString[] div = str.split(\" \");\n//\t\tint a = Integer.parseInt(div[0]);\n//\t\tint b = Integer.parseInt(div[1]);\n//\t\tif (a > b)\n//\t\t{\n//\t\t\tSystem.out.println(\"a > b\");\n//\t\t} else if (a == b) {\n//\t\t\tSystem.out.println(\"a == b\");\n//\t\t} else {\n//\t\t\tSystem.out.println(\"a < b\");\n//\t\t}\n//\t}\n//}\n//public class Main\n//{\n//\tpublic static void main(String[] args) throws IOException {\n//\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n//\t\tString str = br.readLine();\n//\t\tString[] div = str.split(\" \");\n//\t\tint a = Integer.parseInt(div[0]);\n//\t\tint b = Integer.parseInt(div[1]);\n//\t\tint c = Integer.parseInt(div[2]);\n//\t\tif (a < b && b < c)\n//\t\t{\n//\t\t\tSystem.out.println(\"Yes\");\n//\t\t}else{\n//\t\t\tSystem.out.println(\"No\");\n//\t\t}\n//\t}\n//}\n//public class Main {\n//\tpublic static void main(String[] args) {\n//\t\tfor (int i = 0; i < 1000; i++) {\n//\t\t\tSystem.out.println(\"Hello World\");\n//\t\t}\n//\t}\n//}\n//public class Main {\n// public static void main(String args[]) throws IOException{\n// BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n// StringBuilder builder = new StringBuilder();\n// int i=1;\n// while(true){\n// int data= Integer.parseInt(reader.readLine());\n// if(data==0)\n// break;\n// \n// builder.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n// }\n// System.out.print(builder);\n// }\n//}\n//public class Main {\n// public static void main(String args[]) throws IOException{\n// BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n// StringBuilder builder = new StringBuilder();\n// while(true){\n// String data[] = reader.readLine().split(\" \");\n// int a= Integer.parseInt(data[0]);\n// int b= Integer.parseInt(data[1]);\n// if(a==0 && b==0)\n// break;\n// \n// builder.append(Integer.toString(a<b?a:b)).append(\" \").append(Integer.toString(a<b?b:a)).append(\"\\n\");\n// }\n// System.out.print(builder);\n// }\n//}\n\n//import java.io.*;\n\n//class Main{\n// public static void main(String[] args) throws Exception{\n// int x, ans;\n// \n// BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n// x = Integer.parseInt(br.readLine());\n// \n// ans = x*x*x;\n// System.out.println(ans);\n// }\n//}\n\n//class Main {\n// public static void main(String[] arg)throws IOException{\n// BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n// String str = br.readLine();\n// String[] div = str.split(\" \");\n// int s = Integer.parseInt(div[0]);\n// int l = Integer.parseInt(div[1]);\n// System.out.println(s*l + \" \"+ 2*(s+l));\n// } \n//}\n\n//import java.io.BufferedReader;\n//import java.io.InputStreamReader;\n// \n//public class Main{\n// public static void main(String args[])throws java.lang.Exception{\n// BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n// String line = br.readLine();\n// //?????°??????????????£??\\\n// int s =Integer.parseInt(line);\n// int h = s / 3600;\n// int m = (s % 3600) / 60;\n// s = s % 60;\n// System.out.println(h+\":\"+m+\":\"+s);\n// \n// }\n//}\n\n//import java.io.*;\n//\n//public class Main\n//{\n//\tpublic static void main(String[] args) throws Exception\n//\t{\n//\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n//\t\tString str = br.readLine();\n//\t\tString[] div = str.split(\" \");\n//\t\tint a = Integer.parseInt(div[0]);\n//\t\tint b = Integer.parseInt(div[1]);\n//\t\tif (a > b)\n//\t\t{\n//\t\t\tSystem.out.println(\"a > b\");\n//\t\t} else if (a == b) {\n//\t\t\tSystem.out.println(\"a == b\");\n//\t\t} else {\n//\t\t\tSystem.out.println(\"a < b\");\n//\t\t}\n//\t}\n//}\n\n//public class Main\n//{\n//\tpublic static void main(String[] args) throws IOException {\n//\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n//\t\tString str = br.readLine();\n//\t\tString[] div = str.split(\" \");\n//\t\tint a = Integer.parseInt(div[0]);\n//\t\tint b = Integer.parseInt(div[1]);\n//\t\tint c = Integer.parseInt(div[2]);\n//\t\tif (a < b && b < c)\n//\t\t{\n//\t\t\tSystem.out.println(\"Yes\");\n//\t\t}else{\n//\t\t\tSystem.out.println(\"No\");\n//\t\t}\n//\t}\n//}\n\n//public class Main {\n//\tpublic static void main(String[] args) {\n//\t\tfor (int i = 0; i < 1000; i++) {\n//\t\t\tSystem.out.println(\"Hello World\");\n//\t\t}\n//\t}\n//}\n\n//public class Main {\n// public static void main(String args[]) throws IOException{\n// BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n// StringBuilder builder = new StringBuilder();\n// int i=1;\n// while(true){\n// int data= Integer.parseInt(reader.readLine());\n// if(data==0)\n// break;\n// \n// builder.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n// }\n// System.out.print(builder);\n// }\n//}\n\n//public class Main {\n//\tpublic static void main(String args[]) throws IOException {\n//\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n//\t\t\t\tSystem.in));\n//\t\tStringBuilder builder = new StringBuilder();\n//\t\twhile (true) {\n//\t\t\tString data[] = reader.readLine().split(\" \");\n//\t\t\tint a = Integer.parseInt(data[0]);\n//\t\t\tint b = Integer.parseInt(data[1]);\n//\t\t\tif (a == 0 && b == 0)\n//\t\t\t\tbreak;\n//\n//\t\t\tbuilder.append(Integer.toString(a < b ? a : b)).append(\" \")\n//\t\t\t\t\t.append(Integer.toString(a < b ? b : a)).append(\"\\n\");\n//\t\t}\n//\t\tSystem.out.print(builder);\n//\t}\n//}\n\n//public class Main {\n//\tpublic static void main(String[] args) throws Exception {\n//\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n//\t\tString line = br.readLine();\n//\t\tString[] ln = line.split(\" \");\n//\t\tBigDecimal a = new BigDecimal(ln[0]);\n//\t\tBigDecimal b = new BigDecimal(ln[1]);\n//\t\tSystem.out.println(a.divideToIntegralValue(b).toPlainString() + \" \"\n//\t\t\t\t+ a.remainder(b).toPlainString() + \" \"\n//\t\t\t\t+ a.divide(b, 10, RoundingMode.HALF_UP).toPlainString());\n//\t}\n//}\n\npublic class Main\n{\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble a = Double.parseDouble(br.readLine());\n\t\tSystem.out.printf(\"%6f %6f\", a * a * Math.PI, a * 2 * Math.PI);\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.math.RoundingMode;",
"RoundingMode",
"java.math",
"public class Main\n{\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble a = Double.parseDouble(br.readLine());\n\t\tSystem.out.printf(\"%6f %6f\", a * a * Math.PI, a * 2 * Math.PI);\n\t}\n}",
"Main",
"public static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble a = Double.parseDouble(br.readLine());\n\t\tSystem.out.printf(\"%6f %6f\", a * a * Math.PI, a * 2 * Math.PI);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble a = Double.parseDouble(br.readLine());\n\t\tSystem.out.printf(\"%6f %6f\", a * a * Math.PI, a * 2 * Math.PI);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"double a = Double.parseDouble(br.readLine());",
"a",
"Double.parseDouble(br.readLine())",
"Double.parseDouble",
"Double",
"br.readLine()",
"br.readLine",
"br",
"System.out.printf(\"%6f %6f\", a * a * Math.PI, a * 2 * Math.PI)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%6f %6f\"",
"a * a * Math.PI",
"a * a * Math.PI",
"a",
"a",
"Math.PI",
"Math",
"Math.PI",
"a * 2 * Math.PI",
"a * 2 * Math.PI",
"a",
"2",
"Math.PI",
"Math",
"Math.PI",
"String[] args",
"args",
"public class Main\n{\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble a = Double.parseDouble(br.readLine());\n\t\tSystem.out.printf(\"%6f %6f\", a * a * Math.PI, a * 2 * Math.PI);\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble a = Double.parseDouble(br.readLine());\n\t\tSystem.out.printf(\"%6f %6f\", a * a * Math.PI, a * 2 * Math.PI);\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigDecimal;
import java.math.RoundingMode;
//import java.io.*;
//class Main{
// public static void main(String[] args) throws Exception{
// int x, ans;
//
// BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
// x = Integer.parseInt(br.readLine());
//
// ans = x*x*x;
// System.out.println(ans);
// }
//}
//class Main {
// public static void main(String[] arg)throws IOException{
// BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
// String str = br.readLine();
// String[] div = str.split(" ");
// int s = Integer.parseInt(div[0]);
// int l = Integer.parseInt(div[1]);
// System.out.println(s*l + " "+ 2*(s+l));
// }
//}
//import java.io.BufferedReader;
//import java.io.InputStreamReader;
//
//public class Main{
// public static void main(String args[])throws java.lang.Exception{
// BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
// String line = br.readLine();
// //?????°??????????????£??\
// int s =Integer.parseInt(line);
// int h = s / 3600;
// int m = (s % 3600) / 60;
// s = s % 60;
// System.out.println(h+":"+m+":"+s);
//
// }
//}
//import java.io.*;
//
//public class Main
//{
// public static void main(String[] args) throws Exception
// {
// BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
// String str = br.readLine();
// String[] div = str.split(" ");
// int a = Integer.parseInt(div[0]);
// int b = Integer.parseInt(div[1]);
// if (a > b)
// {
// System.out.println("a > b");
// } else if (a == b) {
// System.out.println("a == b");
// } else {
// System.out.println("a < b");
// }
// }
//}
//public class Main
//{
// public static void main(String[] args) throws IOException {
// BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
// String str = br.readLine();
// String[] div = str.split(" ");
// int a = Integer.parseInt(div[0]);
// int b = Integer.parseInt(div[1]);
// int c = Integer.parseInt(div[2]);
// if (a < b && b < c)
// {
// System.out.println("Yes");
// }else{
// System.out.println("No");
// }
// }
//}
//public class Main {
// public static void main(String[] args) {
// for (int i = 0; i < 1000; i++) {
// System.out.println("Hello World");
// }
// }
//}
//public class Main {
// public static void main(String args[]) throws IOException{
// BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
// StringBuilder builder = new StringBuilder();
// int i=1;
// while(true){
// int data= Integer.parseInt(reader.readLine());
// if(data==0)
// break;
//
// builder.append("Case ").append(Integer.toString(i++)).append(": ").append(Integer.toString(data)).append("\n");
// }
// System.out.print(builder);
// }
//}
//public class Main {
// public static void main(String args[]) throws IOException{
// BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
// StringBuilder builder = new StringBuilder();
// while(true){
// String data[] = reader.readLine().split(" ");
// int a= Integer.parseInt(data[0]);
// int b= Integer.parseInt(data[1]);
// if(a==0 && b==0)
// break;
//
// builder.append(Integer.toString(a<b?a:b)).append(" ").append(Integer.toString(a<b?b:a)).append("\n");
// }
// System.out.print(builder);
// }
//}
//import java.io.*;
//class Main{
// public static void main(String[] args) throws Exception{
// int x, ans;
//
// BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
// x = Integer.parseInt(br.readLine());
//
// ans = x*x*x;
// System.out.println(ans);
// }
//}
//class Main {
// public static void main(String[] arg)throws IOException{
// BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
// String str = br.readLine();
// String[] div = str.split(" ");
// int s = Integer.parseInt(div[0]);
// int l = Integer.parseInt(div[1]);
// System.out.println(s*l + " "+ 2*(s+l));
// }
//}
//import java.io.BufferedReader;
//import java.io.InputStreamReader;
//
//public class Main{
// public static void main(String args[])throws java.lang.Exception{
// BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
// String line = br.readLine();
// //?????°??????????????£??\
// int s =Integer.parseInt(line);
// int h = s / 3600;
// int m = (s % 3600) / 60;
// s = s % 60;
// System.out.println(h+":"+m+":"+s);
//
// }
//}
//import java.io.*;
//
//public class Main
//{
// public static void main(String[] args) throws Exception
// {
// BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
// String str = br.readLine();
// String[] div = str.split(" ");
// int a = Integer.parseInt(div[0]);
// int b = Integer.parseInt(div[1]);
// if (a > b)
// {
// System.out.println("a > b");
// } else if (a == b) {
// System.out.println("a == b");
// } else {
// System.out.println("a < b");
// }
// }
//}
//public class Main
//{
// public static void main(String[] args) throws IOException {
// BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
// String str = br.readLine();
// String[] div = str.split(" ");
// int a = Integer.parseInt(div[0]);
// int b = Integer.parseInt(div[1]);
// int c = Integer.parseInt(div[2]);
// if (a < b && b < c)
// {
// System.out.println("Yes");
// }else{
// System.out.println("No");
// }
// }
//}
//public class Main {
// public static void main(String[] args) {
// for (int i = 0; i < 1000; i++) {
// System.out.println("Hello World");
// }
// }
//}
//public class Main {
// public static void main(String args[]) throws IOException{
// BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
// StringBuilder builder = new StringBuilder();
// int i=1;
// while(true){
// int data= Integer.parseInt(reader.readLine());
// if(data==0)
// break;
//
// builder.append("Case ").append(Integer.toString(i++)).append(": ").append(Integer.toString(data)).append("\n");
// }
// System.out.print(builder);
// }
//}
//public class Main {
// public static void main(String args[]) throws IOException {
// BufferedReader reader = new BufferedReader(new InputStreamReader(
// System.in));
// StringBuilder builder = new StringBuilder();
// while (true) {
// String data[] = reader.readLine().split(" ");
// int a = Integer.parseInt(data[0]);
// int b = Integer.parseInt(data[1]);
// if (a == 0 && b == 0)
// break;
//
// builder.append(Integer.toString(a < b ? a : b)).append(" ")
// .append(Integer.toString(a < b ? b : a)).append("\n");
// }
// System.out.print(builder);
// }
//}
//public class Main {
// public static void main(String[] args) throws Exception {
// BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
// String line = br.readLine();
// String[] ln = line.split(" ");
// BigDecimal a = new BigDecimal(ln[0]);
// BigDecimal b = new BigDecimal(ln[1]);
// System.out.println(a.divideToIntegralValue(b).toPlainString() + " "
// + a.remainder(b).toPlainString() + " "
// + a.divide(b, 10, RoundingMode.HALF_UP).toPlainString());
// }
//}
public class Main
{
public static void main(String[] args) throws NumberFormatException, IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
double a = Double.parseDouble(br.readLine());
System.out.printf("%6f %6f", a * a * Math.PI, a * 2 * Math.PI);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
18,
13,
13,
4,
18,
18,
13,
13,
17,
2,
2,
13,
13,
13,
2,
2,
17,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
44,
5
],
[
44,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
25,
31
],
[
32,
32
],
[
32,
33
],
[
32,
34
],
[
32,
35
],
[
25,
36
],
[
37,
37
],
[
37,
38
],
[
37,
39
],
[
37,
40
],
[
6,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = Double.parseDouble(sc.next());\n\t\tdouble p = Math.PI;\n\n\t\tSystem.out.printf(\"%f %f\\n\",r*r*p,2*r*p);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = Double.parseDouble(sc.next());\n\t\tdouble p = Math.PI;\n\n\t\tSystem.out.printf(\"%f %f\\n\",r*r*p,2*r*p);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = Double.parseDouble(sc.next());\n\t\tdouble p = Math.PI;\n\n\t\tSystem.out.printf(\"%f %f\\n\",r*r*p,2*r*p);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = Double.parseDouble(sc.next());\n\t\tdouble p = Math.PI;\n\n\t\tSystem.out.printf(\"%f %f\\n\",r*r*p,2*r*p);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double r = Double.parseDouble(sc.next());",
"r",
"Double.parseDouble(sc.next())",
"Double.parseDouble",
"Double",
"sc.next()",
"sc.next",
"sc",
"double p = Math.PI;",
"p",
"Math.PI",
"Math",
"Math.PI",
"System.out.printf(\"%f %f\\n\",r*r*p,2*r*p)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f %f\\n\"",
"r*r*p",
"r*r*p",
"r",
"r",
"p",
"2*r*p",
"2*r*p",
"2",
"r",
"p",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = Double.parseDouble(sc.next());\n\t\tdouble p = Math.PI;\n\n\t\tSystem.out.printf(\"%f %f\\n\",r*r*p,2*r*p);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = Double.parseDouble(sc.next());\n\t\tdouble p = Math.PI;\n\n\t\tSystem.out.printf(\"%f %f\\n\",r*r*p,2*r*p);\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
double r = Double.parseDouble(sc.next());
double p = Math.PI;
System.out.printf("%f %f\n",r*r*p,2*r*p);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
2,
2,
13,
13,
13,
41,
13,
2,
2,
17,
13,
13,
4,
18,
18,
13,
13,
17,
13,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
65,
5
],
[
65,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
31,
31
],
[
31,
32
],
[
31,
33
],
[
31,
34
],
[
8,
35
],
[
35,
36
],
[
35,
37
],
[
38,
38
],
[
38,
39
],
[
38,
40
],
[
38,
41
],
[
8,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
42,
48
],
[
8,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
8,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
55,
61
],
[
6,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tdouble r = Double.parseDouble(line);\n\t\tdouble pi = Math.PI;\n\t\tdouble menseki = r * r * pi;\n\t\tdouble enshuu = 2 * r * pi;\n\t\tSystem.out.printf(\"%.8f\", menseki);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.printf(\"%.8f\", enshuu);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tdouble r = Double.parseDouble(line);\n\t\tdouble pi = Math.PI;\n\t\tdouble menseki = r * r * pi;\n\t\tdouble enshuu = 2 * r * pi;\n\t\tSystem.out.printf(\"%.8f\", menseki);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.printf(\"%.8f\", enshuu);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tdouble r = Double.parseDouble(line);\n\t\tdouble pi = Math.PI;\n\t\tdouble menseki = r * r * pi;\n\t\tdouble enshuu = 2 * r * pi;\n\t\tSystem.out.printf(\"%.8f\", menseki);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.printf(\"%.8f\", enshuu);\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tdouble r = Double.parseDouble(line);\n\t\tdouble pi = Math.PI;\n\t\tdouble menseki = r * r * pi;\n\t\tdouble enshuu = 2 * r * pi;\n\t\tSystem.out.printf(\"%.8f\", menseki);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.printf(\"%.8f\", enshuu);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String line = sc.nextLine();",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"double r = Double.parseDouble(line);",
"r",
"Double.parseDouble(line)",
"Double.parseDouble",
"Double",
"line",
"double pi = Math.PI;",
"pi",
"Math.PI",
"Math",
"Math.PI",
"double menseki = r * r * pi;",
"menseki",
"r * r * pi",
"r * r * pi",
"r",
"r",
"pi",
"double enshuu = 2 * r * pi;",
"enshuu",
"2 * r * pi",
"2 * r * pi",
"2",
"r",
"pi",
"System.out.printf(\"%.8f\", menseki)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.8f\"",
"menseki",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.printf(\"%.8f\", enshuu)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.8f\"",
"enshuu",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tdouble r = Double.parseDouble(line);\n\t\tdouble pi = Math.PI;\n\t\tdouble menseki = r * r * pi;\n\t\tdouble enshuu = 2 * r * pi;\n\t\tSystem.out.printf(\"%.8f\", menseki);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.printf(\"%.8f\", enshuu);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tdouble r = Double.parseDouble(line);\n\t\tdouble pi = Math.PI;\n\t\tdouble menseki = r * r * pi;\n\t\tdouble enshuu = 2 * r * pi;\n\t\tSystem.out.printf(\"%.8f\", menseki);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.printf(\"%.8f\", enshuu);\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner sc = new Scanner(System.in);
String line = sc.nextLine();
double r = Double.parseDouble(line);
double pi = Math.PI;
double menseki = r * r * pi;
double enshuu = 2 * r * pi;
System.out.printf("%.8f", menseki);
System.out.print(" ");
System.out.printf("%.8f", enshuu);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
4,
18,
20,
4,
18,
18,
13,
13,
4,
18,
13,
17,
2,
2,
13,
13,
18,
13,
13,
2,
2,
17,
13,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
14,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
19,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
19,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
34,
36
],
[
6,
37
],
[
37,
38
]
] | [
"import java.util.Scanner;\n\nclass Main\n{\n public static void main(String[] args) {\n double r = new Scanner(System.in).nextDouble();\n System.out.println(String.format(\"%.6f %.6f\", (r*r*Math.PI), (2*r*Math.PI) ) );\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main\n{\n public static void main(String[] args) {\n double r = new Scanner(System.in).nextDouble();\n System.out.println(String.format(\"%.6f %.6f\", (r*r*Math.PI), (2*r*Math.PI) ) );\n }\n}",
"Main",
"public static void main(String[] args) {\n double r = new Scanner(System.in).nextDouble();\n System.out.println(String.format(\"%.6f %.6f\", (r*r*Math.PI), (2*r*Math.PI) ) );\n }",
"main",
"{\n double r = new Scanner(System.in).nextDouble();\n System.out.println(String.format(\"%.6f %.6f\", (r*r*Math.PI), (2*r*Math.PI) ) );\n }",
"double r = new Scanner(System.in).nextDouble();",
"r",
"new Scanner(System.in).nextDouble()",
"new Scanner(System.in).nextDouble",
"new Scanner(System.in)",
"System.out.println(String.format(\"%.6f %.6f\", (r*r*Math.PI), (2*r*Math.PI) ) )",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%.6f %.6f\", (r*r*Math.PI), (2*r*Math.PI) )",
"String.format",
"String",
"\"%.6f %.6f\"",
"(r*r*Math.PI)",
"r*r*Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"(2*r*Math.PI)",
"2*r*Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"String[] args",
"args"
] | import java.util.Scanner;
class Main
{
public static void main(String[] args) {
double r = new Scanner(System.in).nextDouble();
System.out.println(String.format("%.6f %.6f", (r*r*Math.PI), (2*r*Math.PI) ) );
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
17,
13,
41,
13,
2,
2,
13,
17,
17,
41,
13,
2,
2,
13,
13,
17,
41,
13,
4,
18,
13,
17,
13,
41,
13,
4,
18,
13,
17,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
31,
31
],
[
31,
32
],
[
31,
33
],
[
31,
34
],
[
14,
35
],
[
35,
36
],
[
35,
37
],
[
38,
38
],
[
38,
39
],
[
38,
40
],
[
38,
41
],
[
14,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
44,
48
],
[
14,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
51,
55
],
[
14,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
62,
62
],
[
62,
63
],
[
62,
64
],
[
62,
65
],
[
12,
66
],
[
66,
67
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.*;\nclass Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\n\t\tdouble r2 = 1.0*r;\n\t\t\n\t\tdouble ensyu = r2 * 2 * 3.141592653589;\n\t\tdouble menseki = r2 * r2 * 3.141592653589;\n\n\t\tString ee =String.format(\"%.8f\",ensyu);\n\t\tString mm =String.format(\"%.8f\",menseki);\n\t\tSystem.out.println(mm+\" \"+ee);\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\n\t\tdouble r2 = 1.0*r;\n\t\t\n\t\tdouble ensyu = r2 * 2 * 3.141592653589;\n\t\tdouble menseki = r2 * r2 * 3.141592653589;\n\n\t\tString ee =String.format(\"%.8f\",ensyu);\n\t\tString mm =String.format(\"%.8f\",menseki);\n\t\tSystem.out.println(mm+\" \"+ee);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\n\t\tdouble r2 = 1.0*r;\n\t\t\n\t\tdouble ensyu = r2 * 2 * 3.141592653589;\n\t\tdouble menseki = r2 * r2 * 3.141592653589;\n\n\t\tString ee =String.format(\"%.8f\",ensyu);\n\t\tString mm =String.format(\"%.8f\",menseki);\n\t\tSystem.out.println(mm+\" \"+ee);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\n\t\tdouble r2 = 1.0*r;\n\t\t\n\t\tdouble ensyu = r2 * 2 * 3.141592653589;\n\t\tdouble menseki = r2 * r2 * 3.141592653589;\n\n\t\tString ee =String.format(\"%.8f\",ensyu);\n\t\tString mm =String.format(\"%.8f\",menseki);\n\t\tSystem.out.println(mm+\" \"+ee);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"double r = scan.nextDouble();",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"double r2 = 1.0*r;",
"r2",
"1.0*r",
"1.0",
"r",
"double ensyu = r2 * 2 * 3.141592653589;",
"ensyu",
"r2 * 2 * 3.141592653589",
"r2 * 2 * 3.141592653589",
"r2",
"2",
"3.141592653589",
"double menseki = r2 * r2 * 3.141592653589;",
"menseki",
"r2 * r2 * 3.141592653589",
"r2 * r2 * 3.141592653589",
"r2",
"r2",
"3.141592653589",
"String ee =String.format(\"%.8f\",ensyu);",
"ee",
"String.format(\"%.8f\",ensyu)",
"String.format",
"String",
"\"%.8f\"",
"ensyu",
"String mm =String.format(\"%.8f\",menseki);",
"mm",
"String.format(\"%.8f\",menseki)",
"String.format",
"String",
"\"%.8f\"",
"menseki",
"System.out.println(mm+\" \"+ee)",
"System.out.println",
"System.out",
"System",
"System.out",
"mm+\" \"+ee",
"mm+\" \"+ee",
"mm",
"\" \"",
"ee",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;
class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
double r2 = 1.0*r;
double ensyu = r2 * 2 * 3.141592653589;
double menseki = r2 * r2 * 3.141592653589;
String ee =String.format("%.8f",ensyu);
String mm =String.format("%.8f",menseki);
System.out.println(mm+" "+ee);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
17,
2,
2,
13,
13,
13,
17,
4,
18,
13,
17,
2,
2,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
51,
5
],
[
51,
6
],
[
6,
7
],
[
51,
8
],
[
8,
9
],
[
8,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
10,
19
],
[
19,
20
],
[
19,
21
],
[
10,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
28,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
29,
33
],
[
34,
34
],
[
34,
35
],
[
34,
36
],
[
34,
37
],
[
28,
38
],
[
28,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
8,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n private static Scanner scan;\n\n public static void main(String[] args) {\n scan = new Scanner(System.in);\n double r = scan.nextDouble();\n double π = 3.141592653589;\n System.out.println(\n String.format(\"%.6f\",r * r * π) + \" \" + String.format(\"%.6f\", (r + r) * π));\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n private static Scanner scan;\n\n public static void main(String[] args) {\n scan = new Scanner(System.in);\n double r = scan.nextDouble();\n double π = 3.141592653589;\n System.out.println(\n String.format(\"%.6f\",r * r * π) + \" \" + String.format(\"%.6f\", (r + r) * π));\n }\n}",
"Main",
"private static Scanner scan;",
"scan",
"public static void main(String[] args) {\n scan = new Scanner(System.in);\n double r = scan.nextDouble();\n double π = 3.141592653589;\n System.out.println(\n String.format(\"%.6f\",r * r * π) + \" \" + String.format(\"%.6f\", (r + r) * π));\n }",
"main",
"{\n scan = new Scanner(System.in);\n double r = scan.nextDouble();\n double π = 3.141592653589;\n System.out.println(\n String.format(\"%.6f\",r * r * π) + \" \" + String.format(\"%.6f\", (r + r) * π));\n }",
"scan = new Scanner(System.in)",
"scan",
"new Scanner(System.in)",
"double r = scan.nextDouble();",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"double π = 3.141592653589;",
"π",
"3.141592653589",
"System.out.println(\n String.format(\"%.6f\",r * r * π) + \" \" + String.format(\"%.6f\", (r + r) * π))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%.6f\",r * r * π) + \" \" + String.format(\"%.6f\", (r + r) * π)",
"String.format(\"%.6f\",r * r * π) + \" \" + String.format(\"%.6f\", (r + r) * π)",
"String.format(\"%.6f\",r * r * π)",
"String.format",
"String",
"\"%.6f\"",
"r * r * π",
"r * r * π",
"r",
"r",
"π",
"\" \"",
"String.format(\"%.6f\", (r + r) * π)",
"String.format",
"String",
"\"%.6f\"",
"(r + r) * π",
"(r + r)",
"r",
"r",
"π",
"String[] args",
"args",
"public class Main {\n private static Scanner scan;\n\n public static void main(String[] args) {\n scan = new Scanner(System.in);\n double r = scan.nextDouble();\n double π = 3.141592653589;\n System.out.println(\n String.format(\"%.6f\",r * r * π) + \" \" + String.format(\"%.6f\", (r + r) * π));\n }\n}",
"public class Main {\n private static Scanner scan;\n\n public static void main(String[] args) {\n scan = new Scanner(System.in);\n double r = scan.nextDouble();\n double π = 3.141592653589;\n System.out.println(\n String.format(\"%.6f\",r * r * π) + \" \" + String.format(\"%.6f\", (r + r) * π));\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
private static Scanner scan;
public static void main(String[] args) {
scan = new Scanner(System.in);
double r = scan.nextDouble();
double π = 3.141592653589;
System.out.println(
String.format("%.6f",r * r * π) + " " + String.format("%.6f", (r + r) * π));
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
17,
41,
13,
20,
17,
41,
13,
20,
0,
13,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
2,
2,
18,
13,
17,
18,
13,
17,
18,
13,
13,
17,
4,
18,
13,
2,
2,
18,
13,
17,
17,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
119,
14
],
[
119,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
18,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
28,
37
],
[
37,
38
],
[
37,
39
],
[
28,
41
],
[
41,
42
],
[
41,
43
],
[
28,
45
],
[
45,
46
],
[
45,
47
],
[
28,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
28,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
54,
64
],
[
64,
65
],
[
65,
66
],
[
54,
67
],
[
68,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
76,
77
],
[
76,
78
],
[
28,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
85,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
90,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
94,
95
],
[
94,
96
],
[
90,
97
],
[
97,
98
],
[
97,
99
],
[
85,
100
],
[
85,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
105,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
105,
110
],
[
110,
111
],
[
110,
112
],
[
28,
113
],
[
113,
114
],
[
114,
115
],
[
15,
116
],
[
116,
117
],
[
0,
118
],
[
118,
119
],
[
118,
120
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.text.DecimalFormat;\n\npublic class Main {\n\n public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n String[] strArray = new String[1];\n double[] doubleArray = new double[1];\n DecimalFormat df = new DecimalFormat(\"0.000000\");\n \n strArray = line.split(\"\\\\s\");\n \n for (int i = 0; i < strArray.length; i++) {\n\t\t\t\tdoubleArray[i] = Double.parseDouble(strArray[i]);\n\t\t\t} \n System.out.println(df.format(doubleArray[0]*doubleArray[0]*Math.PI)+\" \"+df.format(doubleArray[0]*2*Math.PI));\n br.close();\n } catch (IOException e) {\n System.err.println(e);\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.text.DecimalFormat;",
"DecimalFormat",
"java.text",
"public class Main {\n\n public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n String[] strArray = new String[1];\n double[] doubleArray = new double[1];\n DecimalFormat df = new DecimalFormat(\"0.000000\");\n \n strArray = line.split(\"\\\\s\");\n \n for (int i = 0; i < strArray.length; i++) {\n\t\t\t\tdoubleArray[i] = Double.parseDouble(strArray[i]);\n\t\t\t} \n System.out.println(df.format(doubleArray[0]*doubleArray[0]*Math.PI)+\" \"+df.format(doubleArray[0]*2*Math.PI));\n br.close();\n } catch (IOException e) {\n System.err.println(e);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n String[] strArray = new String[1];\n double[] doubleArray = new double[1];\n DecimalFormat df = new DecimalFormat(\"0.000000\");\n \n strArray = line.split(\"\\\\s\");\n \n for (int i = 0; i < strArray.length; i++) {\n\t\t\t\tdoubleArray[i] = Double.parseDouble(strArray[i]);\n\t\t\t} \n System.out.println(df.format(doubleArray[0]*doubleArray[0]*Math.PI)+\" \"+df.format(doubleArray[0]*2*Math.PI));\n br.close();\n } catch (IOException e) {\n System.err.println(e);\n }\n }",
"main",
"{\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n String[] strArray = new String[1];\n double[] doubleArray = new double[1];\n DecimalFormat df = new DecimalFormat(\"0.000000\");\n \n strArray = line.split(\"\\\\s\");\n \n for (int i = 0; i < strArray.length; i++) {\n\t\t\t\tdoubleArray[i] = Double.parseDouble(strArray[i]);\n\t\t\t} \n System.out.println(df.format(doubleArray[0]*doubleArray[0]*Math.PI)+\" \"+df.format(doubleArray[0]*2*Math.PI));\n br.close();\n } catch (IOException e) {\n System.err.println(e);\n }\n }",
"try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n String[] strArray = new String[1];\n double[] doubleArray = new double[1];\n DecimalFormat df = new DecimalFormat(\"0.000000\");\n \n strArray = line.split(\"\\\\s\");\n \n for (int i = 0; i < strArray.length; i++) {\n\t\t\t\tdoubleArray[i] = Double.parseDouble(strArray[i]);\n\t\t\t} \n System.out.println(df.format(doubleArray[0]*doubleArray[0]*Math.PI)+\" \"+df.format(doubleArray[0]*2*Math.PI));\n br.close();\n } catch (IOException e) {\n System.err.println(e);\n }",
"catch (IOException e) {\n System.err.println(e);\n }",
"IOException e",
"{\n System.err.println(e);\n }",
"System.err.println(e)",
"System.err.println",
"System.err",
"System",
"System.err",
"e",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n String[] strArray = new String[1];\n double[] doubleArray = new double[1];\n DecimalFormat df = new DecimalFormat(\"0.000000\");\n \n strArray = line.split(\"\\\\s\");\n \n for (int i = 0; i < strArray.length; i++) {\n\t\t\t\tdoubleArray[i] = Double.parseDouble(strArray[i]);\n\t\t\t} \n System.out.println(df.format(doubleArray[0]*doubleArray[0]*Math.PI)+\" \"+df.format(doubleArray[0]*2*Math.PI));\n br.close();\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"String[] strArray = new String[1];",
"strArray",
"new String[1]",
"1",
"double[] doubleArray = new double[1];",
"doubleArray",
"new double[1]",
"1",
"DecimalFormat df = new DecimalFormat(\"0.000000\");",
"df",
"new DecimalFormat(\"0.000000\")",
"strArray = line.split(\"\\\\s\")",
"strArray",
"line.split(\"\\\\s\")",
"line.split",
"line",
"\"\\\\s\"",
"for (int i = 0; i < strArray.length; i++) {\n\t\t\t\tdoubleArray[i] = Double.parseDouble(strArray[i]);\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < strArray.length",
"i",
"strArray.length",
"strArray",
"strArray.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tdoubleArray[i] = Double.parseDouble(strArray[i]);\n\t\t\t}",
"{\n\t\t\t\tdoubleArray[i] = Double.parseDouble(strArray[i]);\n\t\t\t}",
"doubleArray[i] = Double.parseDouble(strArray[i])",
"doubleArray[i]",
"doubleArray",
"i",
"Double.parseDouble(strArray[i])",
"Double.parseDouble",
"Double",
"strArray[i]",
"strArray",
"i",
"System.out.println(df.format(doubleArray[0]*doubleArray[0]*Math.PI)+\" \"+df.format(doubleArray[0]*2*Math.PI))",
"System.out.println",
"System.out",
"System",
"System.out",
"df.format(doubleArray[0]*doubleArray[0]*Math.PI)+\" \"+df.format(doubleArray[0]*2*Math.PI)",
"df.format(doubleArray[0]*doubleArray[0]*Math.PI)+\" \"+df.format(doubleArray[0]*2*Math.PI)",
"df.format(doubleArray[0]*doubleArray[0]*Math.PI)",
"df.format",
"df",
"doubleArray[0]*doubleArray[0]*Math.PI",
"doubleArray[0]*doubleArray[0]*Math.PI",
"doubleArray[0]",
"doubleArray",
"0",
"doubleArray[0]",
"doubleArray",
"0",
"Math.PI",
"Math",
"Math.PI",
"\" \"",
"df.format(doubleArray[0]*2*Math.PI)",
"df.format",
"df",
"doubleArray[0]*2*Math.PI",
"doubleArray[0]*2*Math.PI",
"doubleArray[0]",
"doubleArray",
"0",
"2",
"Math.PI",
"Math",
"Math.PI",
"br.close()",
"br.close",
"br",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n String[] strArray = new String[1];\n double[] doubleArray = new double[1];\n DecimalFormat df = new DecimalFormat(\"0.000000\");\n \n strArray = line.split(\"\\\\s\");\n \n for (int i = 0; i < strArray.length; i++) {\n\t\t\t\tdoubleArray[i] = Double.parseDouble(strArray[i]);\n\t\t\t} \n System.out.println(df.format(doubleArray[0]*doubleArray[0]*Math.PI)+\" \"+df.format(doubleArray[0]*2*Math.PI));\n br.close();\n } catch (IOException e) {\n System.err.println(e);\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n String[] strArray = new String[1];\n double[] doubleArray = new double[1];\n DecimalFormat df = new DecimalFormat(\"0.000000\");\n \n strArray = line.split(\"\\\\s\");\n \n for (int i = 0; i < strArray.length; i++) {\n\t\t\t\tdoubleArray[i] = Double.parseDouble(strArray[i]);\n\t\t\t} \n System.out.println(df.format(doubleArray[0]*doubleArray[0]*Math.PI)+\" \"+df.format(doubleArray[0]*2*Math.PI));\n br.close();\n } catch (IOException e) {\n System.err.println(e);\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.text.DecimalFormat;
public class Main {
public static void main(String[] args) {
try {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = br.readLine();
String[] strArray = new String[1];
double[] doubleArray = new double[1];
DecimalFormat df = new DecimalFormat("0.000000");
strArray = line.split("\\s");
for (int i = 0; i < strArray.length; i++) {
doubleArray[i] = Double.parseDouble(strArray[i]);
}
System.out.println(df.format(doubleArray[0]*doubleArray[0]*Math.PI)+" "+df.format(doubleArray[0]*2*Math.PI));
br.close();
} catch (IOException e) {
System.err.println(e);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
18,
13,
13,
4,
18,
18,
13,
13,
17,
2,
2,
13,
13,
13,
2,
2,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
22,
24
],
[
11,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
25,
31
],
[
32,
32
],
[
32,
33
],
[
32,
34
],
[
32,
35
],
[
25,
36
],
[
37,
37
],
[
37,
38
],
[
37,
39
],
[
37,
40
],
[
9,
41
],
[
41,
42
]
] | [
"import java.io.*;\nimport java.util.*;\n\nclass Main { \npublic static void main (String[] args){\n Scanner scan = new Scanner(System.in);\n\n double r = scan.nextDouble();\n double x = Math.PI;\n\n System.out.printf(\"%.5f %.5f\\n\",r * r * x,r * 2 * x);\n\n}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main { \npublic static void main (String[] args){\n Scanner scan = new Scanner(System.in);\n\n double r = scan.nextDouble();\n double x = Math.PI;\n\n System.out.printf(\"%.5f %.5f\\n\",r * r * x,r * 2 * x);\n\n}\n}",
"Main",
"public static void main (String[] args){\n Scanner scan = new Scanner(System.in);\n\n double r = scan.nextDouble();\n double x = Math.PI;\n\n System.out.printf(\"%.5f %.5f\\n\",r * r * x,r * 2 * x);\n\n}",
"main",
"{\n Scanner scan = new Scanner(System.in);\n\n double r = scan.nextDouble();\n double x = Math.PI;\n\n System.out.printf(\"%.5f %.5f\\n\",r * r * x,r * 2 * x);\n\n}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"double r = scan.nextDouble();",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"double x = Math.PI;",
"x",
"Math.PI",
"Math",
"Math.PI",
"System.out.printf(\"%.5f %.5f\\n\",r * r * x,r * 2 * x)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.5f %.5f\\n\"",
"r * r * x",
"r * r * x",
"r",
"r",
"x",
"r * 2 * x",
"r * 2 * x",
"r",
"2",
"x",
"String[] args",
"args"
] | import java.io.*;
import java.util.*;
class Main {
public static void main (String[] args){
Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
double x = Math.PI;
System.out.printf("%.5f %.5f\n",r * r * x,r * 2 * x);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
41,
13,
41,
13,
17,
0,
13,
2,
2,
13,
13,
13,
0,
13,
2,
2,
17,
13,
13,
4,
18,
18,
13,
13,
17,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
8,
24
],
[
24,
25
],
[
24,
26
],
[
27,
27
],
[
27,
28
],
[
27,
29
],
[
27,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
34,
34
],
[
34,
35
],
[
34,
36
],
[
34,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
38,
44
],
[
38,
45
],
[
6,
46
],
[
46,
47
]
] | [
"import java.util.Scanner;\nclass Main{\n public static void main(String[] args){\n \n Scanner scan = new Scanner(System.in);\n \n double r = scan.nextDouble();\n double s,l,p = 3.141592653589;\n \n s = r*r*p;\n l = 2*r*p;\n \n System.out.printf(\"%f %f\\n\",s,l);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n \n Scanner scan = new Scanner(System.in);\n \n double r = scan.nextDouble();\n double s,l,p = 3.141592653589;\n \n s = r*r*p;\n l = 2*r*p;\n \n System.out.printf(\"%f %f\\n\",s,l);\n }\n}",
"Main",
"public static void main(String[] args){\n \n Scanner scan = new Scanner(System.in);\n \n double r = scan.nextDouble();\n double s,l,p = 3.141592653589;\n \n s = r*r*p;\n l = 2*r*p;\n \n System.out.printf(\"%f %f\\n\",s,l);\n }",
"main",
"{\n \n Scanner scan = new Scanner(System.in);\n \n double r = scan.nextDouble();\n double s,l,p = 3.141592653589;\n \n s = r*r*p;\n l = 2*r*p;\n \n System.out.printf(\"%f %f\\n\",s,l);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"double r = scan.nextDouble();",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"double s",
"s",
"l",
"l",
"p = 3.141592653589;",
"p",
"3.141592653589",
"s = r*r*p",
"s",
"r*r*p",
"r*r*p",
"r",
"r",
"p",
"l = 2*r*p",
"l",
"2*r*p",
"2*r*p",
"2",
"r",
"p",
"System.out.printf(\"%f %f\\n\",s,l)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f %f\\n\"",
"s",
"l",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
double s,l,p = 3.141592653589;
s = r*r*p;
l = 2*r*p;
System.out.printf("%f %f\n",s,l);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
2,
18,
13,
13,
2,
13,
13,
41,
13,
2,
17,
2,
18,
13,
13,
13,
4,
18,
18,
13,
13,
17,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
58,
14
],
[
58,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
26,
27
],
[
27,
28
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
17,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
17,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
47,
53
],
[
47,
54
],
[
15,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\nimport java.lang.Math;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n double r = Double.parseDouble(br.readLine());\n \n double area = Math.PI * (r * r);\n double circumference = 2 * (Math.PI * r);\n \n System.out.printf(\"%6f %6f\", area, circumference);\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.lang.Math;",
"Math",
"java.lang",
"public class Main {\n public static void main(String[] args) throws IOException {\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n double r = Double.parseDouble(br.readLine());\n \n double area = Math.PI * (r * r);\n double circumference = 2 * (Math.PI * r);\n \n System.out.printf(\"%6f %6f\", area, circumference);\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n double r = Double.parseDouble(br.readLine());\n \n double area = Math.PI * (r * r);\n double circumference = 2 * (Math.PI * r);\n \n System.out.printf(\"%6f %6f\", area, circumference);\n }",
"main",
"{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n double r = Double.parseDouble(br.readLine());\n \n double area = Math.PI * (r * r);\n double circumference = 2 * (Math.PI * r);\n \n System.out.printf(\"%6f %6f\", area, circumference);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"double r = Double.parseDouble(br.readLine());",
"r",
"Double.parseDouble(br.readLine())",
"Double.parseDouble",
"Double",
"br.readLine()",
"br.readLine",
"br",
"double area = Math.PI * (r * r);",
"area",
"Math.PI * (r * r)",
"Math.PI",
"Math",
"Math.PI",
"(r * r)",
"r",
"r",
"double circumference = 2 * (Math.PI * r);",
"circumference",
"2 * (Math.PI * r)",
"2",
"(Math.PI * r)",
"Math.PI",
"Math",
"Math.PI",
"r",
"System.out.printf(\"%6f %6f\", area, circumference)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%6f %6f\"",
"area",
"circumference",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException {\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n double r = Double.parseDouble(br.readLine());\n \n double area = Math.PI * (r * r);\n double circumference = 2 * (Math.PI * r);\n \n System.out.printf(\"%6f %6f\", area, circumference);\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n double r = Double.parseDouble(br.readLine());\n \n double area = Math.PI * (r * r);\n double circumference = 2 * (Math.PI * r);\n \n System.out.printf(\"%6f %6f\", area, circumference);\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
import java.lang.Math;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
double r = Double.parseDouble(br.readLine());
double area = Math.PI * (r * r);
double circumference = 2 * (Math.PI * r);
System.out.printf("%6f %6f", area, circumference);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
2,
2,
18,
13,
13,
13,
13,
41,
13,
2,
18,
13,
13,
2,
13,
13,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
17,
13,
17,
4,
18,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
26,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
26,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
48,
52
],
[
47,
53
],
[
47,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
54,
58
],
[
6,
59
],
[
59,
60
]
] | [
"\nimport java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String args[]){\n\t\t\n\t\t//スキャナーで半径rを読み取る\n\t Scanner sc = new Scanner(System.in);\n\t String s1 = sc.next();\n\t double r = Double.parseDouble(s1);\n\t \n\t //面積sと円周lを求める\n\t double s = Math.PI * r * r;\n\t double l = Math.PI * (r + r);\n\t \n\t //面積sと円周lを表示する\n\t System.out.println(String.format(\"%1$3f\",s) + \" \" + String.format(\"%1$3f\",l));\n\t \n\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String args[]){\n\t\t\n\t\t//スキャナーで半径rを読み取る\n\t Scanner sc = new Scanner(System.in);\n\t String s1 = sc.next();\n\t double r = Double.parseDouble(s1);\n\t \n\t //面積sと円周lを求める\n\t double s = Math.PI * r * r;\n\t double l = Math.PI * (r + r);\n\t \n\t //面積sと円周lを表示する\n\t System.out.println(String.format(\"%1$3f\",s) + \" \" + String.format(\"%1$3f\",l));\n\t \n\t\t\n\t}\n\n}",
"Main",
"public static void main(String args[]){\n\t\t\n\t\t//スキャナーで半径rを読み取る\n\t Scanner sc = new Scanner(System.in);\n\t String s1 = sc.next();\n\t double r = Double.parseDouble(s1);\n\t \n\t //面積sと円周lを求める\n\t double s = Math.PI * r * r;\n\t double l = Math.PI * (r + r);\n\t \n\t //面積sと円周lを表示する\n\t System.out.println(String.format(\"%1$3f\",s) + \" \" + String.format(\"%1$3f\",l));\n\t \n\t\t\n\t}",
"main",
"{\n\t\t\n\t\t//スキャナーで半径rを読み取る\n\t Scanner sc = new Scanner(System.in);\n\t String s1 = sc.next();\n\t double r = Double.parseDouble(s1);\n\t \n\t //面積sと円周lを求める\n\t double s = Math.PI * r * r;\n\t double l = Math.PI * (r + r);\n\t \n\t //面積sと円周lを表示する\n\t System.out.println(String.format(\"%1$3f\",s) + \" \" + String.format(\"%1$3f\",l));\n\t \n\t\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s1 = sc.next();",
"s1",
"sc.next()",
"sc.next",
"sc",
"double r = Double.parseDouble(s1);",
"r",
"Double.parseDouble(s1)",
"Double.parseDouble",
"Double",
"s1",
"double s = Math.PI * r * r;",
"s",
"Math.PI * r * r",
"Math.PI * r * r",
"Math.PI",
"Math",
"Math.PI",
"r",
"r",
"double l = Math.PI * (r + r);",
"l",
"Math.PI * (r + r)",
"Math.PI",
"Math",
"Math.PI",
"(r + r)",
"r",
"r",
"System.out.println(String.format(\"%1$3f\",s) + \" \" + String.format(\"%1$3f\",l))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%1$3f\",s) + \" \" + String.format(\"%1$3f\",l)",
"String.format(\"%1$3f\",s) + \" \" + String.format(\"%1$3f\",l)",
"String.format(\"%1$3f\",s)",
"String.format",
"String",
"\"%1$3f\"",
"s",
"\" \"",
"String.format(\"%1$3f\",l)",
"String.format",
"String",
"\"%1$3f\"",
"l",
"String args[]",
"args"
] |
import java.util.Scanner;
class Main {
public static void main(String args[]){
//スキャナーで半径rを読み取る
Scanner sc = new Scanner(System.in);
String s1 = sc.next();
double r = Double.parseDouble(s1);
//面積sと円周lを求める
double s = Math.PI * r * r;
double l = Math.PI * (r + r);
//面積sと円周lを表示する
System.out.println(String.format("%1$3f",s) + " " + String.format("%1$3f",l));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
18,
13,
13,
41,
13,
2,
4,
18,
13,
13,
17,
13,
41,
13,
2,
2,
17,
13,
13,
4,
18,
18,
13,
13,
17,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
25,
29
],
[
24,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
34,
34
],
[
34,
35
],
[
34,
36
],
[
34,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
38,
44
],
[
38,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\tdouble pi = Math.PI;\n\t\tdouble area = Math.pow(r, 2) * pi; // ??¢???\n\t\tdouble Cir =2 * pi * r; //Circumference ?????¨\n\t\tSystem.out.printf(\"%.5f %.5f\\n\",area,Cir);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\tdouble pi = Math.PI;\n\t\tdouble area = Math.pow(r, 2) * pi; // ??¢???\n\t\tdouble Cir =2 * pi * r; //Circumference ?????¨\n\t\tSystem.out.printf(\"%.5f %.5f\\n\",area,Cir);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\tdouble pi = Math.PI;\n\t\tdouble area = Math.pow(r, 2) * pi; // ??¢???\n\t\tdouble Cir =2 * pi * r; //Circumference ?????¨\n\t\tSystem.out.printf(\"%.5f %.5f\\n\",area,Cir);\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\tdouble pi = Math.PI;\n\t\tdouble area = Math.pow(r, 2) * pi; // ??¢???\n\t\tdouble Cir =2 * pi * r; //Circumference ?????¨\n\t\tSystem.out.printf(\"%.5f %.5f\\n\",area,Cir);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double r = sc.nextDouble();",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"double pi = Math.PI;",
"pi",
"Math.PI",
"Math",
"Math.PI",
"double area = Math.pow(r, 2) * pi;",
"area",
"Math.pow(r, 2) * pi",
"Math.pow(r, 2)",
"Math.pow",
"Math",
"r",
"2",
"pi",
"double Cir =2 * pi * r;",
"Cir",
"2 * pi * r",
"2 * pi * r",
"2",
"pi",
"r",
"System.out.printf(\"%.5f %.5f\\n\",area,Cir)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.5f %.5f\\n\"",
"area",
"Cir",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\tdouble pi = Math.PI;\n\t\tdouble area = Math.pow(r, 2) * pi; // ??¢???\n\t\tdouble Cir =2 * pi * r; //Circumference ?????¨\n\t\tSystem.out.printf(\"%.5f %.5f\\n\",area,Cir);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\tdouble pi = Math.PI;\n\t\tdouble area = Math.pow(r, 2) * pi; // ??¢???\n\t\tdouble Cir =2 * pi * r; //Circumference ?????¨\n\t\tSystem.out.printf(\"%.5f %.5f\\n\",area,Cir);\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner sc = new Scanner(System.in);
double r = sc.nextDouble();
double pi = Math.PI;
double area = Math.pow(r, 2) * pi; // ??¢???
double Cir =2 * pi * r; //Circumference ?????¨
System.out.printf("%.5f %.5f\n",area,Cir);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
0,
13,
2,
2,
13,
13,
18,
13,
13,
0,
13,
2,
2,
17,
18,
13,
13,
13,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
17,
13,
17,
4,
18,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
62,
5
],
[
62,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
26,
26
],
[
26,
27
],
[
26,
28
],
[
26,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
35,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
48,
52
],
[
47,
53
],
[
47,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
54,
58
],
[
6,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String [] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tdouble r = scan.nextDouble();\n\t\tdouble s=0.0, l=0.0;\n\t\t\n\t\ts = r * r * Math.PI;\n\t\tl = 2 * Math.PI * r;\n\t\t\n\t\tSystem.out.println(String.format(\"%5f\", s)+\" \"+String.format(\"%5f\", l));\t\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String [] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tdouble r = scan.nextDouble();\n\t\tdouble s=0.0, l=0.0;\n\t\t\n\t\ts = r * r * Math.PI;\n\t\tl = 2 * Math.PI * r;\n\t\t\n\t\tSystem.out.println(String.format(\"%5f\", s)+\" \"+String.format(\"%5f\", l));\t\n\t}\n}",
"Main",
"public static void main(String [] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tdouble r = scan.nextDouble();\n\t\tdouble s=0.0, l=0.0;\n\t\t\n\t\ts = r * r * Math.PI;\n\t\tl = 2 * Math.PI * r;\n\t\t\n\t\tSystem.out.println(String.format(\"%5f\", s)+\" \"+String.format(\"%5f\", l));\t\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tdouble r = scan.nextDouble();\n\t\tdouble s=0.0, l=0.0;\n\t\t\n\t\ts = r * r * Math.PI;\n\t\tl = 2 * Math.PI * r;\n\t\t\n\t\tSystem.out.println(String.format(\"%5f\", s)+\" \"+String.format(\"%5f\", l));\t\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"double r = scan.nextDouble();",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"double s=0.0",
"s",
"0.0",
"l=0.0;",
"l",
"0.0",
"s = r * r * Math.PI",
"s",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"l = 2 * Math.PI * r",
"l",
"2 * Math.PI * r",
"2 * Math.PI * r",
"2",
"Math.PI",
"Math",
"Math.PI",
"r",
"System.out.println(String.format(\"%5f\", s)+\" \"+String.format(\"%5f\", l))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%5f\", s)+\" \"+String.format(\"%5f\", l)",
"String.format(\"%5f\", s)+\" \"+String.format(\"%5f\", l)",
"String.format(\"%5f\", s)",
"String.format",
"String",
"\"%5f\"",
"s",
"\" \"",
"String.format(\"%5f\", l)",
"String.format",
"String",
"\"%5f\"",
"l",
"String [] args",
"args",
"public class Main {\n\tpublic static void main(String [] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tdouble r = scan.nextDouble();\n\t\tdouble s=0.0, l=0.0;\n\t\t\n\t\ts = r * r * Math.PI;\n\t\tl = 2 * Math.PI * r;\n\t\t\n\t\tSystem.out.println(String.format(\"%5f\", s)+\" \"+String.format(\"%5f\", l));\t\n\t}\n}",
"public class Main {\n\tpublic static void main(String [] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tdouble r = scan.nextDouble();\n\t\tdouble s=0.0, l=0.0;\n\t\t\n\t\ts = r * r * Math.PI;\n\t\tl = 2 * Math.PI * r;\n\t\t\n\t\tSystem.out.println(String.format(\"%5f\", s)+\" \"+String.format(\"%5f\", l));\t\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String [] args){
Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
double s=0.0, l=0.0;
s = r * r * Math.PI;
l = 2 * Math.PI * r;
System.out.println(String.format("%5f", s)+" "+String.format("%5f", l));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
18,
13,
13,
41,
13,
2,
2,
13,
13,
13,
41,
13,
2,
2,
17,
13,
13,
4,
18,
18,
13,
13,
17,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
28,
28
],
[
28,
29
],
[
28,
30
],
[
28,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
35,
35
],
[
35,
36
],
[
35,
37
],
[
35,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
39,
45
],
[
39,
46
],
[
6,
47
],
[
47,
48
]
] | [
"import java.io.*;\n \nclass Main {\n public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n double r = Double.parseDouble(br.readLine());\n \n double pi = Math.PI;\n double S = r*r*pi;\n double R = 2*r*pi;\n System.out.printf(\"%.6f %.6f\", S, R);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main {\n public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n double r = Double.parseDouble(br.readLine());\n \n double pi = Math.PI;\n double S = r*r*pi;\n double R = 2*r*pi;\n System.out.printf(\"%.6f %.6f\", S, R);\n }\n}",
"Main",
"public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n double r = Double.parseDouble(br.readLine());\n \n double pi = Math.PI;\n double S = r*r*pi;\n double R = 2*r*pi;\n System.out.printf(\"%.6f %.6f\", S, R);\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n double r = Double.parseDouble(br.readLine());\n \n double pi = Math.PI;\n double S = r*r*pi;\n double R = 2*r*pi;\n System.out.printf(\"%.6f %.6f\", S, R);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"double r = Double.parseDouble(br.readLine());",
"r",
"Double.parseDouble(br.readLine())",
"Double.parseDouble",
"Double",
"br.readLine()",
"br.readLine",
"br",
"double pi = Math.PI;",
"pi",
"Math.PI",
"Math",
"Math.PI",
"double S = r*r*pi;",
"S",
"r*r*pi",
"r*r*pi",
"r",
"r",
"pi",
"double R = 2*r*pi;",
"R",
"2*r*pi",
"2*r*pi",
"2",
"r",
"pi",
"System.out.printf(\"%.6f %.6f\", S, R)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f %.6f\"",
"S",
"R",
"String[] args",
"args"
] | import java.io.*;
class Main {
public static void main(String[] args)throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
double r = Double.parseDouble(br.readLine());
double pi = Math.PI;
double S = r*r*pi;
double R = 2*r*pi;
System.out.printf("%.6f %.6f", S, R);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
41,
13,
20,
0,
13,
4,
18,
13,
4,
18,
18,
13,
13,
17,
2,
2,
13,
13,
13,
2,
2,
17,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
41,
5
],
[
41,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
22,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
22,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
6,
38
],
[
38,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tdouble pi = 3.141592653589;\n\t\tdouble r;\n\t\tScanner scan = new Scanner(System.in);\n\t\tr = scan.nextDouble();\n\n\t\tSystem.out.printf(\"%6f %6f\",(pi*r*r),(2*pi*r));\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tdouble pi = 3.141592653589;\n\t\tdouble r;\n\t\tScanner scan = new Scanner(System.in);\n\t\tr = scan.nextDouble();\n\n\t\tSystem.out.printf(\"%6f %6f\",(pi*r*r),(2*pi*r));\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tdouble pi = 3.141592653589;\n\t\tdouble r;\n\t\tScanner scan = new Scanner(System.in);\n\t\tr = scan.nextDouble();\n\n\t\tSystem.out.printf(\"%6f %6f\",(pi*r*r),(2*pi*r));\n\n\t}",
"main",
"{\n\t\tdouble pi = 3.141592653589;\n\t\tdouble r;\n\t\tScanner scan = new Scanner(System.in);\n\t\tr = scan.nextDouble();\n\n\t\tSystem.out.printf(\"%6f %6f\",(pi*r*r),(2*pi*r));\n\n\t}",
"double pi = 3.141592653589;",
"pi",
"3.141592653589",
"double r;",
"r",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"r = scan.nextDouble()",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"System.out.printf(\"%6f %6f\",(pi*r*r),(2*pi*r))",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%6f %6f\"",
"(pi*r*r)",
"pi*r*r",
"pi",
"r",
"r",
"(2*pi*r)",
"2*pi*r",
"2",
"pi",
"r",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tdouble pi = 3.141592653589;\n\t\tdouble r;\n\t\tScanner scan = new Scanner(System.in);\n\t\tr = scan.nextDouble();\n\n\t\tSystem.out.printf(\"%6f %6f\",(pi*r*r),(2*pi*r));\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tdouble pi = 3.141592653589;\n\t\tdouble r;\n\t\tScanner scan = new Scanner(System.in);\n\t\tr = scan.nextDouble();\n\n\t\tSystem.out.printf(\"%6f %6f\",(pi*r*r),(2*pi*r));\n\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
double pi = 3.141592653589;
double r;
Scanner scan = new Scanner(System.in);
r = scan.nextDouble();
System.out.printf("%6f %6f",(pi*r*r),(2*pi*r));
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
20,
4,
18,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
4,
18,
13,
4,
18,
13,
17,
2,
2,
13,
13,
18,
13,
13,
2,
2,
17,
13,
18,
13,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
4,
18,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
177,
20
],
[
177,
21
],
[
21,
22
],
[
177,
23
],
[
23,
24
],
[
177,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
27,
34
],
[
34,
35
],
[
34,
36
],
[
27,
37
],
[
37,
38
],
[
38,
39
],
[
27,
40
],
[
40,
41
],
[
41,
42
],
[
25,
43
],
[
43,
44
],
[
177,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
49,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
55,
59
],
[
60,
60
],
[
60,
61
],
[
60,
62
],
[
60,
63
],
[
63,
64
],
[
63,
65
],
[
55,
66
],
[
67,
67
],
[
67,
68
],
[
67,
69
],
[
67,
70
],
[
70,
71
],
[
70,
72
],
[
177,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
73,
77
],
[
77,
78
],
[
73,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
79,
85
],
[
85,
86
],
[
73,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
90,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
89,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
107,
108
],
[
108,
109
],
[
73,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
113,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
112,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
127,
130
],
[
130,
131
],
[
131,
132
],
[
73,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
137,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
136,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
135,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
73,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
157,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
156,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
155,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
170,
173
],
[
173,
174
],
[
174,
175
],
[
0,
176
],
[
176,
177
],
[
176,
178
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\n\npublic class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n double r = in.nextDouble(); \n out.printf(\"%.5f %.5f\", r*r*Math.PI, 2*r*Math.PI);\n }\n}\n \n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n double r = in.nextDouble(); \n out.printf(\"%.5f %.5f\", r*r*Math.PI, 2*r*Math.PI);\n }\n}\n \n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}",
"Main",
"static InputReader in;",
"in",
"static PrintWriter out;",
"out",
"public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}",
"main",
"{\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}",
"in = new InputReader(System.in)",
"in",
"new InputReader(System.in)",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"Solution solver = new Solution();",
"solver",
"new Solution()",
"solver.solve()",
"solver.solve",
"solver",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class Solution {\n void solve() throws IOException {\n double r = in.nextDouble(); \n out.printf(\"%.5f %.5f\", r*r*Math.PI, 2*r*Math.PI);\n }\n}",
"Solution",
"void solve() throws IOException {\n double r = in.nextDouble(); \n out.printf(\"%.5f %.5f\", r*r*Math.PI, 2*r*Math.PI);\n }",
"solve",
"{\n double r = in.nextDouble(); \n out.printf(\"%.5f %.5f\", r*r*Math.PI, 2*r*Math.PI);\n }",
"double r = in.nextDouble();",
"r",
"in.nextDouble()",
"in.nextDouble",
"in",
"out.printf(\"%.5f %.5f\", r*r*Math.PI, 2*r*Math.PI)",
"out.printf",
"out",
"\"%.5f %.5f\"",
"r*r*Math.PI",
"r*r*Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"2*r*Math.PI",
"2*r*Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }",
"InputReader",
"public BufferedReader br;",
"br",
"public StringTokenizer st;",
"st",
"public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }",
"InputReader",
"{\n br = new BufferedReader(new InputStreamReader(stream));\n }",
"br = new BufferedReader(new InputStreamReader(stream))",
"br",
"new BufferedReader(new InputStreamReader(stream))",
"InputStream stream",
"stream",
"public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }",
"nextInt",
"{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }",
"while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return Integer.parseInt(st.nextToken());",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }",
"nextLong",
"{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }",
"while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return Long.parseLong(st.nextToken());",
"Long.parseLong(st.nextToken())",
"Long.parseLong",
"Long",
"st.nextToken()",
"st.nextToken",
"st",
"public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }",
"nextDouble",
"{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }",
"while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return Double.parseDouble(st.nextToken());",
"Double.parseDouble(st.nextToken())",
"Double.parseDouble",
"Double",
"st.nextToken()",
"st.nextToken",
"st",
"public class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n double r = in.nextDouble(); \n out.printf(\"%.5f %.5f\", r*r*Math.PI, 2*r*Math.PI);\n }\n}\n \n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}",
"public class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n double r = in.nextDouble(); \n out.printf(\"%.5f %.5f\", r*r*Math.PI, 2*r*Math.PI);\n }\n}\n \n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.StringTokenizer;
public class Main {
static InputReader in;
static PrintWriter out;
static class Solution {
void solve() throws IOException {
double r = in.nextDouble();
out.printf("%.5f %.5f", r*r*Math.PI, 2*r*Math.PI);
}
}
public static void main(String[] args) throws IOException {
in = new InputReader(System.in);
out = new PrintWriter(System.out);
Solution solver = new Solution();
solver.solve();
out.close();
}
static class InputReader {
public BufferedReader br;
public StringTokenizer st;
public InputReader(InputStream stream) {
br = new BufferedReader(new InputStreamReader(stream));
}
public int nextInt() throws IOException {
while (st == null || !st.hasMoreTokens()) {
st = new StringTokenizer(br.readLine());
}
return Integer.parseInt(st.nextToken());
}
public long nextLong() throws IOException {
while (st == null || !st.hasMoreTokens()) {
st = new StringTokenizer(br.readLine());
}
return Long.parseLong(st.nextToken());
}
public String next() throws IOException {
while (st == null || !st.hasMoreTokens()) {
st = new StringTokenizer(br.readLine());
}
return st.nextToken();
}
public double nextDouble() throws IOException {
while (st == null || !st.hasMoreTokens()) {
st = new StringTokenizer(br.readLine());
}
return Double.parseDouble(st.nextToken());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
41,
13,
4,
18,
20,
41,
13,
2,
2,
13,
13,
18,
13,
13,
41,
13,
2,
2,
17,
13,
18,
13,
13,
4,
18,
18,
13,
13,
17,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
57,
8
],
[
57,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
12,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
22,
28
],
[
28,
29
],
[
28,
30
],
[
31,
31
],
[
31,
32
],
[
31,
33
],
[
31,
34
],
[
34,
35
],
[
34,
36
],
[
22,
37
],
[
37,
38
],
[
37,
39
],
[
40,
40
],
[
40,
41
],
[
40,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
22,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
46,
52
],
[
46,
53
],
[
9,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
] | [
"import java.util.*;\nimport java.lang.Math;\n\npublic class Main{\npublic static void main(String[] args){\ntry{\ndouble r = new Scanner(System.in).nextDouble();\ndouble S = r * r * Math.PI;\ndouble L = 2 * r * Math.PI;\n\nSystem.out.printf(\"%.5f %.5f\\n\", S, L);\n\n}catch(InputMismatchException e){\nSystem.out.println(e);\n}\n}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.Math;",
"Math",
"java.lang",
"public class Main{\npublic static void main(String[] args){\ntry{\ndouble r = new Scanner(System.in).nextDouble();\ndouble S = r * r * Math.PI;\ndouble L = 2 * r * Math.PI;\n\nSystem.out.printf(\"%.5f %.5f\\n\", S, L);\n\n}catch(InputMismatchException e){\nSystem.out.println(e);\n}\n}\n}",
"Main",
"public static void main(String[] args){\ntry{\ndouble r = new Scanner(System.in).nextDouble();\ndouble S = r * r * Math.PI;\ndouble L = 2 * r * Math.PI;\n\nSystem.out.printf(\"%.5f %.5f\\n\", S, L);\n\n}catch(InputMismatchException e){\nSystem.out.println(e);\n}\n}",
"main",
"{\ntry{\ndouble r = new Scanner(System.in).nextDouble();\ndouble S = r * r * Math.PI;\ndouble L = 2 * r * Math.PI;\n\nSystem.out.printf(\"%.5f %.5f\\n\", S, L);\n\n}catch(InputMismatchException e){\nSystem.out.println(e);\n}\n}",
"try{\ndouble r = new Scanner(System.in).nextDouble();\ndouble S = r * r * Math.PI;\ndouble L = 2 * r * Math.PI;\n\nSystem.out.printf(\"%.5f %.5f\\n\", S, L);\n\n}catch(InputMismatchException e){\nSystem.out.println(e);\n}",
"catch(InputMismatchException e){\nSystem.out.println(e);\n}",
"InputMismatchException e",
"{\nSystem.out.println(e);\n}",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"{\ndouble r = new Scanner(System.in).nextDouble();\ndouble S = r * r * Math.PI;\ndouble L = 2 * r * Math.PI;\n\nSystem.out.printf(\"%.5f %.5f\\n\", S, L);\n\n}",
"double r = new Scanner(System.in).nextDouble();",
"r",
"new Scanner(System.in).nextDouble()",
"new Scanner(System.in).nextDouble",
"new Scanner(System.in)",
"double S = r * r * Math.PI;",
"S",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"double L = 2 * r * Math.PI;",
"L",
"2 * r * Math.PI",
"2 * r * Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"System.out.printf(\"%.5f %.5f\\n\", S, L)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.5f %.5f\\n\"",
"S",
"L",
"String[] args",
"args",
"public class Main{\npublic static void main(String[] args){\ntry{\ndouble r = new Scanner(System.in).nextDouble();\ndouble S = r * r * Math.PI;\ndouble L = 2 * r * Math.PI;\n\nSystem.out.printf(\"%.5f %.5f\\n\", S, L);\n\n}catch(InputMismatchException e){\nSystem.out.println(e);\n}\n}\n}",
"public class Main{\npublic static void main(String[] args){\ntry{\ndouble r = new Scanner(System.in).nextDouble();\ndouble S = r * r * Math.PI;\ndouble L = 2 * r * Math.PI;\n\nSystem.out.printf(\"%.5f %.5f\\n\", S, L);\n\n}catch(InputMismatchException e){\nSystem.out.println(e);\n}\n}\n}",
"Main"
] | import java.util.*;
import java.lang.Math;
public class Main{
public static void main(String[] args){
try{
double r = new Scanner(System.in).nextDouble();
double S = r * r * Math.PI;
double L = 2 * r * Math.PI;
System.out.printf("%.5f %.5f\n", S, L);
}catch(InputMismatchException e){
System.out.println(e);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
17,
4,
13,
13,
4,
13,
13,
23,
13,
12,
13,
30,
29,
2,
2,
13,
17,
18,
13,
13,
23,
13,
12,
13,
30,
29,
2,
2,
13,
13,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
6,
29
],
[
29,
30
],
[
4,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
39,
41
],
[
31,
42
],
[
42,
43
],
[
4,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
44,
55
],
[
55,
56
]
] | [
"import java.util.Scanner;\n\nclass Main {\n public static void main(String[] args){\n Scanner cin = new Scanner(System.in);\n double r = cin.nextDouble();\n\n System.out.printf(\"%.6f %.6f\\n\", cal_area(r), cal_cirum(r));\n }\n\n private static double cal_cirum(double r) {\n return (r * 2 * Math.PI);\n }\n\n private static double cal_area(double r) {\n return (r * r * Math.PI);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String[] args){\n Scanner cin = new Scanner(System.in);\n double r = cin.nextDouble();\n\n System.out.printf(\"%.6f %.6f\\n\", cal_area(r), cal_cirum(r));\n }\n\n private static double cal_cirum(double r) {\n return (r * 2 * Math.PI);\n }\n\n private static double cal_area(double r) {\n return (r * r * Math.PI);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner cin = new Scanner(System.in);\n double r = cin.nextDouble();\n\n System.out.printf(\"%.6f %.6f\\n\", cal_area(r), cal_cirum(r));\n }",
"main",
"{\n Scanner cin = new Scanner(System.in);\n double r = cin.nextDouble();\n\n System.out.printf(\"%.6f %.6f\\n\", cal_area(r), cal_cirum(r));\n }",
"Scanner cin = new Scanner(System.in);",
"cin",
"new Scanner(System.in)",
"double r = cin.nextDouble();",
"r",
"cin.nextDouble()",
"cin.nextDouble",
"cin",
"System.out.printf(\"%.6f %.6f\\n\", cal_area(r), cal_cirum(r))",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f %.6f\\n\"",
"cal_area(r)",
"cal_area",
"r",
"cal_cirum(r)",
"cal_cirum",
"r",
"String[] args",
"args",
"private static double cal_cirum(double r) {\n return (r * 2 * Math.PI);\n }",
"cal_cirum",
"{\n return (r * 2 * Math.PI);\n }",
"return (r * 2 * Math.PI);",
"(r * 2 * Math.PI)",
"r * 2 * Math.PI",
"r",
"2",
"Math.PI",
"Math",
"Math.PI",
"double r",
"r",
"private static double cal_area(double r) {\n return (r * r * Math.PI);\n }",
"cal_area",
"{\n return (r * r * Math.PI);\n }",
"return (r * r * Math.PI);",
"(r * r * Math.PI)",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"double r",
"r"
] | import java.util.Scanner;
class Main {
public static void main(String[] args){
Scanner cin = new Scanner(System.in);
double r = cin.nextDouble();
System.out.printf("%.6f %.6f\n", cal_area(r), cal_cirum(r));
}
private static double cal_cirum(double r) {
return (r * 2 * Math.PI);
}
private static double cal_area(double r) {
return (r * r * Math.PI);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
41,
13,
0,
13,
2,
4,
18,
13,
13,
17,
18,
13,
13,
0,
13,
2,
2,
17,
13,
18,
13,
13,
41,
13,
20,
0,
13,
4,
18,
13,
17,
18,
13,
13,
41,
13,
20,
0,
13,
4,
18,
13,
17,
18,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
81,
8
],
[
81,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
11,
22
],
[
22,
23
],
[
11,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
27,
31
],
[
26,
32
],
[
32,
33
],
[
32,
34
],
[
11,
35
],
[
35,
36
],
[
35,
37
],
[
38,
38
],
[
38,
39
],
[
38,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
11,
44
],
[
44,
45
],
[
44,
46
],
[
11,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
49,
53
],
[
53,
54
],
[
53,
55
],
[
11,
56
],
[
56,
57
],
[
56,
58
],
[
11,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
11,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
74,
74
],
[
74,
75
],
[
74,
76
],
[
74,
77
],
[
9,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
] | [
"import java.util.Scanner;\nimport java.math.BigDecimal;\n\npublic class Main{\n\n public static void main(String argv[])\n {\n\tScanner scan = new Scanner(System.in);\n\tdouble r = scan.nextDouble();\n\tdouble S,L;\n\n\tS = Math.pow(r,2) * Math.PI;\n\tL = 2 * r * Math.PI;\n\tBigDecimal x = new BigDecimal(S);\nx = x.setScale(6,BigDecimal.ROUND_HALF_UP);\n\tBigDecimal y = new BigDecimal(L);\ny = y.setScale(6,BigDecimal.ROUND_HALF_UP);\n\tSystem.out.println(x+\" \"+y);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"public class Main{\n\n public static void main(String argv[])\n {\n\tScanner scan = new Scanner(System.in);\n\tdouble r = scan.nextDouble();\n\tdouble S,L;\n\n\tS = Math.pow(r,2) * Math.PI;\n\tL = 2 * r * Math.PI;\n\tBigDecimal x = new BigDecimal(S);\nx = x.setScale(6,BigDecimal.ROUND_HALF_UP);\n\tBigDecimal y = new BigDecimal(L);\ny = y.setScale(6,BigDecimal.ROUND_HALF_UP);\n\tSystem.out.println(x+\" \"+y);\n }\n}",
"Main",
"public static void main(String argv[])\n {\n\tScanner scan = new Scanner(System.in);\n\tdouble r = scan.nextDouble();\n\tdouble S,L;\n\n\tS = Math.pow(r,2) * Math.PI;\n\tL = 2 * r * Math.PI;\n\tBigDecimal x = new BigDecimal(S);\nx = x.setScale(6,BigDecimal.ROUND_HALF_UP);\n\tBigDecimal y = new BigDecimal(L);\ny = y.setScale(6,BigDecimal.ROUND_HALF_UP);\n\tSystem.out.println(x+\" \"+y);\n }",
"main",
"{\n\tScanner scan = new Scanner(System.in);\n\tdouble r = scan.nextDouble();\n\tdouble S,L;\n\n\tS = Math.pow(r,2) * Math.PI;\n\tL = 2 * r * Math.PI;\n\tBigDecimal x = new BigDecimal(S);\nx = x.setScale(6,BigDecimal.ROUND_HALF_UP);\n\tBigDecimal y = new BigDecimal(L);\ny = y.setScale(6,BigDecimal.ROUND_HALF_UP);\n\tSystem.out.println(x+\" \"+y);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"double r = scan.nextDouble();",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"double S",
"S",
"L;",
"L",
"S = Math.pow(r,2) * Math.PI",
"S",
"Math.pow(r,2) * Math.PI",
"Math.pow(r,2)",
"Math.pow",
"Math",
"r",
"2",
"Math.PI",
"Math",
"Math.PI",
"L = 2 * r * Math.PI",
"L",
"2 * r * Math.PI",
"2 * r * Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"BigDecimal x = new BigDecimal(S);",
"x",
"new BigDecimal(S)",
"x = x.setScale(6,BigDecimal.ROUND_HALF_UP)",
"x",
"x.setScale(6,BigDecimal.ROUND_HALF_UP)",
"x.setScale",
"x",
"6",
"BigDecimal.ROUND_HALF_UP",
"BigDecimal",
"BigDecimal.ROUND_HALF_UP",
"BigDecimal y = new BigDecimal(L);",
"y",
"new BigDecimal(L)",
"y = y.setScale(6,BigDecimal.ROUND_HALF_UP)",
"y",
"y.setScale(6,BigDecimal.ROUND_HALF_UP)",
"y.setScale",
"y",
"6",
"BigDecimal.ROUND_HALF_UP",
"BigDecimal",
"BigDecimal.ROUND_HALF_UP",
"System.out.println(x+\" \"+y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x+\" \"+y",
"x+\" \"+y",
"x",
"\" \"",
"y",
"String argv[]",
"argv",
"public class Main{\n\n public static void main(String argv[])\n {\n\tScanner scan = new Scanner(System.in);\n\tdouble r = scan.nextDouble();\n\tdouble S,L;\n\n\tS = Math.pow(r,2) * Math.PI;\n\tL = 2 * r * Math.PI;\n\tBigDecimal x = new BigDecimal(S);\nx = x.setScale(6,BigDecimal.ROUND_HALF_UP);\n\tBigDecimal y = new BigDecimal(L);\ny = y.setScale(6,BigDecimal.ROUND_HALF_UP);\n\tSystem.out.println(x+\" \"+y);\n }\n}",
"public class Main{\n\n public static void main(String argv[])\n {\n\tScanner scan = new Scanner(System.in);\n\tdouble r = scan.nextDouble();\n\tdouble S,L;\n\n\tS = Math.pow(r,2) * Math.PI;\n\tL = 2 * r * Math.PI;\n\tBigDecimal x = new BigDecimal(S);\nx = x.setScale(6,BigDecimal.ROUND_HALF_UP);\n\tBigDecimal y = new BigDecimal(L);\ny = y.setScale(6,BigDecimal.ROUND_HALF_UP);\n\tSystem.out.println(x+\" \"+y);\n }\n}",
"Main"
] | import java.util.Scanner;
import java.math.BigDecimal;
public class Main{
public static void main(String argv[])
{
Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
double S,L;
S = Math.pow(r,2) * Math.PI;
L = 2 * r * Math.PI;
BigDecimal x = new BigDecimal(S);
x = x.setScale(6,BigDecimal.ROUND_HALF_UP);
BigDecimal y = new BigDecimal(L);
y = y.setScale(6,BigDecimal.ROUND_HALF_UP);
System.out.println(x+" "+y);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
18,
13,
13,
4,
18,
18,
13,
13,
17,
2,
2,
13,
13,
13,
2,
2,
17,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
41,
5
],
[
41,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
22,
28
],
[
29,
29
],
[
29,
30
],
[
29,
31
],
[
29,
32
],
[
22,
33
],
[
34,
34
],
[
34,
35
],
[
34,
36
],
[
34,
37
],
[
6,
38
],
[
38,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
]
] | [
"\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\t\n\t\tdouble r = s.nextDouble();\n\t\tdouble pi = Math.PI;\n\t\t\n\t\tSystem.out.printf(\"%.5f %.5f\",r*r*pi,2*r*pi);\n\t\t\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\t\n\t\tdouble r = s.nextDouble();\n\t\tdouble pi = Math.PI;\n\t\t\n\t\tSystem.out.printf(\"%.5f %.5f\",r*r*pi,2*r*pi);\n\t\t\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\t\n\t\tdouble r = s.nextDouble();\n\t\tdouble pi = Math.PI;\n\t\t\n\t\tSystem.out.printf(\"%.5f %.5f\",r*r*pi,2*r*pi);\n\t\t\t\t\n\t}",
"main",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\t\n\t\tdouble r = s.nextDouble();\n\t\tdouble pi = Math.PI;\n\t\t\n\t\tSystem.out.printf(\"%.5f %.5f\",r*r*pi,2*r*pi);\n\t\t\t\t\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"double r = s.nextDouble();",
"r",
"s.nextDouble()",
"s.nextDouble",
"s",
"double pi = Math.PI;",
"pi",
"Math.PI",
"Math",
"Math.PI",
"System.out.printf(\"%.5f %.5f\",r*r*pi,2*r*pi)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.5f %.5f\"",
"r*r*pi",
"r*r*pi",
"r",
"r",
"pi",
"2*r*pi",
"2*r*pi",
"2",
"r",
"pi",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\t\n\t\tdouble r = s.nextDouble();\n\t\tdouble pi = Math.PI;\n\t\t\n\t\tSystem.out.printf(\"%.5f %.5f\",r*r*pi,2*r*pi);\n\t\t\t\t\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\t\n\t\tdouble r = s.nextDouble();\n\t\tdouble pi = Math.PI;\n\t\t\n\t\tSystem.out.printf(\"%.5f %.5f\",r*r*pi,2*r*pi);\n\t\t\t\t\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
double r = s.nextDouble();
double pi = Math.PI;
System.out.printf("%.5f %.5f",r*r*pi,2*r*pi);
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.