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,
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\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner in =new Scanner(System.in);\n\t\tdouble r=in.nextDouble();\n\t\tdouble pi = 3.1415926535897932384626433 ;\n\t\tSystem.out.printf(\"%.8f %.8f\", r*r*pi,2*r*pi);\n\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main\n{\n\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner in =new Scanner(System.in);\n\t\tdouble r=in.nextDouble();\n\t\tdouble pi = 3.1415926535897932384626433 ;\n\t\tSystem.out.printf(\"%.8f %.8f\", r*r*pi,2*r*pi);\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args)\n\t{\n\t\tScanner in =new Scanner(System.in);\n\t\tdouble r=in.nextDouble();\n\t\tdouble pi = 3.1415926535897932384626433 ;\n\t\tSystem.out.printf(\"%.8f %.8f\", r*r*pi,2*r*pi);\n\t\t\n\t}",
"main",
"{\n\t\tScanner in =new Scanner(System.in);\n\t\tdouble r=in.nextDouble();\n\t\tdouble pi = 3.1415926535897932384626433 ;\n\t\tSystem.out.printf(\"%.8f %.8f\", r*r*pi,2*r*pi);\n\t\t\n\t}",
"Scanner in =new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"double r=in.nextDouble();",
"r",
"in.nextDouble()",
"in.nextDouble",
"in",
"double pi = 3.1415926535897932384626433 ;",
"pi",
"3.1415926535897932384626433",
"System.out.printf(\"%.8f %.8f\", r*r*pi,2*r*pi)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.8f %.8f\"",
"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\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner in =new Scanner(System.in);\n\t\tdouble r=in.nextDouble();\n\t\tdouble pi = 3.1415926535897932384626433 ;\n\t\tSystem.out.printf(\"%.8f %.8f\", r*r*pi,2*r*pi);\n\t\t\n\t}\n\n}",
"public class Main\n{\n\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner in =new Scanner(System.in);\n\t\tdouble r=in.nextDouble();\n\t\tdouble pi = 3.1415926535897932384626433 ;\n\t\tSystem.out.printf(\"%.8f %.8f\", r*r*pi,2*r*pi);\n\t\t\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
Scanner in =new Scanner(System.in);
double r=in.nextDouble();
double pi = 3.1415926535897932384626433 ;
System.out.printf("%.8f %.8f", r*r*pi,2*r*pi);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
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
],
[
46,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
20,
20
],
[
20,
21
],
[
20,
22
],
[
20,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
29,
29
],
[
29,
30
],
[
29,
31
],
[
29,
32
],
[
32,
33
],
[
32,
34
],
[
11,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
35,
41
],
[
35,
42
],
[
9,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
] | [
"import java.util.*;\n\npublic class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tdouble r = scan.nextDouble();\n\t\tdouble area = r * r * Math.PI;\n\t\tdouble cir = 2 * r * Math.PI;\n\t\tSystem.out.printf(\"%f %f\\n\", area, cir);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tdouble r = scan.nextDouble();\n\t\tdouble area = r * r * Math.PI;\n\t\tdouble cir = 2 * r * Math.PI;\n\t\tSystem.out.printf(\"%f %f\\n\", area, cir);\n\t}\n}",
"Main",
"private static final Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"public static void main(String[] args){\n\t\tdouble r = scan.nextDouble();\n\t\tdouble area = r * r * Math.PI;\n\t\tdouble cir = 2 * r * Math.PI;\n\t\tSystem.out.printf(\"%f %f\\n\", area, cir);\n\t}",
"main",
"{\n\t\tdouble r = scan.nextDouble();\n\t\tdouble area = r * r * Math.PI;\n\t\tdouble cir = 2 * r * Math.PI;\n\t\tSystem.out.printf(\"%f %f\\n\", area, cir);\n\t}",
"double r = scan.nextDouble();",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"double area = r * r * Math.PI;",
"area",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"double cir = 2 * r * Math.PI;",
"cir",
"2 * r * Math.PI",
"2 * r * Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"System.out.printf(\"%f %f\\n\", area, cir)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f %f\\n\"",
"area",
"cir",
"String[] args",
"args",
"public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tdouble r = scan.nextDouble();\n\t\tdouble area = r * r * Math.PI;\n\t\tdouble cir = 2 * r * Math.PI;\n\t\tSystem.out.printf(\"%f %f\\n\", area, cir);\n\t}\n}",
"public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tdouble r = scan.nextDouble();\n\t\tdouble area = r * r * Math.PI;\n\t\tdouble cir = 2 * r * Math.PI;\n\t\tSystem.out.printf(\"%f %f\\n\", area, cir);\n\t}\n}",
"Main"
] | import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
public static void main(String[] args){
double r = scan.nextDouble();
double area = r * r * Math.PI;
double cir = 2 * r * Math.PI;
System.out.printf("%f %f\n", area, cir);
}
} |
[
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,
2,
2,
17,
17,
17,
2,
2,
13,
13,
13,
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
],
[
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
],
[
28,
28
],
[
28,
29
],
[
28,
30
],
[
28,
31
],
[
22,
32
],
[
33,
33
],
[
33,
34
],
[
33,
35
],
[
33,
36
],
[
22,
37
],
[
38,
38
],
[
38,
39
],
[
38,
40
],
[
38,
41
],
[
6,
42
],
[
42,
43
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\n\t\tdouble p = Math.PI;\n\n\n\t\tSystem.out.printf(\"%.6f\" + \" \" + \"%.6f\",r*r*p,2*p*r);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\n\t\tdouble p = Math.PI;\n\n\n\t\tSystem.out.printf(\"%.6f\" + \" \" + \"%.6f\",r*r*p,2*p*r);\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 p = Math.PI;\n\n\n\t\tSystem.out.printf(\"%.6f\" + \" \" + \"%.6f\",r*r*p,2*p*r);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\n\t\tdouble p = Math.PI;\n\n\n\t\tSystem.out.printf(\"%.6f\" + \" \" + \"%.6f\",r*r*p,2*p*r);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"double r = scan.nextDouble();",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"double p = Math.PI;",
"p",
"Math.PI",
"Math",
"Math.PI",
"System.out.printf(\"%.6f\" + \" \" + \"%.6f\",r*r*p,2*p*r)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f\" + \" \" + \"%.6f\"",
"\"%.6f\" + \" \" + \"%.6f\"",
"\"%.6f\"",
"\" \"",
"\"%.6f\"",
"r*r*p",
"r*r*p",
"r",
"r",
"p",
"2*p*r",
"2*p*r",
"2",
"p",
"r",
"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 p = Math.PI;
System.out.printf("%.6f" + " " + "%.6f",r*r*p,2*p*r);
}
} |
[
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,
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
],
[
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
],
[
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
]
] | [
"\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\n\t\t//??\\??????????????? ??????r\n\t\tdouble r =sc.nextDouble();\n\t\t//?????¨????????£?¨?\n\t\tdouble P = Math.PI;\n\t\t//????????¢??? ??¬??? ?????????????????????¨???\n\t\tdouble AreaCircle = r * r * P;\n\t\t//?????¨????????? ??¬??? ?????¨????????? = ??´??????????¨???\n\t\tdouble Arch =(r + r) * P;\n\t\t//?°???°???????????´\n\t\tString fAreaCircle = String.format(\"%.6f\", AreaCircle);\n\t\t//?°???°???????????´\n\t\tString fArch = String.format(\"%.6f\", Arch);\n\t\t//???????????¨???\n\t\tSystem.out.printf(fAreaCircle + \" \" + fArch);\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\n\t\t//??\\??????????????? ??????r\n\t\tdouble r =sc.nextDouble();\n\t\t//?????¨????????£?¨?\n\t\tdouble P = Math.PI;\n\t\t//????????¢??? ??¬??? ?????????????????????¨???\n\t\tdouble AreaCircle = r * r * P;\n\t\t//?????¨????????? ??¬??? ?????¨????????? = ??´??????????¨???\n\t\tdouble Arch =(r + r) * P;\n\t\t//?°???°???????????´\n\t\tString fAreaCircle = String.format(\"%.6f\", AreaCircle);\n\t\t//?°???°???????????´\n\t\tString fArch = String.format(\"%.6f\", Arch);\n\t\t//???????????¨???\n\t\tSystem.out.printf(fAreaCircle + \" \" + fArch);\n\t}\n}",
"Main",
"public static void main(String[]args){\n\t\t//????????£????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//??\\??????????????? ??????r\n\t\tdouble r =sc.nextDouble();\n\t\t//?????¨????????£?¨?\n\t\tdouble P = Math.PI;\n\t\t//????????¢??? ??¬??? ?????????????????????¨???\n\t\tdouble AreaCircle = r * r * P;\n\t\t//?????¨????????? ??¬??? ?????¨????????? = ??´??????????¨???\n\t\tdouble Arch =(r + r) * P;\n\t\t//?°???°???????????´\n\t\tString fAreaCircle = String.format(\"%.6f\", AreaCircle);\n\t\t//?°???°???????????´\n\t\tString fArch = String.format(\"%.6f\", Arch);\n\t\t//???????????¨???\n\t\tSystem.out.printf(fAreaCircle + \" \" + fArch);\n\t}",
"main",
"{\n\t\t//????????£????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//??\\??????????????? ??????r\n\t\tdouble r =sc.nextDouble();\n\t\t//?????¨????????£?¨?\n\t\tdouble P = Math.PI;\n\t\t//????????¢??? ??¬??? ?????????????????????¨???\n\t\tdouble AreaCircle = r * r * P;\n\t\t//?????¨????????? ??¬??? ?????¨????????? = ??´??????????¨???\n\t\tdouble Arch =(r + r) * P;\n\t\t//?°???°???????????´\n\t\tString fAreaCircle = String.format(\"%.6f\", AreaCircle);\n\t\t//?°???°???????????´\n\t\tString fArch = String.format(\"%.6f\", Arch);\n\t\t//???????????¨???\n\t\tSystem.out.printf(fAreaCircle + \" \" + fArch);\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 = Math.PI;",
"P",
"Math.PI",
"Math",
"Math.PI",
"double AreaCircle = r * r * P;",
"AreaCircle",
"r * r * P",
"r * r * P",
"r",
"r",
"P",
"double Arch =(r + r) * P;",
"Arch",
"(r + r) * P",
"(r + r)",
"r",
"r",
"P",
"String fAreaCircle = String.format(\"%.6f\", AreaCircle);",
"fAreaCircle",
"String.format(\"%.6f\", AreaCircle)",
"String.format",
"String",
"\"%.6f\"",
"AreaCircle",
"String fArch = String.format(\"%.6f\", Arch);",
"fArch",
"String.format(\"%.6f\", Arch)",
"String.format",
"String",
"\"%.6f\"",
"Arch",
"System.out.printf(fAreaCircle + \" \" + fArch)",
"System.out.printf",
"System.out",
"System",
"System.out",
"fAreaCircle + \" \" + fArch",
"fAreaCircle + \" \" + fArch",
"fAreaCircle",
"\" \"",
"fArch",
"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\n\t\t//??\\??????????????? ??????r\n\t\tdouble r =sc.nextDouble();\n\t\t//?????¨????????£?¨?\n\t\tdouble P = Math.PI;\n\t\t//????????¢??? ??¬??? ?????????????????????¨???\n\t\tdouble AreaCircle = r * r * P;\n\t\t//?????¨????????? ??¬??? ?????¨????????? = ??´??????????¨???\n\t\tdouble Arch =(r + r) * P;\n\t\t//?°???°???????????´\n\t\tString fAreaCircle = String.format(\"%.6f\", AreaCircle);\n\t\t//?°???°???????????´\n\t\tString fArch = String.format(\"%.6f\", Arch);\n\t\t//???????????¨???\n\t\tSystem.out.printf(fAreaCircle + \" \" + fArch);\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\n\t\t//??\\??????????????? ??????r\n\t\tdouble r =sc.nextDouble();\n\t\t//?????¨????????£?¨?\n\t\tdouble P = Math.PI;\n\t\t//????????¢??? ??¬??? ?????????????????????¨???\n\t\tdouble AreaCircle = r * r * P;\n\t\t//?????¨????????? ??¬??? ?????¨????????? = ??´??????????¨???\n\t\tdouble Arch =(r + r) * P;\n\t\t//?°???°???????????´\n\t\tString fAreaCircle = String.format(\"%.6f\", AreaCircle);\n\t\t//?°???°???????????´\n\t\tString fArch = String.format(\"%.6f\", Arch);\n\t\t//???????????¨???\n\t\tSystem.out.printf(fAreaCircle + \" \" + fArch);\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[]args){
//????????£????????????
Scanner sc = new Scanner(System.in);
//??\??????????????? ??????r
double r =sc.nextDouble();
//?????¨????????£?¨?
double P = Math.PI;
//????????¢??? ??¬??? ?????????????????????¨???
double AreaCircle = r * r * P;
//?????¨????????? ??¬??? ?????¨????????? = ??´??????????¨???
double Arch =(r + r) * P;
//?°???°???????????´
String fAreaCircle = String.format("%.6f", AreaCircle);
//?°???°???????????´
String fArch = String.format("%.6f", Arch);
//???????????¨???
System.out.printf(fAreaCircle + " " + fArch);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
0,
13,
4,
18,
13,
13,
0,
13,
2,
18,
13,
13,
2,
13,
13,
0,
13,
2,
18,
13,
13,
2,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
97,
11
],
[
97,
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
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
24,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
24,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
43,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
43,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
43,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
73,
75
],
[
43,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
82,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
83,
87
],
[
82,
88
],
[
82,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
89,
93
],
[
12,
94
],
[
94,
95
],
[
0,
96
],
[
96,
97
],
[
96,
98
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tdouble numR = 0.0;\n\n\t\t//?§£????????°\n\t\tdouble circle = 0.0;\n\t\tdouble area = 0.0;\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString Input = br.readLine();\n\n\t\t\tnumR = Double.parseDouble(Input);\n\t\t\tarea = Math.PI * (numR * numR);\n\t\t\tcircle = Math.PI * (2 * numR);\n\t\t\tSystem.out.println(String.format(\"%.6f\", area) + \" \" + String.format(\"%.6f\", circle));\n\n\t\t}catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\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\tpublic static void main(String[] args) {\n\n\t\tdouble numR = 0.0;\n\n\t\t//?§£????????°\n\t\tdouble circle = 0.0;\n\t\tdouble area = 0.0;\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString Input = br.readLine();\n\n\t\t\tnumR = Double.parseDouble(Input);\n\t\t\tarea = Math.PI * (numR * numR);\n\t\t\tcircle = Math.PI * (2 * numR);\n\t\t\tSystem.out.println(String.format(\"%.6f\", area) + \" \" + String.format(\"%.6f\", circle));\n\n\t\t}catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tdouble numR = 0.0;\n\n\t\t//?§£????????°\n\t\tdouble circle = 0.0;\n\t\tdouble area = 0.0;\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString Input = br.readLine();\n\n\t\t\tnumR = Double.parseDouble(Input);\n\t\t\tarea = Math.PI * (numR * numR);\n\t\t\tcircle = Math.PI * (2 * numR);\n\t\t\tSystem.out.println(String.format(\"%.6f\", area) + \" \" + String.format(\"%.6f\", circle));\n\n\t\t}catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}",
"main",
"{\n\n\t\tdouble numR = 0.0;\n\n\t\t//?§£????????°\n\t\tdouble circle = 0.0;\n\t\tdouble area = 0.0;\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString Input = br.readLine();\n\n\t\t\tnumR = Double.parseDouble(Input);\n\t\t\tarea = Math.PI * (numR * numR);\n\t\t\tcircle = Math.PI * (2 * numR);\n\t\t\tSystem.out.println(String.format(\"%.6f\", area) + \" \" + String.format(\"%.6f\", circle));\n\n\t\t}catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}",
"double numR = 0.0;",
"numR",
"0.0",
"double circle = 0.0;",
"circle",
"0.0",
"double area = 0.0;",
"area",
"0.0",
"try {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString Input = br.readLine();\n\n\t\t\tnumR = Double.parseDouble(Input);\n\t\t\tarea = Math.PI * (numR * numR);\n\t\t\tcircle = Math.PI * (2 * numR);\n\t\t\tSystem.out.println(String.format(\"%.6f\", area) + \" \" + String.format(\"%.6f\", circle));\n\n\t\t}catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}",
"catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t}",
"NumberFormatException e",
"{\n\t\t\tSystem.out.println(e);\n\t\t}",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}",
"IOException e",
"{\n\t\t\tSystem.out.println(e);\n\t\t}",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString Input = br.readLine();\n\n\t\t\tnumR = Double.parseDouble(Input);\n\t\t\tarea = Math.PI * (numR * numR);\n\t\t\tcircle = Math.PI * (2 * numR);\n\t\t\tSystem.out.println(String.format(\"%.6f\", area) + \" \" + String.format(\"%.6f\", circle));\n\n\t\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String Input = br.readLine();",
"Input",
"br.readLine()",
"br.readLine",
"br",
"numR = Double.parseDouble(Input)",
"numR",
"Double.parseDouble(Input)",
"Double.parseDouble",
"Double",
"Input",
"area = Math.PI * (numR * numR)",
"area",
"Math.PI * (numR * numR)",
"Math.PI",
"Math",
"Math.PI",
"(numR * numR)",
"numR",
"numR",
"circle = Math.PI * (2 * numR)",
"circle",
"Math.PI * (2 * numR)",
"Math.PI",
"Math",
"Math.PI",
"(2 * numR)",
"2",
"numR",
"System.out.println(String.format(\"%.6f\", area) + \" \" + String.format(\"%.6f\", circle))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%.6f\", area) + \" \" + String.format(\"%.6f\", circle)",
"String.format(\"%.6f\", area) + \" \" + String.format(\"%.6f\", circle)",
"String.format(\"%.6f\", area)",
"String.format",
"String",
"\"%.6f\"",
"area",
"\" \"",
"String.format(\"%.6f\", circle)",
"String.format",
"String",
"\"%.6f\"",
"circle",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tdouble numR = 0.0;\n\n\t\t//?§£????????°\n\t\tdouble circle = 0.0;\n\t\tdouble area = 0.0;\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString Input = br.readLine();\n\n\t\t\tnumR = Double.parseDouble(Input);\n\t\t\tarea = Math.PI * (numR * numR);\n\t\t\tcircle = Math.PI * (2 * numR);\n\t\t\tSystem.out.println(String.format(\"%.6f\", area) + \" \" + String.format(\"%.6f\", circle));\n\n\t\t}catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tdouble numR = 0.0;\n\n\t\t//?§£????????°\n\t\tdouble circle = 0.0;\n\t\tdouble area = 0.0;\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString Input = br.readLine();\n\n\t\t\tnumR = Double.parseDouble(Input);\n\t\t\tarea = Math.PI * (numR * numR);\n\t\t\tcircle = Math.PI * (2 * numR);\n\t\t\tSystem.out.println(String.format(\"%.6f\", area) + \" \" + String.format(\"%.6f\", circle));\n\n\t\t}catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\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) {
double numR = 0.0;
//?§£????????°
double circle = 0.0;
double area = 0.0;
try {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String Input = br.readLine();
numR = Double.parseDouble(Input);
area = Math.PI * (numR * numR);
circle = Math.PI * (2 * numR);
System.out.println(String.format("%.6f", area) + " " + String.format("%.6f", circle));
}catch (NumberFormatException e) {
System.out.println(e);
} catch (IOException e) {
System.out.println(e);
}
}
} |
[
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,
17,
2,
2,
13,
13,
18,
13,
13,
41,
13,
4,
18,
13,
17,
2,
2,
13,
17,
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
],
[
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
],
[
23,
24
],
[
22,
25
],
[
22,
26
],
[
27,
27
],
[
27,
28
],
[
27,
29
],
[
27,
30
],
[
30,
31
],
[
30,
32
],
[
11,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
43,
45
],
[
11,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
52,
52
],
[
52,
53
],
[
52,
54
],
[
52,
55
],
[
9,
56
],
[
56,
57
]
] | [
"import java.util.Scanner;\nimport java.io.IOException;\n\nclass Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\n\t\tString a = String.format(\"%.5f\", r * r * Math.PI);\n\t\tString b = String.format(\"%.5f\", (r * 2) * Math.PI);\n\t\tSystem.out.println(a + \" \" + b);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\n\t\tString a = String.format(\"%.5f\", r * r * Math.PI);\n\t\tString b = String.format(\"%.5f\", (r * 2) * Math.PI);\n\t\tSystem.out.println(a + \" \" + b);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\n\t\tString a = String.format(\"%.5f\", r * r * Math.PI);\n\t\tString b = String.format(\"%.5f\", (r * 2) * Math.PI);\n\t\tSystem.out.println(a + \" \" + b);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\n\t\tString a = String.format(\"%.5f\", r * r * Math.PI);\n\t\tString b = String.format(\"%.5f\", (r * 2) * Math.PI);\n\t\tSystem.out.println(a + \" \" + b);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"double r = scan.nextDouble();",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"String a = String.format(\"%.5f\", r * r * Math.PI);",
"a",
"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",
"String b = String.format(\"%.5f\", (r * 2) * Math.PI);",
"b",
"String.format(\"%.5f\", (r * 2) * Math.PI)",
"String.format",
"String",
"\"%.5f\"",
"(r * 2) * Math.PI",
"(r * 2)",
"r",
"2",
"Math.PI",
"Math",
"Math.PI",
"System.out.println(a + \" \" + b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a + \" \" + b",
"a + \" \" + b",
"a",
"\" \"",
"b",
"String[] args",
"args"
] | import java.util.Scanner;
import java.io.IOException;
class Main {
public static void main(String[] args) throws IOException {
Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
String a = String.format("%.5f", r * r * Math.PI);
String b = String.format("%.5f", (r * 2) * Math.PI);
System.out.println(a + " " + b);
}
} |
[
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,
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
],
[
66,
5
],
[
66,
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
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
41,
45
],
[
8,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
48,
52
],
[
8,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
59,
59
],
[
59,
60
],
[
59,
61
],
[
59,
62
],
[
6,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
] | [
"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 double a = Double.parseDouble( scan.next());\n\t double pi=Math.PI;\n\t \n\t double area = a * a * pi;\n\t double length = 2 * a * pi;\n\t \n\t String ar = String.format(\"%f\", area);\n\t String l = String.format(\"%f\", length);\n\t \n\t System.out.println(ar + \" \"+ l);\n \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 double a = Double.parseDouble( scan.next());\n\t double pi=Math.PI;\n\t \n\t double area = a * a * pi;\n\t double length = 2 * a * pi;\n\t \n\t String ar = String.format(\"%f\", area);\n\t String l = String.format(\"%f\", length);\n\t \n\t System.out.println(ar + \" \"+ l);\n \n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t double a = Double.parseDouble( scan.next());\n\t double pi=Math.PI;\n\t \n\t double area = a * a * pi;\n\t double length = 2 * a * pi;\n\t \n\t String ar = String.format(\"%f\", area);\n\t String l = String.format(\"%f\", length);\n\t \n\t System.out.println(ar + \" \"+ l);\n \n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t double a = Double.parseDouble( scan.next());\n\t double pi=Math.PI;\n\t \n\t double area = a * a * pi;\n\t double length = 2 * a * pi;\n\t \n\t String ar = String.format(\"%f\", area);\n\t String l = String.format(\"%f\", length);\n\t \n\t System.out.println(ar + \" \"+ l);\n \n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"double a = Double.parseDouble( scan.next());",
"a",
"Double.parseDouble( scan.next())",
"Double.parseDouble",
"Double",
"scan.next()",
"scan.next",
"scan",
"double pi=Math.PI;",
"pi",
"Math.PI",
"Math",
"Math.PI",
"double area = a * a * pi;",
"area",
"a * a * pi",
"a * a * pi",
"a",
"a",
"pi",
"double length = 2 * a * pi;",
"length",
"2 * a * pi",
"2 * a * pi",
"2",
"a",
"pi",
"String ar = String.format(\"%f\", area);",
"ar",
"String.format(\"%f\", area)",
"String.format",
"String",
"\"%f\"",
"area",
"String l = String.format(\"%f\", length);",
"l",
"String.format(\"%f\", length)",
"String.format",
"String",
"\"%f\"",
"length",
"System.out.println(ar + \" \"+ l)",
"System.out.println",
"System.out",
"System",
"System.out",
"ar + \" \"+ l",
"ar + \" \"+ l",
"ar",
"\" \"",
"l",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t double a = Double.parseDouble( scan.next());\n\t double pi=Math.PI;\n\t \n\t double area = a * a * pi;\n\t double length = 2 * a * pi;\n\t \n\t String ar = String.format(\"%f\", area);\n\t String l = String.format(\"%f\", length);\n\t \n\t System.out.println(ar + \" \"+ l);\n \n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t double a = Double.parseDouble( scan.next());\n\t double pi=Math.PI;\n\t \n\t double area = a * a * pi;\n\t double length = 2 * a * pi;\n\t \n\t String ar = String.format(\"%f\", area);\n\t String l = String.format(\"%f\", length);\n\t \n\t System.out.println(ar + \" \"+ l);\n \n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
double a = Double.parseDouble( scan.next());
double pi=Math.PI;
double area = a * a * pi;
double length = 2 * a * pi;
String ar = String.format("%f", area);
String l = String.format("%f", length);
System.out.println(ar + " "+ l);
}
} |
[
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,
4,
18,
13,
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,
4,
18,
4,
18,
4,
18,
13,
13,
17,
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
],
[
77,
8
],
[
77,
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
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
39,
41
],
[
11,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
11,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
59,
65
],
[
57,
66
],
[
55,
67
],
[
11,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
9,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic 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\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tdouble r = Double.parseDouble(line);\n\t\t\n\t\tString area = String.format(\"%.6f\",((double)r *(double)r * Math.PI));\n\t\tString cir = String.format(\"%.6f\",(2 * (double)r * Math.PI));\n\t\t\n\t\tsb.append(area).append(\" \").append(cir).append(\"\\n\");\n\t\tSystem.out.print(sb);\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"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\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tdouble r = Double.parseDouble(line);\n\t\t\n\t\tString area = String.format(\"%.6f\",((double)r *(double)r * Math.PI));\n\t\tString cir = String.format(\"%.6f\",(2 * (double)r * Math.PI));\n\t\t\n\t\tsb.append(area).append(\" \").append(cir).append(\"\\n\");\n\t\tSystem.out.print(sb);\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\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tdouble r = Double.parseDouble(line);\n\t\t\n\t\tString area = String.format(\"%.6f\",((double)r *(double)r * Math.PI));\n\t\tString cir = String.format(\"%.6f\",(2 * (double)r * Math.PI));\n\t\t\n\t\tsb.append(area).append(\" \").append(cir).append(\"\\n\");\n\t\tSystem.out.print(sb);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tdouble r = Double.parseDouble(line);\n\t\t\n\t\tString area = String.format(\"%.6f\",((double)r *(double)r * Math.PI));\n\t\tString cir = String.format(\"%.6f\",(2 * (double)r * Math.PI));\n\t\t\n\t\tsb.append(area).append(\" \").append(cir).append(\"\\n\");\n\t\tSystem.out.print(sb);\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",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"double r = Double.parseDouble(line);",
"r",
"Double.parseDouble(line)",
"Double.parseDouble",
"Double",
"line",
"String area = String.format(\"%.6f\",((double)r *(double)r * Math.PI));",
"area",
"String.format(\"%.6f\",((double)r *(double)r * Math.PI))",
"String.format",
"String",
"\"%.6f\"",
"((double)r *(double)r * Math.PI)",
"(double)r *(double)r * Math.PI",
"(double)r",
"(double)r",
"Math.PI",
"Math",
"Math.PI",
"String cir = String.format(\"%.6f\",(2 * (double)r * Math.PI));",
"cir",
"String.format(\"%.6f\",(2 * (double)r * Math.PI))",
"String.format",
"String",
"\"%.6f\"",
"(2 * (double)r * Math.PI)",
"2 * (double)r * Math.PI",
"2",
"(double)r",
"Math.PI",
"Math",
"Math.PI",
"sb.append(area).append(\" \").append(cir).append(\"\\n\")",
"sb.append(area).append(\" \").append(cir).append",
"sb.append(area).append(\" \").append(cir)",
"sb.append(area).append(\" \").append",
"sb.append(area).append(\" \")",
"sb.append(area).append",
"sb.append(area)",
"sb.append",
"sb",
"area",
"\" \"",
"cir",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"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\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tdouble r = Double.parseDouble(line);\n\t\t\n\t\tString area = String.format(\"%.6f\",((double)r *(double)r * Math.PI));\n\t\tString cir = String.format(\"%.6f\",(2 * (double)r * Math.PI));\n\t\t\n\t\tsb.append(area).append(\" \").append(cir).append(\"\\n\");\n\t\tSystem.out.print(sb);\n\t}\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\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tdouble r = Double.parseDouble(line);\n\t\t\n\t\tString area = String.format(\"%.6f\",((double)r *(double)r * Math.PI));\n\t\tString cir = String.format(\"%.6f\",(2 * (double)r * Math.PI));\n\t\t\n\t\tsb.append(area).append(\" \").append(cir).append(\"\\n\");\n\t\tSystem.out.print(sb);\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();
StringBuilder sb = new StringBuilder();
double r = Double.parseDouble(line);
String area = String.format("%.6f",((double)r *(double)r * Math.PI));
String cir = String.format("%.6f",(2 * (double)r * Math.PI));
sb.append(area).append(" ").append(cir).append("\n");
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
0,
13,
4,
18,
13,
0,
13,
17,
0,
13,
2,
2,
2,
2,
13,
17,
13,
17,
13,
0,
13,
2,
2,
2,
13,
17,
17,
13,
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
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
33,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
31,
37
],
[
33,
38
],
[
8,
39
],
[
39,
40
],
[
39,
41
],
[
43,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
43,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
48,
54
],
[
48,
55
],
[
4,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
56,
62
],
[
62,
63
]
] | [
"import java.util.Scanner;\nclass Main{ \n public void yatary() { \n Scanner sc = new Scanner(System.in);\n double r,f,men,syu;\n r = sc.nextDouble();\n f = 3.141592653589;\n men = r *1.0 * r * 1.0 * f;\n syu = r * 1.0 * 2 * f;\n System.out.printf(\"%2.6f %2.6f\",men,syu);\n }\n public static void main(String[] args){ \n new Main().yatary(); \n }\n} ",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{ \n public void yatary() { \n Scanner sc = new Scanner(System.in);\n double r,f,men,syu;\n r = sc.nextDouble();\n f = 3.141592653589;\n men = r *1.0 * r * 1.0 * f;\n syu = r * 1.0 * 2 * f;\n System.out.printf(\"%2.6f %2.6f\",men,syu);\n }\n public static void main(String[] args){ \n new Main().yatary(); \n }\n}",
"Main",
"public void yatary() { \n Scanner sc = new Scanner(System.in);\n double r,f,men,syu;\n r = sc.nextDouble();\n f = 3.141592653589;\n men = r *1.0 * r * 1.0 * f;\n syu = r * 1.0 * 2 * f;\n System.out.printf(\"%2.6f %2.6f\",men,syu);\n }",
"yatary",
"{ \n Scanner sc = new Scanner(System.in);\n double r,f,men,syu;\n r = sc.nextDouble();\n f = 3.141592653589;\n men = r *1.0 * r * 1.0 * f;\n syu = r * 1.0 * 2 * f;\n System.out.printf(\"%2.6f %2.6f\",men,syu);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double r",
"r",
"f",
"f",
"men",
"men",
"syu;",
"syu",
"r = sc.nextDouble()",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"f = 3.141592653589",
"f",
"3.141592653589",
"men = r *1.0 * r * 1.0 * f",
"men",
"r *1.0 * r * 1.0 * f",
"1.0",
"r",
"r *1.0 * r * 1.0 * f",
"r",
"1.0",
"r",
"1.0",
"f",
"syu = r * 1.0 * 2 * f",
"syu",
"r * 1.0 * 2 * f",
"2",
"r * 1.0 * 2 * f",
"r",
"1.0",
"2",
"f",
"System.out.printf(\"%2.6f %2.6f\",men,syu)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%2.6f %2.6f\"",
"men",
"syu",
"public static void main(String[] args){ \n new Main().yatary(); \n }",
"main",
"{ \n new Main().yatary(); \n }",
"new Main().yatary()",
"new Main().yatary",
"new Main()",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public void yatary() {
Scanner sc = new Scanner(System.in);
double r,f,men,syu;
r = sc.nextDouble();
f = 3.141592653589;
men = r *1.0 * r * 1.0 * f;
syu = r * 1.0 * 2 * f;
System.out.printf("%2.6f %2.6f",men,syu);
}
public static void main(String[] args){
new Main().yatary();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
17,
2,
18,
13,
13,
2,
13,
13,
17,
4,
18,
13,
17,
2,
18,
13,
13,
2,
13,
17,
12,
13,
30,
41,
13,
20,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
59,
5
],
[
59,
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
],
[
23,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
24,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
32,
34
],
[
23,
35
],
[
23,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
59,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
54,
55
],
[
47,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
] | [
"import java.util.Scanner;\npublic class Main {\n\tvoid circle(){\n\t\tScanner s = new Scanner(System.in);\n\t\tdouble r = s.nextDouble();\n\t\tSystem.out.println(String.format(\"%.9f\", Math.PI*(double)(r*r)) + \" \" + String.format(\"%.9f\", Math.PI * (double)(r*2)));\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.circle();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tvoid circle(){\n\t\tScanner s = new Scanner(System.in);\n\t\tdouble r = s.nextDouble();\n\t\tSystem.out.println(String.format(\"%.9f\", Math.PI*(double)(r*r)) + \" \" + String.format(\"%.9f\", Math.PI * (double)(r*2)));\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.circle();\n\t}\n}",
"Main",
"void circle(){\n\t\tScanner s = new Scanner(System.in);\n\t\tdouble r = s.nextDouble();\n\t\tSystem.out.println(String.format(\"%.9f\", Math.PI*(double)(r*r)) + \" \" + String.format(\"%.9f\", Math.PI * (double)(r*2)));\n\t}",
"circle",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\tdouble r = s.nextDouble();\n\t\tSystem.out.println(String.format(\"%.9f\", Math.PI*(double)(r*r)) + \" \" + String.format(\"%.9f\", Math.PI * (double)(r*2)));\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"double r = s.nextDouble();",
"r",
"s.nextDouble()",
"s.nextDouble",
"s",
"System.out.println(String.format(\"%.9f\", Math.PI*(double)(r*r)) + \" \" + String.format(\"%.9f\", Math.PI * (double)(r*2)))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%.9f\", Math.PI*(double)(r*r)) + \" \" + String.format(\"%.9f\", Math.PI * (double)(r*2))",
"String.format(\"%.9f\", Math.PI*(double)(r*r)) + \" \" + String.format(\"%.9f\", Math.PI * (double)(r*2))",
"String.format(\"%.9f\", Math.PI*(double)(r*r))",
"String.format",
"String",
"\"%.9f\"",
"Math.PI*(double)(r*r)",
"Math.PI",
"Math",
"Math.PI",
"(double)(r*r)",
"r",
"r",
"\" \"",
"String.format(\"%.9f\", Math.PI * (double)(r*2))",
"String.format",
"String",
"\"%.9f\"",
"Math.PI * (double)(r*2)",
"Math.PI",
"Math",
"Math.PI",
"(double)(r*2)",
"r",
"2",
"public static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.circle();\n\t}",
"main",
"{\n\t\tMain m = new Main();\n\t\tm.circle();\n\t}",
"Main m = new Main();",
"m",
"new Main()",
"m.circle()",
"m.circle",
"m",
"String args[]",
"args",
"public class Main {\n\tvoid circle(){\n\t\tScanner s = new Scanner(System.in);\n\t\tdouble r = s.nextDouble();\n\t\tSystem.out.println(String.format(\"%.9f\", Math.PI*(double)(r*r)) + \" \" + String.format(\"%.9f\", Math.PI * (double)(r*2)));\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.circle();\n\t}\n}",
"public class Main {\n\tvoid circle(){\n\t\tScanner s = new Scanner(System.in);\n\t\tdouble r = s.nextDouble();\n\t\tSystem.out.println(String.format(\"%.9f\", Math.PI*(double)(r*r)) + \" \" + String.format(\"%.9f\", Math.PI * (double)(r*2)));\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.circle();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
void circle(){
Scanner s = new Scanner(System.in);
double r = s.nextDouble();
System.out.println(String.format("%.9f", Math.PI*(double)(r*r)) + " " + String.format("%.9f", Math.PI * (double)(r*2)));
}
public static void main(String args[]){
Main m = new Main();
m.circle();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
17,
2,
2,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
17,
2,
2,
13,
17,
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
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
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
],
[
11,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
39,
45
],
[
46,
46
],
[
46,
47
],
[
46,
48
],
[
46,
49
],
[
49,
50
],
[
49,
51
],
[
9,
52
],
[
52,
53
]
] | [
"import java.io.*;\nimport java.util.*;\n\nclass Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n double a = Double.parseDouble(st.nextToken());\n System.out.printf(\"%.6f \",a*a*Math.PI);\n System.out.printf(\"%.6f\\n\",a*2*Math.PI);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n double a = Double.parseDouble(st.nextToken());\n System.out.printf(\"%.6f \",a*a*Math.PI);\n System.out.printf(\"%.6f\\n\",a*2*Math.PI);\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n double a = Double.parseDouble(st.nextToken());\n System.out.printf(\"%.6f \",a*a*Math.PI);\n System.out.printf(\"%.6f\\n\",a*2*Math.PI);\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n double a = Double.parseDouble(st.nextToken());\n System.out.printf(\"%.6f \",a*a*Math.PI);\n System.out.printf(\"%.6f\\n\",a*2*Math.PI);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st = new StringTokenizer(br.readLine());",
"st",
"new StringTokenizer(br.readLine())",
"double a = Double.parseDouble(st.nextToken());",
"a",
"Double.parseDouble(st.nextToken())",
"Double.parseDouble",
"Double",
"st.nextToken()",
"st.nextToken",
"st",
"System.out.printf(\"%.6f \",a*a*Math.PI)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f \"",
"a*a*Math.PI",
"a*a*Math.PI",
"a",
"a",
"Math.PI",
"Math",
"Math.PI",
"System.out.printf(\"%.6f\\n\",a*2*Math.PI)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f\\n\"",
"a*2*Math.PI",
"a*2*Math.PI",
"a",
"2",
"Math.PI",
"Math",
"Math.PI",
"String[] args",
"args"
] | import java.io.*;
import java.util.*;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer(br.readLine());
double a = Double.parseDouble(st.nextToken());
System.out.printf("%.6f ",a*a*Math.PI);
System.out.printf("%.6f\n",a*2*Math.PI);
}
} |
[
7,
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,
4,
18,
13,
4,
18,
13,
41,
13,
18,
13,
13,
41,
13,
4,
18,
13,
2,
2,
13,
13,
13,
41,
13,
4,
18,
13,
2,
2,
17,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
70,
14
],
[
70,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
30,
31
],
[
17,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
17,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
17,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
17,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
63,
63
],
[
63,
64
],
[
63,
65
],
[
63,
66
],
[
15,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
] | [
"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) throws IOException {\n\n DecimalFormat df1 = new DecimalFormat(\"0.00000\");\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n double r = Double.valueOf(br.readLine());\n\n double pi = Math.PI;\n\n String S = df1.format((double)( r * r * pi));\n String L = df1.format((double)( 2 * r * pi));\n\n System.out.println(S + \" \" + L);\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) throws IOException {\n\n DecimalFormat df1 = new DecimalFormat(\"0.00000\");\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n double r = Double.valueOf(br.readLine());\n\n double pi = Math.PI;\n\n String S = df1.format((double)( r * r * pi));\n String L = df1.format((double)( 2 * r * pi));\n\n System.out.println(S + \" \" + L);\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n DecimalFormat df1 = new DecimalFormat(\"0.00000\");\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n double r = Double.valueOf(br.readLine());\n\n double pi = Math.PI;\n\n String S = df1.format((double)( r * r * pi));\n String L = df1.format((double)( 2 * r * pi));\n\n System.out.println(S + \" \" + L);\n }",
"main",
"{\n\n DecimalFormat df1 = new DecimalFormat(\"0.00000\");\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n double r = Double.valueOf(br.readLine());\n\n double pi = Math.PI;\n\n String S = df1.format((double)( r * r * pi));\n String L = df1.format((double)( 2 * r * pi));\n\n System.out.println(S + \" \" + L);\n }",
"DecimalFormat df1 = new DecimalFormat(\"0.00000\");",
"df1",
"new DecimalFormat(\"0.00000\")",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"double r = Double.valueOf(br.readLine());",
"r",
"Double.valueOf(br.readLine())",
"Double.valueOf",
"Double",
"br.readLine()",
"br.readLine",
"br",
"double pi = Math.PI;",
"pi",
"Math.PI",
"Math",
"Math.PI",
"String S = df1.format((double)( r * r * pi));",
"S",
"df1.format((double)( r * r * pi))",
"df1.format",
"df1",
"(double)( r * r * pi)",
"r * r * pi",
"r",
"r",
"pi",
"String L = df1.format((double)( 2 * r * pi));",
"L",
"df1.format((double)( 2 * r * pi))",
"df1.format",
"df1",
"(double)( 2 * r * pi)",
"2 * r * pi",
"2",
"r",
"pi",
"System.out.println(S + \" \" + L)",
"System.out.println",
"System.out",
"System",
"System.out",
"S + \" \" + L",
"S + \" \" + L",
"S",
"\" \"",
"L",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n\n DecimalFormat df1 = new DecimalFormat(\"0.00000\");\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n double r = Double.valueOf(br.readLine());\n\n double pi = Math.PI;\n\n String S = df1.format((double)( r * r * pi));\n String L = df1.format((double)( 2 * r * pi));\n\n System.out.println(S + \" \" + L);\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n\n DecimalFormat df1 = new DecimalFormat(\"0.00000\");\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n double r = Double.valueOf(br.readLine());\n\n double pi = Math.PI;\n\n String S = df1.format((double)( r * r * pi));\n String L = df1.format((double)( 2 * r * pi));\n\n System.out.println(S + \" \" + L);\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) throws IOException {
DecimalFormat df1 = new DecimalFormat("0.00000");
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
double r = Double.valueOf(br.readLine());
double pi = Math.PI;
String S = df1.format((double)( r * r * pi));
String L = df1.format((double)( 2 * r * pi));
System.out.println(S + " " + L);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
18,
13,
13,
41,
13,
41,
13,
41,
13,
0,
13,
4,
18,
13,
0,
13,
2,
2,
13,
13,
13,
0,
13,
2,
2,
17,
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
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
8,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
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
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
49,
53
],
[
48,
54
],
[
48,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
55,
59
],
[
6,
60
],
[
60,
61
]
] | [
"// ITP_1_4-B\n\nimport java.util.Scanner;\n\nclass Main\n{\n\tpublic static void main ( String[] args ) {\n\t\tScanner sc = new Scanner ( System.in );\n\t\t\n\n\t\tfinal double PI = Math.PI;\n\t\tdouble r;\n\t\tdouble en_menseki;\n\t\tdouble en_shu;\n\n\t\tr = sc.nextDouble ();\n\t\ten_menseki = r * r * PI;\n\t\ten_shu = 2 * PI * r;\n\n\t\tSystem.out.println ( String.format ( \"%.6f\", en_menseki ) + \" \" + String.format ( \"%.6f\", en_shu ) );\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main\n{\n\tpublic static void main ( String[] args ) {\n\t\tScanner sc = new Scanner ( System.in );\n\t\t\n\n\t\tfinal double PI = Math.PI;\n\t\tdouble r;\n\t\tdouble en_menseki;\n\t\tdouble en_shu;\n\n\t\tr = sc.nextDouble ();\n\t\ten_menseki = r * r * PI;\n\t\ten_shu = 2 * PI * r;\n\n\t\tSystem.out.println ( String.format ( \"%.6f\", en_menseki ) + \" \" + String.format ( \"%.6f\", en_shu ) );\n\t}\n}",
"Main",
"public static void main ( String[] args ) {\n\t\tScanner sc = new Scanner ( System.in );\n\t\t\n\n\t\tfinal double PI = Math.PI;\n\t\tdouble r;\n\t\tdouble en_menseki;\n\t\tdouble en_shu;\n\n\t\tr = sc.nextDouble ();\n\t\ten_menseki = r * r * PI;\n\t\ten_shu = 2 * PI * r;\n\n\t\tSystem.out.println ( String.format ( \"%.6f\", en_menseki ) + \" \" + String.format ( \"%.6f\", en_shu ) );\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner ( System.in );\n\t\t\n\n\t\tfinal double PI = Math.PI;\n\t\tdouble r;\n\t\tdouble en_menseki;\n\t\tdouble en_shu;\n\n\t\tr = sc.nextDouble ();\n\t\ten_menseki = r * r * PI;\n\t\ten_shu = 2 * PI * r;\n\n\t\tSystem.out.println ( String.format ( \"%.6f\", en_menseki ) + \" \" + String.format ( \"%.6f\", en_shu ) );\n\t}",
"Scanner sc = new Scanner ( System.in );",
"sc",
"new Scanner ( System.in )",
"final double PI = Math.PI;",
"PI",
"Math.PI",
"Math",
"Math.PI",
"double r;",
"r",
"double en_menseki;",
"en_menseki",
"double en_shu;",
"en_shu",
"r = sc.nextDouble ()",
"r",
"sc.nextDouble ()",
"sc.nextDouble",
"sc",
"en_menseki = r * r * PI",
"en_menseki",
"r * r * PI",
"r * r * PI",
"r",
"r",
"PI",
"en_shu = 2 * PI * r",
"en_shu",
"2 * PI * r",
"2 * PI * r",
"2",
"PI",
"r",
"System.out.println ( String.format ( \"%.6f\", en_menseki ) + \" \" + String.format ( \"%.6f\", en_shu ) )",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format ( \"%.6f\", en_menseki ) + \" \" + String.format ( \"%.6f\", en_shu )",
"String.format ( \"%.6f\", en_menseki ) + \" \" + String.format ( \"%.6f\", en_shu )",
"String.format ( \"%.6f\", en_menseki )",
"String.format",
"String",
"\"%.6f\"",
"en_menseki",
"\" \"",
"String.format ( \"%.6f\", en_shu )",
"String.format",
"String",
"\"%.6f\"",
"en_shu",
"String[] args",
"args"
] | // ITP_1_4-B
import java.util.Scanner;
class Main
{
public static void main ( String[] args ) {
Scanner sc = new Scanner ( System.in );
final double PI = Math.PI;
double r;
double en_menseki;
double en_shu;
r = sc.nextDouble ();
en_menseki = r * r * PI;
en_shu = 2 * PI * r;
System.out.println ( String.format ( "%.6f", en_menseki ) + " " + String.format ( "%.6f", en_shu ) );
}
} |
[
7,
15,
13,
17,
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
] | [
[
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
],
[
23,
23
],
[
23,
24
],
[
23,
25
],
[
23,
26
],
[
26,
27
],
[
26,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
32,
32
],
[
32,
33
],
[
32,
34
],
[
32,
35
],
[
35,
36
],
[
35,
37
],
[
11,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
38,
44
],
[
38,
45
],
[
9,
46
],
[
46,
47
]
] | [
"import java.util.Scanner;\nimport java.lang.Math;\n\nclass Main{\n\n public static void main(String[] args){\n\n\tScanner scan = new Scanner(System.in);\n\tdouble r = scan.nextDouble();\n\n\tdouble area = r * r * Math.PI;\n\tdouble circumference = 2 * r * Math.PI;\n\n\tSystem.out.printf(\"%f %f\\n\", area, circumference);\n\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.lang.Math;",
"Math",
"java.lang",
"class Main{\n\n public static void main(String[] args){\n\n\tScanner scan = new Scanner(System.in);\n\tdouble r = scan.nextDouble();\n\n\tdouble area = r * r * Math.PI;\n\tdouble circumference = 2 * r * Math.PI;\n\n\tSystem.out.printf(\"%f %f\\n\", area, circumference);\n\n }\n\n}",
"Main",
"public static void main(String[] args){\n\n\tScanner scan = new Scanner(System.in);\n\tdouble r = scan.nextDouble();\n\n\tdouble area = r * r * Math.PI;\n\tdouble circumference = 2 * r * Math.PI;\n\n\tSystem.out.printf(\"%f %f\\n\", area, circumference);\n\n }",
"main",
"{\n\n\tScanner scan = new Scanner(System.in);\n\tdouble r = scan.nextDouble();\n\n\tdouble area = r * r * Math.PI;\n\tdouble circumference = 2 * r * Math.PI;\n\n\tSystem.out.printf(\"%f %f\\n\", area, circumference);\n\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"double r = scan.nextDouble();",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"double area = r * r * Math.PI;",
"area",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"double circumference = 2 * r * Math.PI;",
"circumference",
"2 * r * Math.PI",
"2 * r * Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"System.out.printf(\"%f %f\\n\", area, circumference)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f %f\\n\"",
"area",
"circumference",
"String[] args",
"args"
] | import java.util.Scanner;
import java.lang.Math;
class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
double area = r * r * Math.PI;
double circumference = 2 * r * Math.PI;
System.out.printf("%f %f\n", area, circumference);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
13,
17,
41,
13,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
4,
18,
13,
17,
13,
13,
4,
18,
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
],
[
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
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
36,
40
],
[
36,
41
],
[
8,
42
],
[
42,
43
],
[
43,
44
],
[
6,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tdouble r = scan.nextDouble();//r = ??????\n\t\tdouble men = (double)r * r * 3.14159265358979323846264338327950288;\n\t\tdouble ensyu = (double)r * 2 * 3.14159265358979323846264338327950288;\n\n\t\tSystem.out.println(String.format(\"%f %f\", men, ensyu));\n scan.close();\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tdouble r = scan.nextDouble();//r = ??????\n\t\tdouble men = (double)r * r * 3.14159265358979323846264338327950288;\n\t\tdouble ensyu = (double)r * 2 * 3.14159265358979323846264338327950288;\n\n\t\tSystem.out.println(String.format(\"%f %f\", men, ensyu));\n scan.close();\n }\n\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tdouble r = scan.nextDouble();//r = ??????\n\t\tdouble men = (double)r * r * 3.14159265358979323846264338327950288;\n\t\tdouble ensyu = (double)r * 2 * 3.14159265358979323846264338327950288;\n\n\t\tSystem.out.println(String.format(\"%f %f\", men, ensyu));\n scan.close();\n }",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tdouble r = scan.nextDouble();//r = ??????\n\t\tdouble men = (double)r * r * 3.14159265358979323846264338327950288;\n\t\tdouble ensyu = (double)r * 2 * 3.14159265358979323846264338327950288;\n\n\t\tSystem.out.println(String.format(\"%f %f\", men, ensyu));\n scan.close();\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"double r = scan.nextDouble();",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"double men = (double)r * r * 3.14159265358979323846264338327950288;",
"men",
"(double)r * r * 3.14159265358979323846264338327950288",
"(double)r * r * 3.14159265358979323846264338327950288",
"(double)r",
"r",
"3.14159265358979323846264338327950288",
"double ensyu = (double)r * 2 * 3.14159265358979323846264338327950288;",
"ensyu",
"(double)r * 2 * 3.14159265358979323846264338327950288",
"(double)r * 2 * 3.14159265358979323846264338327950288",
"(double)r",
"2",
"3.14159265358979323846264338327950288",
"System.out.println(String.format(\"%f %f\", men, ensyu))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%f %f\", men, ensyu)",
"String.format",
"String",
"\"%f %f\"",
"men",
"ensyu",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tdouble r = scan.nextDouble();//r = ??????\n\t\tdouble men = (double)r * r * 3.14159265358979323846264338327950288;\n\t\tdouble ensyu = (double)r * 2 * 3.14159265358979323846264338327950288;\n\n\t\tSystem.out.println(String.format(\"%f %f\", men, ensyu));\n scan.close();\n }\n\n}",
"public class Main {\n\n public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tdouble r = scan.nextDouble();//r = ??????\n\t\tdouble men = (double)r * r * 3.14159265358979323846264338327950288;\n\t\tdouble ensyu = (double)r * 2 * 3.14159265358979323846264338327950288;\n\n\t\tSystem.out.println(String.format(\"%f %f\", men, ensyu));\n scan.close();\n }\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();//r = ??????
double men = (double)r * r * 3.14159265358979323846264338327950288;
double ensyu = (double)r * 2 * 3.14159265358979323846264338327950288;
System.out.println(String.format("%f %f", men, ensyu));
scan.close();
}
} |
[
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,
4,
18,
18,
13,
13,
17,
13,
13,
4,
18,
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
],
[
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
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
6,
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 Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n double pi = Math.PI;\n double C = 2*pi*r;\n double S = pi*r*r;\n System.out.printf(\"%.6f %.6f\\n\", S, C);\n \n sc.close();\n }\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n double pi = Math.PI;\n double C = 2*pi*r;\n double S = pi*r*r;\n System.out.printf(\"%.6f %.6f\\n\", S, C);\n \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 double pi = Math.PI;\n double C = 2*pi*r;\n double S = pi*r*r;\n System.out.printf(\"%.6f %.6f\\n\", S, C);\n \n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n double pi = Math.PI;\n double C = 2*pi*r;\n double S = pi*r*r;\n System.out.printf(\"%.6f %.6f\\n\", S, C);\n \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 pi = Math.PI;",
"pi",
"Math.PI",
"Math",
"Math.PI",
"double C = 2*pi*r;",
"C",
"2*pi*r",
"2*pi*r",
"2",
"pi",
"r",
"double S = pi*r*r;",
"S",
"pi*r*r",
"pi*r*r",
"pi",
"r",
"r",
"System.out.printf(\"%.6f %.6f\\n\", S, C)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f %.6f\\n\"",
"S",
"C",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n double pi = Math.PI;\n double C = 2*pi*r;\n double S = pi*r*r;\n System.out.printf(\"%.6f %.6f\\n\", S, C);\n \n sc.close();\n }\n}",
"public class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n double pi = Math.PI;\n double C = 2*pi*r;\n double S = pi*r*r;\n System.out.printf(\"%.6f %.6f\\n\", S, C);\n \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();
double pi = Math.PI;
double C = 2*pi*r;
double S = pi*r*r;
System.out.printf("%.6f %.6f\n", S, C);
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
41,
13,
20,
0,
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
],
[
43,
5
],
[
43,
6
],
[
6,
7
],
[
43,
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
],
[
21,
22
],
[
21,
23
],
[
10,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
24,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
24,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
8,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n private static double r;\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n r = stdIn.nextDouble();\n double Pi = Math.PI;\n System.out.printf(\"%.6f %.6f\\n\", (r * r * Pi), (2 * Pi * r));\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n private static double r;\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n r = stdIn.nextDouble();\n double Pi = Math.PI;\n System.out.printf(\"%.6f %.6f\\n\", (r * r * Pi), (2 * Pi * r));\n }\n}",
"Main",
"private static double r;",
"r",
"public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n r = stdIn.nextDouble();\n double Pi = Math.PI;\n System.out.printf(\"%.6f %.6f\\n\", (r * r * Pi), (2 * Pi * r));\n }",
"main",
"{\n Scanner stdIn = new Scanner(System.in);\n r = stdIn.nextDouble();\n double Pi = Math.PI;\n System.out.printf(\"%.6f %.6f\\n\", (r * r * Pi), (2 * Pi * r));\n }",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"r = stdIn.nextDouble()",
"r",
"stdIn.nextDouble()",
"stdIn.nextDouble",
"stdIn",
"double Pi = Math.PI;",
"Pi",
"Math.PI",
"Math",
"Math.PI",
"System.out.printf(\"%.6f %.6f\\n\", (r * r * Pi), (2 * Pi * r))",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f %.6f\\n\"",
"(r * r * Pi)",
"r * r * Pi",
"r",
"r",
"Pi",
"(2 * Pi * r)",
"2 * Pi * r",
"2",
"Pi",
"r",
"String[] args",
"args",
"public class Main {\n private static double r;\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n r = stdIn.nextDouble();\n double Pi = Math.PI;\n System.out.printf(\"%.6f %.6f\\n\", (r * r * Pi), (2 * Pi * r));\n }\n}",
"public class Main {\n private static double r;\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n r = stdIn.nextDouble();\n double Pi = Math.PI;\n System.out.printf(\"%.6f %.6f\\n\", (r * r * Pi), (2 * Pi * r));\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
private static double r;
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
r = stdIn.nextDouble();
double Pi = Math.PI;
System.out.printf("%.6f %.6f\n", (r * r * Pi), (2 * Pi * r));
}
} |
[
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,
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
],
[
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
],
[
6,
37
],
[
37,
38
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\n\t\tdouble r = scan.nextDouble();\n\t\tSystem.out.printf(\"%.6f %.6f\",r*r*Math.PI, 2*r*Math.PI);\n\t}\n} ",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\n\t\tdouble r = scan.nextDouble();\n\t\tSystem.out.printf(\"%.6f %.6f\",r*r*Math.PI, 2*r*Math.PI);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\n\t\tdouble r = scan.nextDouble();\n\t\tSystem.out.printf(\"%.6f %.6f\",r*r*Math.PI, 2*r*Math.PI);\n\t}",
"main",
"{\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\n\t\tdouble r = scan.nextDouble();\n\t\tSystem.out.printf(\"%.6f %.6f\",r*r*Math.PI, 2*r*Math.PI);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"double r = scan.nextDouble();",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"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"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
System.out.printf("%.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,
4,
18,
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,
4,
18,
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
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
23,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
23,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
32,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
8,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
40,
44
],
[
8,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
47,
51
],
[
8,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
58,
58
],
[
58,
59
],
[
58,
60
],
[
58,
61
],
[
8,
62
],
[
62,
63
],
[
63,
64
],
[
6,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
] | [
"import java.io.*;\npublic class Main {\n\tpublic static void main(String[] args) throws IOException, NumberFormatException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble r = Double.parseDouble(br.readLine());\n\t\t//計算\n\t\tdouble x = Math.PI * r * r;//面積\n\t\tdouble y = 2 * Math.PI * r;//円周\n\t\tString men = String.format(\"%.6f\", x);\n\t\tString en = String.format(\"%.6f\", y);\n\t\tSystem.out.println(men + \" \" + en);\n\t\tbr.close();\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) throws IOException, NumberFormatException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble r = Double.parseDouble(br.readLine());\n\t\t//計算\n\t\tdouble x = Math.PI * r * r;//面積\n\t\tdouble y = 2 * Math.PI * r;//円周\n\t\tString men = String.format(\"%.6f\", x);\n\t\tString en = String.format(\"%.6f\", y);\n\t\tSystem.out.println(men + \" \" + en);\n\t\tbr.close();\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException, NumberFormatException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble r = Double.parseDouble(br.readLine());\n\t\t//計算\n\t\tdouble x = Math.PI * r * r;//面積\n\t\tdouble y = 2 * Math.PI * r;//円周\n\t\tString men = String.format(\"%.6f\", x);\n\t\tString en = String.format(\"%.6f\", y);\n\t\tSystem.out.println(men + \" \" + en);\n\t\tbr.close();\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble r = Double.parseDouble(br.readLine());\n\t\t//計算\n\t\tdouble x = Math.PI * r * r;//面積\n\t\tdouble y = 2 * Math.PI * r;//円周\n\t\tString men = String.format(\"%.6f\", x);\n\t\tString en = String.format(\"%.6f\", y);\n\t\tSystem.out.println(men + \" \" + en);\n\t\tbr.close();\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 x = Math.PI * r * r;",
"x",
"Math.PI * r * r",
"Math.PI * r * r",
"Math.PI",
"Math",
"Math.PI",
"r",
"r",
"double y = 2 * Math.PI * r;",
"y",
"2 * Math.PI * r",
"2 * Math.PI * r",
"2",
"Math.PI",
"Math",
"Math.PI",
"r",
"String men = String.format(\"%.6f\", x);",
"men",
"String.format(\"%.6f\", x)",
"String.format",
"String",
"\"%.6f\"",
"x",
"String en = String.format(\"%.6f\", y);",
"en",
"String.format(\"%.6f\", y)",
"String.format",
"String",
"\"%.6f\"",
"y",
"System.out.println(men + \" \" + en)",
"System.out.println",
"System.out",
"System",
"System.out",
"men + \" \" + en",
"men + \" \" + en",
"men",
"\" \"",
"en",
"br.close()",
"br.close",
"br",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException, NumberFormatException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble r = Double.parseDouble(br.readLine());\n\t\t//計算\n\t\tdouble x = Math.PI * r * r;//面積\n\t\tdouble y = 2 * Math.PI * r;//円周\n\t\tString men = String.format(\"%.6f\", x);\n\t\tString en = String.format(\"%.6f\", y);\n\t\tSystem.out.println(men + \" \" + en);\n\t\tbr.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException, NumberFormatException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble r = Double.parseDouble(br.readLine());\n\t\t//計算\n\t\tdouble x = Math.PI * r * r;//面積\n\t\tdouble y = 2 * Math.PI * r;//円周\n\t\tString men = String.format(\"%.6f\", x);\n\t\tString en = String.format(\"%.6f\", y);\n\t\tSystem.out.println(men + \" \" + en);\n\t\tbr.close();\n\t}\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) throws IOException, NumberFormatException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
double r = Double.parseDouble(br.readLine());
//計算
double x = Math.PI * r * r;//面積
double y = 2 * Math.PI * r;//円周
String men = String.format("%.6f", x);
String en = String.format("%.6f", y);
System.out.println(men + " " + en);
br.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,
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,
4,
18,
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
],
[
61,
11
],
[
61,
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
],
[
14,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
51,
57
],
[
12,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
] | [
"import java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.BufferedReader;\n\npublic class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n double r = Double.parseDouble(br.readLine());\n double L = 2.0 * r * Math.PI;\n double S = r * r * Math.PI;\n \n System.out.printf(\"%.6f \" , S);\n System.out.printf(\"%.6f\\n\" , L);\n }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"public class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n double r = Double.parseDouble(br.readLine());\n double L = 2.0 * r * Math.PI;\n double S = r * r * Math.PI;\n \n System.out.printf(\"%.6f \" , S);\n System.out.printf(\"%.6f\\n\" , L);\n }\n}",
"Main",
"public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n double r = Double.parseDouble(br.readLine());\n double L = 2.0 * r * Math.PI;\n double S = r * r * Math.PI;\n \n System.out.printf(\"%.6f \" , S);\n System.out.printf(\"%.6f\\n\" , L);\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n double r = Double.parseDouble(br.readLine());\n double L = 2.0 * r * Math.PI;\n double S = r * r * Math.PI;\n \n System.out.printf(\"%.6f \" , S);\n System.out.printf(\"%.6f\\n\" , L);\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 L = 2.0 * r * Math.PI;",
"L",
"2.0 * r * Math.PI",
"2.0 * r * Math.PI",
"2.0",
"r",
"Math.PI",
"Math",
"Math.PI",
"double S = r * r * Math.PI;",
"S",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"System.out.printf(\"%.6f \" , S)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f \"",
"S",
"System.out.printf(\"%.6f\\n\" , L)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f\\n\"",
"L",
"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\n double r = Double.parseDouble(br.readLine());\n double L = 2.0 * r * Math.PI;\n double S = r * r * Math.PI;\n \n System.out.printf(\"%.6f \" , S);\n System.out.printf(\"%.6f\\n\" , L);\n }\n}",
"public class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n double r = Double.parseDouble(br.readLine());\n double L = 2.0 * r * Math.PI;\n double S = r * r * Math.PI;\n \n System.out.printf(\"%.6f \" , S);\n System.out.printf(\"%.6f\\n\" , L);\n }\n}",
"Main"
] | import java.io.IOException;
import java.io.InputStreamReader;
import java.io.BufferedReader;
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 L = 2.0 * r * Math.PI;
double S = r * r * Math.PI;
System.out.printf("%.6f " , S);
System.out.printf("%.6f\n" , L);
}
} |
[
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,
4,
18,
13,
4,
18,
18,
13,
13,
17,
2,
2,
18,
13,
13,
13,
13,
2,
2,
17,
18,
13,
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
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
60,
17
],
[
60,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
20,
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
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
45,
51
],
[
20,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
18,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\nimport java.util.StringTokenizer;\n\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\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tdouble x=scan.nextDouble();\n\t\tSystem.out.printf(\"%.6f %.6f\",(Math.PI*x*x),(2*Math.PI*x));\n\t\tSystem.out.println();\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",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tdouble x=scan.nextDouble();\n\t\tSystem.out.printf(\"%.6f %.6f\",(Math.PI*x*x),(2*Math.PI*x));\n\t\tSystem.out.println();\n\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\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tdouble x=scan.nextDouble();\n\t\tSystem.out.printf(\"%.6f %.6f\",(Math.PI*x*x),(2*Math.PI*x));\n\t\tSystem.out.println();\n\n\t}",
"main",
"{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tdouble x=scan.nextDouble();\n\t\tSystem.out.printf(\"%.6f %.6f\",(Math.PI*x*x),(2*Math.PI*x));\n\t\tSystem.out.println();\n\n\t}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));",
"scan",
"new Scanner(new BufferedReader(new InputStreamReader(System.in)))",
"double x=scan.nextDouble();",
"x",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"System.out.printf(\"%.6f %.6f\",(Math.PI*x*x),(2*Math.PI*x))",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f %.6f\"",
"(Math.PI*x*x)",
"Math.PI*x*x",
"Math.PI",
"Math",
"Math.PI",
"x",
"x",
"(2*Math.PI*x)",
"2*Math.PI*x",
"2",
"Math.PI",
"Math",
"Math.PI",
"x",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"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\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tdouble x=scan.nextDouble();\n\t\tSystem.out.printf(\"%.6f %.6f\",(Math.PI*x*x),(2*Math.PI*x));\n\t\tSystem.out.println();\n\n\t}\n\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\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tdouble x=scan.nextDouble();\n\t\tSystem.out.printf(\"%.6f %.6f\",(Math.PI*x*x),(2*Math.PI*x));\n\t\tSystem.out.println();\n\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
double x=scan.nextDouble();
System.out.printf("%.6f %.6f",(Math.PI*x*x),(2*Math.PI*x));
System.out.println();
}
} |
[
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,
13,
17,
18,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
67,
11
],
[
67,
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
],
[
14,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
14,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
57,
63
],
[
12,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
] | [
"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\t\tdouble area = r * r * Math.PI;\n\t\tdouble length = r * 2 * Math.PI;\n\t\tSystem.out.printf(\"%.6f\", area);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.printf(\"%.6f\", length);\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\t\tdouble area = r * r * Math.PI;\n\t\tdouble length = r * 2 * Math.PI;\n\t\tSystem.out.printf(\"%.6f\", area);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.printf(\"%.6f\", length);\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 area = r * r * Math.PI;\n\t\tdouble length = r * 2 * Math.PI;\n\t\tSystem.out.printf(\"%.6f\", area);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.printf(\"%.6f\", length);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble r = Double.parseDouble(br.readLine());\n\t\tdouble area = r * r * Math.PI;\n\t\tdouble length = r * 2 * Math.PI;\n\t\tSystem.out.printf(\"%.6f\", area);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.printf(\"%.6f\", length);\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 area = r * r * Math.PI;",
"area",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"double length = r * 2 * Math.PI;",
"length",
"r * 2 * Math.PI",
"r * 2 * Math.PI",
"r",
"2",
"Math.PI",
"Math",
"Math.PI",
"System.out.printf(\"%.6f\", area)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f\"",
"area",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.printf(\"%.6f\", length)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f\"",
"length",
"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\t\tdouble area = r * r * Math.PI;\n\t\tdouble length = r * 2 * Math.PI;\n\t\tSystem.out.printf(\"%.6f\", area);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.printf(\"%.6f\", length);\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\t\tdouble area = r * r * Math.PI;\n\t\tdouble length = r * 2 * Math.PI;\n\t\tSystem.out.printf(\"%.6f\", area);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.printf(\"%.6f\", length);\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 area = r * r * Math.PI;
double length = r * 2 * Math.PI;
System.out.printf("%.6f", area);
System.out.print(" ");
System.out.printf("%.6f", length);
}
} |
[
7,
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,
17,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
43,
8
],
[
43,
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
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
20,
26
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
27,
32
],
[
20,
33
],
[
34,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
9,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\n\npublic class Main {\n\t\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfinal double r = sc.nextDouble();\n\t\t\n\t\tSystem.out.printf(\"%.7f %.7f\\n\", Math.PI * r * r, 2 * Math.PI * r);\n\t\t\n\t}\n\t\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfinal double r = sc.nextDouble();\n\t\t\n\t\tSystem.out.printf(\"%.7f %.7f\\n\", Math.PI * r * r, 2 * Math.PI * r);\n\t\t\n\t}\n\t\n}",
"Main",
"public static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfinal double r = sc.nextDouble();\n\t\t\n\t\tSystem.out.printf(\"%.7f %.7f\\n\", Math.PI * r * r, 2 * Math.PI * r);\n\t\t\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfinal double r = sc.nextDouble();\n\t\t\n\t\tSystem.out.printf(\"%.7f %.7f\\n\", Math.PI * r * r, 2 * Math.PI * r);\n\t\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"final double r = sc.nextDouble();",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"System.out.printf(\"%.7f %.7f\\n\", Math.PI * r * r, 2 * Math.PI * r)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.7f %.7f\\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\t\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfinal double r = sc.nextDouble();\n\t\t\n\t\tSystem.out.printf(\"%.7f %.7f\\n\", Math.PI * r * r, 2 * Math.PI * r);\n\t\t\n\t}\n\t\n}",
"public class Main {\n\t\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfinal double r = sc.nextDouble();\n\t\t\n\t\tSystem.out.printf(\"%.7f %.7f\\n\", Math.PI * r * r, 2 * Math.PI * r);\n\t\t\n\t}\n\t\n}",
"Main"
] | import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
final double r = sc.nextDouble();
System.out.printf("%.7f %.7f\n", Math.PI * r * r, 2 * Math.PI * r);
}
} |
[
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,
18,
13,
13,
13,
12,
13,
30,
4,
18,
20,
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
],
[
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
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
46,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
37,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tvoid run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\n\t\tSystem.out.printf(\"%f %f\\n\", r*r*Math.PI, 2*Math.PI*r);\n\t}\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tvoid run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\n\t\tSystem.out.printf(\"%f %f\\n\", r*r*Math.PI, 2*Math.PI*r);\n\t}\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n}",
"Main",
"void run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\n\t\tSystem.out.printf(\"%f %f\\n\", r*r*Math.PI, 2*Math.PI*r);\n\t}",
"run",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\n\t\tSystem.out.printf(\"%f %f\\n\", r*r*Math.PI, 2*Math.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",
"System.out.printf(\"%f %f\\n\", r*r*Math.PI, 2*Math.PI*r)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f %f\\n\"",
"r*r*Math.PI",
"r*r*Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"2*Math.PI*r",
"2*Math.PI*r",
"2",
"Math.PI",
"Math",
"Math.PI",
"r",
"public static void main(String[] args) {\n\t\tnew Main().run();\n\t}",
"main",
"{\n\t\tnew Main().run();\n\t}",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"public class Main {\n\tvoid run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\n\t\tSystem.out.printf(\"%f %f\\n\", r*r*Math.PI, 2*Math.PI*r);\n\t}\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n}",
"public class Main {\n\tvoid run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\n\t\tSystem.out.printf(\"%f %f\\n\", r*r*Math.PI, 2*Math.PI*r);\n\t}\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
void run() {
Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
System.out.printf("%f %f\n", r*r*Math.PI, 2*Math.PI*r);
}
public static void main(String[] args) {
new Main().run();
}
} |
[
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,
17,
13,
13,
4,
18,
18,
13,
13,
17,
13,
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
],
[
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
],
[
34,
40
],
[
34,
41
],
[
6,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
] | [
"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 PI\t\t= 3.14159265359;\n\t\t\n\t\tdouble area\t\t= r * r * PI;\n\t\tdouble circle\t= 2 * PI * r;\n\t\t\n\t\tSystem.out.printf(\"%.6f %.6f\", area, circle);\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 PI\t\t= 3.14159265359;\n\t\t\n\t\tdouble area\t\t= r * r * PI;\n\t\tdouble circle\t= 2 * PI * r;\n\t\t\n\t\tSystem.out.printf(\"%.6f %.6f\", area, circle);\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\t\t= 3.14159265359;\n\t\t\n\t\tdouble area\t\t= r * r * PI;\n\t\tdouble circle\t= 2 * PI * r;\n\t\t\n\t\tSystem.out.printf(\"%.6f %.6f\", area, circle);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner( System.in );\n\t\tdouble r = sc.nextDouble();\n\t\t\n\t\tdouble PI\t\t= 3.14159265359;\n\t\t\n\t\tdouble area\t\t= r * r * PI;\n\t\tdouble circle\t= 2 * PI * r;\n\t\t\n\t\tSystem.out.printf(\"%.6f %.6f\", 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\t\t= 3.14159265359;",
"PI",
"3.14159265359",
"double area\t\t= r * r * PI;",
"area",
"r * r * PI",
"r * r * PI",
"r",
"r",
"PI",
"double circle\t= 2 * PI * r;",
"circle",
"2 * PI * r",
"2 * PI * r",
"2",
"PI",
"r",
"System.out.printf(\"%.6f %.6f\", area, circle)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f %.6f\"",
"area",
"circle",
"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 PI\t\t= 3.14159265359;\n\t\t\n\t\tdouble area\t\t= r * r * PI;\n\t\tdouble circle\t= 2 * PI * r;\n\t\t\n\t\tSystem.out.printf(\"%.6f %.6f\", area, circle);\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 PI\t\t= 3.14159265359;\n\t\t\n\t\tdouble area\t\t= r * r * PI;\n\t\tdouble circle\t= 2 * PI * r;\n\t\t\n\t\tSystem.out.printf(\"%.6f %.6f\", area, circle);\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 PI = 3.14159265359;
double area = r * r * PI;
double circle = 2 * PI * r;
System.out.printf("%.6f %.6f", area, circle);
}
} |
[
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,
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
],
[
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
],
[
23,
24
],
[
22,
25
],
[
22,
26
],
[
27,
27
],
[
27,
28
],
[
27,
29
],
[
27,
30
],
[
30,
31
],
[
30,
32
],
[
11,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
35,
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
],
[
52,
52
],
[
52,
53
],
[
52,
54
],
[
52,
55
],
[
9,
56
],
[
56,
57
]
] | [
"import java.util.Scanner;\nimport java.lang.Math;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n double r = sc.nextDouble();\n\n String menseki = String.format(\"%.5f\", r*r*Math.PI);\n String hankei = String.format(\"%.5f\", 2*r*Math.PI);\n\n System.out.println(menseki+\" \"+hankei);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.lang.Math;",
"Math",
"java.lang",
"class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n double r = sc.nextDouble();\n\n String menseki = String.format(\"%.5f\", r*r*Math.PI);\n String hankei = String.format(\"%.5f\", 2*r*Math.PI);\n\n System.out.println(menseki+\" \"+hankei);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n double r = sc.nextDouble();\n\n String menseki = String.format(\"%.5f\", r*r*Math.PI);\n String hankei = String.format(\"%.5f\", 2*r*Math.PI);\n\n System.out.println(menseki+\" \"+hankei);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n double r = sc.nextDouble();\n\n String menseki = String.format(\"%.5f\", r*r*Math.PI);\n String hankei = String.format(\"%.5f\", 2*r*Math.PI);\n\n System.out.println(menseki+\" \"+hankei);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double r = sc.nextDouble();",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"String menseki = String.format(\"%.5f\", r*r*Math.PI);",
"menseki",
"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",
"String hankei = String.format(\"%.5f\", 2*r*Math.PI);",
"hankei",
"String.format(\"%.5f\", 2*r*Math.PI)",
"String.format",
"String",
"\"%.5f\"",
"2*r*Math.PI",
"2*r*Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"System.out.println(menseki+\" \"+hankei)",
"System.out.println",
"System.out",
"System",
"System.out",
"menseki+\" \"+hankei",
"menseki+\" \"+hankei",
"menseki",
"\" \"",
"hankei",
"String[] args",
"args"
] | import java.util.Scanner;
import java.lang.Math;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double r = sc.nextDouble();
String menseki = String.format("%.5f", r*r*Math.PI);
String hankei = String.format("%.5f", 2*r*Math.PI);
System.out.println(menseki+" "+hankei);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
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,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
58,
8
],
[
58,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
32,
32
],
[
32,
33
],
[
32,
34
],
[
32,
35
],
[
35,
36
],
[
35,
37
],
[
11,
38
],
[
38,
39
],
[
38,
40
],
[
41,
41
],
[
41,
42
],
[
41,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
11,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
47,
53
],
[
47,
54
],
[
9,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args)throws Exception {\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n String input = br.readLine();\n double r = Double.parseDouble(input);\n double men = (double) r * r * Math.PI;\n double nagasa = (double) r * 2 * Math.PI;\n System.out.printf(\"%.6f %.6f\" ,men,nagasa);\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 \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n String input = br.readLine();\n double r = Double.parseDouble(input);\n double men = (double) r * r * Math.PI;\n double nagasa = (double) r * 2 * Math.PI;\n System.out.printf(\"%.6f %.6f\" ,men,nagasa);\n }\n}",
"Main",
"public static void main(String[] args)throws Exception {\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n String input = br.readLine();\n double r = Double.parseDouble(input);\n double men = (double) r * r * Math.PI;\n double nagasa = (double) r * 2 * Math.PI;\n System.out.printf(\"%.6f %.6f\" ,men,nagasa);\n }",
"main",
"{\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n String input = br.readLine();\n double r = Double.parseDouble(input);\n double men = (double) r * r * Math.PI;\n double nagasa = (double) r * 2 * Math.PI;\n System.out.printf(\"%.6f %.6f\" ,men,nagasa);\n }",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"String input = br.readLine();",
"input",
"br.readLine()",
"br.readLine",
"br",
"double r = Double.parseDouble(input);",
"r",
"Double.parseDouble(input)",
"Double.parseDouble",
"Double",
"input",
"double men = (double) r * r * Math.PI;",
"men",
"(double) r * r * Math.PI",
"(double) r * r * Math.PI",
"(double) r",
"r",
"Math.PI",
"Math",
"Math.PI",
"double nagasa = (double) r * 2 * Math.PI;",
"nagasa",
"(double) r * 2 * Math.PI",
"(double) r * 2 * Math.PI",
"(double) r",
"2",
"Math.PI",
"Math",
"Math.PI",
"System.out.printf(\"%.6f %.6f\" ,men,nagasa)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f %.6f\"",
"men",
"nagasa",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args)throws Exception {\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n String input = br.readLine();\n double r = Double.parseDouble(input);\n double men = (double) r * r * Math.PI;\n double nagasa = (double) r * 2 * Math.PI;\n System.out.printf(\"%.6f %.6f\" ,men,nagasa);\n }\n}",
"public class Main {\n public static void main(String[] args)throws Exception {\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n String input = br.readLine();\n double r = Double.parseDouble(input);\n double men = (double) r * r * Math.PI;\n double nagasa = (double) r * 2 * Math.PI;\n System.out.printf(\"%.6f %.6f\" ,men,nagasa);\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args)throws Exception {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
String input = br.readLine();
double r = Double.parseDouble(input);
double men = (double) r * r * Math.PI;
double nagasa = (double) r * 2 * Math.PI;
System.out.printf("%.6f %.6f" ,men,nagasa);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
18,
13,
13,
41,
13,
2,
2,
13,
17,
13,
41,
13,
2,
2,
13,
13,
13,
4,
18,
4,
18,
4,
18,
13,
4,
18,
13,
17,
13,
17,
4,
18,
13,
17,
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
],
[
69,
8
],
[
69,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
31,
31
],
[
31,
32
],
[
31,
33
],
[
31,
34
],
[
11,
35
],
[
35,
36
],
[
35,
37
],
[
38,
38
],
[
38,
39
],
[
38,
40
],
[
38,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
49,
53
],
[
44,
54
],
[
42,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
55,
59
],
[
11,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
9,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
] | [
"import java.io.IOException;\nimport java.util.Scanner;\npublic class Main {\n public static void main (String args[]) throws IOException {\n \tScanner sc = new Scanner(System.in);\n \tStringBuilder sb = new StringBuilder();\n \tdouble b = sc.nextDouble();\n \tdouble x=Math.PI;\n \tdouble a = b*2*x;\n \tdouble c = b*b*x;\n \tsb.append(String.format(\"%6.6f\",c)).append(\" \").append(String.format(\"%6.6f\",a));\n \tSystem.out.print(sb);\n }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main (String args[]) throws IOException {\n \tScanner sc = new Scanner(System.in);\n \tStringBuilder sb = new StringBuilder();\n \tdouble b = sc.nextDouble();\n \tdouble x=Math.PI;\n \tdouble a = b*2*x;\n \tdouble c = b*b*x;\n \tsb.append(String.format(\"%6.6f\",c)).append(\" \").append(String.format(\"%6.6f\",a));\n \tSystem.out.print(sb);\n }\n}",
"Main",
"public static void main (String args[]) throws IOException {\n \tScanner sc = new Scanner(System.in);\n \tStringBuilder sb = new StringBuilder();\n \tdouble b = sc.nextDouble();\n \tdouble x=Math.PI;\n \tdouble a = b*2*x;\n \tdouble c = b*b*x;\n \tsb.append(String.format(\"%6.6f\",c)).append(\" \").append(String.format(\"%6.6f\",a));\n \tSystem.out.print(sb);\n }",
"main",
"{\n \tScanner sc = new Scanner(System.in);\n \tStringBuilder sb = new StringBuilder();\n \tdouble b = sc.nextDouble();\n \tdouble x=Math.PI;\n \tdouble a = b*2*x;\n \tdouble c = b*b*x;\n \tsb.append(String.format(\"%6.6f\",c)).append(\" \").append(String.format(\"%6.6f\",a));\n \tSystem.out.print(sb);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"double b = sc.nextDouble();",
"b",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"double x=Math.PI;",
"x",
"Math.PI",
"Math",
"Math.PI",
"double a = b*2*x;",
"a",
"b*2*x",
"b*2*x",
"b",
"2",
"x",
"double c = b*b*x;",
"c",
"b*b*x",
"b*b*x",
"b",
"b",
"x",
"sb.append(String.format(\"%6.6f\",c)).append(\" \").append(String.format(\"%6.6f\",a))",
"sb.append(String.format(\"%6.6f\",c)).append(\" \").append",
"sb.append(String.format(\"%6.6f\",c)).append(\" \")",
"sb.append(String.format(\"%6.6f\",c)).append",
"sb.append(String.format(\"%6.6f\",c))",
"sb.append",
"sb",
"String.format(\"%6.6f\",c)",
"String.format",
"String",
"\"%6.6f\"",
"c",
"\" \"",
"String.format(\"%6.6f\",a)",
"String.format",
"String",
"\"%6.6f\"",
"a",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String args[]",
"args",
"public class Main {\n public static void main (String args[]) throws IOException {\n \tScanner sc = new Scanner(System.in);\n \tStringBuilder sb = new StringBuilder();\n \tdouble b = sc.nextDouble();\n \tdouble x=Math.PI;\n \tdouble a = b*2*x;\n \tdouble c = b*b*x;\n \tsb.append(String.format(\"%6.6f\",c)).append(\" \").append(String.format(\"%6.6f\",a));\n \tSystem.out.print(sb);\n }\n}",
"public class Main {\n public static void main (String args[]) throws IOException {\n \tScanner sc = new Scanner(System.in);\n \tStringBuilder sb = new StringBuilder();\n \tdouble b = sc.nextDouble();\n \tdouble x=Math.PI;\n \tdouble a = b*2*x;\n \tdouble c = b*b*x;\n \tsb.append(String.format(\"%6.6f\",c)).append(\" \").append(String.format(\"%6.6f\",a));\n \tSystem.out.print(sb);\n }\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);
StringBuilder sb = new StringBuilder();
double b = sc.nextDouble();
double x=Math.PI;
double a = b*2*x;
double c = b*b*x;
sb.append(String.format("%6.6f",c)).append(" ").append(String.format("%6.6f",a));
System.out.print(sb);
}
} |
[
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,
17,
18,
13,
13,
13,
4,
18,
18,
13,
13,
17,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
47,
5
],
[
47,
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
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
35,
41
],
[
35,
42
],
[
35,
43
],
[
6,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] | [
"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 area = Math.PI * r * r;\n\t\tdouble circle = 2 * Math.PI * r;\n\t\tSystem.out.printf(\"%.6f%s%.6f\", area,\" \",circle);\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 area = Math.PI * r * r;\n\t\tdouble circle = 2 * Math.PI * r;\n\t\tSystem.out.printf(\"%.6f%s%.6f\", area,\" \",circle);\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 area = Math.PI * r * r;\n\t\tdouble circle = 2 * Math.PI * r;\n\t\tSystem.out.printf(\"%.6f%s%.6f\", area,\" \",circle);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\tdouble area = Math.PI * r * r;\n\t\tdouble circle = 2 * Math.PI * r;\n\t\tSystem.out.printf(\"%.6f%s%.6f\", 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 area = Math.PI * r * r;",
"area",
"Math.PI * r * r",
"Math.PI * r * r",
"Math.PI",
"Math",
"Math.PI",
"r",
"r",
"double circle = 2 * Math.PI * r;",
"circle",
"2 * Math.PI * r",
"2 * Math.PI * r",
"2",
"Math.PI",
"Math",
"Math.PI",
"r",
"System.out.printf(\"%.6f%s%.6f\", area,\" \",circle)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f%s%.6f\"",
"area",
"\" \"",
"circle",
"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 area = Math.PI * r * r;\n\t\tdouble circle = 2 * Math.PI * r;\n\t\tSystem.out.printf(\"%.6f%s%.6f\", area,\" \",circle);\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 area = Math.PI * r * r;\n\t\tdouble circle = 2 * Math.PI * r;\n\t\tSystem.out.printf(\"%.6f%s%.6f\", area,\" \",circle);\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 area = Math.PI * r * r;
double circle = 2 * Math.PI * r;
System.out.printf("%.6f%s%.6f", area," ",circle);
}
} |
[
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,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
42,
5
],
[
42,
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
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n double r = stdin.nextDouble();\n System.out.printf(\"%f %f%n\", Math.pow(r, 2) * Math.PI, 2 * r * Math.PI);\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n double r = stdin.nextDouble();\n System.out.printf(\"%f %f%n\", Math.pow(r, 2) * Math.PI, 2 * r * Math.PI);\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n double r = stdin.nextDouble();\n System.out.printf(\"%f %f%n\", Math.pow(r, 2) * Math.PI, 2 * r * Math.PI);\n }",
"main",
"{\n Scanner stdin = new Scanner(System.in);\n double r = stdin.nextDouble();\n System.out.printf(\"%f %f%n\", Math.pow(r, 2) * Math.PI, 2 * r * Math.PI);\n }",
"Scanner stdin = new Scanner(System.in);",
"stdin",
"new Scanner(System.in)",
"double r = stdin.nextDouble();",
"r",
"stdin.nextDouble()",
"stdin.nextDouble",
"stdin",
"System.out.printf(\"%f %f%n\", Math.pow(r, 2) * Math.PI, 2 * r * 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",
"2 * r * Math.PI",
"2 * r * Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n double r = stdin.nextDouble();\n System.out.printf(\"%f %f%n\", Math.pow(r, 2) * Math.PI, 2 * r * Math.PI);\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n double r = stdin.nextDouble();\n System.out.printf(\"%f %f%n\", Math.pow(r, 2) * Math.PI, 2 * r * Math.PI);\n }\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner stdin = new Scanner(System.in);
double r = stdin.nextDouble();
System.out.printf("%f %f%n", Math.pow(r, 2) * Math.PI, 2 * r * Math.PI);
}
} |
[
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,
17,
2,
2,
13,
17,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
36,
5
],
[
36,
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
],
[
24,
26
],
[
23,
27
],
[
17,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
6,
33
],
[
33,
34
],
[
0,
35
],
[
35,
36
],
[
35,
37
]
] | [
"import java.util.Scanner;\n\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\t//????????????\n\t\tSystem.out.printf(\"%.6f %.6f\",(r*r*3.141592653589),(r*2*3.141592653589));\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\t//????????????\n\t\tSystem.out.printf(\"%.6f %.6f\",(r*r*3.141592653589),(r*2*3.141592653589));\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\t//????????????\n\t\tSystem.out.printf(\"%.6f %.6f\",(r*r*3.141592653589),(r*2*3.141592653589));\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r=sc.nextDouble();\n\t\t \n\t\t//????????????\n\t\tSystem.out.printf(\"%.6f %.6f\",(r*r*3.141592653589),(r*2*3.141592653589));\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\",(r*r*3.141592653589),(r*2*3.141592653589))",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f %.6f\"",
"(r*r*3.141592653589)",
"r*r*3.141592653589",
"r",
"r",
"3.141592653589",
"(r*2*3.141592653589)",
"r*2*3.141592653589",
"r",
"2",
"3.141592653589",
"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\t//????????????\n\t\tSystem.out.printf(\"%.6f %.6f\",(r*r*3.141592653589),(r*2*3.141592653589));\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\t//????????????\n\t\tSystem.out.printf(\"%.6f %.6f\",(r*r*3.141592653589),(r*2*3.141592653589));\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();
//????????????
System.out.printf("%.6f %.6f",(r*r*3.141592653589),(r*2*3.141592653589));
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
17,
41,
13,
4,
18,
13,
17,
2,
2,
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
] | [
[
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
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
18,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
18,
30
],
[
30,
31
],
[
30,
32
],
[
18,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
35,
39
],
[
40,
40
],
[
40,
41
],
[
40,
42
],
[
40,
43
],
[
18,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
46,
50
],
[
51,
51
],
[
51,
52
],
[
51,
53
],
[
51,
54
],
[
18,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
61,
61
],
[
61,
62
],
[
61,
63
],
[
61,
64
],
[
12,
65
],
[
65,
66
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n {\n String strArr= br.readLine();\n double a=Double.parseDouble(strArr);\n double pi=3.14159265358979323846264338327950288419716939937510582;\n\n String men=String.format(\"%.5f\",a*a*pi);\n String syu=String.format(\"%.5f\",a*2*pi);\n System.out.println(men+\" \"+syu);\n }\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 public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n {\n String strArr= br.readLine();\n double a=Double.parseDouble(strArr);\n double pi=3.14159265358979323846264338327950288419716939937510582;\n\n String men=String.format(\"%.5f\",a*a*pi);\n String syu=String.format(\"%.5f\",a*2*pi);\n System.out.println(men+\" \"+syu);\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n {\n String strArr= br.readLine();\n double a=Double.parseDouble(strArr);\n double pi=3.14159265358979323846264338327950288419716939937510582;\n\n String men=String.format(\"%.5f\",a*a*pi);\n String syu=String.format(\"%.5f\",a*2*pi);\n System.out.println(men+\" \"+syu);\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n {\n String strArr= br.readLine();\n double a=Double.parseDouble(strArr);\n double pi=3.14159265358979323846264338327950288419716939937510582;\n\n String men=String.format(\"%.5f\",a*a*pi);\n String syu=String.format(\"%.5f\",a*2*pi);\n System.out.println(men+\" \"+syu);\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"{\n String strArr= br.readLine();\n double a=Double.parseDouble(strArr);\n double pi=3.14159265358979323846264338327950288419716939937510582;\n\n String men=String.format(\"%.5f\",a*a*pi);\n String syu=String.format(\"%.5f\",a*2*pi);\n System.out.println(men+\" \"+syu);\n }",
"String strArr= br.readLine();",
"strArr",
"br.readLine()",
"br.readLine",
"br",
"double a=Double.parseDouble(strArr);",
"a",
"Double.parseDouble(strArr)",
"Double.parseDouble",
"Double",
"strArr",
"double pi=3.14159265358979323846264338327950288419716939937510582;",
"pi",
"3.14159265358979323846264338327950288419716939937510582",
"String men=String.format(\"%.5f\",a*a*pi);",
"men",
"String.format(\"%.5f\",a*a*pi)",
"String.format",
"String",
"\"%.5f\"",
"a*a*pi",
"a*a*pi",
"a",
"a",
"pi",
"String syu=String.format(\"%.5f\",a*2*pi);",
"syu",
"String.format(\"%.5f\",a*2*pi)",
"String.format",
"String",
"\"%.5f\"",
"a*2*pi",
"a*2*pi",
"a",
"2",
"pi",
"System.out.println(men+\" \"+syu)",
"System.out.println",
"System.out",
"System",
"System.out",
"men+\" \"+syu",
"men+\" \"+syu",
"men",
"\" \"",
"syu",
"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 strArr= br.readLine();
double a=Double.parseDouble(strArr);
double pi=3.14159265358979323846264338327950288419716939937510582;
String men=String.format("%.5f",a*a*pi);
String syu=String.format("%.5f",a*2*pi);
System.out.println(men+" "+syu);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
17,
18,
13,
13,
41,
13,
2,
2,
13,
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
],
[
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
],
[
6,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n double r = scan.nextDouble();\n double cir = (r * 2) * Math.PI;\n double area = r * r * Math.PI;\n\n System.out.printf(\"%6f %6f\",area, cir);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n double r = scan.nextDouble();\n double cir = (r * 2) * Math.PI;\n double area = r * r * Math.PI;\n\n System.out.printf(\"%6f %6f\",area, cir);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n double r = scan.nextDouble();\n double cir = (r * 2) * Math.PI;\n double area = r * r * Math.PI;\n\n System.out.printf(\"%6f %6f\",area, cir);\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n double r = scan.nextDouble();\n double cir = (r * 2) * Math.PI;\n double area = r * r * Math.PI;\n\n System.out.printf(\"%6f %6f\",area, cir);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"double r = scan.nextDouble();",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"double cir = (r * 2) * Math.PI;",
"cir",
"(r * 2) * Math.PI",
"(r * 2)",
"r",
"2",
"Math.PI",
"Math",
"Math.PI",
"double area = r * r * Math.PI;",
"area",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"System.out.printf(\"%6f %6f\",area, cir)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%6f %6f\"",
"area",
"cir",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n double r = scan.nextDouble();\n double cir = (r * 2) * Math.PI;\n double area = r * r * Math.PI;\n\n System.out.printf(\"%6f %6f\",area, cir);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n double r = scan.nextDouble();\n double cir = (r * 2) * Math.PI;\n double area = r * r * Math.PI;\n\n System.out.printf(\"%6f %6f\",area, cir);\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 cir = (r * 2) * Math.PI;
double area = r * r * Math.PI;
System.out.printf("%6f %6f",area, cir);
}
} |
[
7,
15,
13,
17,
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
],
[
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
],
[
23,
23
],
[
23,
24
],
[
23,
25
],
[
23,
26
],
[
26,
27
],
[
26,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
32,
32
],
[
32,
33
],
[
32,
34
],
[
32,
35
],
[
35,
36
],
[
35,
37
],
[
11,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
40,
44
],
[
11,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
47,
51
],
[
11,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
58,
58
],
[
58,
59
],
[
58,
60
],
[
58,
61
],
[
9,
62
],
[
62,
63
]
] | [
"import java.util.Scanner;\nimport java.lang.Math;\n\nclass Main{\n public static void main(String args[]){\n Scanner scan=new Scanner(System.in);\n double r=scan.nextDouble();\n double s=r*r*Math.PI;\n double l=2*r*Math.PI;\n String ss=String.format(\"%.5f\",s);\n String ll=String.format(\"%.5f\",l);\n System.out.println(ss+\" \"+ll);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.lang.Math;",
"Math",
"java.lang",
"class Main{\n public static void main(String args[]){\n Scanner scan=new Scanner(System.in);\n double r=scan.nextDouble();\n double s=r*r*Math.PI;\n double l=2*r*Math.PI;\n String ss=String.format(\"%.5f\",s);\n String ll=String.format(\"%.5f\",l);\n System.out.println(ss+\" \"+ll);\n }\n}",
"Main",
"public static void main(String args[]){\n Scanner scan=new Scanner(System.in);\n double r=scan.nextDouble();\n double s=r*r*Math.PI;\n double l=2*r*Math.PI;\n String ss=String.format(\"%.5f\",s);\n String ll=String.format(\"%.5f\",l);\n System.out.println(ss+\" \"+ll);\n }",
"main",
"{\n Scanner scan=new Scanner(System.in);\n double r=scan.nextDouble();\n double s=r*r*Math.PI;\n double l=2*r*Math.PI;\n String ss=String.format(\"%.5f\",s);\n String ll=String.format(\"%.5f\",l);\n System.out.println(ss+\" \"+ll);\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 l=2*r*Math.PI;",
"l",
"2*r*Math.PI",
"2*r*Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"String ss=String.format(\"%.5f\",s);",
"ss",
"String.format(\"%.5f\",s)",
"String.format",
"String",
"\"%.5f\"",
"s",
"String ll=String.format(\"%.5f\",l);",
"ll",
"String.format(\"%.5f\",l)",
"String.format",
"String",
"\"%.5f\"",
"l",
"System.out.println(ss+\" \"+ll)",
"System.out.println",
"System.out",
"System",
"System.out",
"ss+\" \"+ll",
"ss+\" \"+ll",
"ss",
"\" \"",
"ll",
"String args[]",
"args"
] | import java.util.Scanner;
import java.lang.Math;
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 l=2*r*Math.PI;
String ss=String.format("%.5f",s);
String ll=String.format("%.5f",l);
System.out.println(ss+" "+ll);
}
} |
[
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,
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
],
[
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
],
[
34,
40
],
[
34,
41
],
[
4,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
42,
48
],
[
48,
49
]
] | [
"import java.util.Scanner;\nclass Main {\n public void kami() {\n \t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\tdouble p = 3.141592653589;\n\t\t\n\t\tdouble r1 = r * r * p;\n\t\tdouble r2 = r * 2 * p;\n\t\t\n\t\tSystem.out.printf(\"%8.6f %8.6f \\n\", r1 , r2);\n\n }\n\tpublic static void main(String[] args) {\n new Main().kami();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public void kami() {\n \t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\tdouble p = 3.141592653589;\n\t\t\n\t\tdouble r1 = r * r * p;\n\t\tdouble r2 = r * 2 * p;\n\t\t\n\t\tSystem.out.printf(\"%8.6f %8.6f \\n\", r1 , r2);\n\n }\n\tpublic static void main(String[] args) {\n new Main().kami();\n\t}\n\n}",
"Main",
"public void kami() {\n \t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\tdouble p = 3.141592653589;\n\t\t\n\t\tdouble r1 = r * r * p;\n\t\tdouble r2 = r * 2 * p;\n\t\t\n\t\tSystem.out.printf(\"%8.6f %8.6f \\n\", r1 , r2);\n\n }",
"kami",
"{\n \t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\tdouble p = 3.141592653589;\n\t\t\n\t\tdouble r1 = r * r * p;\n\t\tdouble r2 = r * 2 * p;\n\t\t\n\t\tSystem.out.printf(\"%8.6f %8.6f \\n\", r1 , r2);\n\n }",
"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 r1 = r * r * p;",
"r1",
"r * r * p",
"r * r * p",
"r",
"r",
"p",
"double r2 = r * 2 * p;",
"r2",
"r * 2 * p",
"r * 2 * p",
"r",
"2",
"p",
"System.out.printf(\"%8.6f %8.6f \\n\", r1 , r2)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%8.6f %8.6f \\n\"",
"r1",
"r2",
"public static void main(String[] args) {\n new Main().kami();\n\t}",
"main",
"{\n new Main().kami();\n\t}",
"new Main().kami()",
"new Main().kami",
"new Main()",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public void kami() {
Scanner sc = new Scanner(System.in);
double r = sc.nextDouble();
double p = 3.141592653589;
double r1 = r * r * p;
double r2 = r * 2 * p;
System.out.printf("%8.6f %8.6f \n", r1 , r2);
}
public static void main(String[] args) {
new Main().kami();
}
} |
[
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,
20,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
2,
2,
13,
13,
18,
13,
13,
17,
4,
18,
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
],
[
63,
14
],
[
63,
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
],
[
17,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
43,
43
],
[
43,
44
],
[
43,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
38,
49
],
[
38,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
54,
54
],
[
54,
55
],
[
54,
56
],
[
54,
57
],
[
57,
58
],
[
57,
59
],
[
15,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
] | [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.text.DecimalFormat;\n\npublic class Main {\n\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\tDecimalFormat dmfmt = new DecimalFormat(\"0.000000\");\n\n\t\tSystem.out.println(dmfmt.format(r * r * Math.PI) + \" \" + dmfmt.format(r * 2 * 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",
"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\tdouble r = Double.parseDouble(br.readLine());\n\n\t\tDecimalFormat dmfmt = new DecimalFormat(\"0.000000\");\n\n\t\tSystem.out.println(dmfmt.format(r * r * Math.PI) + \" \" + dmfmt.format(r * 2 * 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\tdouble r = Double.parseDouble(br.readLine());\n\n\t\tDecimalFormat dmfmt = new DecimalFormat(\"0.000000\");\n\n\t\tSystem.out.println(dmfmt.format(r * r * Math.PI) + \" \" + dmfmt.format(r * 2 * Math.PI));\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble r = Double.parseDouble(br.readLine());\n\n\t\tDecimalFormat dmfmt = new DecimalFormat(\"0.000000\");\n\n\t\tSystem.out.println(dmfmt.format(r * r * Math.PI) + \" \" + dmfmt.format(r * 2 * Math.PI));\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",
"DecimalFormat dmfmt = new DecimalFormat(\"0.000000\");",
"dmfmt",
"new DecimalFormat(\"0.000000\")",
"System.out.println(dmfmt.format(r * r * Math.PI) + \" \" + dmfmt.format(r * 2 * Math.PI))",
"System.out.println",
"System.out",
"System",
"System.out",
"dmfmt.format(r * r * Math.PI) + \" \" + dmfmt.format(r * 2 * Math.PI)",
"dmfmt.format(r * r * Math.PI) + \" \" + dmfmt.format(r * 2 * Math.PI)",
"dmfmt.format(r * r * Math.PI)",
"dmfmt.format",
"dmfmt",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"\" \"",
"dmfmt.format(r * 2 * Math.PI)",
"dmfmt.format",
"dmfmt",
"r * 2 * Math.PI",
"r * 2 * Math.PI",
"r",
"2",
"Math.PI",
"Math",
"Math.PI",
"String[] args",
"args",
"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\tdouble r = Double.parseDouble(br.readLine());\n\n\t\tDecimalFormat dmfmt = new DecimalFormat(\"0.000000\");\n\n\t\tSystem.out.println(dmfmt.format(r * r * Math.PI) + \" \" + dmfmt.format(r * 2 * Math.PI));\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\tdouble r = Double.parseDouble(br.readLine());\n\n\t\tDecimalFormat dmfmt = new DecimalFormat(\"0.000000\");\n\n\t\tSystem.out.println(dmfmt.format(r * r * Math.PI) + \" \" + dmfmt.format(r * 2 * Math.PI));\n\t}\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) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
double r = Double.parseDouble(br.readLine());
DecimalFormat dmfmt = new DecimalFormat("0.000000");
System.out.println(dmfmt.format(r * r * Math.PI) + " " + dmfmt.format(r * 2 * Math.PI));
}
} |
[
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,
41,
13,
20,
41,
13,
20,
0,
13,
4,
18,
4,
18,
13,
20,
18,
13,
13,
20,
18,
13,
13,
41,
13,
4,
18,
4,
18,
13,
13,
18,
13,
13,
20,
18,
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,
2,
2,
4,
18,
13,
17,
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
],
[
97,
14
],
[
97,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
17,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
34,
43
],
[
34,
44
],
[
44,
45
],
[
44,
46
],
[
17,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
49,
58
],
[
49,
59
],
[
59,
60
],
[
59,
61
],
[
17,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
64,
68
],
[
68,
69
],
[
68,
70
],
[
17,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
73,
77
],
[
77,
78
],
[
77,
79
],
[
17,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
86,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
86,
90
],
[
86,
91
],
[
91,
92
],
[
92,
93
],
[
15,
94
],
[
94,
95
],
[
0,
96
],
[
96,
97
],
[
96,
98
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.math.BigDecimal;\nimport java.math.MathContext;\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 BigDecimal bm = new BigDecimal(line);\n BigDecimal circum = new BigDecimal(bm.toPlainString());\n circum = circum.multiply(new BigDecimal(2),MathContext.DECIMAL64).multiply(new BigDecimal(Math.PI),MathContext.DECIMAL64);\n BigDecimal area = bm.multiply(bm,MathContext.DECIMAL64).multiply(new BigDecimal(Math.PI),MathContext.DECIMAL64);\n\n circum = circum.setScale(6,BigDecimal.ROUND_HALF_UP);\n area = area.setScale(6,BigDecimal.ROUND_HALF_UP);\n System.out.println( area.toPlainString() + \" \" + circum.toPlainString());\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.math.MathContext;",
"MathContext",
"java.math",
"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 BigDecimal bm = new BigDecimal(line);\n BigDecimal circum = new BigDecimal(bm.toPlainString());\n circum = circum.multiply(new BigDecimal(2),MathContext.DECIMAL64).multiply(new BigDecimal(Math.PI),MathContext.DECIMAL64);\n BigDecimal area = bm.multiply(bm,MathContext.DECIMAL64).multiply(new BigDecimal(Math.PI),MathContext.DECIMAL64);\n\n circum = circum.setScale(6,BigDecimal.ROUND_HALF_UP);\n area = area.setScale(6,BigDecimal.ROUND_HALF_UP);\n System.out.println( area.toPlainString() + \" \" + circum.toPlainString());\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 BigDecimal bm = new BigDecimal(line);\n BigDecimal circum = new BigDecimal(bm.toPlainString());\n circum = circum.multiply(new BigDecimal(2),MathContext.DECIMAL64).multiply(new BigDecimal(Math.PI),MathContext.DECIMAL64);\n BigDecimal area = bm.multiply(bm,MathContext.DECIMAL64).multiply(new BigDecimal(Math.PI),MathContext.DECIMAL64);\n\n circum = circum.setScale(6,BigDecimal.ROUND_HALF_UP);\n area = area.setScale(6,BigDecimal.ROUND_HALF_UP);\n System.out.println( area.toPlainString() + \" \" + circum.toPlainString());\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n BigDecimal bm = new BigDecimal(line);\n BigDecimal circum = new BigDecimal(bm.toPlainString());\n circum = circum.multiply(new BigDecimal(2),MathContext.DECIMAL64).multiply(new BigDecimal(Math.PI),MathContext.DECIMAL64);\n BigDecimal area = bm.multiply(bm,MathContext.DECIMAL64).multiply(new BigDecimal(Math.PI),MathContext.DECIMAL64);\n\n circum = circum.setScale(6,BigDecimal.ROUND_HALF_UP);\n area = area.setScale(6,BigDecimal.ROUND_HALF_UP);\n System.out.println( area.toPlainString() + \" \" + circum.toPlainString());\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",
"BigDecimal bm = new BigDecimal(line);",
"bm",
"new BigDecimal(line)",
"BigDecimal circum = new BigDecimal(bm.toPlainString());",
"circum",
"new BigDecimal(bm.toPlainString())",
"circum = circum.multiply(new BigDecimal(2),MathContext.DECIMAL64).multiply(new BigDecimal(Math.PI),MathContext.DECIMAL64)",
"circum",
"circum.multiply(new BigDecimal(2),MathContext.DECIMAL64).multiply(new BigDecimal(Math.PI),MathContext.DECIMAL64)",
"circum.multiply(new BigDecimal(2),MathContext.DECIMAL64).multiply",
"circum.multiply(new BigDecimal(2),MathContext.DECIMAL64)",
"circum.multiply",
"circum",
"new BigDecimal(2)",
"MathContext.DECIMAL64",
"MathContext",
"MathContext.DECIMAL64",
"new BigDecimal(Math.PI)",
"MathContext.DECIMAL64",
"MathContext",
"MathContext.DECIMAL64",
"BigDecimal area = bm.multiply(bm,MathContext.DECIMAL64).multiply(new BigDecimal(Math.PI),MathContext.DECIMAL64);",
"area",
"bm.multiply(bm,MathContext.DECIMAL64).multiply(new BigDecimal(Math.PI),MathContext.DECIMAL64)",
"bm.multiply(bm,MathContext.DECIMAL64).multiply",
"bm.multiply(bm,MathContext.DECIMAL64)",
"bm.multiply",
"bm",
"bm",
"MathContext.DECIMAL64",
"MathContext",
"MathContext.DECIMAL64",
"new BigDecimal(Math.PI)",
"MathContext.DECIMAL64",
"MathContext",
"MathContext.DECIMAL64",
"circum = circum.setScale(6,BigDecimal.ROUND_HALF_UP)",
"circum",
"circum.setScale(6,BigDecimal.ROUND_HALF_UP)",
"circum.setScale",
"circum",
"6",
"BigDecimal.ROUND_HALF_UP",
"BigDecimal",
"BigDecimal.ROUND_HALF_UP",
"area = area.setScale(6,BigDecimal.ROUND_HALF_UP)",
"area",
"area.setScale(6,BigDecimal.ROUND_HALF_UP)",
"area.setScale",
"area",
"6",
"BigDecimal.ROUND_HALF_UP",
"BigDecimal",
"BigDecimal.ROUND_HALF_UP",
"System.out.println( area.toPlainString() + \" \" + circum.toPlainString())",
"System.out.println",
"System.out",
"System",
"System.out",
"area.toPlainString() + \" \" + circum.toPlainString()",
"area.toPlainString() + \" \" + circum.toPlainString()",
"area.toPlainString()",
"area.toPlainString",
"area",
"\" \"",
"circum.toPlainString()",
"circum.toPlainString",
"circum",
"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 BigDecimal bm = new BigDecimal(line);\n BigDecimal circum = new BigDecimal(bm.toPlainString());\n circum = circum.multiply(new BigDecimal(2),MathContext.DECIMAL64).multiply(new BigDecimal(Math.PI),MathContext.DECIMAL64);\n BigDecimal area = bm.multiply(bm,MathContext.DECIMAL64).multiply(new BigDecimal(Math.PI),MathContext.DECIMAL64);\n\n circum = circum.setScale(6,BigDecimal.ROUND_HALF_UP);\n area = area.setScale(6,BigDecimal.ROUND_HALF_UP);\n System.out.println( area.toPlainString() + \" \" + circum.toPlainString());\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 BigDecimal bm = new BigDecimal(line);\n BigDecimal circum = new BigDecimal(bm.toPlainString());\n circum = circum.multiply(new BigDecimal(2),MathContext.DECIMAL64).multiply(new BigDecimal(Math.PI),MathContext.DECIMAL64);\n BigDecimal area = bm.multiply(bm,MathContext.DECIMAL64).multiply(new BigDecimal(Math.PI),MathContext.DECIMAL64);\n\n circum = circum.setScale(6,BigDecimal.ROUND_HALF_UP);\n area = area.setScale(6,BigDecimal.ROUND_HALF_UP);\n System.out.println( area.toPlainString() + \" \" + circum.toPlainString());\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.math.BigDecimal;
import java.math.MathContext;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = br.readLine();
BigDecimal bm = new BigDecimal(line);
BigDecimal circum = new BigDecimal(bm.toPlainString());
circum = circum.multiply(new BigDecimal(2),MathContext.DECIMAL64).multiply(new BigDecimal(Math.PI),MathContext.DECIMAL64);
BigDecimal area = bm.multiply(bm,MathContext.DECIMAL64).multiply(new BigDecimal(Math.PI),MathContext.DECIMAL64);
circum = circum.setScale(6,BigDecimal.ROUND_HALF_UP);
area = area.setScale(6,BigDecimal.ROUND_HALF_UP);
System.out.println( area.toPlainString() + " " + circum.toPlainString());
}
} |
[
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,
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
],
[
58,
11
],
[
58,
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
],
[
35,
36
],
[
35,
37
],
[
14,
38
],
[
38,
39
],
[
38,
40
],
[
41,
41
],
[
41,
42
],
[
41,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
14,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
47,
53
],
[
47,
54
],
[
12,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n/**\n *\n */\n\n/**\n * @author cthanh\n *\n */\npublic class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\?????????\n\t\t String str = br.readLine();\n\t\t double r = Double.parseDouble( str);\n\t\t double men = r *r *Math.PI;\n\t\t double syu = r*2* Math.PI;\n\t\t // System.out.println(Math.PI);\n\t\t System.out.printf( \"%.6f %.6f\",men , syu );\n\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\t/**\n\t * @param args\n\t * @throws IOException\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\?????????\n\t\t String str = br.readLine();\n\t\t double r = Double.parseDouble( str);\n\t\t double men = r *r *Math.PI;\n\t\t double syu = r*2* Math.PI;\n\t\t // System.out.println(Math.PI);\n\t\t System.out.printf( \"%.6f %.6f\",men , syu );\n\n\n\t}\n\n}",
"Main",
"/**\n\t * @param args\n\t * @throws IOException\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\?????????\n\t\t String str = br.readLine();\n\t\t double r = Double.parseDouble( str);\n\t\t double men = r *r *Math.PI;\n\t\t double syu = r*2* Math.PI;\n\t\t // System.out.println(Math.PI);\n\t\t System.out.printf( \"%.6f %.6f\",men , syu );\n\n\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\?????????\n\t\t String str = br.readLine();\n\t\t double r = Double.parseDouble( str);\n\t\t double men = r *r *Math.PI;\n\t\t double syu = r*2* Math.PI;\n\t\t // System.out.println(Math.PI);\n\t\t System.out.printf( \"%.6f %.6f\",men , syu );\n\n\n\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",
"double men = r *r *Math.PI;",
"men",
"r *r *Math.PI",
"r *r *Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"double syu = r*2* Math.PI;",
"syu",
"r*2* Math.PI",
"r*2* Math.PI",
"r",
"2",
"Math.PI",
"Math",
"Math.PI",
"System.out.printf( \"%.6f %.6f\",men , syu )",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f %.6f\"",
"men",
"syu",
"String[] args",
"args",
"public class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\?????????\n\t\t String str = br.readLine();\n\t\t double r = Double.parseDouble( str);\n\t\t double men = r *r *Math.PI;\n\t\t double syu = r*2* Math.PI;\n\t\t // System.out.println(Math.PI);\n\t\t System.out.printf( \"%.6f %.6f\",men , syu );\n\n\n\t}\n\n}",
"public class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\?????????\n\t\t String str = br.readLine();\n\t\t double r = Double.parseDouble( str);\n\t\t double men = r *r *Math.PI;\n\t\t double syu = r*2* Math.PI;\n\t\t // System.out.println(Math.PI);\n\t\t System.out.printf( \"%.6f %.6f\",men , syu );\n\n\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
/**
*
*/
/**
* @author cthanh
*
*/
public class Main {
/**
* @param args
* @throws IOException
*/
public static void main(String[] args) throws IOException {
// TODO ?????????????????????????????????????????????
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\?????????
String str = br.readLine();
double r = Double.parseDouble( str);
double men = r *r *Math.PI;
double syu = r*2* Math.PI;
// System.out.println(Math.PI);
System.out.printf( "%.6f %.6f",men , syu );
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
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
],
[
4,
8
],
[
8,
9
],
[
4,
10
],
[
10,
11
],
[
4,
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
],
[
26,
26
],
[
26,
27
],
[
26,
28
],
[
26,
29
],
[
14,
30
],
[
30,
31
],
[
30,
32
],
[
33,
33
],
[
33,
34
],
[
33,
35
],
[
33,
36
],
[
14,
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 double r,x,y;\n public void solve(){\n Scanner sc = new Scanner(System.in);\n r = sc.nextDouble();\n x = r * r * 3.141592653589;\n y = 2 * r * 3.141592653589;\n System.out.printf(\"%8.6f %8.6f\",x,y);\n }\n public static void main(String[] args){\n new Main().solve();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n double r,x,y;\n public void solve(){\n Scanner sc = new Scanner(System.in);\n r = sc.nextDouble();\n x = r * r * 3.141592653589;\n y = 2 * r * 3.141592653589;\n System.out.printf(\"%8.6f %8.6f\",x,y);\n }\n public static void main(String[] args){\n new Main().solve();\n }\n}",
"Main",
"double r",
"r",
"x",
"x",
"y;",
"y",
"public void solve(){\n Scanner sc = new Scanner(System.in);\n r = sc.nextDouble();\n x = r * r * 3.141592653589;\n y = 2 * r * 3.141592653589;\n System.out.printf(\"%8.6f %8.6f\",x,y);\n }",
"solve",
"{\n Scanner sc = new Scanner(System.in);\n r = sc.nextDouble();\n x = r * r * 3.141592653589;\n y = 2 * r * 3.141592653589;\n System.out.printf(\"%8.6f %8.6f\",x,y);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"r = sc.nextDouble()",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"x = r * r * 3.141592653589",
"x",
"r * r * 3.141592653589",
"r * r * 3.141592653589",
"r",
"r",
"3.141592653589",
"y = 2 * r * 3.141592653589",
"y",
"2 * r * 3.141592653589",
"2 * r * 3.141592653589",
"2",
"r",
"3.141592653589",
"System.out.printf(\"%8.6f %8.6f\",x,y)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%8.6f %8.6f\"",
"x",
"y",
"public static void main(String[] args){\n new Main().solve();\n }",
"main",
"{\n new Main().solve();\n }",
"new Main().solve()",
"new Main().solve",
"new Main()",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
double r,x,y;
public void solve(){
Scanner sc = new Scanner(System.in);
r = sc.nextDouble();
x = r * r * 3.141592653589;
y = 2 * r * 3.141592653589;
System.out.printf("%8.6f %8.6f",x,y);
}
public static void main(String[] args){
new Main().solve();
}
} |
[
7,
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
],
[
43,
2
],
[
43,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
5,
14
],
[
14,
15
],
[
14,
16
],
[
17,
17
],
[
17,
18
],
[
17,
19
],
[
17,
20
],
[
20,
21
],
[
20,
22
],
[
5,
23
],
[
23,
24
],
[
23,
25
],
[
26,
26
],
[
26,
27
],
[
26,
28
],
[
26,
29
],
[
29,
30
],
[
29,
31
],
[
5,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
32,
38
],
[
32,
39
],
[
3,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
] | [
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\t//StringBuilder sb = new StringBuilder();\n\t\tdouble r = sc.nextDouble();\n\n\t\tdouble menseki = r * r * Math.PI;\n\t\tdouble shuu = 2 * r * Math.PI;\n\t\tSystem.out.printf(\"%.5f %.5f\\n\",menseki,shuu);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\t//StringBuilder sb = new StringBuilder();\n\t\tdouble r = sc.nextDouble();\n\n\t\tdouble menseki = r * r * Math.PI;\n\t\tdouble shuu = 2 * r * Math.PI;\n\t\tSystem.out.printf(\"%.5f %.5f\\n\",menseki,shuu);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\t//StringBuilder sb = new StringBuilder();\n\t\tdouble r = sc.nextDouble();\n\n\t\tdouble menseki = r * r * Math.PI;\n\t\tdouble shuu = 2 * r * Math.PI;\n\t\tSystem.out.printf(\"%.5f %.5f\\n\",menseki,shuu);\n\t}",
"main",
"{\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\t//StringBuilder sb = new StringBuilder();\n\t\tdouble r = sc.nextDouble();\n\n\t\tdouble menseki = r * r * Math.PI;\n\t\tdouble shuu = 2 * r * Math.PI;\n\t\tSystem.out.printf(\"%.5f %.5f\\n\",menseki,shuu);\n\t}",
"java.util.Scanner sc = new java.util.Scanner(System.in);",
"sc",
"new java.util.Scanner(System.in)",
"double r = sc.nextDouble();",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"double menseki = r * r * Math.PI;",
"menseki",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"double shuu = 2 * r * Math.PI;",
"shuu",
"2 * r * Math.PI",
"2 * r * Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"System.out.printf(\"%.5f %.5f\\n\",menseki,shuu)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.5f %.5f\\n\"",
"menseki",
"shuu",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\t//StringBuilder sb = new StringBuilder();\n\t\tdouble r = sc.nextDouble();\n\n\t\tdouble menseki = r * r * Math.PI;\n\t\tdouble shuu = 2 * r * Math.PI;\n\t\tSystem.out.printf(\"%.5f %.5f\\n\",menseki,shuu);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\t//StringBuilder sb = new StringBuilder();\n\t\tdouble r = sc.nextDouble();\n\n\t\tdouble menseki = r * r * Math.PI;\n\t\tdouble shuu = 2 * r * Math.PI;\n\t\tSystem.out.printf(\"%.5f %.5f\\n\",menseki,shuu);\n\t}\n}",
"Main"
] | public class Main {
public static void main(String[] args) {
java.util.Scanner sc = new java.util.Scanner(System.in);
//StringBuilder sb = new StringBuilder();
double r = sc.nextDouble();
double menseki = r * r * Math.PI;
double shuu = 2 * r * Math.PI;
System.out.printf("%.5f %.5f\n",menseki,shuu);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
17,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
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
],
[
74,
8
],
[
74,
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
],
[
22,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
22,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
22,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
22,
45
],
[
45,
46
],
[
45,
47
],
[
48,
48
],
[
48,
49
],
[
48,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
22,
54
],
[
54,
55
],
[
54,
56
],
[
57,
57
],
[
57,
58
],
[
57,
59
],
[
57,
60
],
[
60,
61
],
[
60,
62
],
[
22,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
63,
69
],
[
63,
70
],
[
9,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\ntry {\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\tString input = buf.readLine();\n\t\n\tString[] strAry = input.split(\" \");\n double r = Double.parseDouble(strAry[0]);\n double x = r*r*Math.PI;\n double y = 2*r*Math.PI;\n\nSystem.out.printf(\"%5f %5f\", x, y);\n\n} catch (Exception e) {\n\n\tSystem.out.println(\"????????????\");\n\t\n}\n\t\t }\n }",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\ntry {\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\tString input = buf.readLine();\n\t\n\tString[] strAry = input.split(\" \");\n double r = Double.parseDouble(strAry[0]);\n double x = r*r*Math.PI;\n double y = 2*r*Math.PI;\n\nSystem.out.printf(\"%5f %5f\", x, y);\n\n} catch (Exception e) {\n\n\tSystem.out.println(\"????????????\");\n\t\n}\n\t\t }\n }",
"Main",
"public static void main(String[] args) throws Exception {\ntry {\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\tString input = buf.readLine();\n\t\n\tString[] strAry = input.split(\" \");\n double r = Double.parseDouble(strAry[0]);\n double x = r*r*Math.PI;\n double y = 2*r*Math.PI;\n\nSystem.out.printf(\"%5f %5f\", x, y);\n\n} catch (Exception e) {\n\n\tSystem.out.println(\"????????????\");\n\t\n}\n\t\t }",
"main",
"{\ntry {\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\tString input = buf.readLine();\n\t\n\tString[] strAry = input.split(\" \");\n double r = Double.parseDouble(strAry[0]);\n double x = r*r*Math.PI;\n double y = 2*r*Math.PI;\n\nSystem.out.printf(\"%5f %5f\", x, y);\n\n} catch (Exception e) {\n\n\tSystem.out.println(\"????????????\");\n\t\n}\n\t\t }",
"try {\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\tString input = buf.readLine();\n\t\n\tString[] strAry = input.split(\" \");\n double r = Double.parseDouble(strAry[0]);\n double x = r*r*Math.PI;\n double y = 2*r*Math.PI;\n\nSystem.out.printf(\"%5f %5f\", x, y);\n\n} catch (Exception e) {\n\n\tSystem.out.println(\"????????????\");\n\t\n}",
"catch (Exception e) {\n\n\tSystem.out.println(\"????????????\");\n\t\n}",
"Exception e",
"{\n\n\tSystem.out.println(\"????????????\");\n\t\n}",
"System.out.println(\"????????????\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"????????????\"",
"{\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\tString input = buf.readLine();\n\t\n\tString[] strAry = input.split(\" \");\n double r = Double.parseDouble(strAry[0]);\n double x = r*r*Math.PI;\n double y = 2*r*Math.PI;\n\nSystem.out.printf(\"%5f %5f\", x, y);\n\n}",
"BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));",
"buf",
"new BufferedReader(new InputStreamReader(System.in))",
"String input = buf.readLine();",
"input",
"buf.readLine()",
"buf.readLine",
"buf",
"String[] strAry = input.split(\" \");",
"strAry",
"input.split(\" \")",
"input.split",
"input",
"\" \"",
"double r = Double.parseDouble(strAry[0]);",
"r",
"Double.parseDouble(strAry[0])",
"Double.parseDouble",
"Double",
"strAry[0]",
"strAry",
"0",
"double x = r*r*Math.PI;",
"x",
"r*r*Math.PI",
"r*r*Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"double y = 2*r*Math.PI;",
"y",
"2*r*Math.PI",
"2*r*Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"System.out.printf(\"%5f %5f\", x, y)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%5f %5f\"",
"x",
"y",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\ntry {\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\tString input = buf.readLine();\n\t\n\tString[] strAry = input.split(\" \");\n double r = Double.parseDouble(strAry[0]);\n double x = r*r*Math.PI;\n double y = 2*r*Math.PI;\n\nSystem.out.printf(\"%5f %5f\", x, y);\n\n} catch (Exception e) {\n\n\tSystem.out.println(\"????????????\");\n\t\n}\n\t\t }\n }",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\ntry {\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\tString input = buf.readLine();\n\t\n\tString[] strAry = input.split(\" \");\n double r = Double.parseDouble(strAry[0]);\n double x = r*r*Math.PI;\n double y = 2*r*Math.PI;\n\nSystem.out.printf(\"%5f %5f\", x, y);\n\n} catch (Exception e) {\n\n\tSystem.out.println(\"????????????\");\n\t\n}\n\t\t }\n }",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
try {
BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
String input = buf.readLine();
String[] strAry = input.split(" ");
double r = Double.parseDouble(strAry[0]);
double x = r*r*Math.PI;
double y = 2*r*Math.PI;
System.out.printf("%5f %5f", x, y);
} catch (Exception e) {
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,
13,
13,
13,
41,
13,
4,
18,
13,
17,
2,
2,
17,
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
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
22,
26
],
[
27,
27
],
[
27,
28
],
[
27,
29
],
[
27,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
33,
37
],
[
38,
38
],
[
38,
39
],
[
38,
40
],
[
38,
41
],
[
8,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
48,
48
],
[
48,
49
],
[
48,
50
],
[
48,
51
],
[
6,
52
],
[
52,
53
]
] | [
"import java.util.*;\n\nclass Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n double r = scan.nextDouble();\n\n double pi = 3.1415926535897;\n \n String area = String.format(\"%.5f\", pi * r * r);\n String arc = String.format(\"%.5f\", 2.0 * pi * r);\n\n System.out.println(area + \" \" + arc);\n }\n}\n ",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n double r = scan.nextDouble();\n\n double pi = 3.1415926535897;\n \n String area = String.format(\"%.5f\", pi * r * r);\n String arc = String.format(\"%.5f\", 2.0 * pi * r);\n\n System.out.println(area + \" \" + arc);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n double r = scan.nextDouble();\n\n double pi = 3.1415926535897;\n \n String area = String.format(\"%.5f\", pi * r * r);\n String arc = String.format(\"%.5f\", 2.0 * pi * r);\n\n System.out.println(area + \" \" + arc);\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n double r = scan.nextDouble();\n\n double pi = 3.1415926535897;\n \n String area = String.format(\"%.5f\", pi * r * r);\n String arc = String.format(\"%.5f\", 2.0 * pi * r);\n\n System.out.println(area + \" \" + arc);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"double r = scan.nextDouble();",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"double pi = 3.1415926535897;",
"pi",
"3.1415926535897",
"String area = String.format(\"%.5f\", pi * r * r);",
"area",
"String.format(\"%.5f\", pi * r * r)",
"String.format",
"String",
"\"%.5f\"",
"pi * r * r",
"pi * r * r",
"pi",
"r",
"r",
"String arc = String.format(\"%.5f\", 2.0 * pi * r);",
"arc",
"String.format(\"%.5f\", 2.0 * pi * r)",
"String.format",
"String",
"\"%.5f\"",
"2.0 * pi * r",
"2.0 * pi * r",
"2.0",
"pi",
"r",
"System.out.println(area + \" \" + arc)",
"System.out.println",
"System.out",
"System",
"System.out",
"area + \" \" + arc",
"area + \" \" + arc",
"area",
"\" \"",
"arc",
"String[] args",
"args"
] | import java.util.*;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
double pi = 3.1415926535897;
String area = String.format("%.5f", pi * r * r);
String arc = String.format("%.5f", 2.0 * pi * r);
System.out.println(area + " " + arc);
}
}
|
[
7,
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,
13,
13,
18,
13,
13,
2,
2,
17,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
43,
8
],
[
43,
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
],
[
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
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
9,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
] | [
"import java.util.Scanner;\nimport java.lang.Math;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\nScanner kb=new Scanner(System.in);\ndouble r=kb.nextDouble();\nSystem.out.printf(\"%f %f\\n\",r*r*Math.PI,2*Math.PI*r);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.lang.Math;",
"Math",
"java.lang",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\nScanner kb=new Scanner(System.in);\ndouble r=kb.nextDouble();\nSystem.out.printf(\"%f %f\\n\",r*r*Math.PI,2*Math.PI*r);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\nScanner kb=new Scanner(System.in);\ndouble r=kb.nextDouble();\nSystem.out.printf(\"%f %f\\n\",r*r*Math.PI,2*Math.PI*r);\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\nScanner kb=new Scanner(System.in);\ndouble r=kb.nextDouble();\nSystem.out.printf(\"%f %f\\n\",r*r*Math.PI,2*Math.PI*r);\n\t}",
"Scanner kb=new Scanner(System.in);",
"kb",
"new Scanner(System.in)",
"double r=kb.nextDouble();",
"r",
"kb.nextDouble()",
"kb.nextDouble",
"kb",
"System.out.printf(\"%f %f\\n\",r*r*Math.PI,2*Math.PI*r)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f %f\\n\"",
"r*r*Math.PI",
"r*r*Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"2*Math.PI*r",
"2*Math.PI*r",
"2",
"Math.PI",
"Math",
"Math.PI",
"r",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\nScanner kb=new Scanner(System.in);\ndouble r=kb.nextDouble();\nSystem.out.printf(\"%f %f\\n\",r*r*Math.PI,2*Math.PI*r);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\nScanner kb=new Scanner(System.in);\ndouble r=kb.nextDouble();\nSystem.out.printf(\"%f %f\\n\",r*r*Math.PI,2*Math.PI*r);\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
import java.lang.Math;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner kb=new Scanner(System.in);
double r=kb.nextDouble();
System.out.printf("%f %f\n",r*r*Math.PI,2*Math.PI*r);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
2,
2,
13,
13,
18,
13,
13,
17,
4,
18,
13,
2,
2,
13,
13,
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
],
[
57,
8
],
[
57,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
29,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
34,
34
],
[
34,
35
],
[
34,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
29,
40
],
[
29,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
48,
50
],
[
11,
51
],
[
51,
52
],
[
52,
53
],
[
9,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
] | [
"import java.text.DecimalFormat;\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\tDecimalFormat df = new DecimalFormat(\"####################.####################\");\n\n\t\tdouble r = scan.nextDouble();\n\n\t\tSystem.out.println(df.format(r * r * Math.PI) + \" \" + df.format((r+r) * Math.PI));\n\n\n\t\tscan.close();\n\n\t}\n}",
"import java.text.DecimalFormat;",
"DecimalFormat",
"java.text",
"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\tDecimalFormat df = new DecimalFormat(\"####################.####################\");\n\n\t\tdouble r = scan.nextDouble();\n\n\t\tSystem.out.println(df.format(r * r * Math.PI) + \" \" + df.format((r+r) * Math.PI));\n\n\n\t\tscan.close();\n\n\t}\n}",
"Main",
"public static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tDecimalFormat df = new DecimalFormat(\"####################.####################\");\n\n\t\tdouble r = scan.nextDouble();\n\n\t\tSystem.out.println(df.format(r * r * Math.PI) + \" \" + df.format((r+r) * Math.PI));\n\n\n\t\tscan.close();\n\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tDecimalFormat df = new DecimalFormat(\"####################.####################\");\n\n\t\tdouble r = scan.nextDouble();\n\n\t\tSystem.out.println(df.format(r * r * Math.PI) + \" \" + df.format((r+r) * Math.PI));\n\n\n\t\tscan.close();\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"DecimalFormat df = new DecimalFormat(\"####################.####################\");",
"df",
"new DecimalFormat(\"####################.####################\")",
"double r = scan.nextDouble();",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"System.out.println(df.format(r * r * Math.PI) + \" \" + df.format((r+r) * Math.PI))",
"System.out.println",
"System.out",
"System",
"System.out",
"df.format(r * r * Math.PI) + \" \" + df.format((r+r) * Math.PI)",
"df.format(r * r * Math.PI) + \" \" + df.format((r+r) * Math.PI)",
"df.format(r * r * Math.PI)",
"df.format",
"df",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"\" \"",
"df.format((r+r) * Math.PI)",
"df.format",
"df",
"(r+r) * Math.PI",
"(r+r)",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"scan.close()",
"scan.close",
"scan",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tDecimalFormat df = new DecimalFormat(\"####################.####################\");\n\n\t\tdouble r = scan.nextDouble();\n\n\t\tSystem.out.println(df.format(r * r * Math.PI) + \" \" + df.format((r+r) * Math.PI));\n\n\n\t\tscan.close();\n\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tDecimalFormat df = new DecimalFormat(\"####################.####################\");\n\n\t\tdouble r = scan.nextDouble();\n\n\t\tSystem.out.println(df.format(r * r * Math.PI) + \" \" + df.format((r+r) * Math.PI));\n\n\n\t\tscan.close();\n\n\t}\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);
DecimalFormat df = new DecimalFormat("####################.####################");
double r = scan.nextDouble();
System.out.println(df.format(r * r * Math.PI) + " " + df.format((r+r) * Math.PI));
scan.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
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
],
[
42,
5
],
[
42,
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
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
25,
29
],
[
30,
30
],
[
30,
31
],
[
30,
32
],
[
30,
33
],
[
25,
34
],
[
35,
35
],
[
35,
36
],
[
35,
37
],
[
35,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] | [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tfinal double pie = 3.141592653589;\n\t\tDouble d = sc.nextDouble();\n\t\tSystem.out.println(String.format(\"%.6f %.6f\",d*d*pie ,2*d*pie));\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tfinal double pie = 3.141592653589;\n\t\tDouble d = sc.nextDouble();\n\t\tSystem.out.println(String.format(\"%.6f %.6f\",d*d*pie ,2*d*pie));\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tfinal double pie = 3.141592653589;\n\t\tDouble d = sc.nextDouble();\n\t\tSystem.out.println(String.format(\"%.6f %.6f\",d*d*pie ,2*d*pie));\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tfinal double pie = 3.141592653589;\n\t\tDouble d = sc.nextDouble();\n\t\tSystem.out.println(String.format(\"%.6f %.6f\",d*d*pie ,2*d*pie));\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"final double pie = 3.141592653589;",
"pie",
"3.141592653589",
"Double d = sc.nextDouble();",
"d",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"System.out.println(String.format(\"%.6f %.6f\",d*d*pie ,2*d*pie))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%.6f %.6f\",d*d*pie ,2*d*pie)",
"String.format",
"String",
"\"%.6f %.6f\"",
"d*d*pie",
"d*d*pie",
"d",
"d",
"pie",
"2*d*pie",
"2*d*pie",
"2",
"d",
"pie",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tfinal double pie = 3.141592653589;\n\t\tDouble d = sc.nextDouble();\n\t\tSystem.out.println(String.format(\"%.6f %.6f\",d*d*pie ,2*d*pie));\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tfinal double pie = 3.141592653589;\n\t\tDouble d = sc.nextDouble();\n\t\tSystem.out.println(String.format(\"%.6f %.6f\",d*d*pie ,2*d*pie));\n\t}\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) throws Exception{
Scanner sc = new Scanner(System.in);
final double pie = 3.141592653589;
Double d = sc.nextDouble();
System.out.println(String.format("%.6f %.6f",d*d*pie ,2*d*pie));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
20,
0,
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,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
51,
5
],
[
51,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
11,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
22,
22
],
[
22,
23
],
[
22,
24
],
[
22,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
31,
31
],
[
31,
32
],
[
31,
33
],
[
31,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
37,
43
],
[
37,
44
],
[
8,
45
],
[
45,
46
],
[
46,
47
],
[
6,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tdouble r;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tr = sc.nextDouble();\n\n\t\tdouble l = 2 * r * Math.PI;\n\t\tdouble s = r * r * Math.PI;\n\t\tSystem.out.printf(\"%f %f\",s,l);\n\n\t\tsc.close();\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\tdouble r;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tr = sc.nextDouble();\n\n\t\tdouble l = 2 * r * Math.PI;\n\t\tdouble s = r * r * Math.PI;\n\t\tSystem.out.printf(\"%f %f\",s,l);\n\n\t\tsc.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tdouble r;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tr = sc.nextDouble();\n\n\t\tdouble l = 2 * r * Math.PI;\n\t\tdouble s = r * r * Math.PI;\n\t\tSystem.out.printf(\"%f %f\",s,l);\n\n\t\tsc.close();\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tdouble r;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tr = sc.nextDouble();\n\n\t\tdouble l = 2 * r * Math.PI;\n\t\tdouble s = r * r * Math.PI;\n\t\tSystem.out.printf(\"%f %f\",s,l);\n\n\t\tsc.close();\n\t}",
"double r;",
"r",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"r = sc.nextDouble()",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"double l = 2 * r * Math.PI;",
"l",
"2 * r * Math.PI",
"2 * r * Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"double s = r * r * Math.PI;",
"s",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"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",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tdouble r;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tr = sc.nextDouble();\n\n\t\tdouble l = 2 * r * Math.PI;\n\t\tdouble s = r * r * Math.PI;\n\t\tSystem.out.printf(\"%f %f\",s,l);\n\n\t\tsc.close();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tdouble r;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tr = sc.nextDouble();\n\n\t\tdouble l = 2 * r * Math.PI;\n\t\tdouble s = r * r * Math.PI;\n\t\tSystem.out.printf(\"%f %f\",s,l);\n\n\t\tsc.close();\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
double r;
Scanner sc = new Scanner(System.in);
r = sc.nextDouble();
double l = 2 * r * Math.PI;
double s = r * r * Math.PI;
System.out.printf("%f %f",s,l);
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,
41,
13,
4,
18,
13,
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,
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
],
[
70,
11
],
[
70,
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
],
[
35,
36
],
[
35,
37
],
[
14,
38
],
[
38,
39
],
[
38,
40
],
[
41,
41
],
[
41,
42
],
[
41,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
14,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
47,
53
],
[
54,
54
],
[
54,
55
],
[
54,
56
],
[
54,
57
],
[
57,
58
],
[
57,
59
],
[
47,
60
],
[
61,
61
],
[
61,
62
],
[
61,
63
],
[
61,
64
],
[
64,
65
],
[
64,
66
],
[
12,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n/**\n *\n */\n\n/**\n * @author cthanh\n *\n */\npublic class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\?????????\n\t\t String str = br.readLine();\n\t\t double r = Double.parseDouble( str);\n\t\t double men = r *r *Math.PI;\n\t\t double syu = r*2* Math.PI;\n\t\t //System.out.println(Math.PI);\n\t\t System.out.printf( \"%.6f %.6f\", r *r *Math.PI , r*2* Math.PI );\n\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\t/**\n\t * @param args\n\t * @throws IOException\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\?????????\n\t\t String str = br.readLine();\n\t\t double r = Double.parseDouble( str);\n\t\t double men = r *r *Math.PI;\n\t\t double syu = r*2* Math.PI;\n\t\t //System.out.println(Math.PI);\n\t\t System.out.printf( \"%.6f %.6f\", r *r *Math.PI , r*2* Math.PI );\n\n\n\t}\n}",
"Main",
"/**\n\t * @param args\n\t * @throws IOException\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\?????????\n\t\t String str = br.readLine();\n\t\t double r = Double.parseDouble( str);\n\t\t double men = r *r *Math.PI;\n\t\t double syu = r*2* Math.PI;\n\t\t //System.out.println(Math.PI);\n\t\t System.out.printf( \"%.6f %.6f\", r *r *Math.PI , r*2* Math.PI );\n\n\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\?????????\n\t\t String str = br.readLine();\n\t\t double r = Double.parseDouble( str);\n\t\t double men = r *r *Math.PI;\n\t\t double syu = r*2* Math.PI;\n\t\t //System.out.println(Math.PI);\n\t\t System.out.printf( \"%.6f %.6f\", r *r *Math.PI , r*2* Math.PI );\n\n\n\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",
"double men = r *r *Math.PI;",
"men",
"r *r *Math.PI",
"r *r *Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"double syu = r*2* Math.PI;",
"syu",
"r*2* Math.PI",
"r*2* Math.PI",
"r",
"2",
"Math.PI",
"Math",
"Math.PI",
"System.out.printf( \"%.6f %.6f\", r *r *Math.PI , r*2* 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",
"r*2* Math.PI",
"r*2* Math.PI",
"r",
"2",
"Math.PI",
"Math",
"Math.PI",
"String[] args",
"args",
"public class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\?????????\n\t\t String str = br.readLine();\n\t\t double r = Double.parseDouble( str);\n\t\t double men = r *r *Math.PI;\n\t\t double syu = r*2* Math.PI;\n\t\t //System.out.println(Math.PI);\n\t\t System.out.printf( \"%.6f %.6f\", r *r *Math.PI , r*2* Math.PI );\n\n\n\t}\n}",
"public class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\?????????\n\t\t String str = br.readLine();\n\t\t double r = Double.parseDouble( str);\n\t\t double men = r *r *Math.PI;\n\t\t double syu = r*2* Math.PI;\n\t\t //System.out.println(Math.PI);\n\t\t System.out.printf( \"%.6f %.6f\", r *r *Math.PI , r*2* Math.PI );\n\n\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
/**
*
*/
/**
* @author cthanh
*
*/
public class Main {
/**
* @param args
* @throws IOException
*/
public static void main(String[] args) throws IOException {
// TODO ?????????????????????????????????????????????
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\?????????
String str = br.readLine();
double r = Double.parseDouble( str);
double men = r *r *Math.PI;
double syu = r*2* Math.PI;
//System.out.println(Math.PI);
System.out.printf( "%.6f %.6f", r *r *Math.PI , r*2* 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,
4,
18,
18,
13,
13,
4,
18,
13,
17,
13,
4,
18,
18,
13,
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
],
[
64,
5
],
[
64,
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
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
40,
44
],
[
8,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
56,
60
],
[
6,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
] | [
"import java.util.Scanner;\npublic class Main {\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n double r = scanner.nextDouble();\n double s=r*r*Math.PI;\n double c=2*r*Math.PI;\n System.out.print(String.format(\"%f\", s));\n System.out.print(\" \");\n System.out.print(String.format(\"%f\", c));\n } \n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n double r = scanner.nextDouble();\n double s=r*r*Math.PI;\n double c=2*r*Math.PI;\n System.out.print(String.format(\"%f\", s));\n System.out.print(\" \");\n System.out.print(String.format(\"%f\", c));\n } \n}",
"Main",
"public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n double r = scanner.nextDouble();\n double s=r*r*Math.PI;\n double c=2*r*Math.PI;\n System.out.print(String.format(\"%f\", s));\n System.out.print(\" \");\n System.out.print(String.format(\"%f\", c));\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n double r = scanner.nextDouble();\n double s=r*r*Math.PI;\n double c=2*r*Math.PI;\n System.out.print(String.format(\"%f\", s));\n System.out.print(\" \");\n System.out.print(String.format(\"%f\", c));\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"double r = scanner.nextDouble();",
"r",
"scanner.nextDouble()",
"scanner.nextDouble",
"scanner",
"double s=r*r*Math.PI;",
"s",
"r*r*Math.PI",
"r*r*Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"double c=2*r*Math.PI;",
"c",
"2*r*Math.PI",
"2*r*Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"System.out.print(String.format(\"%f\", s))",
"System.out.print",
"System.out",
"System",
"System.out",
"String.format(\"%f\", s)",
"String.format",
"String",
"\"%f\"",
"s",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.print(String.format(\"%f\", c))",
"System.out.print",
"System.out",
"System",
"System.out",
"String.format(\"%f\", c)",
"String.format",
"String",
"\"%f\"",
"c",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n double r = scanner.nextDouble();\n double s=r*r*Math.PI;\n double c=2*r*Math.PI;\n System.out.print(String.format(\"%f\", s));\n System.out.print(\" \");\n System.out.print(String.format(\"%f\", c));\n } \n}",
"public class Main {\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n double r = scanner.nextDouble();\n double s=r*r*Math.PI;\n double c=2*r*Math.PI;\n System.out.print(String.format(\"%f\", s));\n System.out.print(\" \");\n System.out.print(String.format(\"%f\", c));\n } \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 s=r*r*Math.PI;
double c=2*r*Math.PI;
System.out.print(String.format("%f", s));
System.out.print(" ");
System.out.print(String.format("%f", c));
}
} |
[
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,
4,
18,
4,
18,
13,
13,
13,
41,
13,
4,
18,
4,
18,
13,
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
],
[
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
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
31,
37
],
[
11,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
40,
46
],
[
11,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
53,
53
],
[
53,
54
],
[
53,
55
],
[
53,
56
],
[
9,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
] | [
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n\n Scanner scanner = new Scanner(System.in);\n double a = scanner.nextDouble();\n BigDecimal b = new BigDecimal(a);\n BigDecimal c = new BigDecimal(2);\n BigDecimal d = new BigDecimal(3.14159265359);\n\n// Integer b = scanner.nextInt();\n\n BigDecimal x = b.multiply(c).multiply(d);\n BigDecimal y = b.multiply(b).multiply(d);\n System.out.println(y + \" \" + x);\n }\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n\n Scanner scanner = new Scanner(System.in);\n double a = scanner.nextDouble();\n BigDecimal b = new BigDecimal(a);\n BigDecimal c = new BigDecimal(2);\n BigDecimal d = new BigDecimal(3.14159265359);\n\n// Integer b = scanner.nextInt();\n\n BigDecimal x = b.multiply(c).multiply(d);\n BigDecimal y = b.multiply(b).multiply(d);\n System.out.println(y + \" \" + x);\n }\n}",
"Main",
"public static void main(String[] args) {\n\n Scanner scanner = new Scanner(System.in);\n double a = scanner.nextDouble();\n BigDecimal b = new BigDecimal(a);\n BigDecimal c = new BigDecimal(2);\n BigDecimal d = new BigDecimal(3.14159265359);\n\n// Integer b = scanner.nextInt();\n\n BigDecimal x = b.multiply(c).multiply(d);\n BigDecimal y = b.multiply(b).multiply(d);\n System.out.println(y + \" \" + x);\n }",
"main",
"{\n\n Scanner scanner = new Scanner(System.in);\n double a = scanner.nextDouble();\n BigDecimal b = new BigDecimal(a);\n BigDecimal c = new BigDecimal(2);\n BigDecimal d = new BigDecimal(3.14159265359);\n\n// Integer b = scanner.nextInt();\n\n BigDecimal x = b.multiply(c).multiply(d);\n BigDecimal y = b.multiply(b).multiply(d);\n System.out.println(y + \" \" + x);\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"double a = scanner.nextDouble();",
"a",
"scanner.nextDouble()",
"scanner.nextDouble",
"scanner",
"BigDecimal b = new BigDecimal(a);",
"b",
"new BigDecimal(a)",
"BigDecimal c = new BigDecimal(2);",
"c",
"new BigDecimal(2)",
"BigDecimal d = new BigDecimal(3.14159265359);",
"d",
"new BigDecimal(3.14159265359)",
"BigDecimal x = b.multiply(c).multiply(d);",
"x",
"b.multiply(c).multiply(d)",
"b.multiply(c).multiply",
"b.multiply(c)",
"b.multiply",
"b",
"c",
"d",
"BigDecimal y = b.multiply(b).multiply(d);",
"y",
"b.multiply(b).multiply(d)",
"b.multiply(b).multiply",
"b.multiply(b)",
"b.multiply",
"b",
"b",
"d",
"System.out.println(y + \" \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y + \" \" + x",
"y + \" \" + x",
"y",
"\" \"",
"x",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n\n Scanner scanner = new Scanner(System.in);\n double a = scanner.nextDouble();\n BigDecimal b = new BigDecimal(a);\n BigDecimal c = new BigDecimal(2);\n BigDecimal d = new BigDecimal(3.14159265359);\n\n// Integer b = scanner.nextInt();\n\n BigDecimal x = b.multiply(c).multiply(d);\n BigDecimal y = b.multiply(b).multiply(d);\n System.out.println(y + \" \" + x);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n\n Scanner scanner = new Scanner(System.in);\n double a = scanner.nextDouble();\n BigDecimal b = new BigDecimal(a);\n BigDecimal c = new BigDecimal(2);\n BigDecimal d = new BigDecimal(3.14159265359);\n\n// Integer b = scanner.nextInt();\n\n BigDecimal x = b.multiply(c).multiply(d);\n BigDecimal y = b.multiply(b).multiply(d);\n System.out.println(y + \" \" + x);\n }\n}",
"Main"
] | import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
double a = scanner.nextDouble();
BigDecimal b = new BigDecimal(a);
BigDecimal c = new BigDecimal(2);
BigDecimal d = new BigDecimal(3.14159265359);
// Integer b = scanner.nextInt();
BigDecimal x = b.multiply(c).multiply(d);
BigDecimal y = b.multiply(b).multiply(d);
System.out.println(y + " " + x);
}
}
|
[
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,
18,
13,
13,
13,
13,
2,
2,
18,
13,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
40,
5
],
[
40,
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
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
24,
29
],
[
17,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
31,
36
],
[
6,
37
],
[
37,
38
],
[
0,
39
],
[
39,
40
],
[
39,
41
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\npublic static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n\t\tSystem.out.printf(\"%.6f %.6f\\n\", Math.PI * r * r, Math.PI * r * 2);\n}\n\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\npublic static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n\t\tSystem.out.printf(\"%.6f %.6f\\n\", Math.PI * r * r, Math.PI * r * 2);\n}\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n\t\tSystem.out.printf(\"%.6f %.6f\\n\", Math.PI * r * r, Math.PI * r * 2);\n}",
"main",
"{\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n\t\tSystem.out.printf(\"%.6f %.6f\\n\", Math.PI * r * r, Math.PI * r * 2);\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(\"%.6f %.6f\\n\", Math.PI * r * r, Math.PI * r * 2)",
"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",
"Math.PI * r * 2",
"Math.PI * r * 2",
"Math.PI",
"Math",
"Math.PI",
"r",
"2",
"String[] args",
"args",
"public class Main {\n\npublic static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n\t\tSystem.out.printf(\"%.6f %.6f\\n\", Math.PI * r * r, Math.PI * r * 2);\n}\n\n}",
"public class Main {\n\npublic static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n\t\tSystem.out.printf(\"%.6f %.6f\\n\", Math.PI * r * r, Math.PI * r * 2);\n}\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("%.6f %.6f\n", Math.PI * r * r, Math.PI * r * 2);
}
}
|
[
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,
2,
2,
4,
18,
13,
17,
2,
2,
13,
13,
18,
13,
13,
17,
4,
18,
13,
17,
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
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
26,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
26,
38
],
[
26,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
6,
50
],
[
50,
51
]
] | [
"import java.io.*;\n\nclass Main {\n public static void main (String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n double r = Double.parseDouble(br.readLine());\n System.out.println(String.format(\"%f\", (r*r*Math.PI)) + \" \" + String.format(\"%f\", (2*r*Math.PI)));\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main {\n public static void main (String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n double r = Double.parseDouble(br.readLine());\n System.out.println(String.format(\"%f\", (r*r*Math.PI)) + \" \" + String.format(\"%f\", (2*r*Math.PI)));\n }\n}",
"Main",
"public static void main (String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n double r = Double.parseDouble(br.readLine());\n System.out.println(String.format(\"%f\", (r*r*Math.PI)) + \" \" + String.format(\"%f\", (2*r*Math.PI)));\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n double r = Double.parseDouble(br.readLine());\n System.out.println(String.format(\"%f\", (r*r*Math.PI)) + \" \" + String.format(\"%f\", (2*r*Math.PI)));\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",
"System.out.println(String.format(\"%f\", (r*r*Math.PI)) + \" \" + String.format(\"%f\", (2*r*Math.PI)))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%f\", (r*r*Math.PI)) + \" \" + String.format(\"%f\", (2*r*Math.PI))",
"String.format(\"%f\", (r*r*Math.PI)) + \" \" + String.format(\"%f\", (2*r*Math.PI))",
"String.format(\"%f\", (r*r*Math.PI))",
"String.format",
"String",
"\"%f\"",
"(r*r*Math.PI)",
"r*r*Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"\" \"",
"String.format(\"%f\", (2*r*Math.PI))",
"String.format",
"String",
"\"%f\"",
"(2*r*Math.PI)",
"2*r*Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"String[] args",
"args"
] | import java.io.*;
class Main {
public static void main (String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
double r = Double.parseDouble(br.readLine());
System.out.println(String.format("%f", (r*r*Math.PI)) + " " + String.format("%f", (2*r*Math.PI)));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
18,
13,
13,
41,
13,
4,
18,
13,
41,
13,
4,
13,
13,
41,
13,
4,
13,
13,
4,
18,
18,
13,
13,
17,
13,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
29,
2,
2,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
29,
2,
2,
17,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
75,
5
],
[
75,
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
],
[
24,
25
],
[
24,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
32,
38
],
[
32,
39
],
[
6,
40
],
[
40,
41
],
[
75,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
44,
50
],
[
50,
51
],
[
52,
52
],
[
52,
53
],
[
52,
54
],
[
52,
55
],
[
42,
56
],
[
56,
57
],
[
75,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
60,
66
],
[
66,
67
],
[
68,
68
],
[
68,
69
],
[
68,
70
],
[
68,
71
],
[
58,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
] | [
"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 pi = Math.PI;\n double r = scanner.nextDouble();\n double area = area(r);\n double length = length(r);\n System.out.printf(\"%f %f\", area, length);\n }\n\n public static double area(double r){\n double pi = Math.PI;\n return r * r * pi;\n }\n\n public static double length(double r){\n double pi = Math.PI;\n return 2 * pi * r;\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 pi = Math.PI;\n double r = scanner.nextDouble();\n double area = area(r);\n double length = length(r);\n System.out.printf(\"%f %f\", area, length);\n }\n\n public static double area(double r){\n double pi = Math.PI;\n return r * r * pi;\n }\n\n public static double length(double r){\n double pi = Math.PI;\n return 2 * pi * r;\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n double pi = Math.PI;\n double r = scanner.nextDouble();\n double area = area(r);\n double length = length(r);\n System.out.printf(\"%f %f\", area, length);\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n double pi = Math.PI;\n double r = scanner.nextDouble();\n double area = area(r);\n double length = length(r);\n System.out.printf(\"%f %f\", area, length);\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"double pi = Math.PI;",
"pi",
"Math.PI",
"Math",
"Math.PI",
"double r = scanner.nextDouble();",
"r",
"scanner.nextDouble()",
"scanner.nextDouble",
"scanner",
"double area = area(r);",
"area",
"area(r)",
"area",
"r",
"double length = length(r);",
"length",
"length(r)",
"length",
"r",
"System.out.printf(\"%f %f\", area, length)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f %f\"",
"area",
"length",
"String[] args",
"args",
"public static double area(double r){\n double pi = Math.PI;\n return r * r * pi;\n }",
"area",
"{\n double pi = Math.PI;\n return r * r * pi;\n }",
"double pi = Math.PI;",
"pi",
"Math.PI",
"Math",
"Math.PI",
"return r * r * pi;",
"r * r * pi",
"r * r * pi",
"r",
"r",
"pi",
"double r",
"r",
"public static double length(double r){\n double pi = Math.PI;\n return 2 * pi * r;\n }",
"length",
"{\n double pi = Math.PI;\n return 2 * pi * r;\n }",
"double pi = Math.PI;",
"pi",
"Math.PI",
"Math",
"Math.PI",
"return 2 * pi * r;",
"2 * pi * r",
"2 * pi * r",
"2",
"pi",
"r",
"double r",
"r",
"public class Main{\n\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n double pi = Math.PI;\n double r = scanner.nextDouble();\n double area = area(r);\n double length = length(r);\n System.out.printf(\"%f %f\", area, length);\n }\n\n public static double area(double r){\n double pi = Math.PI;\n return r * r * pi;\n }\n\n public static double length(double r){\n double pi = Math.PI;\n return 2 * pi * r;\n }\n}",
"public class Main{\n\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n double pi = Math.PI;\n double r = scanner.nextDouble();\n double area = area(r);\n double length = length(r);\n System.out.printf(\"%f %f\", area, length);\n }\n\n public static double area(double r){\n double pi = Math.PI;\n return r * r * pi;\n }\n\n public static double length(double r){\n double pi = Math.PI;\n return 2 * pi * r;\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner scanner = new Scanner(System.in);
double pi = Math.PI;
double r = scanner.nextDouble();
double area = area(r);
double length = length(r);
System.out.printf("%f %f", area, length);
}
public static double area(double r){
double pi = Math.PI;
return r * r * pi;
}
public static double length(double r){
double pi = Math.PI;
return 2 * pi * r;
}
} |
[
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,
2,
2,
13,
13,
18,
13,
13,
41,
13,
2,
2,
13,
17,
18,
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
],
[
55,
8
],
[
55,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
20,
21
],
[
21,
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
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
46,
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 reader = new BufferedReader(new InputStreamReader(System.in));\n double r=Double.parseDouble(reader.readLine());\n Double area=r*r*Math.PI;\n Double circumference=r*2*Math.PI;\n System.out.println(String.format(\"%.6f %.6f\", area, circumference));\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 reader = new BufferedReader(new InputStreamReader(System.in));\n double r=Double.parseDouble(reader.readLine());\n Double area=r*r*Math.PI;\n Double circumference=r*2*Math.PI;\n System.out.println(String.format(\"%.6f %.6f\", area, circumference));\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n double r=Double.parseDouble(reader.readLine());\n Double area=r*r*Math.PI;\n Double circumference=r*2*Math.PI;\n System.out.println(String.format(\"%.6f %.6f\", area, circumference));\n }",
"main",
"{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n double r=Double.parseDouble(reader.readLine());\n Double area=r*r*Math.PI;\n Double circumference=r*2*Math.PI;\n System.out.println(String.format(\"%.6f %.6f\", area, circumference));\n }",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"double r=Double.parseDouble(reader.readLine());",
"r",
"Double.parseDouble(reader.readLine())",
"Double.parseDouble",
"Double",
"reader.readLine()",
"reader.readLine",
"reader",
"Double area=r*r*Math.PI;",
"area",
"r*r*Math.PI",
"r*r*Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"Double circumference=r*2*Math.PI;",
"circumference",
"r*2*Math.PI",
"r*2*Math.PI",
"r",
"2",
"Math.PI",
"Math",
"Math.PI",
"System.out.println(String.format(\"%.6f %.6f\", area, circumference))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%.6f %.6f\", area, circumference)",
"String.format",
"String",
"\"%.6f %.6f\"",
"area",
"circumference",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n double r=Double.parseDouble(reader.readLine());\n Double area=r*r*Math.PI;\n Double circumference=r*2*Math.PI;\n System.out.println(String.format(\"%.6f %.6f\", area, circumference));\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n double r=Double.parseDouble(reader.readLine());\n Double area=r*r*Math.PI;\n Double circumference=r*2*Math.PI;\n System.out.println(String.format(\"%.6f %.6f\", area, circumference));\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
double r=Double.parseDouble(reader.readLine());
Double area=r*r*Math.PI;
Double circumference=r*2*Math.PI;
System.out.println(String.format("%.6f %.6f", area, circumference));
}
} |
[
7,
15,
13,
17,
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,
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
],
[
20,
22
],
[
23,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
23,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
32,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
32,
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
]
] | [
"\nimport java.text.DecimalFormat;\nimport 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 menseki = Math.PI * r * r;\n\t\tdouble enshu = Math.PI * 2 * r;\n\t\tDecimalFormat decimalFormat = new DecimalFormat(\"0.00000\");\n\t\tSystem.out.println(decimalFormat.format(menseki) + \" \" + decimalFormat.format(enshu));\n\t}\n}",
"import java.text.DecimalFormat;",
"DecimalFormat",
"java.text",
"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 menseki = Math.PI * r * r;\n\t\tdouble enshu = Math.PI * 2 * r;\n\t\tDecimalFormat decimalFormat = new DecimalFormat(\"0.00000\");\n\t\tSystem.out.println(decimalFormat.format(menseki) + \" \" + decimalFormat.format(enshu));\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 menseki = Math.PI * r * r;\n\t\tdouble enshu = Math.PI * 2 * r;\n\t\tDecimalFormat decimalFormat = new DecimalFormat(\"0.00000\");\n\t\tSystem.out.println(decimalFormat.format(menseki) + \" \" + decimalFormat.format(enshu));\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\tdouble menseki = Math.PI * r * r;\n\t\tdouble enshu = Math.PI * 2 * r;\n\t\tDecimalFormat decimalFormat = new DecimalFormat(\"0.00000\");\n\t\tSystem.out.println(decimalFormat.format(menseki) + \" \" + decimalFormat.format(enshu));\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double r = sc.nextDouble();",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"double menseki = Math.PI * r * r;",
"menseki",
"Math.PI * r * r",
"Math.PI * r * r",
"Math.PI",
"Math",
"Math.PI",
"r",
"r",
"double enshu = Math.PI * 2 * r;",
"enshu",
"Math.PI * 2 * r",
"Math.PI * 2 * r",
"Math.PI",
"Math",
"Math.PI",
"2",
"r",
"DecimalFormat decimalFormat = new DecimalFormat(\"0.00000\");",
"decimalFormat",
"new DecimalFormat(\"0.00000\")",
"System.out.println(decimalFormat.format(menseki) + \" \" + decimalFormat.format(enshu))",
"System.out.println",
"System.out",
"System",
"System.out",
"decimalFormat.format(menseki) + \" \" + decimalFormat.format(enshu)",
"decimalFormat.format(menseki) + \" \" + decimalFormat.format(enshu)",
"decimalFormat.format(menseki)",
"decimalFormat.format",
"decimalFormat",
"menseki",
"\" \"",
"decimalFormat.format(enshu)",
"decimalFormat.format",
"decimalFormat",
"enshu",
"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 menseki = Math.PI * r * r;\n\t\tdouble enshu = Math.PI * 2 * r;\n\t\tDecimalFormat decimalFormat = new DecimalFormat(\"0.00000\");\n\t\tSystem.out.println(decimalFormat.format(menseki) + \" \" + decimalFormat.format(enshu));\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 menseki = Math.PI * r * r;\n\t\tdouble enshu = Math.PI * 2 * r;\n\t\tDecimalFormat decimalFormat = new DecimalFormat(\"0.00000\");\n\t\tSystem.out.println(decimalFormat.format(menseki) + \" \" + decimalFormat.format(enshu));\n\t}\n}",
"Main"
] |
import java.text.DecimalFormat;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double r = sc.nextDouble();
double menseki = Math.PI * r * r;
double enshu = Math.PI * 2 * r;
DecimalFormat decimalFormat = new DecimalFormat("0.00000");
System.out.println(decimalFormat.format(menseki) + " " + decimalFormat.format(enshu));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
17,
0,
13,
4,
18,
13,
0,
13,
2,
13,
2,
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
] | [
[
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
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
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
],
[
4,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
48,
54
],
[
54,
55
]
] | [
"import java.util.Scanner;\nclass Main{\n\tpublic void Germany() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r,men,syu;\n\t\tdouble ens = 3.141592653589;\n\t\tr = sc.nextDouble();\n\t\tmen = ens * (r * r);\n\t\tsyu = 2 * ens * r;\n\t\tSystem.out.printf(\"%2.6f %2.6f\",men,syu);\n\t}\n\t public static void main(String[] args) {\n\t new Main().Germany();\n\t }\n\t}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\tpublic void Germany() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r,men,syu;\n\t\tdouble ens = 3.141592653589;\n\t\tr = sc.nextDouble();\n\t\tmen = ens * (r * r);\n\t\tsyu = 2 * ens * r;\n\t\tSystem.out.printf(\"%2.6f %2.6f\",men,syu);\n\t}\n\t public static void main(String[] args) {\n\t new Main().Germany();\n\t }\n\t}",
"Main",
"public void Germany() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r,men,syu;\n\t\tdouble ens = 3.141592653589;\n\t\tr = sc.nextDouble();\n\t\tmen = ens * (r * r);\n\t\tsyu = 2 * ens * r;\n\t\tSystem.out.printf(\"%2.6f %2.6f\",men,syu);\n\t}",
"Germany",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r,men,syu;\n\t\tdouble ens = 3.141592653589;\n\t\tr = sc.nextDouble();\n\t\tmen = ens * (r * r);\n\t\tsyu = 2 * ens * r;\n\t\tSystem.out.printf(\"%2.6f %2.6f\",men,syu);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double r",
"r",
"men",
"men",
"syu;",
"syu",
"double ens = 3.141592653589;",
"ens",
"3.141592653589",
"r = sc.nextDouble()",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"men = ens * (r * r)",
"men",
"ens * (r * r)",
"ens",
"(r * r)",
"r",
"r",
"syu = 2 * ens * r",
"syu",
"2 * ens * r",
"2 * ens * r",
"2",
"ens",
"r",
"System.out.printf(\"%2.6f %2.6f\",men,syu)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%2.6f %2.6f\"",
"men",
"syu",
"public static void main(String[] args) {\n\t new Main().Germany();\n\t }",
"main",
"{\n\t new Main().Germany();\n\t }",
"new Main().Germany()",
"new Main().Germany",
"new Main()",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public void Germany() {
Scanner sc = new Scanner(System.in);
double r,men,syu;
double ens = 3.141592653589;
r = sc.nextDouble();
men = ens * (r * r);
syu = 2 * ens * r;
System.out.printf("%2.6f %2.6f",men,syu);
}
public static void main(String[] args) {
new Main().Germany();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
20,
41,
13,
20,
0,
13,
18,
13,
13,
0,
13,
4,
18,
13,
0,
13,
2,
2,
17,
13,
13,
0,
13,
2,
2,
13,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
72,
11
],
[
72,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
14,
19
],
[
19,
20
],
[
14,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
14,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
14,
39
],
[
39,
40
],
[
39,
41
],
[
42,
42
],
[
42,
43
],
[
42,
44
],
[
42,
45
],
[
14,
46
],
[
46,
47
],
[
46,
48
],
[
49,
49
],
[
49,
50
],
[
49,
51
],
[
49,
52
],
[
14,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
59,
64
],
[
59,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
12,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
] | [
"import java.text.DecimalFormat;\nimport java.text.NumberFormat;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args){\n Double r,length,area,pi;\n NumberFormat nf = new DecimalFormat(\"0.000000\");\n Scanner sc = new Scanner(System.in);\n pi = Math.PI;\n r = sc.nextDouble();\n length = 2*r*pi;\n area = r*r*pi;\n System.out.println(nf.format(area) + \" \" + nf.format(length) );\n }\n}",
"import java.text.DecimalFormat;",
"DecimalFormat",
"java.text",
"import java.text.NumberFormat;",
"NumberFormat",
"java.text",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args){\n Double r,length,area,pi;\n NumberFormat nf = new DecimalFormat(\"0.000000\");\n Scanner sc = new Scanner(System.in);\n pi = Math.PI;\n r = sc.nextDouble();\n length = 2*r*pi;\n area = r*r*pi;\n System.out.println(nf.format(area) + \" \" + nf.format(length) );\n }\n}",
"Main",
"public static void main(String[] args){\n Double r,length,area,pi;\n NumberFormat nf = new DecimalFormat(\"0.000000\");\n Scanner sc = new Scanner(System.in);\n pi = Math.PI;\n r = sc.nextDouble();\n length = 2*r*pi;\n area = r*r*pi;\n System.out.println(nf.format(area) + \" \" + nf.format(length) );\n }",
"main",
"{\n Double r,length,area,pi;\n NumberFormat nf = new DecimalFormat(\"0.000000\");\n Scanner sc = new Scanner(System.in);\n pi = Math.PI;\n r = sc.nextDouble();\n length = 2*r*pi;\n area = r*r*pi;\n System.out.println(nf.format(area) + \" \" + nf.format(length) );\n }",
"Double r",
"r",
"length",
"length",
"area",
"area",
"pi;",
"pi",
"NumberFormat nf = new DecimalFormat(\"0.000000\");",
"nf",
"new DecimalFormat(\"0.000000\")",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"pi = Math.PI",
"pi",
"Math.PI",
"Math",
"Math.PI",
"r = sc.nextDouble()",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"length = 2*r*pi",
"length",
"2*r*pi",
"2*r*pi",
"2",
"r",
"pi",
"area = r*r*pi",
"area",
"r*r*pi",
"r*r*pi",
"r",
"r",
"pi",
"System.out.println(nf.format(area) + \" \" + nf.format(length) )",
"System.out.println",
"System.out",
"System",
"System.out",
"nf.format(area) + \" \" + nf.format(length)",
"nf.format(area) + \" \" + nf.format(length)",
"nf.format(area)",
"nf.format",
"nf",
"area",
"\" \"",
"nf.format(length)",
"nf.format",
"nf",
"length",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Double r,length,area,pi;\n NumberFormat nf = new DecimalFormat(\"0.000000\");\n Scanner sc = new Scanner(System.in);\n pi = Math.PI;\n r = sc.nextDouble();\n length = 2*r*pi;\n area = r*r*pi;\n System.out.println(nf.format(area) + \" \" + nf.format(length) );\n }\n}",
"public class Main {\n public static void main(String[] args){\n Double r,length,area,pi;\n NumberFormat nf = new DecimalFormat(\"0.000000\");\n Scanner sc = new Scanner(System.in);\n pi = Math.PI;\n r = sc.nextDouble();\n length = 2*r*pi;\n area = r*r*pi;\n System.out.println(nf.format(area) + \" \" + nf.format(length) );\n }\n}",
"Main"
] | import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Double r,length,area,pi;
NumberFormat nf = new DecimalFormat("0.000000");
Scanner sc = new Scanner(System.in);
pi = Math.PI;
r = sc.nextDouble();
length = 2*r*pi;
area = r*r*pi;
System.out.println(nf.format(area) + " " + nf.format(length) );
}
} |
[
7,
15,
13,
17,
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,
4,
18,
4,
18,
13,
4,
18,
13,
17,
13,
17,
4,
18,
13,
17,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
83,
11
],
[
83,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
14,
19
],
[
19,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
24,
26
],
[
14,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
14,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
14,
38
],
[
38,
39
],
[
38,
40
],
[
41,
41
],
[
41,
42
],
[
41,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
14,
47
],
[
47,
48
],
[
47,
49
],
[
50,
50
],
[
50,
51
],
[
50,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
14,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
63,
67
],
[
58,
68
],
[
56,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
69,
73
],
[
14,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
12,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] | [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main (String[] args) throws IOException {\n double r,x,y;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder builder = new StringBuilder();\n String data = reader.readLine();\n r = Double.parseDouble(data);\n\n x = r * r * Math.PI;\n y = 2 * r * Math.PI;\n \n builder\n .append(String.format(\"%.6f\",x))\n .append(\" \")\n .append(String.format(\"%.6f\",y));\n System.out.println(builder); \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 public static void main (String[] args) throws IOException {\n double r,x,y;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder builder = new StringBuilder();\n String data = reader.readLine();\n r = Double.parseDouble(data);\n\n x = r * r * Math.PI;\n y = 2 * r * Math.PI;\n \n builder\n .append(String.format(\"%.6f\",x))\n .append(\" \")\n .append(String.format(\"%.6f\",y));\n System.out.println(builder); \n }\n}",
"Main",
"public static void main (String[] args) throws IOException {\n double r,x,y;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder builder = new StringBuilder();\n String data = reader.readLine();\n r = Double.parseDouble(data);\n\n x = r * r * Math.PI;\n y = 2 * r * Math.PI;\n \n builder\n .append(String.format(\"%.6f\",x))\n .append(\" \")\n .append(String.format(\"%.6f\",y));\n System.out.println(builder); \n }",
"main",
"{\n double r,x,y;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder builder = new StringBuilder();\n String data = reader.readLine();\n r = Double.parseDouble(data);\n\n x = r * r * Math.PI;\n y = 2 * r * Math.PI;\n \n builder\n .append(String.format(\"%.6f\",x))\n .append(\" \")\n .append(String.format(\"%.6f\",y));\n System.out.println(builder); \n }",
"double r",
"r",
"x",
"x",
"y;",
"y",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder builder = new StringBuilder();",
"builder",
"new StringBuilder()",
"String data = reader.readLine();",
"data",
"reader.readLine()",
"reader.readLine",
"reader",
"r = Double.parseDouble(data)",
"r",
"Double.parseDouble(data)",
"Double.parseDouble",
"Double",
"data",
"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",
"builder\n .append(String.format(\"%.6f\",x))\n .append(\" \")\n .append(String.format(\"%.6f\",y))",
"builder\n .append(String.format(\"%.6f\",x))\n .append(\" \")\n .append",
"builder\n .append(String.format(\"%.6f\",x))\n .append(\" \")",
"builder\n .append(String.format(\"%.6f\",x))\n .append",
"builder\n .append(String.format(\"%.6f\",x))",
"builder\n .append",
"builder",
"String.format(\"%.6f\",x)",
"String.format",
"String",
"\"%.6f\"",
"x",
"\" \"",
"String.format(\"%.6f\",y)",
"String.format",
"String",
"\"%.6f\"",
"y",
"System.out.println(builder)",
"System.out.println",
"System.out",
"System",
"System.out",
"builder",
"String[] args",
"args",
"public class Main {\n public static void main (String[] args) throws IOException {\n double r,x,y;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder builder = new StringBuilder();\n String data = reader.readLine();\n r = Double.parseDouble(data);\n\n x = r * r * Math.PI;\n y = 2 * r * Math.PI;\n \n builder\n .append(String.format(\"%.6f\",x))\n .append(\" \")\n .append(String.format(\"%.6f\",y));\n System.out.println(builder); \n }\n}",
"public class Main {\n public static void main (String[] args) throws IOException {\n double r,x,y;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder builder = new StringBuilder();\n String data = reader.readLine();\n r = Double.parseDouble(data);\n\n x = r * r * Math.PI;\n y = 2 * r * Math.PI;\n \n builder\n .append(String.format(\"%.6f\",x))\n .append(\" \")\n .append(String.format(\"%.6f\",y));\n System.out.println(builder); \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,x,y;
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
StringBuilder builder = new StringBuilder();
String data = reader.readLine();
r = Double.parseDouble(data);
x = r * r * Math.PI;
y = 2 * r * Math.PI;
builder
.append(String.format("%.6f",x))
.append(" ")
.append(String.format("%.6f",y));
System.out.println(builder);
}
} |
[
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,
4,
18,
13,
13,
17,
18,
13,
13,
2,
2,
13,
17,
18,
13,
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
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
27,
31
],
[
26,
32
],
[
32,
33
],
[
32,
34
],
[
22,
35
],
[
36,
36
],
[
36,
37
],
[
36,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
6,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
] | [
"\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tdouble num1 = scanner.nextDouble();\n\t\tSystem.out.println(String.format(\"%.6f %.6f\", Math.pow(num1, 2)\n\t\t\t\t* Math.PI, num1 * 2 * Math.PI));\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tdouble num1 = scanner.nextDouble();\n\t\tSystem.out.println(String.format(\"%.6f %.6f\", Math.pow(num1, 2)\n\t\t\t\t* Math.PI, num1 * 2 * Math.PI));\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tdouble num1 = scanner.nextDouble();\n\t\tSystem.out.println(String.format(\"%.6f %.6f\", Math.pow(num1, 2)\n\t\t\t\t* Math.PI, num1 * 2 * Math.PI));\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tdouble num1 = scanner.nextDouble();\n\t\tSystem.out.println(String.format(\"%.6f %.6f\", Math.pow(num1, 2)\n\t\t\t\t* Math.PI, num1 * 2 * Math.PI));\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"double num1 = scanner.nextDouble();",
"num1",
"scanner.nextDouble()",
"scanner.nextDouble",
"scanner",
"System.out.println(String.format(\"%.6f %.6f\", Math.pow(num1, 2)\n\t\t\t\t* Math.PI, num1 * 2 * Math.PI))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%.6f %.6f\", Math.pow(num1, 2)\n\t\t\t\t* Math.PI, num1 * 2 * Math.PI)",
"String.format",
"String",
"\"%.6f %.6f\"",
"Math.pow(num1, 2)\n\t\t\t\t* Math.PI",
"Math.pow(num1, 2)",
"Math.pow",
"Math",
"num1",
"2",
"Math.PI",
"Math",
"Math.PI",
"num1 * 2 * Math.PI",
"num1 * 2 * Math.PI",
"num1",
"2",
"Math.PI",
"Math",
"Math.PI",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tdouble num1 = scanner.nextDouble();\n\t\tSystem.out.println(String.format(\"%.6f %.6f\", Math.pow(num1, 2)\n\t\t\t\t* Math.PI, num1 * 2 * Math.PI));\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tdouble num1 = scanner.nextDouble();\n\t\tSystem.out.println(String.format(\"%.6f %.6f\", Math.pow(num1, 2)\n\t\t\t\t* Math.PI, num1 * 2 * Math.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 num1 = scanner.nextDouble();
System.out.println(String.format("%.6f %.6f", Math.pow(num1, 2)
* Math.PI, num1 * 2 * Math.PI));
}
} |
[
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.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\t\t\n\n\t\tdouble r = scan.nextDouble();\n\n\t\tSystem.out.printf(\"%f %f\\n\", r * r * Math.PI, 2 * r * Math.PI);\n\t\tscan.close();\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);\t\t\n\n\t\tdouble r = scan.nextDouble();\n\n\t\tSystem.out.printf(\"%f %f\\n\", r * r * Math.PI, 2 * r * Math.PI);\n\t\tscan.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\t\t\n\n\t\tdouble r = scan.nextDouble();\n\n\t\tSystem.out.printf(\"%f %f\\n\", r * r * Math.PI, 2 * r * Math.PI);\n\t\tscan.close();\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\t\t\n\n\t\tdouble r = scan.nextDouble();\n\n\t\tSystem.out.printf(\"%f %f\\n\", r * r * Math.PI, 2 * r * Math.PI);\n\t\tscan.close();\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"double r = scan.nextDouble();",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"System.out.printf(\"%f %f\\n\", r * r * Math.PI, 2 * r * Math.PI)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f %f\\n\"",
"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",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\t\t\n\n\t\tdouble r = scan.nextDouble();\n\n\t\tSystem.out.printf(\"%f %f\\n\", r * r * Math.PI, 2 * r * Math.PI);\n\t\tscan.close();\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\t\t\n\n\t\tdouble r = scan.nextDouble();\n\n\t\tSystem.out.printf(\"%f %f\\n\", r * r * Math.PI, 2 * r * Math.PI);\n\t\tscan.close();\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();
System.out.printf("%f %f\n", r * r * Math.PI, 2 * r * Math.PI);
scan.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
2,
2,
18,
13,
13,
13,
13,
41,
13,
2,
2,
17,
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
],
[
68,
8
],
[
68,
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
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
11,
39
],
[
39,
40
],
[
39,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
42,
47
],
[
11,
48
],
[
48,
49
],
[
48,
50
],
[
51,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
11,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
57,
63
],
[
57,
64
],
[
9,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String line = br.readLine();\n\t //文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。\n\t line = line.trim();\n\t //半角スペースを区切り文字として扱う\n\t String[] readLineArray = line.split(\"[\\\\s+]\");\n\t //変数に配列を代入\n\t double r = Double.parseDouble(readLineArray[0]);\n\t double S = Math.PI *r*r;\n\t double L = 2 * Math.PI * r;\n\t \n\t System.out.printf(\"%.5f %.5f\",S,L);\n\t}\n\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\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String line = br.readLine();\n\t //文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。\n\t line = line.trim();\n\t //半角スペースを区切り文字として扱う\n\t String[] readLineArray = line.split(\"[\\\\s+]\");\n\t //変数に配列を代入\n\t double r = Double.parseDouble(readLineArray[0]);\n\t double S = Math.PI *r*r;\n\t double L = 2 * Math.PI * r;\n\t \n\t System.out.printf(\"%.5f %.5f\",S,L);\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String line = br.readLine();\n\t //文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。\n\t line = line.trim();\n\t //半角スペースを区切り文字として扱う\n\t String[] readLineArray = line.split(\"[\\\\s+]\");\n\t //変数に配列を代入\n\t double r = Double.parseDouble(readLineArray[0]);\n\t double S = Math.PI *r*r;\n\t double L = 2 * Math.PI * r;\n\t \n\t System.out.printf(\"%.5f %.5f\",S,L);\n\t}",
"main",
"{\n\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String line = br.readLine();\n\t //文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。\n\t line = line.trim();\n\t //半角スペースを区切り文字として扱う\n\t String[] readLineArray = line.split(\"[\\\\s+]\");\n\t //変数に配列を代入\n\t double r = Double.parseDouble(readLineArray[0]);\n\t double S = Math.PI *r*r;\n\t double L = 2 * Math.PI * r;\n\t \n\t System.out.printf(\"%.5f %.5f\",S,L);\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",
"line = line.trim()",
"line",
"line.trim()",
"line.trim",
"line",
"String[] readLineArray = line.split(\"[\\\\s+]\");",
"readLineArray",
"line.split(\"[\\\\s+]\")",
"line.split",
"line",
"\"[\\\\s+]\"",
"double r = Double.parseDouble(readLineArray[0]);",
"r",
"Double.parseDouble(readLineArray[0])",
"Double.parseDouble",
"Double",
"readLineArray[0]",
"readLineArray",
"0",
"double S = Math.PI *r*r;",
"S",
"Math.PI *r*r",
"Math.PI *r*r",
"Math.PI",
"Math",
"Math.PI",
"r",
"r",
"double L = 2 * Math.PI * r;",
"L",
"2 * Math.PI * r",
"2 * Math.PI * r",
"2",
"Math.PI",
"Math",
"Math.PI",
"r",
"System.out.printf(\"%.5f %.5f\",S,L)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.5f %.5f\"",
"S",
"L",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String line = br.readLine();\n\t //文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。\n\t line = line.trim();\n\t //半角スペースを区切り文字として扱う\n\t String[] readLineArray = line.split(\"[\\\\s+]\");\n\t //変数に配列を代入\n\t double r = Double.parseDouble(readLineArray[0]);\n\t double S = Math.PI *r*r;\n\t double L = 2 * Math.PI * r;\n\t \n\t System.out.printf(\"%.5f %.5f\",S,L);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String line = br.readLine();\n\t //文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。\n\t line = line.trim();\n\t //半角スペースを区切り文字として扱う\n\t String[] readLineArray = line.split(\"[\\\\s+]\");\n\t //変数に配列を代入\n\t double r = Double.parseDouble(readLineArray[0]);\n\t double S = Math.PI *r*r;\n\t double L = 2 * Math.PI * r;\n\t \n\t System.out.printf(\"%.5f %.5f\",S,L);\n\t}\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();
//文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。
line = line.trim();
//半角スペースを区切り文字として扱う
String[] readLineArray = line.split("[\\s+]");
//変数に配列を代入
double r = Double.parseDouble(readLineArray[0]);
double S = Math.PI *r*r;
double L = 2 * Math.PI * r;
System.out.printf("%.5f %.5f",S,L);
}
} |
[
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,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
50,
8
],
[
50,
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
],
[
25,
27
],
[
28,
28
],
[
28,
29
],
[
28,
30
],
[
28,
31
],
[
11,
32
],
[
32,
33
],
[
32,
34
],
[
35,
35
],
[
35,
36
],
[
35,
37
],
[
35,
38
],
[
11,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
39,
45
],
[
39,
46
],
[
9,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
] | [
"import java.util.Scanner;\nimport java.io.*;\n\npublic class Main\n{\n\tpublic static void main(String[] args) throws IOException\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\tdouble pi = Math.PI;\n\t\tdouble area = r*r*pi;\n\t\tdouble length = 2*r*pi;\n\t\tSystem.out.printf(\"%f %f\",area,length);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.io.*;",
"io.*",
"java",
"public class Main\n{\n\tpublic static void main(String[] args) throws IOException\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\tdouble pi = Math.PI;\n\t\tdouble area = r*r*pi;\n\t\tdouble length = 2*r*pi;\n\t\tSystem.out.printf(\"%f %f\",area,length);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\tdouble pi = Math.PI;\n\t\tdouble area = r*r*pi;\n\t\tdouble length = 2*r*pi;\n\t\tSystem.out.printf(\"%f %f\",area,length);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\tdouble pi = Math.PI;\n\t\tdouble area = r*r*pi;\n\t\tdouble length = 2*r*pi;\n\t\tSystem.out.printf(\"%f %f\",area,length);\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 = r*r*pi;",
"area",
"r*r*pi",
"r*r*pi",
"r",
"r",
"pi",
"double length = 2*r*pi;",
"length",
"2*r*pi",
"2*r*pi",
"2",
"r",
"pi",
"System.out.printf(\"%f %f\",area,length)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f %f\"",
"area",
"length",
"String[] args",
"args",
"public class Main\n{\n\tpublic static void main(String[] args) throws IOException\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\tdouble pi = Math.PI;\n\t\tdouble area = r*r*pi;\n\t\tdouble length = 2*r*pi;\n\t\tSystem.out.printf(\"%f %f\",area,length);\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String[] args) throws IOException\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble r = sc.nextDouble();\n\t\tdouble pi = Math.PI;\n\t\tdouble area = r*r*pi;\n\t\tdouble length = 2*r*pi;\n\t\tSystem.out.printf(\"%f %f\",area,length);\n\t}\n}",
"Main"
] | import java.util.Scanner;
import java.io.*;
public class Main
{
public static void main(String[] args) throws IOException
{
Scanner sc = new Scanner(System.in);
double r = sc.nextDouble();
double pi = Math.PI;
double area = r*r*pi;
double length = 2*r*pi;
System.out.printf("%f %f",area,length);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
17,
2,
2,
13,
13,
13,
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
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
20,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
20,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
6,
36
],
[
36,
37
]
] | [
"import java.util.*;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n final double PI = 3.141592653589;\n double r = sc.nextDouble();\n System.out.printf(\"%f %f\\n\", (r * r * PI), (2 * r * PI));\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n final double PI = 3.141592653589;\n double r = sc.nextDouble();\n System.out.printf(\"%f %f\\n\", (r * r * PI), (2 * r * PI));\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n final double PI = 3.141592653589;\n double r = sc.nextDouble();\n System.out.printf(\"%f %f\\n\", (r * r * PI), (2 * r * PI));\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n final double PI = 3.141592653589;\n double r = sc.nextDouble();\n System.out.printf(\"%f %f\\n\", (r * r * PI), (2 * r * PI));\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"final double PI = 3.141592653589;",
"PI",
"3.141592653589",
"double r = sc.nextDouble();",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"System.out.printf(\"%f %f\\n\", (r * r * PI), (2 * r * PI))",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f %f\\n\"",
"(r * r * PI)",
"r * r * PI",
"r",
"r",
"PI",
"(2 * r * PI)",
"2 * r * PI",
"2",
"r",
"PI",
"String[] args",
"args"
] | import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
final double PI = 3.141592653589;
double r = sc.nextDouble();
System.out.printf("%f %f\n", (r * r * PI), (2 * r * PI));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
2,
2,
18,
13,
13,
13,
13,
41,
13,
2,
2,
17,
18,
13,
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
],
[
23,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
23,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
32,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
38,
44
],
[
38,
45
],
[
6,
46
],
[
46,
47
]
] | [
"import java.io.*;\n\nclass Main\n{\n public static void main (String[ ] args) throws Exception\n {\n BufferedReader br = new BufferedReader (new InputStreamReader (System.in));\n \n double r = Double.parseDouble(br.readLine());\n \n double b = Math.PI * r * r;\n double c = 2 * Math.PI * r;\n\n System.out.printf(\"%.5f %.5f\\n\", b, c);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main\n{\n public static void main (String[ ] args) throws Exception\n {\n BufferedReader br = new BufferedReader (new InputStreamReader (System.in));\n \n double r = Double.parseDouble(br.readLine());\n \n double b = Math.PI * r * r;\n double c = 2 * Math.PI * r;\n\n System.out.printf(\"%.5f %.5f\\n\", b, c);\n }\n}",
"Main",
"public static void main (String[ ] args) throws Exception\n {\n BufferedReader br = new BufferedReader (new InputStreamReader (System.in));\n \n double r = Double.parseDouble(br.readLine());\n \n double b = Math.PI * r * r;\n double c = 2 * Math.PI * r;\n\n System.out.printf(\"%.5f %.5f\\n\", b, c);\n }",
"main",
"{\n BufferedReader br = new BufferedReader (new InputStreamReader (System.in));\n \n double r = Double.parseDouble(br.readLine());\n \n double b = Math.PI * r * r;\n double c = 2 * Math.PI * r;\n\n System.out.printf(\"%.5f %.5f\\n\", b, c);\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 b = Math.PI * r * r;",
"b",
"Math.PI * r * r",
"Math.PI * r * r",
"Math.PI",
"Math",
"Math.PI",
"r",
"r",
"double c = 2 * Math.PI * r;",
"c",
"2 * Math.PI * r",
"2 * Math.PI * r",
"2",
"Math.PI",
"Math",
"Math.PI",
"r",
"System.out.printf(\"%.5f %.5f\\n\", b, c)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.5f %.5f\\n\"",
"b",
"c",
"String[ ] args",
"args"
] | import java.io.*;
class Main
{
public static void main (String[ ] args) throws Exception
{
BufferedReader br = new BufferedReader (new InputStreamReader (System.in));
double r = Double.parseDouble(br.readLine());
double b = Math.PI * r * r;
double c = 2 * Math.PI * r;
System.out.printf("%.5f %.5f\n", b, c);
}
} |
[
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\tpublic static void main(String[] args) throws Exception {\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 menseki = r*r*pi;\n\t\tdouble enshu = 2.0*pi*r;\n\t\tSystem.out.printf(\"%.6f %.6f\", menseki, enshu);\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"class Main {\n\tpublic static void main(String[] args) throws Exception {\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 menseki = r*r*pi;\n\t\tdouble enshu = 2.0*pi*r;\n\t\tSystem.out.printf(\"%.6f %.6f\", menseki, enshu);\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\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 menseki = r*r*pi;\n\t\tdouble enshu = 2.0*pi*r;\n\t\tSystem.out.printf(\"%.6f %.6f\", menseki, enshu);\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 menseki = r*r*pi;\n\t\tdouble enshu = 2.0*pi*r;\n\t\tSystem.out.printf(\"%.6f %.6f\", menseki, enshu);\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 menseki = r*r*pi;",
"menseki",
"r*r*pi",
"r*r*pi",
"r",
"r",
"pi",
"double enshu = 2.0*pi*r;",
"enshu",
"2.0*pi*r",
"2.0*pi*r",
"2.0",
"pi",
"r",
"System.out.printf(\"%.6f %.6f\", menseki, enshu)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f %.6f\"",
"menseki",
"enshu",
"String[] args",
"args"
] | import java.io.*;
class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
double r = Double.parseDouble(br.readLine());
double pi = Math.PI;
double menseki = r*r*pi;
double enshu = 2.0*pi*r;
System.out.printf("%.6f %.6f", menseki, enshu);
}
} |
[
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,
13,
17,
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,
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
],
[
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
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
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\tpublic static void main(String args[]){\n\n\t\t//??????????????????????????¢?????¨?????¨??????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble dbR = sc.nextDouble();\n\t\tdouble dbMenseki = 0;\n\t\tdouble dbEnsyu = 0;\n\n\t\t//??¢?????¨?????¨????±???????\n\t\tdbMenseki = dbR * dbR * Math.PI;\n\t\tdbEnsyu = ( dbR * 2 ) * Math.PI;\n\n\t\t//6????????§??¨?????????\n\t\tString stMen = String.format(\"%.6f\", dbMenseki);\n\t\tString stEnsyu = String.format(\"%.6f\", dbEnsyu);\n\n\t\tSystem.out.println(stMen + \" \" + stEnsyu);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String args[]){\n\n\t\t//??????????????????????????¢?????¨?????¨??????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble dbR = sc.nextDouble();\n\t\tdouble dbMenseki = 0;\n\t\tdouble dbEnsyu = 0;\n\n\t\t//??¢?????¨?????¨????±???????\n\t\tdbMenseki = dbR * dbR * Math.PI;\n\t\tdbEnsyu = ( dbR * 2 ) * Math.PI;\n\n\t\t//6????????§??¨?????????\n\t\tString stMen = String.format(\"%.6f\", dbMenseki);\n\t\tString stEnsyu = String.format(\"%.6f\", dbEnsyu);\n\n\t\tSystem.out.println(stMen + \" \" + stEnsyu);\n\t}\n}",
"Main",
"public static void main(String args[]){\n\n\t\t//??????????????????????????¢?????¨?????¨??????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble dbR = sc.nextDouble();\n\t\tdouble dbMenseki = 0;\n\t\tdouble dbEnsyu = 0;\n\n\t\t//??¢?????¨?????¨????±???????\n\t\tdbMenseki = dbR * dbR * Math.PI;\n\t\tdbEnsyu = ( dbR * 2 ) * Math.PI;\n\n\t\t//6????????§??¨?????????\n\t\tString stMen = String.format(\"%.6f\", dbMenseki);\n\t\tString stEnsyu = String.format(\"%.6f\", dbEnsyu);\n\n\t\tSystem.out.println(stMen + \" \" + stEnsyu);\n\t}",
"main",
"{\n\n\t\t//??????????????????????????¢?????¨?????¨??????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble dbR = sc.nextDouble();\n\t\tdouble dbMenseki = 0;\n\t\tdouble dbEnsyu = 0;\n\n\t\t//??¢?????¨?????¨????±???????\n\t\tdbMenseki = dbR * dbR * Math.PI;\n\t\tdbEnsyu = ( dbR * 2 ) * Math.PI;\n\n\t\t//6????????§??¨?????????\n\t\tString stMen = String.format(\"%.6f\", dbMenseki);\n\t\tString stEnsyu = String.format(\"%.6f\", dbEnsyu);\n\n\t\tSystem.out.println(stMen + \" \" + stEnsyu);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double dbR = sc.nextDouble();",
"dbR",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"double dbMenseki = 0;",
"dbMenseki",
"0",
"double dbEnsyu = 0;",
"dbEnsyu",
"0",
"dbMenseki = dbR * dbR * Math.PI",
"dbMenseki",
"dbR * dbR * Math.PI",
"dbR * dbR * Math.PI",
"dbR",
"dbR",
"Math.PI",
"Math",
"Math.PI",
"dbEnsyu = ( dbR * 2 ) * Math.PI",
"dbEnsyu",
"( dbR * 2 ) * Math.PI",
"( dbR * 2 )",
"dbR",
"2",
"Math.PI",
"Math",
"Math.PI",
"String stMen = String.format(\"%.6f\", dbMenseki);",
"stMen",
"String.format(\"%.6f\", dbMenseki)",
"String.format",
"String",
"\"%.6f\"",
"dbMenseki",
"String stEnsyu = String.format(\"%.6f\", dbEnsyu);",
"stEnsyu",
"String.format(\"%.6f\", dbEnsyu)",
"String.format",
"String",
"\"%.6f\"",
"dbEnsyu",
"System.out.println(stMen + \" \" + stEnsyu)",
"System.out.println",
"System.out",
"System",
"System.out",
"stMen + \" \" + stEnsyu",
"stMen + \" \" + stEnsyu",
"stMen",
"\" \"",
"stEnsyu",
"String args[]",
"args",
"public class Main{\n\tpublic static void main(String args[]){\n\n\t\t//??????????????????????????¢?????¨?????¨??????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble dbR = sc.nextDouble();\n\t\tdouble dbMenseki = 0;\n\t\tdouble dbEnsyu = 0;\n\n\t\t//??¢?????¨?????¨????±???????\n\t\tdbMenseki = dbR * dbR * Math.PI;\n\t\tdbEnsyu = ( dbR * 2 ) * Math.PI;\n\n\t\t//6????????§??¨?????????\n\t\tString stMen = String.format(\"%.6f\", dbMenseki);\n\t\tString stEnsyu = String.format(\"%.6f\", dbEnsyu);\n\n\t\tSystem.out.println(stMen + \" \" + stEnsyu);\n\t}\n}",
"public class Main{\n\tpublic static void main(String args[]){\n\n\t\t//??????????????????????????¢?????¨?????¨??????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble dbR = sc.nextDouble();\n\t\tdouble dbMenseki = 0;\n\t\tdouble dbEnsyu = 0;\n\n\t\t//??¢?????¨?????¨????±???????\n\t\tdbMenseki = dbR * dbR * Math.PI;\n\t\tdbEnsyu = ( dbR * 2 ) * Math.PI;\n\n\t\t//6????????§??¨?????????\n\t\tString stMen = String.format(\"%.6f\", dbMenseki);\n\t\tString stEnsyu = String.format(\"%.6f\", dbEnsyu);\n\n\t\tSystem.out.println(stMen + \" \" + stEnsyu);\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String args[]){
//??????????????????????????¢?????¨?????¨??????????????????
Scanner sc = new Scanner(System.in);
double dbR = sc.nextDouble();
double dbMenseki = 0;
double dbEnsyu = 0;
//??¢?????¨?????¨????±???????
dbMenseki = dbR * dbR * Math.PI;
dbEnsyu = ( dbR * 2 ) * Math.PI;
//6????????§??¨?????????
String stMen = String.format("%.6f", dbMenseki);
String stEnsyu = String.format("%.6f", dbEnsyu);
System.out.println(stMen + " " + stEnsyu);
}
} |
[
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,
18,
13,
13,
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,
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
],
[
79,
11
],
[
79,
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
],
[
14,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
14,
54
],
[
54,
55
],
[
54,
56
],
[
14,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
14,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
72,
72
],
[
72,
73
],
[
72,
74
],
[
72,
75
],
[
12,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
] | [
"import java.io.IOException;\nimport java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t//キーボード入力メソッド\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tdouble r = sc.nextDouble();\n\t\tdouble Pi = Math.PI;\n\t\tdouble menseki_x = r * r * Pi;\n\t\tdouble syuu_y = 2 * r * Pi;\n\n\t\t//fの小数点以下の桁数を指定(5桁)\n\t\t\t\tBigDecimal menseki = new BigDecimal(menseki_x);\n\t\t\t\tmenseki = menseki.setScale(5, BigDecimal.ROUND_HALF_UP);\n\t\t\t\tBigDecimal syuu = new BigDecimal(syuu_y);\n\t\t\t\tsyuu = syuu.setScale(5, BigDecimal.ROUND_HALF_UP);\n\n\t\t//出力\n\t\tSystem.out.println(menseki +\" \"+ syuu);\n\n\t}\n\n}\n",
"import java.io.IOException;",
"IOException",
"java.io",
"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) throws IOException {\n\t\t//キーボード入力メソッド\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tdouble r = sc.nextDouble();\n\t\tdouble Pi = Math.PI;\n\t\tdouble menseki_x = r * r * Pi;\n\t\tdouble syuu_y = 2 * r * Pi;\n\n\t\t//fの小数点以下の桁数を指定(5桁)\n\t\t\t\tBigDecimal menseki = new BigDecimal(menseki_x);\n\t\t\t\tmenseki = menseki.setScale(5, BigDecimal.ROUND_HALF_UP);\n\t\t\t\tBigDecimal syuu = new BigDecimal(syuu_y);\n\t\t\t\tsyuu = syuu.setScale(5, BigDecimal.ROUND_HALF_UP);\n\n\t\t//出力\n\t\tSystem.out.println(menseki +\" \"+ syuu);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\t//キーボード入力メソッド\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tdouble r = sc.nextDouble();\n\t\tdouble Pi = Math.PI;\n\t\tdouble menseki_x = r * r * Pi;\n\t\tdouble syuu_y = 2 * r * Pi;\n\n\t\t//fの小数点以下の桁数を指定(5桁)\n\t\t\t\tBigDecimal menseki = new BigDecimal(menseki_x);\n\t\t\t\tmenseki = menseki.setScale(5, BigDecimal.ROUND_HALF_UP);\n\t\t\t\tBigDecimal syuu = new BigDecimal(syuu_y);\n\t\t\t\tsyuu = syuu.setScale(5, BigDecimal.ROUND_HALF_UP);\n\n\t\t//出力\n\t\tSystem.out.println(menseki +\" \"+ syuu);\n\n\t}",
"main",
"{\n\t\t//キーボード入力メソッド\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tdouble r = sc.nextDouble();\n\t\tdouble Pi = Math.PI;\n\t\tdouble menseki_x = r * r * Pi;\n\t\tdouble syuu_y = 2 * r * Pi;\n\n\t\t//fの小数点以下の桁数を指定(5桁)\n\t\t\t\tBigDecimal menseki = new BigDecimal(menseki_x);\n\t\t\t\tmenseki = menseki.setScale(5, BigDecimal.ROUND_HALF_UP);\n\t\t\t\tBigDecimal syuu = new BigDecimal(syuu_y);\n\t\t\t\tsyuu = syuu.setScale(5, BigDecimal.ROUND_HALF_UP);\n\n\t\t//出力\n\t\tSystem.out.println(menseki +\" \"+ syuu);\n\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_x = r * r * Pi;",
"menseki_x",
"r * r * Pi",
"r * r * Pi",
"r",
"r",
"Pi",
"double syuu_y = 2 * r * Pi;",
"syuu_y",
"2 * r * Pi",
"2 * r * Pi",
"2",
"r",
"Pi",
"BigDecimal menseki = new BigDecimal(menseki_x);",
"menseki",
"new BigDecimal(menseki_x)",
"menseki = menseki.setScale(5, BigDecimal.ROUND_HALF_UP)",
"menseki",
"menseki.setScale(5, BigDecimal.ROUND_HALF_UP)",
"menseki.setScale",
"menseki",
"5",
"BigDecimal.ROUND_HALF_UP",
"BigDecimal",
"BigDecimal.ROUND_HALF_UP",
"BigDecimal syuu = new BigDecimal(syuu_y);",
"syuu",
"new BigDecimal(syuu_y)",
"syuu = syuu.setScale(5, BigDecimal.ROUND_HALF_UP)",
"syuu",
"syuu.setScale(5, BigDecimal.ROUND_HALF_UP)",
"syuu.setScale",
"syuu",
"5",
"BigDecimal.ROUND_HALF_UP",
"BigDecimal",
"BigDecimal.ROUND_HALF_UP",
"System.out.println(menseki +\" \"+ syuu)",
"System.out.println",
"System.out",
"System",
"System.out",
"menseki +\" \"+ syuu",
"menseki +\" \"+ syuu",
"menseki",
"\" \"",
"syuu",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t//キーボード入力メソッド\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tdouble r = sc.nextDouble();\n\t\tdouble Pi = Math.PI;\n\t\tdouble menseki_x = r * r * Pi;\n\t\tdouble syuu_y = 2 * r * Pi;\n\n\t\t//fの小数点以下の桁数を指定(5桁)\n\t\t\t\tBigDecimal menseki = new BigDecimal(menseki_x);\n\t\t\t\tmenseki = menseki.setScale(5, BigDecimal.ROUND_HALF_UP);\n\t\t\t\tBigDecimal syuu = new BigDecimal(syuu_y);\n\t\t\t\tsyuu = syuu.setScale(5, BigDecimal.ROUND_HALF_UP);\n\n\t\t//出力\n\t\tSystem.out.println(menseki +\" \"+ syuu);\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t//キーボード入力メソッド\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tdouble r = sc.nextDouble();\n\t\tdouble Pi = Math.PI;\n\t\tdouble menseki_x = r * r * Pi;\n\t\tdouble syuu_y = 2 * r * Pi;\n\n\t\t//fの小数点以下の桁数を指定(5桁)\n\t\t\t\tBigDecimal menseki = new BigDecimal(menseki_x);\n\t\t\t\tmenseki = menseki.setScale(5, BigDecimal.ROUND_HALF_UP);\n\t\t\t\tBigDecimal syuu = new BigDecimal(syuu_y);\n\t\t\t\tsyuu = syuu.setScale(5, BigDecimal.ROUND_HALF_UP);\n\n\t\t//出力\n\t\tSystem.out.println(menseki +\" \"+ syuu);\n\n\t}\n\n}",
"Main"
] | import java.io.IOException;
import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException {
//キーボード入力メソッド
Scanner sc = new Scanner(System.in);
double r = sc.nextDouble();
double Pi = Math.PI;
double menseki_x = r * r * Pi;
double syuu_y = 2 * r * Pi;
//fの小数点以下の桁数を指定(5桁)
BigDecimal menseki = new BigDecimal(menseki_x);
menseki = menseki.setScale(5, BigDecimal.ROUND_HALF_UP);
BigDecimal syuu = new BigDecimal(syuu_y);
syuu = syuu.setScale(5, BigDecimal.ROUND_HALF_UP);
//出力
System.out.println(menseki +" "+ syuu);
}
}
|
[
7,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
0,
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,
23,
13,
12,
13,
30,
4,
18,
20,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
58,
2
],
[
58,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
5,
11
],
[
11,
12
],
[
11,
13
],
[
13,
14
],
[
14,
15
],
[
5,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
16,
22
],
[
23,
23
],
[
23,
24
],
[
23,
25
],
[
23,
26
],
[
26,
27
],
[
26,
28
],
[
16,
29
],
[
30,
30
],
[
30,
31
],
[
30,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
5,
36
],
[
36,
37
],
[
37,
38
],
[
3,
39
],
[
39,
40
],
[
3,
41
],
[
41,
42
],
[
58,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
49,
51
],
[
46,
52
],
[
52,
53
],
[
52,
54
],
[
43,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] | [
"public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n double r;\n r = sc.nextDouble();\n\n System.out.printf(\"%f %f%n\", r * r * Math.PI, 2.0 * r * Math.PI);\n/*fin*/\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}",
"public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n double r;\n r = sc.nextDouble();\n\n System.out.printf(\"%f %f%n\", r * r * Math.PI, 2.0 * r * Math.PI);\n/*fin*/\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}",
"Main",
"public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n double r;\n r = sc.nextDouble();\n\n System.out.printf(\"%f %f%n\", r * r * Math.PI, 2.0 * r * Math.PI);\n/*fin*/\n sc.close();\n }",
"run",
"{\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n double r;\n r = sc.nextDouble();\n\n System.out.printf(\"%f %f%n\", r * r * Math.PI, 2.0 * r * Math.PI);\n/*fin*/\n sc.close();\n }",
"java.util.Scanner sc = new java.util.Scanner(in);",
"sc",
"new java.util.Scanner(in)",
"double r;",
"r",
"r = sc.nextDouble()",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"System.out.printf(\"%f %f%n\", r * r * Math.PI, 2.0 * r * Math.PI)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f %f%n\"",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"2.0 * r * Math.PI",
"2.0 * r * Math.PI",
"2.0",
"r",
"Math.PI",
"Math",
"Math.PI",
"sc.close()",
"sc.close",
"sc",
"java.io.InputStream in",
"in",
"java.io.PrintStream out",
"out",
"public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }",
"main",
"{\n (new Main()).run(System.in, System.out);\n }",
"(new Main()).run(System.in, System.out)",
"(new Main()).run",
"(new Main())",
"System.in",
"System",
"System.in",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n double r;\n r = sc.nextDouble();\n\n System.out.printf(\"%f %f%n\", r * r * Math.PI, 2.0 * r * Math.PI);\n/*fin*/\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}",
"public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n double r;\n r = sc.nextDouble();\n\n System.out.printf(\"%f %f%n\", r * r * Math.PI, 2.0 * r * Math.PI);\n/*fin*/\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}",
"Main"
] | public class Main{
public void run(java.io.InputStream in, java.io.PrintStream out){
java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
double r;
r = sc.nextDouble();
System.out.printf("%f %f%n", r * r * Math.PI, 2.0 * r * Math.PI);
/*fin*/
sc.close();
}
public static void main(String[] args){
(new Main()).run(System.in, System.out);
}
} |
[
7,
15,
13,
17,
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
] | [
[
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
],
[
11,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
23,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
23,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
9,
39
],
[
39,
40
]
] | [
"import java.io.*;\nimport java.util.*;\n\nclass Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n double r = sc.nextDouble();\n double PI = 3.141592653589793238;\n \n System.out.printf(\"%.6f %.6f\\n\", (r*r*PI), (2*PI*r));\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n double r = sc.nextDouble();\n double PI = 3.141592653589793238;\n \n System.out.printf(\"%.6f %.6f\\n\", (r*r*PI), (2*PI*r));\n }\n}",
"Main",
"public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n double r = sc.nextDouble();\n double PI = 3.141592653589793238;\n \n System.out.printf(\"%.6f %.6f\\n\", (r*r*PI), (2*PI*r));\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n double r = sc.nextDouble();\n double PI = 3.141592653589793238;\n \n System.out.printf(\"%.6f %.6f\\n\", (r*r*PI), (2*PI*r));\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double r = sc.nextDouble();",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"double PI = 3.141592653589793238;",
"PI",
"3.141592653589793238",
"System.out.printf(\"%.6f %.6f\\n\", (r*r*PI), (2*PI*r))",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f %.6f\\n\"",
"(r*r*PI)",
"r*r*PI",
"r",
"r",
"PI",
"(2*PI*r)",
"2*PI*r",
"2",
"PI",
"r",
"String[] args",
"args"
] | import java.io.*;
import java.util.*;
class Main
{
public static void main(String[] args)
{
Scanner sc = new Scanner(System.in);
double r = sc.nextDouble();
double PI = 3.141592653589793238;
System.out.printf("%.6f %.6f\n", (r*r*PI), (2*PI*r));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
13,
17,
41,
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
],
[
42,
5
],
[
42,
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
],
[
31,
37
],
[
31,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner=new Scanner(System.in);\n double r=scanner.nextDouble();\n double s=r*r*3.14159265359;\n double l=2*r*3.14159265359;\n System.out.printf(\"%f %f\\n\", s,l);\n \n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner=new Scanner(System.in);\n double r=scanner.nextDouble();\n double s=r*r*3.14159265359;\n double l=2*r*3.14159265359;\n System.out.printf(\"%f %f\\n\", s,l);\n \n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner=new Scanner(System.in);\n double r=scanner.nextDouble();\n double s=r*r*3.14159265359;\n double l=2*r*3.14159265359;\n System.out.printf(\"%f %f\\n\", s,l);\n \n }",
"main",
"{\n Scanner scanner=new Scanner(System.in);\n double r=scanner.nextDouble();\n double s=r*r*3.14159265359;\n double l=2*r*3.14159265359;\n System.out.printf(\"%f %f\\n\", s,l);\n \n }",
"Scanner scanner=new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"double r=scanner.nextDouble();",
"r",
"scanner.nextDouble()",
"scanner.nextDouble",
"scanner",
"double s=r*r*3.14159265359;",
"s",
"r*r*3.14159265359",
"r*r*3.14159265359",
"r",
"r",
"3.14159265359",
"double l=2*r*3.14159265359;",
"l",
"2*r*3.14159265359",
"2*r*3.14159265359",
"2",
"r",
"3.14159265359",
"System.out.printf(\"%f %f\\n\", s,l)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f %f\\n\"",
"s",
"l",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner=new Scanner(System.in);\n double r=scanner.nextDouble();\n double s=r*r*3.14159265359;\n double l=2*r*3.14159265359;\n System.out.printf(\"%f %f\\n\", s,l);\n \n }\n\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner=new Scanner(System.in);\n double r=scanner.nextDouble();\n double s=r*r*3.14159265359;\n double l=2*r*3.14159265359;\n System.out.printf(\"%f %f\\n\", s,l);\n \n }\n\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 s=r*r*3.14159265359;
double l=2*r*3.14159265359;
System.out.printf("%f %f\n", s,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,
13,
17,
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
],
[
56,
5
],
[
56,
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
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
] | [
"import java.util.*; \n\npublic class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n\n double A = (double)r * r * Math.PI;\n double L = (double)r * 2 * Math.PI;\n System.out.println(String.format(\"%f\", A) + \" \" + String.format(\"%f\", L));\n } \n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n\n double A = (double)r * r * Math.PI;\n double L = (double)r * 2 * Math.PI;\n System.out.println(String.format(\"%f\", A) + \" \" + String.format(\"%f\", L));\n } \n}",
"Main",
"public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n\n double A = (double)r * r * Math.PI;\n double L = (double)r * 2 * Math.PI;\n System.out.println(String.format(\"%f\", A) + \" \" + String.format(\"%f\", L));\n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n\n double A = (double)r * r * Math.PI;\n double L = (double)r * 2 * Math.PI;\n System.out.println(String.format(\"%f\", A) + \" \" + String.format(\"%f\", L));\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double r = sc.nextDouble();",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"double A = (double)r * r * Math.PI;",
"A",
"(double)r * r * Math.PI",
"(double)r * r * Math.PI",
"(double)r",
"r",
"Math.PI",
"Math",
"Math.PI",
"double L = (double)r * 2 * Math.PI;",
"L",
"(double)r * 2 * Math.PI",
"(double)r * 2 * Math.PI",
"(double)r",
"2",
"Math.PI",
"Math",
"Math.PI",
"System.out.println(String.format(\"%f\", A) + \" \" + String.format(\"%f\", L))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%f\", A) + \" \" + String.format(\"%f\", L)",
"String.format(\"%f\", A) + \" \" + String.format(\"%f\", L)",
"String.format(\"%f\", A)",
"String.format",
"String",
"\"%f\"",
"A",
"\" \"",
"String.format(\"%f\", L)",
"String.format",
"String",
"\"%f\"",
"L",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n\n double A = (double)r * r * Math.PI;\n double L = (double)r * 2 * Math.PI;\n System.out.println(String.format(\"%f\", A) + \" \" + String.format(\"%f\", L));\n } \n}",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n\n double A = (double)r * r * Math.PI;\n double L = (double)r * 2 * Math.PI;\n System.out.println(String.format(\"%f\", A) + \" \" + String.format(\"%f\", L));\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 A = (double)r * r * Math.PI;
double L = (double)r * 2 * Math.PI;
System.out.println(String.format("%f", A) + " " + String.format("%f", L));
}
} |
[
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,
4,
18,
13,
17,
4,
13,
13,
4,
13,
13,
23,
13,
12,
13,
30,
29,
2,
2,
13,
13,
18,
13,
13,
23,
13,
12,
13,
30,
29,
2,
2,
13,
17,
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
],
[
0,
19
],
[
19,
20
],
[
19,
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
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
37,
44
],
[
44,
45
],
[
44,
46
],
[
21,
47
],
[
47,
48
],
[
19,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
49,
60
],
[
60,
61
],
[
19,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
70,
72
],
[
62,
73
],
[
73,
74
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tScanner scanner = new Scanner(System.in);\n\t\t//Scanner scanner = new Scanner(\"2\");\n\t\tdouble r = scanner.nextDouble();\n\t\tSystem.out.println(String.format(\"%1.6f %1.6f\", method01(r), method02(r)));\n\t}\n\n\tpublic static double method01(double r) {\n\t\treturn (r * r * Math.PI);\n\t}\n\n\tpublic static double method02(double r) {\n\t\treturn (r * 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.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tScanner scanner = new Scanner(System.in);\n\t\t//Scanner scanner = new Scanner(\"2\");\n\t\tdouble r = scanner.nextDouble();\n\t\tSystem.out.println(String.format(\"%1.6f %1.6f\", method01(r), method02(r)));\n\t}\n\n\tpublic static double method01(double r) {\n\t\treturn (r * r * Math.PI);\n\t}\n\n\tpublic static double method02(double r) {\n\t\treturn (r * 2 * Math.PI);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tScanner scanner = new Scanner(System.in);\n\t\t//Scanner scanner = new Scanner(\"2\");\n\t\tdouble r = scanner.nextDouble();\n\t\tSystem.out.println(String.format(\"%1.6f %1.6f\", method01(r), method02(r)));\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t//Scanner scanner = new Scanner(\"2\");\n\t\tdouble r = scanner.nextDouble();\n\t\tSystem.out.println(String.format(\"%1.6f %1.6f\", method01(r), method02(r)));\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.println(String.format(\"%1.6f %1.6f\", method01(r), method02(r)))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%1.6f %1.6f\", method01(r), method02(r))",
"String.format",
"String",
"\"%1.6f %1.6f\"",
"method01(r)",
"method01",
"r",
"method02(r)",
"method02",
"r",
"String[] args",
"args",
"public static double method01(double r) {\n\t\treturn (r * r * Math.PI);\n\t}",
"method01",
"{\n\t\treturn (r * r * Math.PI);\n\t}",
"return (r * r * Math.PI);",
"(r * r * Math.PI)",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"double r",
"r",
"public static double method02(double r) {\n\t\treturn (r * 2 * Math.PI);\n\t}",
"method02",
"{\n\t\treturn (r * 2 * Math.PI);\n\t}",
"return (r * 2 * Math.PI);",
"(r * 2 * Math.PI)",
"r * 2 * Math.PI",
"r",
"2",
"Math.PI",
"Math",
"Math.PI",
"double r",
"r"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
class Main {
public static void main(String[] args) throws IOException {
Scanner scanner = new Scanner(System.in);
//Scanner scanner = new Scanner("2");
double r = scanner.nextDouble();
System.out.println(String.format("%1.6f %1.6f", method01(r), method02(r)));
}
public static double method01(double r) {
return (r * r * Math.PI);
}
public static double method02(double r) {
return (r * 2 * Math.PI);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
20,
0,
13,
4,
18,
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,
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
],
[
68,
8
],
[
68,
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
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
26,
27
],
[
27,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
32,
32
],
[
32,
33
],
[
32,
34
],
[
32,
35
],
[
35,
36
],
[
35,
37
],
[
11,
38
],
[
38,
39
],
[
38,
40
],
[
41,
41
],
[
41,
42
],
[
41,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
11,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
54,
58
],
[
53,
59
],
[
53,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
60,
64
],
[
9,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception{\n\n\t\tdouble r, area, circumference;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n r = Double.parseDouble(br.readLine());\n\n area = r * r * Math.PI;\n circumference = 2 * r * Math.PI;\n System.out.println(String.format(\"%.6f\", area) + \" \" + String.format(\"%.6f\", circumference));\n\n\t}\n\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\n\t\tdouble r, area, circumference;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n r = Double.parseDouble(br.readLine());\n\n area = r * r * Math.PI;\n circumference = 2 * r * Math.PI;\n System.out.println(String.format(\"%.6f\", area) + \" \" + String.format(\"%.6f\", circumference));\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws Exception{\n\n\t\tdouble r, area, circumference;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n r = Double.parseDouble(br.readLine());\n\n area = r * r * Math.PI;\n circumference = 2 * r * Math.PI;\n System.out.println(String.format(\"%.6f\", area) + \" \" + String.format(\"%.6f\", circumference));\n\n\t}",
"main",
"{\n\n\t\tdouble r, area, circumference;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n r = Double.parseDouble(br.readLine());\n\n area = r * r * Math.PI;\n circumference = 2 * r * Math.PI;\n System.out.println(String.format(\"%.6f\", area) + \" \" + String.format(\"%.6f\", circumference));\n\n\t}",
"double r",
"r",
"area",
"area",
"circumference;",
"circumference",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"r = Double.parseDouble(br.readLine())",
"r",
"Double.parseDouble(br.readLine())",
"Double.parseDouble",
"Double",
"br.readLine()",
"br.readLine",
"br",
"area = r * r * Math.PI",
"area",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"circumference = 2 * r * Math.PI",
"circumference",
"2 * r * Math.PI",
"2 * r * Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"System.out.println(String.format(\"%.6f\", area) + \" \" + String.format(\"%.6f\", circumference))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%.6f\", area) + \" \" + String.format(\"%.6f\", circumference)",
"String.format(\"%.6f\", area) + \" \" + String.format(\"%.6f\", circumference)",
"String.format(\"%.6f\", area)",
"String.format",
"String",
"\"%.6f\"",
"area",
"\" \"",
"String.format(\"%.6f\", circumference)",
"String.format",
"String",
"\"%.6f\"",
"circumference",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception{\n\n\t\tdouble r, area, circumference;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n r = Double.parseDouble(br.readLine());\n\n area = r * r * Math.PI;\n circumference = 2 * r * Math.PI;\n System.out.println(String.format(\"%.6f\", area) + \" \" + String.format(\"%.6f\", circumference));\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception{\n\n\t\tdouble r, area, circumference;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n r = Double.parseDouble(br.readLine());\n\n area = r * r * Math.PI;\n circumference = 2 * r * Math.PI;\n System.out.println(String.format(\"%.6f\", area) + \" \" + String.format(\"%.6f\", circumference));\n\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception{
double r, area, circumference;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
r = Double.parseDouble(br.readLine());
area = r * r * Math.PI;
circumference = 2 * r * Math.PI;
System.out.println(String.format("%.6f", area) + " " + String.format("%.6f", circumference));
}
} |
[
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,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
47,
5
],
[
47,
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
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] | [
"\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tdouble r = sc.nextDouble();\n\t\tdouble pi = Math.PI;\n\n\t\tdouble area = pi*r*r;\n\t\tdouble length = 2*pi*r;\n\n\t\tSystem.out.printf(\"%f %f\", area, length);\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\n\t\tdouble r = sc.nextDouble();\n\t\tdouble pi = Math.PI;\n\n\t\tdouble area = pi*r*r;\n\t\tdouble length = 2*pi*r;\n\n\t\tSystem.out.printf(\"%f %f\", area, length);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tdouble r = sc.nextDouble();\n\t\tdouble pi = Math.PI;\n\n\t\tdouble area = pi*r*r;\n\t\tdouble length = 2*pi*r;\n\n\t\tSystem.out.printf(\"%f %f\", area, length);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tdouble r = sc.nextDouble();\n\t\tdouble pi = Math.PI;\n\n\t\tdouble area = pi*r*r;\n\t\tdouble length = 2*pi*r;\n\n\t\tSystem.out.printf(\"%f %f\", area, length);\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 = pi*r*r;",
"area",
"pi*r*r",
"pi*r*r",
"pi",
"r",
"r",
"double length = 2*pi*r;",
"length",
"2*pi*r",
"2*pi*r",
"2",
"pi",
"r",
"System.out.printf(\"%f %f\", area, length)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f %f\"",
"area",
"length",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tdouble r = sc.nextDouble();\n\t\tdouble pi = Math.PI;\n\n\t\tdouble area = pi*r*r;\n\t\tdouble length = 2*pi*r;\n\n\t\tSystem.out.printf(\"%f %f\", area, length);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tdouble r = sc.nextDouble();\n\t\tdouble pi = Math.PI;\n\n\t\tdouble area = pi*r*r;\n\t\tdouble length = 2*pi*r;\n\n\t\tSystem.out.printf(\"%f %f\", area, length);\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 pi = Math.PI;
double area = pi*r*r;
double length = 2*pi*r;
System.out.printf("%f %f", area, length);
}
} |
[
7,
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,
13,
13,
18,
13,
13,
2,
2,
13,
17,
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
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
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
],
[
9,
40
],
[
40,
41
]
] | [
"import java.util.Scanner;\nimport java.lang.Math;\n\nclass Main{\n public static void main(String[] args){\n\tfinal Scanner sc=new Scanner(System.in);\n\tDouble r=sc.nextDouble();\n\tSystem.out.printf(\"%7f %7f\\n\",r*r*Math.PI,r*2.0*Math.PI);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.lang.Math;",
"Math",
"java.lang",
"class Main{\n public static void main(String[] args){\n\tfinal Scanner sc=new Scanner(System.in);\n\tDouble r=sc.nextDouble();\n\tSystem.out.printf(\"%7f %7f\\n\",r*r*Math.PI,r*2.0*Math.PI);\n }\n}",
"Main",
"public static void main(String[] args){\n\tfinal Scanner sc=new Scanner(System.in);\n\tDouble r=sc.nextDouble();\n\tSystem.out.printf(\"%7f %7f\\n\",r*r*Math.PI,r*2.0*Math.PI);\n }",
"main",
"{\n\tfinal Scanner sc=new Scanner(System.in);\n\tDouble r=sc.nextDouble();\n\tSystem.out.printf(\"%7f %7f\\n\",r*r*Math.PI,r*2.0*Math.PI);\n }",
"final Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Double r=sc.nextDouble();",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"System.out.printf(\"%7f %7f\\n\",r*r*Math.PI,r*2.0*Math.PI)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%7f %7f\\n\"",
"r*r*Math.PI",
"r*r*Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"r*2.0*Math.PI",
"r*2.0*Math.PI",
"r",
"2.0",
"Math.PI",
"Math",
"Math.PI",
"String[] args",
"args"
] | import java.util.Scanner;
import java.lang.Math;
class Main{
public static void main(String[] args){
final Scanner sc=new Scanner(System.in);
Double r=sc.nextDouble();
System.out.printf("%7f %7f\n",r*r*Math.PI,r*2.0*Math.PI);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
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,
4,
18,
18,
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
],
[
4,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
20,
20
],
[
20,
21
],
[
20,
22
],
[
20,
23
],
[
11,
24
],
[
24,
25
],
[
24,
26
],
[
27,
27
],
[
27,
28
],
[
27,
29
],
[
27,
30
],
[
11,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
31,
37
],
[
31,
38
],
[
11,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
4,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
44,
50
],
[
50,
51
]
] | [
"import java.util.*;\nclass Main{\n Scanner sc=new Scanner(System.in);\n void main(){\n\tdouble r=sc.nextDouble();\n\tdouble seki=r*r*3.1415926535897932;\n\tdouble syu=r*2*3.1415926535897932;\n\tSystem.out.printf(\"%.6f %.6f\", seki,syu );\n\tSystem.out.println();\n\t\n }\n public static void main(String[]ag){\n\tnew Main().main();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n Scanner sc=new Scanner(System.in);\n void main(){\n\tdouble r=sc.nextDouble();\n\tdouble seki=r*r*3.1415926535897932;\n\tdouble syu=r*2*3.1415926535897932;\n\tSystem.out.printf(\"%.6f %.6f\", seki,syu );\n\tSystem.out.println();\n\t\n }\n public static void main(String[]ag){\n\tnew Main().main();\n }\n}",
"Main",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"void main(){\n\tdouble r=sc.nextDouble();\n\tdouble seki=r*r*3.1415926535897932;\n\tdouble syu=r*2*3.1415926535897932;\n\tSystem.out.printf(\"%.6f %.6f\", seki,syu );\n\tSystem.out.println();\n\t\n }",
"main",
"{\n\tdouble r=sc.nextDouble();\n\tdouble seki=r*r*3.1415926535897932;\n\tdouble syu=r*2*3.1415926535897932;\n\tSystem.out.printf(\"%.6f %.6f\", seki,syu );\n\tSystem.out.println();\n\t\n }",
"double r=sc.nextDouble();",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"double seki=r*r*3.1415926535897932;",
"seki",
"r*r*3.1415926535897932",
"r*r*3.1415926535897932",
"r",
"r",
"3.1415926535897932",
"double syu=r*2*3.1415926535897932;",
"syu",
"r*2*3.1415926535897932",
"r*2*3.1415926535897932",
"r",
"2",
"3.1415926535897932",
"System.out.printf(\"%.6f %.6f\", seki,syu )",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f %.6f\"",
"seki",
"syu",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"public static void main(String[]ag){\n\tnew Main().main();\n }",
"main",
"{\n\tnew Main().main();\n }",
"new Main().main()",
"new Main().main",
"new Main()",
"String[]ag",
"ag"
] | import java.util.*;
class Main{
Scanner sc=new Scanner(System.in);
void main(){
double r=sc.nextDouble();
double seki=r*r*3.1415926535897932;
double syu=r*2*3.1415926535897932;
System.out.printf("%.6f %.6f", seki,syu );
System.out.println();
}
public static void main(String[]ag){
new Main().main();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
17,
2,
2,
13,
13,
18,
13,
13,
17,
4,
18,
13,
17,
2,
2,
17,
13,
18,
13,
13,
4,
18,
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
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
23,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
24,
28
],
[
29,
29
],
[
29,
30
],
[
29,
31
],
[
29,
32
],
[
32,
33
],
[
32,
34
],
[
23,
35
],
[
23,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
36,
40
],
[
41,
41
],
[
41,
42
],
[
41,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
8,
47
],
[
47,
48
],
[
48,
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\t\tScanner scan = new Scanner(System.in);;\n\t\tdouble r = scan.nextDouble();\n\n\t\tSystem.out.println(String.format(\"%.8f\", r * r * Math.PI) + \" \" + String.format(\"%.8f\", 2 * r * Math.PI));\n\t\tscan.close();\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();\n\n\t\tSystem.out.println(String.format(\"%.8f\", r * r * Math.PI) + \" \" + String.format(\"%.8f\", 2 * r * Math.PI));\n\t\tscan.close();\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\n\t\tSystem.out.println(String.format(\"%.8f\", r * r * Math.PI) + \" \" + String.format(\"%.8f\", 2 * r * Math.PI));\n\t\tscan.close();\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);;\n\t\tdouble r = scan.nextDouble();\n\n\t\tSystem.out.println(String.format(\"%.8f\", r * r * Math.PI) + \" \" + String.format(\"%.8f\", 2 * r * Math.PI));\n\t\tscan.close();\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"double r = scan.nextDouble();",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"System.out.println(String.format(\"%.8f\", r * r * Math.PI) + \" \" + String.format(\"%.8f\", 2 * r * Math.PI))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%.8f\", r * r * Math.PI) + \" \" + String.format(\"%.8f\", 2 * r * Math.PI)",
"String.format(\"%.8f\", r * r * Math.PI) + \" \" + String.format(\"%.8f\", 2 * r * Math.PI)",
"String.format(\"%.8f\", r * r * Math.PI)",
"String.format",
"String",
"\"%.8f\"",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"\" \"",
"String.format(\"%.8f\", 2 * r * Math.PI)",
"String.format",
"String",
"\"%.8f\"",
"2 * r * Math.PI",
"2 * r * Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"scan.close()",
"scan.close",
"scan",
"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\n\t\tSystem.out.println(String.format(\"%.8f\", r * r * Math.PI) + \" \" + String.format(\"%.8f\", 2 * r * Math.PI));\n\t\tscan.close();\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();\n\n\t\tSystem.out.println(String.format(\"%.8f\", r * r * Math.PI) + \" \" + String.format(\"%.8f\", 2 * r * Math.PI));\n\t\tscan.close();\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();
System.out.println(String.format("%.8f", r * r * Math.PI) + " " + String.format("%.8f", 2 * r * Math.PI));
scan.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
0,
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
] | [
[
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
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
19,
25
],
[
26,
26
],
[
26,
27
],
[
26,
28
],
[
26,
29
],
[
29,
30
],
[
29,
31
],
[
19,
32
],
[
33,
33
],
[
33,
34
],
[
33,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
6,
39
],
[
39,
40
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner kb = new Scanner( System.in);\t\n\t\tdouble r;\n\n\t\tr=kb.nextDouble();\n\n\t\tSystem.out.printf( \"%f %f\\n\", r*r*Math.PI, r*2*Math.PI );\t\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner kb = new Scanner( System.in);\t\n\t\tdouble r;\n\n\t\tr=kb.nextDouble();\n\n\t\tSystem.out.printf( \"%f %f\\n\", r*r*Math.PI, r*2*Math.PI );\t\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner kb = new Scanner( System.in);\t\n\t\tdouble r;\n\n\t\tr=kb.nextDouble();\n\n\t\tSystem.out.printf( \"%f %f\\n\", r*r*Math.PI, r*2*Math.PI );\t\n\t}",
"main",
"{\n\t\tScanner kb = new Scanner( System.in);\t\n\t\tdouble r;\n\n\t\tr=kb.nextDouble();\n\n\t\tSystem.out.printf( \"%f %f\\n\", r*r*Math.PI, r*2*Math.PI );\t\n\t}",
"Scanner kb = new Scanner( System.in);",
"kb",
"new Scanner( System.in)",
"double r;",
"r",
"r=kb.nextDouble()",
"r",
"kb.nextDouble()",
"kb.nextDouble",
"kb",
"System.out.printf( \"%f %f\\n\", r*r*Math.PI, r*2*Math.PI )",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f %f\\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",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner kb = new Scanner( System.in);
double r;
r=kb.nextDouble();
System.out.printf( "%f %f\n", r*r*Math.PI, r*2*Math.PI );
}
} |
[
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,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
47,
5
],
[
47,
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
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n\tScanner stdin = new Scanner(System.in);\n double r = stdin.nextDouble();\n\tdouble x = Math.PI;\n\tdouble s = (double)x*r*r;\n\tdouble l = (double)2*x*r;\n\tSystem.out.printf(\"%.6f %.6f %n\", s, l);\n }\n}\n\n\t",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n\tScanner stdin = new Scanner(System.in);\n double r = stdin.nextDouble();\n\tdouble x = Math.PI;\n\tdouble s = (double)x*r*r;\n\tdouble l = (double)2*x*r;\n\tSystem.out.printf(\"%.6f %.6f %n\", s, l);\n }\n}",
"Main",
"public static void main(String[] args){\n\tScanner stdin = new Scanner(System.in);\n double r = stdin.nextDouble();\n\tdouble x = Math.PI;\n\tdouble s = (double)x*r*r;\n\tdouble l = (double)2*x*r;\n\tSystem.out.printf(\"%.6f %.6f %n\", s, l);\n }",
"main",
"{\n\tScanner stdin = new Scanner(System.in);\n double r = stdin.nextDouble();\n\tdouble x = Math.PI;\n\tdouble s = (double)x*r*r;\n\tdouble l = (double)2*x*r;\n\tSystem.out.printf(\"%.6f %.6f %n\", s, l);\n }",
"Scanner stdin = new Scanner(System.in);",
"stdin",
"new Scanner(System.in)",
"double r = stdin.nextDouble();",
"r",
"stdin.nextDouble()",
"stdin.nextDouble",
"stdin",
"double x = Math.PI;",
"x",
"Math.PI",
"Math",
"Math.PI",
"double s = (double)x*r*r;",
"s",
"(double)x*r*r",
"(double)x*r*r",
"(double)x",
"r",
"r",
"double l = (double)2*x*r;",
"l",
"(double)2*x*r",
"(double)2*x*r",
"(double)2",
"x",
"r",
"System.out.printf(\"%.6f %.6f %n\", s, l)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f %.6f %n\"",
"s",
"l",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n\tScanner stdin = new Scanner(System.in);\n double r = stdin.nextDouble();\n\tdouble x = Math.PI;\n\tdouble s = (double)x*r*r;\n\tdouble l = (double)2*x*r;\n\tSystem.out.printf(\"%.6f %.6f %n\", s, l);\n }\n}",
"public class Main{\n public static void main(String[] args){\n\tScanner stdin = new Scanner(System.in);\n double r = stdin.nextDouble();\n\tdouble x = Math.PI;\n\tdouble s = (double)x*r*r;\n\tdouble l = (double)2*x*r;\n\tSystem.out.printf(\"%.6f %.6f %n\", s, l);\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner stdin = new Scanner(System.in);
double r = stdin.nextDouble();
double x = Math.PI;
double s = (double)x*r*r;
double l = (double)2*x*r;
System.out.printf("%.6f %.6f %n", s, l);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
0,
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
],
[
47,
8
],
[
47,
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
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
24,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
34,
36
],
[
24,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
9,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] | [
"\nimport java.io.PrintStream;\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n double r = scanner.nextDouble();\n\n PrintStream printf;\n printf = System.out.printf(\"%.5f %.5f\\n\", (r * r * Math.PI), (r * 2 * Math.PI));\n }\n}\n\n",
"import java.io.PrintStream;",
"PrintStream",
"java.io",
"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\n double r = scanner.nextDouble();\n\n PrintStream printf;\n printf = System.out.printf(\"%.5f %.5f\\n\", (r * r * Math.PI), (r * 2 * Math.PI));\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n double r = scanner.nextDouble();\n\n PrintStream printf;\n printf = System.out.printf(\"%.5f %.5f\\n\", (r * r * Math.PI), (r * 2 * Math.PI));\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n\n double r = scanner.nextDouble();\n\n PrintStream printf;\n printf = System.out.printf(\"%.5f %.5f\\n\", (r * r * Math.PI), (r * 2 * Math.PI));\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"double r = scanner.nextDouble();",
"r",
"scanner.nextDouble()",
"scanner.nextDouble",
"scanner",
"PrintStream printf;",
"printf",
"printf = System.out.printf(\"%.5f %.5f\\n\", (r * r * Math.PI), (r * 2 * Math.PI))",
"printf",
"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",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n double r = scanner.nextDouble();\n\n PrintStream printf;\n printf = System.out.printf(\"%.5f %.5f\\n\", (r * r * Math.PI), (r * 2 * Math.PI));\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n double r = scanner.nextDouble();\n\n PrintStream printf;\n printf = System.out.printf(\"%.5f %.5f\\n\", (r * r * Math.PI), (r * 2 * Math.PI));\n }\n}",
"Main"
] |
import java.io.PrintStream;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
double r = scanner.nextDouble();
PrintStream printf;
printf = System.out.printf("%.5f %.5f\n", (r * r * Math.PI), (r * 2 * Math.PI));
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
20,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
2,
18,
13,
13,
4,
18,
13,
13,
17,
17,
4,
18,
13,
2,
2,
18,
13,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
56,
8
],
[
56,
9
],
[
9,
10
],
[
9,
11
],
[
56,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
14,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
29,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
37,
41
],
[
29,
42
],
[
29,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
47,
52
],
[
12,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
] | [
"import java.util.*;\nimport java.text.*;\n\npublic class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n double r = scn.nextDouble();\n DecimalFormat df = new DecimalFormat(\"#.#####\");\n System.out.println(\n df.format(Math.PI * Math.pow(r, 2)) + \" \" +\n df.format(Math.PI * r * 2)\n );\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.text.*;",
"text.*",
"java",
"public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n double r = scn.nextDouble();\n DecimalFormat df = new DecimalFormat(\"#.#####\");\n System.out.println(\n df.format(Math.PI * Math.pow(r, 2)) + \" \" +\n df.format(Math.PI * r * 2)\n );\n }\n}",
"Main",
"private static final Scanner scn = new Scanner(System.in);",
"scn",
"new Scanner(System.in)",
"public static void main(String[] args) {\n double r = scn.nextDouble();\n DecimalFormat df = new DecimalFormat(\"#.#####\");\n System.out.println(\n df.format(Math.PI * Math.pow(r, 2)) + \" \" +\n df.format(Math.PI * r * 2)\n );\n }",
"main",
"{\n double r = scn.nextDouble();\n DecimalFormat df = new DecimalFormat(\"#.#####\");\n System.out.println(\n df.format(Math.PI * Math.pow(r, 2)) + \" \" +\n df.format(Math.PI * r * 2)\n );\n }",
"double r = scn.nextDouble();",
"r",
"scn.nextDouble()",
"scn.nextDouble",
"scn",
"DecimalFormat df = new DecimalFormat(\"#.#####\");",
"df",
"new DecimalFormat(\"#.#####\")",
"System.out.println(\n df.format(Math.PI * Math.pow(r, 2)) + \" \" +\n df.format(Math.PI * r * 2)\n )",
"System.out.println",
"System.out",
"System",
"System.out",
"df.format(Math.PI * Math.pow(r, 2)) + \" \" +\n df.format(Math.PI * r * 2)",
"df.format(Math.PI * Math.pow(r, 2)) + \" \" +\n df.format(Math.PI * r * 2)",
"df.format(Math.PI * Math.pow(r, 2))",
"df.format",
"df",
"Math.PI * Math.pow(r, 2)",
"Math.PI",
"Math",
"Math.PI",
"Math.pow(r, 2)",
"Math.pow",
"Math",
"r",
"2",
"\" \"",
"df.format(Math.PI * r * 2)",
"df.format",
"df",
"Math.PI * r * 2",
"Math.PI * r * 2",
"Math.PI",
"Math",
"Math.PI",
"r",
"2",
"String[] args",
"args",
"public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n double r = scn.nextDouble();\n DecimalFormat df = new DecimalFormat(\"#.#####\");\n System.out.println(\n df.format(Math.PI * Math.pow(r, 2)) + \" \" +\n df.format(Math.PI * r * 2)\n );\n }\n}",
"public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n double r = scn.nextDouble();\n DecimalFormat df = new DecimalFormat(\"#.#####\");\n System.out.println(\n df.format(Math.PI * Math.pow(r, 2)) + \" \" +\n df.format(Math.PI * r * 2)\n );\n }\n}",
"Main"
] | import java.util.*;
import java.text.*;
public class Main {
private static final Scanner scn = new Scanner(System.in);
public static void main(String[] args) {
double r = scn.nextDouble();
DecimalFormat df = new DecimalFormat("#.#####");
System.out.println(
df.format(Math.PI * Math.pow(r, 2)) + " " +
df.format(Math.PI * r * 2)
);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
14,
2,
4,
18,
13,
17,
3,
41,
13,
4,
18,
13,
17,
41,
13,
18,
13,
13,
41,
13,
2,
4,
18,
13,
13,
17,
13,
41,
13,
2,
2,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
90,
8
],
[
90,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
26,
27
],
[
27,
28
],
[
20,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
20,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
34,
38
],
[
33,
39
],
[
11,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
11,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
11,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
54,
58
],
[
53,
59
],
[
11,
60
],
[
60,
61
],
[
60,
62
],
[
63,
63
],
[
63,
64
],
[
63,
65
],
[
63,
66
],
[
11,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
67,
73
],
[
11,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
11,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
80,
86
],
[
9,
87
],
[
87,
88
],
[
0,
89
],
[
89,
90
],
[
89,
91
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\n/**\n * Created 2017/06/01.\n */\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n ArrayList<Double> ary = new ArrayList<>();\n\n while (true) {\n double input = Double.parseDouble(sc.next());\n ary.add(input);\n if (ary.size() == 1) break;\n }\n \n double a = ary.get(0);\n double x = Math.PI;\n \n double s = Math.pow(a,2) * x;\n double m = a * 2 * x;\n\n System.out.printf(\"%f\",s);\n System.out.print(\" \");\n System.out.printf(\"%f\",m);\n }\n\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"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 ArrayList<Double> ary = new ArrayList<>();\n\n while (true) {\n double input = Double.parseDouble(sc.next());\n ary.add(input);\n if (ary.size() == 1) break;\n }\n \n double a = ary.get(0);\n double x = Math.PI;\n \n double s = Math.pow(a,2) * x;\n double m = a * 2 * x;\n\n System.out.printf(\"%f\",s);\n System.out.print(\" \");\n System.out.printf(\"%f\",m);\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n ArrayList<Double> ary = new ArrayList<>();\n\n while (true) {\n double input = Double.parseDouble(sc.next());\n ary.add(input);\n if (ary.size() == 1) break;\n }\n \n double a = ary.get(0);\n double x = Math.PI;\n \n double s = Math.pow(a,2) * x;\n double m = a * 2 * x;\n\n System.out.printf(\"%f\",s);\n System.out.print(\" \");\n System.out.printf(\"%f\",m);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n ArrayList<Double> ary = new ArrayList<>();\n\n while (true) {\n double input = Double.parseDouble(sc.next());\n ary.add(input);\n if (ary.size() == 1) break;\n }\n \n double a = ary.get(0);\n double x = Math.PI;\n \n double s = Math.pow(a,2) * x;\n double m = a * 2 * x;\n\n System.out.printf(\"%f\",s);\n System.out.print(\" \");\n System.out.printf(\"%f\",m);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<Double> ary = new ArrayList<>();",
"ary",
"new ArrayList<>()",
"while (true) {\n double input = Double.parseDouble(sc.next());\n ary.add(input);\n if (ary.size() == 1) break;\n }",
"true",
"{\n double input = Double.parseDouble(sc.next());\n ary.add(input);\n if (ary.size() == 1) break;\n }",
"double input = Double.parseDouble(sc.next());",
"input",
"Double.parseDouble(sc.next())",
"Double.parseDouble",
"Double",
"sc.next()",
"sc.next",
"sc",
"ary.add(input)",
"ary.add",
"ary",
"input",
"if (ary.size() == 1) break;",
"ary.size() == 1",
"ary.size()",
"ary.size",
"ary",
"1",
"break;",
"double a = ary.get(0);",
"a",
"ary.get(0)",
"ary.get",
"ary",
"0",
"double x = Math.PI;",
"x",
"Math.PI",
"Math",
"Math.PI",
"double s = Math.pow(a,2) * x;",
"s",
"Math.pow(a,2) * x",
"Math.pow(a,2)",
"Math.pow",
"Math",
"a",
"2",
"x",
"double m = a * 2 * x;",
"m",
"a * 2 * x",
"a * 2 * x",
"a",
"2",
"x",
"System.out.printf(\"%f\",s)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f\"",
"s",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.printf(\"%f\",m)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f\"",
"m",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n ArrayList<Double> ary = new ArrayList<>();\n\n while (true) {\n double input = Double.parseDouble(sc.next());\n ary.add(input);\n if (ary.size() == 1) break;\n }\n \n double a = ary.get(0);\n double x = Math.PI;\n \n double s = Math.pow(a,2) * x;\n double m = a * 2 * x;\n\n System.out.printf(\"%f\",s);\n System.out.print(\" \");\n System.out.printf(\"%f\",m);\n }\n\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n ArrayList<Double> ary = new ArrayList<>();\n\n while (true) {\n double input = Double.parseDouble(sc.next());\n ary.add(input);\n if (ary.size() == 1) break;\n }\n \n double a = ary.get(0);\n double x = Math.PI;\n \n double s = Math.pow(a,2) * x;\n double m = a * 2 * x;\n\n System.out.printf(\"%f\",s);\n System.out.print(\" \");\n System.out.printf(\"%f\",m);\n }\n\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Scanner;
/**
* Created 2017/06/01.
*/
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
ArrayList<Double> ary = new ArrayList<>();
while (true) {
double input = Double.parseDouble(sc.next());
ary.add(input);
if (ary.size() == 1) break;
}
double a = ary.get(0);
double x = Math.PI;
double s = Math.pow(a,2) * x;
double m = a * 2 * x;
System.out.printf("%f",s);
System.out.print(" ");
System.out.printf("%f",m);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
41,
13,
41,
13,
0,
13,
18,
13,
13,
0,
13,
2,
2,
17,
13,
13,
0,
13,
2,
2,
13,
13,
13,
4,
18,
18,
13,
13,
17,
13,
4,
18,
18,
13,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
62,
8
],
[
62,
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
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
34,
34
],
[
34,
35
],
[
34,
36
],
[
34,
37
],
[
11,
38
],
[
38,
39
],
[
38,
40
],
[
41,
41
],
[
41,
42
],
[
41,
43
],
[
41,
44
],
[
11,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
45,
51
],
[
11,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
52,
58
],
[
9,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
] | [
"import java.io.IOException;\nimport java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n double x,y,z;\n x=Math.PI;\n y=2*r*x;\n z=r*r*x;\n System.out.printf(\"%f \",z);\n System.out.printf(\"%f\\n\",y);\n\t}\n\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n double x,y,z;\n x=Math.PI;\n y=2*r*x;\n z=r*r*x;\n System.out.printf(\"%f \",z);\n System.out.printf(\"%f\\n\",y);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n double x,y,z;\n x=Math.PI;\n y=2*r*x;\n z=r*r*x;\n System.out.printf(\"%f \",z);\n System.out.printf(\"%f\\n\",y);\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n double x,y,z;\n x=Math.PI;\n y=2*r*x;\n z=r*r*x;\n System.out.printf(\"%f \",z);\n System.out.printf(\"%f\\n\",y);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double r = sc.nextDouble();",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"double x",
"x",
"y",
"y",
"z;",
"z",
"x=Math.PI",
"x",
"Math.PI",
"Math",
"Math.PI",
"y=2*r*x",
"y",
"2*r*x",
"2*r*x",
"2",
"r",
"x",
"z=r*r*x",
"z",
"r*r*x",
"r*r*x",
"r",
"r",
"x",
"System.out.printf(\"%f \",z)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f \"",
"z",
"System.out.printf(\"%f\\n\",y)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f\\n\"",
"y",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n double x,y,z;\n x=Math.PI;\n y=2*r*x;\n z=r*r*x;\n System.out.printf(\"%f \",z);\n System.out.printf(\"%f\\n\",y);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n Scanner sc = new Scanner(System.in);\n double r = sc.nextDouble();\n double x,y,z;\n x=Math.PI;\n y=2*r*x;\n z=r*r*x;\n System.out.printf(\"%f \",z);\n System.out.printf(\"%f\\n\",y);\n\t}\n\n}",
"Main"
] | import java.io.IOException;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner sc = new Scanner(System.in);
double r = sc.nextDouble();
double x,y,z;
x=Math.PI;
y=2*r*x;
z=r*r*x;
System.out.printf("%f ",z);
System.out.printf("%f\n",y);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
17,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
65,
11
],
[
65,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
15,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
25,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
25,
40
],
[
40,
41
],
[
40,
42
],
[
43,
43
],
[
43,
44
],
[
43,
45
],
[
43,
46
],
[
25,
47
],
[
47,
48
],
[
47,
49
],
[
50,
50
],
[
50,
51
],
[
50,
52
],
[
50,
53
],
[
25,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
54,
60
],
[
54,
61
],
[
12,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
] | [
"import java.io.*;\nimport java.lang.Integer;\nimport static java.lang.Math.*;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString in = br.readLine() ;\n\t\t\tdouble r = Double.parseDouble(in);\n\t\t\tdouble area = r*r*PI;\n\t\t\tdouble enshu = 2*r*PI;\n\t\t\tSystem.out.printf(\"%5.5f %5.5f\", area, enshu );\n\t\t} catch ( IOException e ) {\n\t\t\tSystem.out.println(\"??¨??????????????????????????????\");\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.lang.Integer;",
"Integer",
"java.lang",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString in = br.readLine() ;\n\t\t\tdouble r = Double.parseDouble(in);\n\t\t\tdouble area = r*r*PI;\n\t\t\tdouble enshu = 2*r*PI;\n\t\t\tSystem.out.printf(\"%5.5f %5.5f\", area, enshu );\n\t\t} catch ( IOException e ) {\n\t\t\tSystem.out.println(\"??¨??????????????????????????????\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString in = br.readLine() ;\n\t\t\tdouble r = Double.parseDouble(in);\n\t\t\tdouble area = r*r*PI;\n\t\t\tdouble enshu = 2*r*PI;\n\t\t\tSystem.out.printf(\"%5.5f %5.5f\", area, enshu );\n\t\t} catch ( IOException e ) {\n\t\t\tSystem.out.println(\"??¨??????????????????????????????\");\n\t\t}\n\t}",
"main",
"{\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString in = br.readLine() ;\n\t\t\tdouble r = Double.parseDouble(in);\n\t\t\tdouble area = r*r*PI;\n\t\t\tdouble enshu = 2*r*PI;\n\t\t\tSystem.out.printf(\"%5.5f %5.5f\", area, enshu );\n\t\t} catch ( IOException e ) {\n\t\t\tSystem.out.println(\"??¨??????????????????????????????\");\n\t\t}\n\t}",
"try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString in = br.readLine() ;\n\t\t\tdouble r = Double.parseDouble(in);\n\t\t\tdouble area = r*r*PI;\n\t\t\tdouble enshu = 2*r*PI;\n\t\t\tSystem.out.printf(\"%5.5f %5.5f\", area, enshu );\n\t\t} catch ( IOException e ) {\n\t\t\tSystem.out.println(\"??¨??????????????????????????????\");\n\t\t}",
"catch ( IOException e ) {\n\t\t\tSystem.out.println(\"??¨??????????????????????????????\");\n\t\t}",
"IOException e",
"{\n\t\t\tSystem.out.println(\"??¨??????????????????????????????\");\n\t\t}",
"System.out.println(\"??¨??????????????????????????????\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"??¨??????????????????????????????\"",
"{\n\t\t\tString in = br.readLine() ;\n\t\t\tdouble r = Double.parseDouble(in);\n\t\t\tdouble area = r*r*PI;\n\t\t\tdouble enshu = 2*r*PI;\n\t\t\tSystem.out.printf(\"%5.5f %5.5f\", area, enshu );\n\t\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"new BufferedReader(new InputStreamReader(System.in))",
"String in = br.readLine() ;",
"in",
"br.readLine()",
"br.readLine",
"br",
"double r = Double.parseDouble(in);",
"r",
"Double.parseDouble(in)",
"Double.parseDouble",
"Double",
"in",
"double area = r*r*PI;",
"area",
"r*r*PI",
"r*r*PI",
"r",
"r",
"PI",
"double enshu = 2*r*PI;",
"enshu",
"2*r*PI",
"2*r*PI",
"2",
"r",
"PI",
"System.out.printf(\"%5.5f %5.5f\", area, enshu )",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%5.5f %5.5f\"",
"area",
"enshu",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString in = br.readLine() ;\n\t\t\tdouble r = Double.parseDouble(in);\n\t\t\tdouble area = r*r*PI;\n\t\t\tdouble enshu = 2*r*PI;\n\t\t\tSystem.out.printf(\"%5.5f %5.5f\", area, enshu );\n\t\t} catch ( IOException e ) {\n\t\t\tSystem.out.println(\"??¨??????????????????????????????\");\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString in = br.readLine() ;\n\t\t\tdouble r = Double.parseDouble(in);\n\t\t\tdouble area = r*r*PI;\n\t\t\tdouble enshu = 2*r*PI;\n\t\t\tSystem.out.printf(\"%5.5f %5.5f\", area, enshu );\n\t\t} catch ( IOException e ) {\n\t\t\tSystem.out.println(\"??¨??????????????????????????????\");\n\t\t}\n\t}\n}",
"Main"
] | import java.io.*;
import java.lang.Integer;
import static java.lang.Math.*;
public class Main {
public static void main(String[] args) {
try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
String in = br.readLine() ;
double r = Double.parseDouble(in);
double area = r*r*PI;
double enshu = 2*r*PI;
System.out.printf("%5.5f %5.5f", area, enshu );
} catch ( IOException e ) {
System.out.println("??¨??????????????????????????????");
}
}
} |
[
7,
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,
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
] | [
[
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
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
15,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
29,
31
],
[
25,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
25,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
25,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
25,
48
],
[
48,
49
],
[
48,
50
],
[
51,
51
],
[
51,
52
],
[
51,
53
],
[
51,
54
],
[
25,
55
],
[
55,
56
],
[
55,
57
],
[
58,
58
],
[
58,
59
],
[
58,
60
],
[
58,
61
],
[
25,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
62,
68
],
[
62,
69
],
[
12,
70
],
[
70,
71
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n \nclass Main{\n public static void main(String[] args){\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n \t\tBufferedReader br = new BufferedReader(isr);\n \t\tString buf = br.readLine();\n \t\tdouble r = Double.parseDouble(buf);\n \n \t\tdouble pi = Math.PI;\n \tdouble S = r * r * pi;\n \tdouble R = 2 * r * pi;\n \n \tSystem.out.printf(\"%f %f\", S, R);\n \t}catch (IOException e){\n \t\tSystem.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",
"class Main{\n public static void main(String[] args){\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n \t\tBufferedReader br = new BufferedReader(isr);\n \t\tString buf = br.readLine();\n \t\tdouble r = Double.parseDouble(buf);\n \n \t\tdouble pi = Math.PI;\n \tdouble S = r * r * pi;\n \tdouble R = 2 * r * pi;\n \n \tSystem.out.printf(\"%f %f\", S, R);\n \t}catch (IOException e){\n \t\tSystem.err.println(e);\n }\n }\n}",
"Main",
"public static void main(String[] args){\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n \t\tBufferedReader br = new BufferedReader(isr);\n \t\tString buf = br.readLine();\n \t\tdouble r = Double.parseDouble(buf);\n \n \t\tdouble pi = Math.PI;\n \tdouble S = r * r * pi;\n \tdouble R = 2 * r * pi;\n \n \tSystem.out.printf(\"%f %f\", S, R);\n \t}catch (IOException e){\n \t\tSystem.err.println(e);\n }\n }",
"main",
"{\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n \t\tBufferedReader br = new BufferedReader(isr);\n \t\tString buf = br.readLine();\n \t\tdouble r = Double.parseDouble(buf);\n \n \t\tdouble pi = Math.PI;\n \tdouble S = r * r * pi;\n \tdouble R = 2 * r * pi;\n \n \tSystem.out.printf(\"%f %f\", S, R);\n \t}catch (IOException e){\n \t\tSystem.err.println(e);\n }\n }",
"try{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n \t\tBufferedReader br = new BufferedReader(isr);\n \t\tString buf = br.readLine();\n \t\tdouble r = Double.parseDouble(buf);\n \n \t\tdouble pi = Math.PI;\n \tdouble S = r * r * pi;\n \tdouble R = 2 * r * pi;\n \n \tSystem.out.printf(\"%f %f\", S, R);\n \t}catch (IOException e){\n \t\tSystem.err.println(e);\n }",
"catch (IOException e){\n \t\tSystem.err.println(e);\n }",
"IOException e",
"{\n \t\tSystem.err.println(e);\n }",
"System.err.println(e)",
"System.err.println",
"System.err",
"System",
"System.err",
"e",
"{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n \t\tBufferedReader br = new BufferedReader(isr);\n \t\tString buf = br.readLine();\n \t\tdouble r = Double.parseDouble(buf);\n \n \t\tdouble pi = Math.PI;\n \tdouble S = r * r * pi;\n \tdouble R = 2 * r * pi;\n \n \tSystem.out.printf(\"%f %f\", S, R);\n \t}",
"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",
"double r = Double.parseDouble(buf);",
"r",
"Double.parseDouble(buf)",
"Double.parseDouble",
"Double",
"buf",
"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(\"%f %f\", S, R)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f %f\"",
"S",
"R",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main{
public static void main(String[] args){
try{
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
String buf = br.readLine();
double r = Double.parseDouble(buf);
double pi = Math.PI;
double S = r * r * pi;
double R = 2 * r * pi;
System.out.printf("%f %f", S, R);
}catch (IOException e){
System.err.println(e);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
18,
13,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
13,
13,
41,
13,
4,
18,
4,
18,
13,
20,
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
],
[
55,
8
],
[
55,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
19,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
11,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
26,
32
],
[
11,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
35,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
48,
48
],
[
48,
49
],
[
48,
50
],
[
48,
51
],
[
9,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] | [
"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\tBigDecimal r = new BigDecimal(scan.nextDouble());\n\t\tscan.close();\n\t\tBigDecimal pi = new BigDecimal(Math.PI);\n\t\tBigDecimal area = r.multiply(r).multiply(pi);\n\t\tBigDecimal length = r.multiply(new BigDecimal(2)).multiply(pi);\n\t\tSystem.out.println(area + \" \" + length);\n\t}\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\tBigDecimal r = new BigDecimal(scan.nextDouble());\n\t\tscan.close();\n\t\tBigDecimal pi = new BigDecimal(Math.PI);\n\t\tBigDecimal area = r.multiply(r).multiply(pi);\n\t\tBigDecimal length = r.multiply(new BigDecimal(2)).multiply(pi);\n\t\tSystem.out.println(area + \" \" + length);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tBigDecimal r = new BigDecimal(scan.nextDouble());\n\t\tscan.close();\n\t\tBigDecimal pi = new BigDecimal(Math.PI);\n\t\tBigDecimal area = r.multiply(r).multiply(pi);\n\t\tBigDecimal length = r.multiply(new BigDecimal(2)).multiply(pi);\n\t\tSystem.out.println(area + \" \" + length);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tBigDecimal r = new BigDecimal(scan.nextDouble());\n\t\tscan.close();\n\t\tBigDecimal pi = new BigDecimal(Math.PI);\n\t\tBigDecimal area = r.multiply(r).multiply(pi);\n\t\tBigDecimal length = r.multiply(new BigDecimal(2)).multiply(pi);\n\t\tSystem.out.println(area + \" \" + length);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"BigDecimal r = new BigDecimal(scan.nextDouble());",
"r",
"new BigDecimal(scan.nextDouble())",
"scan.close()",
"scan.close",
"scan",
"BigDecimal pi = new BigDecimal(Math.PI);",
"pi",
"new BigDecimal(Math.PI)",
"BigDecimal area = r.multiply(r).multiply(pi);",
"area",
"r.multiply(r).multiply(pi)",
"r.multiply(r).multiply",
"r.multiply(r)",
"r.multiply",
"r",
"r",
"pi",
"BigDecimal length = r.multiply(new BigDecimal(2)).multiply(pi);",
"length",
"r.multiply(new BigDecimal(2)).multiply(pi)",
"r.multiply(new BigDecimal(2)).multiply",
"r.multiply(new BigDecimal(2))",
"r.multiply",
"r",
"new BigDecimal(2)",
"pi",
"System.out.println(area + \" \" + length)",
"System.out.println",
"System.out",
"System",
"System.out",
"area + \" \" + length",
"area + \" \" + length",
"area",
"\" \"",
"length",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tBigDecimal r = new BigDecimal(scan.nextDouble());\n\t\tscan.close();\n\t\tBigDecimal pi = new BigDecimal(Math.PI);\n\t\tBigDecimal area = r.multiply(r).multiply(pi);\n\t\tBigDecimal length = r.multiply(new BigDecimal(2)).multiply(pi);\n\t\tSystem.out.println(area + \" \" + length);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tBigDecimal r = new BigDecimal(scan.nextDouble());\n\t\tscan.close();\n\t\tBigDecimal pi = new BigDecimal(Math.PI);\n\t\tBigDecimal area = r.multiply(r).multiply(pi);\n\t\tBigDecimal length = r.multiply(new BigDecimal(2)).multiply(pi);\n\t\tSystem.out.println(area + \" \" + length);\n\t}\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);
BigDecimal r = new BigDecimal(scan.nextDouble());
scan.close();
BigDecimal pi = new BigDecimal(Math.PI);
BigDecimal area = r.multiply(r).multiply(pi);
BigDecimal length = r.multiply(new BigDecimal(2)).multiply(pi);
System.out.println(area + " " + length);
}
} |
[
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,
17,
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
],
[
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
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
36,
40
],
[
8,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
43,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
54,
54
],
[
54,
55
],
[
54,
56
],
[
54,
57
],
[
6,
58
],
[
58,
59
]
] | [
"import java.util.Scanner;\nclass Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tdouble radius = scanner.nextDouble();\n\t\tdouble pi = 3.141592653589;\n\t\tdouble are = radius*radius*pi;\n\t\tdouble cir = 2*radius*pi;\n\t\tString area = String.format(\"%.8f\", are);\n\t\tString circ = String.format(\"%.8f\", cir);\n\t\t\n\t\tSystem.out.println(area+\" \"+circ);\n\t}\t\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tdouble radius = scanner.nextDouble();\n\t\tdouble pi = 3.141592653589;\n\t\tdouble are = radius*radius*pi;\n\t\tdouble cir = 2*radius*pi;\n\t\tString area = String.format(\"%.8f\", are);\n\t\tString circ = String.format(\"%.8f\", cir);\n\t\t\n\t\tSystem.out.println(area+\" \"+circ);\n\t}\t\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tdouble radius = scanner.nextDouble();\n\t\tdouble pi = 3.141592653589;\n\t\tdouble are = radius*radius*pi;\n\t\tdouble cir = 2*radius*pi;\n\t\tString area = String.format(\"%.8f\", are);\n\t\tString circ = String.format(\"%.8f\", cir);\n\t\t\n\t\tSystem.out.println(area+\" \"+circ);\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tdouble radius = scanner.nextDouble();\n\t\tdouble pi = 3.141592653589;\n\t\tdouble are = radius*radius*pi;\n\t\tdouble cir = 2*radius*pi;\n\t\tString area = String.format(\"%.8f\", are);\n\t\tString circ = String.format(\"%.8f\", cir);\n\t\t\n\t\tSystem.out.println(area+\" \"+circ);\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"double radius = scanner.nextDouble();",
"radius",
"scanner.nextDouble()",
"scanner.nextDouble",
"scanner",
"double pi = 3.141592653589;",
"pi",
"3.141592653589",
"double are = radius*radius*pi;",
"are",
"radius*radius*pi",
"radius*radius*pi",
"radius",
"radius",
"pi",
"double cir = 2*radius*pi;",
"cir",
"2*radius*pi",
"2*radius*pi",
"2",
"radius",
"pi",
"String area = String.format(\"%.8f\", are);",
"area",
"String.format(\"%.8f\", are)",
"String.format",
"String",
"\"%.8f\"",
"are",
"String circ = String.format(\"%.8f\", cir);",
"circ",
"String.format(\"%.8f\", cir)",
"String.format",
"String",
"\"%.8f\"",
"cir",
"System.out.println(area+\" \"+circ)",
"System.out.println",
"System.out",
"System",
"System.out",
"area+\" \"+circ",
"area+\" \"+circ",
"area",
"\" \"",
"circ",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
double radius = scanner.nextDouble();
double pi = 3.141592653589;
double are = radius*radius*pi;
double cir = 2*radius*pi;
String area = String.format("%.8f", are);
String circ = String.format("%.8f", cir);
System.out.println(area+" "+circ);
}
} |
[
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,
4,
18,
13,
17,
2,
2,
18,
13,
13,
13,
13,
2,
2,
17,
18,
13,
13,
13,
4,
18,
13,
4,
18,
13,
12,
13,
30,
4,
18,
20,
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
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
26,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
31,
36
],
[
26,
37
],
[
38,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
14,
44
],
[
44,
45
],
[
45,
46
],
[
14,
47
],
[
47,
48
],
[
48,
49
],
[
59,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
50,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
] | [
"import java.io.IOException;\nimport java.io.PrintWriter;\nimport java.util.Scanner;\n\n\npublic class Main {\n\tpublic void exec() throws IOException {\n\t\tScanner input = new Scanner(System.in);\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tdouble r = input.nextDouble();\n\t\tout.printf(\"%.6f %.6f\", Math.PI*r*r, 2*Math.PI*r);\n\t\tout.flush();\n\t\tinput.close();\n\t}\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tnew Main().exec();\n\t}\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic void exec() throws IOException {\n\t\tScanner input = new Scanner(System.in);\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tdouble r = input.nextDouble();\n\t\tout.printf(\"%.6f %.6f\", Math.PI*r*r, 2*Math.PI*r);\n\t\tout.flush();\n\t\tinput.close();\n\t}\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tnew Main().exec();\n\t}\n}",
"Main",
"public void exec() throws IOException {\n\t\tScanner input = new Scanner(System.in);\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tdouble r = input.nextDouble();\n\t\tout.printf(\"%.6f %.6f\", Math.PI*r*r, 2*Math.PI*r);\n\t\tout.flush();\n\t\tinput.close();\n\t}",
"exec",
"{\n\t\tScanner input = new Scanner(System.in);\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tdouble r = input.nextDouble();\n\t\tout.printf(\"%.6f %.6f\", Math.PI*r*r, 2*Math.PI*r);\n\t\tout.flush();\n\t\tinput.close();\n\t}",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"double r = input.nextDouble();",
"r",
"input.nextDouble()",
"input.nextDouble",
"input",
"out.printf(\"%.6f %.6f\", Math.PI*r*r, 2*Math.PI*r)",
"out.printf",
"out",
"\"%.6f %.6f\"",
"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",
"out.flush()",
"out.flush",
"out",
"input.close()",
"input.close",
"input",
"public static void main(String[] args) throws IOException {\n\t\tnew Main().exec();\n\t}",
"main",
"{\n\t\tnew Main().exec();\n\t}",
"new Main().exec()",
"new Main().exec",
"new Main()",
"String[] args",
"args",
"public class Main {\n\tpublic void exec() throws IOException {\n\t\tScanner input = new Scanner(System.in);\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tdouble r = input.nextDouble();\n\t\tout.printf(\"%.6f %.6f\", Math.PI*r*r, 2*Math.PI*r);\n\t\tout.flush();\n\t\tinput.close();\n\t}\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tnew Main().exec();\n\t}\n}",
"public class Main {\n\tpublic void exec() throws IOException {\n\t\tScanner input = new Scanner(System.in);\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tdouble r = input.nextDouble();\n\t\tout.printf(\"%.6f %.6f\", Math.PI*r*r, 2*Math.PI*r);\n\t\tout.flush();\n\t\tinput.close();\n\t}\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tnew Main().exec();\n\t}\n}",
"Main"
] | import java.io.IOException;
import java.io.PrintWriter;
import java.util.Scanner;
public class Main {
public void exec() throws IOException {
Scanner input = new Scanner(System.in);
PrintWriter out = new PrintWriter(System.out);
double r = input.nextDouble();
out.printf("%.6f %.6f", Math.PI*r*r, 2*Math.PI*r);
out.flush();
input.close();
}
public static void main(String[] args) throws IOException {
new Main().exec();
}
} |
[
7,
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
],
[
49,
5
],
[
49,
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
],
[
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 r = Double.parseDouble(scanner.next());\n\n double area = r * r * Math.PI;\n double perimeter = 2.0 * r * Math.PI;\n\n System.out.printf(\"%6.6f %6.6f\", area, perimeter);\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 r = Double.parseDouble(scanner.next());\n\n double area = r * r * Math.PI;\n double perimeter = 2.0 * r * Math.PI;\n\n System.out.printf(\"%6.6f %6.6f\", area, perimeter);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n double r = Double.parseDouble(scanner.next());\n\n double area = r * r * Math.PI;\n double perimeter = 2.0 * r * Math.PI;\n\n System.out.printf(\"%6.6f %6.6f\", area, perimeter);\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n double r = Double.parseDouble(scanner.next());\n\n double area = r * r * Math.PI;\n double perimeter = 2.0 * r * Math.PI;\n\n System.out.printf(\"%6.6f %6.6f\", area, perimeter);\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"double r = Double.parseDouble(scanner.next());",
"r",
"Double.parseDouble(scanner.next())",
"Double.parseDouble",
"Double",
"scanner.next()",
"scanner.next",
"scanner",
"double area = r * r * Math.PI;",
"area",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"double perimeter = 2.0 * r * Math.PI;",
"perimeter",
"2.0 * r * Math.PI",
"2.0 * r * Math.PI",
"2.0",
"r",
"Math.PI",
"Math",
"Math.PI",
"System.out.printf(\"%6.6f %6.6f\", area, perimeter)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%6.6f %6.6f\"",
"area",
"perimeter",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n double r = Double.parseDouble(scanner.next());\n\n double area = r * r * Math.PI;\n double perimeter = 2.0 * r * Math.PI;\n\n System.out.printf(\"%6.6f %6.6f\", area, perimeter);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n double r = Double.parseDouble(scanner.next());\n\n double area = r * r * Math.PI;\n double perimeter = 2.0 * r * Math.PI;\n\n System.out.printf(\"%6.6f %6.6f\", area, perimeter);\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
double r = Double.parseDouble(scanner.next());
double area = r * r * Math.PI;
double perimeter = 2.0 * r * Math.PI;
System.out.printf("%6.6f %6.6f", area, perimeter);
}
} |
[
7,
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,
13,
17,
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
],
[
59,
5
],
[
59,
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
],
[
23,
23
],
[
23,
24
],
[
23,
25
],
[
23,
26
],
[
26,
27
],
[
26,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
45,
49
],
[
44,
50
],
[
44,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
51,
55
],
[
6,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double num = Double.parseDouble(sc.nextLine());\n\n double ans1 = num * num * Math.PI;\n double ans2 = (num * 2) * Math.PI;\n\n System.out.println(String.format(\"%.5f\", ans1) + \" \" + String.format(\"%.5f\", ans2));\n\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 num = Double.parseDouble(sc.nextLine());\n\n double ans1 = num * num * Math.PI;\n double ans2 = (num * 2) * Math.PI;\n\n System.out.println(String.format(\"%.5f\", ans1) + \" \" + String.format(\"%.5f\", ans2));\n\n\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double num = Double.parseDouble(sc.nextLine());\n\n double ans1 = num * num * Math.PI;\n double ans2 = (num * 2) * Math.PI;\n\n System.out.println(String.format(\"%.5f\", ans1) + \" \" + String.format(\"%.5f\", ans2));\n\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n double num = Double.parseDouble(sc.nextLine());\n\n double ans1 = num * num * Math.PI;\n double ans2 = (num * 2) * Math.PI;\n\n System.out.println(String.format(\"%.5f\", ans1) + \" \" + String.format(\"%.5f\", ans2));\n\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double num = Double.parseDouble(sc.nextLine());",
"num",
"Double.parseDouble(sc.nextLine())",
"Double.parseDouble",
"Double",
"sc.nextLine()",
"sc.nextLine",
"sc",
"double ans1 = num * num * Math.PI;",
"ans1",
"num * num * Math.PI",
"num * num * Math.PI",
"num",
"num",
"Math.PI",
"Math",
"Math.PI",
"double ans2 = (num * 2) * Math.PI;",
"ans2",
"(num * 2) * Math.PI",
"(num * 2)",
"num",
"2",
"Math.PI",
"Math",
"Math.PI",
"System.out.println(String.format(\"%.5f\", ans1) + \" \" + String.format(\"%.5f\", ans2))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%.5f\", ans1) + \" \" + String.format(\"%.5f\", ans2)",
"String.format(\"%.5f\", ans1) + \" \" + String.format(\"%.5f\", ans2)",
"String.format(\"%.5f\", ans1)",
"String.format",
"String",
"\"%.5f\"",
"ans1",
"\" \"",
"String.format(\"%.5f\", ans2)",
"String.format",
"String",
"\"%.5f\"",
"ans2",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double num = Double.parseDouble(sc.nextLine());\n\n double ans1 = num * num * Math.PI;\n double ans2 = (num * 2) * Math.PI;\n\n System.out.println(String.format(\"%.5f\", ans1) + \" \" + String.format(\"%.5f\", ans2));\n\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double num = Double.parseDouble(sc.nextLine());\n\n double ans1 = num * num * Math.PI;\n double ans2 = (num * 2) * Math.PI;\n\n System.out.println(String.format(\"%.5f\", ans1) + \" \" + String.format(\"%.5f\", ans2));\n\n\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double num = Double.parseDouble(sc.nextLine());
double ans1 = num * num * Math.PI;
double ans2 = (num * 2) * Math.PI;
System.out.println(String.format("%.5f", ans1) + " " + String.format("%.5f", ans2));
}
} |
[
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,
4,
18,
13,
17,
13,
41,
13,
2,
2,
13,
17,
18,
13,
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
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
28,
32
],
[
8,
33
],
[
33,
34
],
[
33,
35
],
[
36,
36
],
[
36,
37
],
[
36,
38
],
[
36,
39
],
[
39,
40
],
[
39,
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.*;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tdouble r = s.nextDouble();\n\t\tdouble a = r*r*Math.PI;\n\t\tString c = String.format(\"%.6f\",a);\n\t\tdouble b = r*2*Math.PI;\n\t\tString d = String.format(\"%.6f\",b);\n\t\t\n\t\tSystem.out.println(c+\" \"+d);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tdouble r = s.nextDouble();\n\t\tdouble a = r*r*Math.PI;\n\t\tString c = String.format(\"%.6f\",a);\n\t\tdouble b = r*2*Math.PI;\n\t\tString d = String.format(\"%.6f\",b);\n\t\t\n\t\tSystem.out.println(c+\" \"+d);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tdouble r = s.nextDouble();\n\t\tdouble a = r*r*Math.PI;\n\t\tString c = String.format(\"%.6f\",a);\n\t\tdouble b = r*2*Math.PI;\n\t\tString d = String.format(\"%.6f\",b);\n\t\t\n\t\tSystem.out.println(c+\" \"+d);\n\t}",
"main",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\tdouble r = s.nextDouble();\n\t\tdouble a = r*r*Math.PI;\n\t\tString c = String.format(\"%.6f\",a);\n\t\tdouble b = r*2*Math.PI;\n\t\tString d = String.format(\"%.6f\",b);\n\t\t\n\t\tSystem.out.println(c+\" \"+d);\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"double r = s.nextDouble();",
"r",
"s.nextDouble()",
"s.nextDouble",
"s",
"double a = r*r*Math.PI;",
"a",
"r*r*Math.PI",
"r*r*Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"String c = String.format(\"%.6f\",a);",
"c",
"String.format(\"%.6f\",a)",
"String.format",
"String",
"\"%.6f\"",
"a",
"double b = r*2*Math.PI;",
"b",
"r*2*Math.PI",
"r*2*Math.PI",
"r",
"2",
"Math.PI",
"Math",
"Math.PI",
"String d = String.format(\"%.6f\",b);",
"d",
"String.format(\"%.6f\",b)",
"String.format",
"String",
"\"%.6f\"",
"b",
"System.out.println(c+\" \"+d)",
"System.out.println",
"System.out",
"System",
"System.out",
"c+\" \"+d",
"c+\" \"+d",
"c",
"\" \"",
"d",
"String[] args",
"args"
] | import java.util.*;
class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
double r = s.nextDouble();
double a = r*r*Math.PI;
String c = String.format("%.6f",a);
double b = r*2*Math.PI;
String d = String.format("%.6f",b);
System.out.println(c+" "+d);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
20,
0,
13,
4,
18,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
2,
2,
13,
13,
18,
13,
13,
0,
13,
2,
2,
13,
13,
18,
13,
13,
0,
13,
4,
18,
13,
17,
13,
0,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
91,
11
],
[
91,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
14,
19
],
[
19,
20
],
[
14,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
14,
27
],
[
27,
28
],
[
27,
29
],
[
14,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
32,
37
],
[
14,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
14,
46
],
[
46,
47
],
[
46,
48
],
[
49,
49
],
[
49,
50
],
[
49,
51
],
[
49,
52
],
[
52,
53
],
[
52,
54
],
[
14,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
14,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
66,
70
],
[
14,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
73,
77
],
[
14,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
84,
84
],
[
84,
85
],
[
84,
86
],
[
84,
87
],
[
12,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
] | [
"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\tString str[];\n double r;\n double area,circumference;\n String a,c;\n\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n str = br.readLine().split(\" \");\n r = Double.parseDouble(str[0]);\n\n area = r * r * Math.PI;\n circumference = (r + r) * Math.PI;\n a = String.format(\"%.6f\", area);\n c = String.format(\"%.6f\", circumference);\n System.out.println(a + \" \" + c);\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\tString str[];\n double r;\n double area,circumference;\n String a,c;\n\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n str = br.readLine().split(\" \");\n r = Double.parseDouble(str[0]);\n\n area = r * r * Math.PI;\n circumference = (r + r) * Math.PI;\n a = String.format(\"%.6f\", area);\n c = String.format(\"%.6f\", circumference);\n System.out.println(a + \" \" + c);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tString str[];\n double r;\n double area,circumference;\n String a,c;\n\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n str = br.readLine().split(\" \");\n r = Double.parseDouble(str[0]);\n\n area = r * r * Math.PI;\n circumference = (r + r) * Math.PI;\n a = String.format(\"%.6f\", area);\n c = String.format(\"%.6f\", circumference);\n System.out.println(a + \" \" + c);\n\t}",
"main",
"{\n\t\tString str[];\n double r;\n double area,circumference;\n String a,c;\n\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n str = br.readLine().split(\" \");\n r = Double.parseDouble(str[0]);\n\n area = r * r * Math.PI;\n circumference = (r + r) * Math.PI;\n a = String.format(\"%.6f\", area);\n c = String.format(\"%.6f\", circumference);\n System.out.println(a + \" \" + c);\n\t}",
"String str[];",
"str",
"double r;",
"r",
"double area",
"area",
"circumference;",
"circumference",
"String a",
"a",
"c;",
"c",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"str = br.readLine().split(\" \")",
"str",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"r = Double.parseDouble(str[0])",
"r",
"Double.parseDouble(str[0])",
"Double.parseDouble",
"Double",
"str[0]",
"str",
"0",
"area = r * r * Math.PI",
"area",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"circumference = (r + r) * Math.PI",
"circumference",
"(r + r) * Math.PI",
"(r + r)",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"a = String.format(\"%.6f\", area)",
"a",
"String.format(\"%.6f\", area)",
"String.format",
"String",
"\"%.6f\"",
"area",
"c = String.format(\"%.6f\", circumference)",
"c",
"String.format(\"%.6f\", circumference)",
"String.format",
"String",
"\"%.6f\"",
"circumference",
"System.out.println(a + \" \" + c)",
"System.out.println",
"System.out",
"System",
"System.out",
"a + \" \" + c",
"a + \" \" + c",
"a",
"\" \"",
"c",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tString str[];\n double r;\n double area,circumference;\n String a,c;\n\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n str = br.readLine().split(\" \");\n r = Double.parseDouble(str[0]);\n\n area = r * r * Math.PI;\n circumference = (r + r) * Math.PI;\n a = String.format(\"%.6f\", area);\n c = String.format(\"%.6f\", circumference);\n System.out.println(a + \" \" + c);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tString str[];\n double r;\n double area,circumference;\n String a,c;\n\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n str = br.readLine().split(\" \");\n r = Double.parseDouble(str[0]);\n\n area = r * r * Math.PI;\n circumference = (r + r) * Math.PI;\n a = String.format(\"%.6f\", area);\n c = String.format(\"%.6f\", circumference);\n System.out.println(a + \" \" + c);\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{
String str[];
double r;
double area,circumference;
String a,c;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
str = br.readLine().split(" ");
r = Double.parseDouble(str[0]);
area = r * r * Math.PI;
circumference = (r + r) * Math.PI;
a = String.format("%.6f", area);
c = String.format("%.6f", circumference);
System.out.println(a + " " + c);
}
} |
[
7,
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,
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
],
[
43,
8
],
[
43,
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
],
[
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
],
[
9,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
] | [
"import java.util.Scanner;\nimport java.lang.Math;\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(\"%.5f %.5f\\n\",r*r*Math.PI,2*r*Math.PI);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.lang.Math;",
"Math",
"java.lang",
"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(\"%.5f %.5f\\n\",r*r*Math.PI,2*r*Math.PI);\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(\"%.5f %.5f\\n\",r*r*Math.PI,2*r*Math.PI);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n double r=sc.nextDouble();\n System.out.printf(\"%.5f %.5f\\n\",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",
"System.out.printf(\"%.5f %.5f\\n\",r*r*Math.PI,2*r*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",
"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){\n Scanner sc = new Scanner(System.in);\n double r=sc.nextDouble();\n System.out.printf(\"%.5f %.5f\\n\",r*r*Math.PI,2*r*Math.PI);\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(\"%.5f %.5f\\n\",r*r*Math.PI,2*r*Math.PI);\n }\n}",
"Main"
] | import java.util.Scanner;
import java.lang.Math;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
double r=sc.nextDouble();
System.out.printf("%.5f %.5f\n",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,
17,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
41,
13,
17,
41,
13,
2,
2,
13,
17,
18,
13,
17,
41,
13,
2,
2,
18,
13,
17,
18,
13,
17,
13,
41,
13,
20,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
41,
13,
4,
18,
13,
13,
41,
13,
4,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
108,
11
],
[
108,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
14,
45
],
[
45,
46
],
[
45,
47
],
[
14,
48
],
[
48,
49
],
[
48,
50
],
[
51,
51
],
[
51,
52
],
[
51,
53
],
[
51,
54
],
[
54,
55
],
[
54,
56
],
[
14,
57
],
[
57,
58
],
[
57,
59
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
60,
67
],
[
14,
68
],
[
68,
69
],
[
68,
70
],
[
14,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
14,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
14,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
14,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
14,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
14,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
101,
101
],
[
101,
102
],
[
101,
103
],
[
101,
104
],
[
12,
105
],
[
105,
106
],
[
0,
107
],
[
107,
108
],
[
107,
109
]
] | [
"import java.text.*;\nimport java.math.*;\nimport java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint kaisu = 1;\n\t\tdouble[] num = new double[kaisu];\n\n\t\tfor(int i = 0; i < kaisu; i++) {\n\t\t\tnum[i] = scan.nextDouble();\n\t\t}\n\t\tdouble pai = 3.14159265358979;\n\t\tdouble ensyu = pai * 2 * num[0];\n\t\tdouble menseki = num[0] * num[0] * pai;\n\n\t\tDecimalFormat df = new DecimalFormat();\n\t\tdf.applyPattern(\"0\");\n\t\tdf.setMaximumFractionDigits(6);\n\t\tdf.setMinimumFractionDigits(6);\n\n\t\tString e = df.format(ensyu);\n\t\tString m = df.format(menseki);\n\t\tSystem.out.println(m + \" \" + e);\n\t}\n}",
"import java.text.*;",
"text.*",
"java",
"import java.math.*;",
"math.*",
"java",
"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\tint kaisu = 1;\n\t\tdouble[] num = new double[kaisu];\n\n\t\tfor(int i = 0; i < kaisu; i++) {\n\t\t\tnum[i] = scan.nextDouble();\n\t\t}\n\t\tdouble pai = 3.14159265358979;\n\t\tdouble ensyu = pai * 2 * num[0];\n\t\tdouble menseki = num[0] * num[0] * pai;\n\n\t\tDecimalFormat df = new DecimalFormat();\n\t\tdf.applyPattern(\"0\");\n\t\tdf.setMaximumFractionDigits(6);\n\t\tdf.setMinimumFractionDigits(6);\n\n\t\tString e = df.format(ensyu);\n\t\tString m = df.format(menseki);\n\t\tSystem.out.println(m + \" \" + e);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint kaisu = 1;\n\t\tdouble[] num = new double[kaisu];\n\n\t\tfor(int i = 0; i < kaisu; i++) {\n\t\t\tnum[i] = scan.nextDouble();\n\t\t}\n\t\tdouble pai = 3.14159265358979;\n\t\tdouble ensyu = pai * 2 * num[0];\n\t\tdouble menseki = num[0] * num[0] * pai;\n\n\t\tDecimalFormat df = new DecimalFormat();\n\t\tdf.applyPattern(\"0\");\n\t\tdf.setMaximumFractionDigits(6);\n\t\tdf.setMinimumFractionDigits(6);\n\n\t\tString e = df.format(ensyu);\n\t\tString m = df.format(menseki);\n\t\tSystem.out.println(m + \" \" + e);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint kaisu = 1;\n\t\tdouble[] num = new double[kaisu];\n\n\t\tfor(int i = 0; i < kaisu; i++) {\n\t\t\tnum[i] = scan.nextDouble();\n\t\t}\n\t\tdouble pai = 3.14159265358979;\n\t\tdouble ensyu = pai * 2 * num[0];\n\t\tdouble menseki = num[0] * num[0] * pai;\n\n\t\tDecimalFormat df = new DecimalFormat();\n\t\tdf.applyPattern(\"0\");\n\t\tdf.setMaximumFractionDigits(6);\n\t\tdf.setMinimumFractionDigits(6);\n\n\t\tString e = df.format(ensyu);\n\t\tString m = df.format(menseki);\n\t\tSystem.out.println(m + \" \" + e);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int kaisu = 1;",
"kaisu",
"1",
"double[] num = new double[kaisu];",
"num",
"new double[kaisu]",
"kaisu",
"for(int i = 0; i < kaisu; i++) {\n\t\t\tnum[i] = scan.nextDouble();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < kaisu",
"i",
"kaisu",
"i++",
"i++",
"i",
"{\n\t\t\tnum[i] = scan.nextDouble();\n\t\t}",
"{\n\t\t\tnum[i] = scan.nextDouble();\n\t\t}",
"num[i] = scan.nextDouble()",
"num[i]",
"num",
"i",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"double pai = 3.14159265358979;",
"pai",
"3.14159265358979",
"double ensyu = pai * 2 * num[0];",
"ensyu",
"pai * 2 * num[0]",
"pai * 2 * num[0]",
"pai",
"2",
"num[0]",
"num",
"0",
"double menseki = num[0] * num[0] * pai;",
"menseki",
"num[0] * num[0] * pai",
"num[0] * num[0] * pai",
"num[0]",
"num",
"0",
"num[0]",
"num",
"0",
"pai",
"DecimalFormat df = new DecimalFormat();",
"df",
"new DecimalFormat()",
"df.applyPattern(\"0\")",
"df.applyPattern",
"df",
"\"0\"",
"df.setMaximumFractionDigits(6)",
"df.setMaximumFractionDigits",
"df",
"6",
"df.setMinimumFractionDigits(6)",
"df.setMinimumFractionDigits",
"df",
"6",
"String e = df.format(ensyu);",
"e",
"df.format(ensyu)",
"df.format",
"df",
"ensyu",
"String m = df.format(menseki);",
"m",
"df.format(menseki)",
"df.format",
"df",
"menseki",
"System.out.println(m + \" \" + e)",
"System.out.println",
"System.out",
"System",
"System.out",
"m + \" \" + e",
"m + \" \" + e",
"m",
"\" \"",
"e",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint kaisu = 1;\n\t\tdouble[] num = new double[kaisu];\n\n\t\tfor(int i = 0; i < kaisu; i++) {\n\t\t\tnum[i] = scan.nextDouble();\n\t\t}\n\t\tdouble pai = 3.14159265358979;\n\t\tdouble ensyu = pai * 2 * num[0];\n\t\tdouble menseki = num[0] * num[0] * pai;\n\n\t\tDecimalFormat df = new DecimalFormat();\n\t\tdf.applyPattern(\"0\");\n\t\tdf.setMaximumFractionDigits(6);\n\t\tdf.setMinimumFractionDigits(6);\n\n\t\tString e = df.format(ensyu);\n\t\tString m = df.format(menseki);\n\t\tSystem.out.println(m + \" \" + e);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint kaisu = 1;\n\t\tdouble[] num = new double[kaisu];\n\n\t\tfor(int i = 0; i < kaisu; i++) {\n\t\t\tnum[i] = scan.nextDouble();\n\t\t}\n\t\tdouble pai = 3.14159265358979;\n\t\tdouble ensyu = pai * 2 * num[0];\n\t\tdouble menseki = num[0] * num[0] * pai;\n\n\t\tDecimalFormat df = new DecimalFormat();\n\t\tdf.applyPattern(\"0\");\n\t\tdf.setMaximumFractionDigits(6);\n\t\tdf.setMinimumFractionDigits(6);\n\n\t\tString e = df.format(ensyu);\n\t\tString m = df.format(menseki);\n\t\tSystem.out.println(m + \" \" + e);\n\t}\n}",
"Main"
] | import java.text.*;
import java.math.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int kaisu = 1;
double[] num = new double[kaisu];
for(int i = 0; i < kaisu; i++) {
num[i] = scan.nextDouble();
}
double pai = 3.14159265358979;
double ensyu = pai * 2 * num[0];
double menseki = num[0] * num[0] * pai;
DecimalFormat df = new DecimalFormat();
df.applyPattern("0");
df.setMaximumFractionDigits(6);
df.setMinimumFractionDigits(6);
String e = df.format(ensyu);
String m = df.format(menseki);
System.out.println(m + " " + e);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
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,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
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
],
[
15,
16
],
[
15,
17
],
[
13,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
27,
31
],
[
32,
32
],
[
32,
33
],
[
32,
34
],
[
32,
35
],
[
35,
36
],
[
35,
37
],
[
20,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
40,
44
],
[
45,
45
],
[
45,
46
],
[
45,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
20,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
57,
57
],
[
57,
58
],
[
57,
59
],
[
57,
60
],
[
18,
61
],
[
61,
62
],
[
13,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
70,
71
],
[
71,
72
],
[
13,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
]
] | [
"import java.io.*;\nimport java.util.Scanner;\nimport java.util.Arrays;\nimport java.lang.Math;\n\nclass Main {\n static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) throws IOException {\n double r = ReadDouble();\n String res1 = String.format(\"%.8f\", r * r * Math.PI);\n String res2 = String.format(\"%.8f\", 2 * r * Math.PI);\n System.out.println(res1 + \" \" + res2);\n }\n static int ReadInt() throws IOException {\n return Integer.parseInt(sc.next());\n }\n static double ReadDouble() throws IOException {\n return sc.nextDouble();\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.lang.Math;",
"Math",
"java.lang",
"class Main {\n static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) throws IOException {\n double r = ReadDouble();\n String res1 = String.format(\"%.8f\", r * r * Math.PI);\n String res2 = String.format(\"%.8f\", 2 * r * Math.PI);\n System.out.println(res1 + \" \" + res2);\n }\n static int ReadInt() throws IOException {\n return Integer.parseInt(sc.next());\n }\n static double ReadDouble() throws IOException {\n return sc.nextDouble();\n }\n}",
"Main",
"static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public static void main(String[] args) throws IOException {\n double r = ReadDouble();\n String res1 = String.format(\"%.8f\", r * r * Math.PI);\n String res2 = String.format(\"%.8f\", 2 * r * Math.PI);\n System.out.println(res1 + \" \" + res2);\n }",
"main",
"{\n double r = ReadDouble();\n String res1 = String.format(\"%.8f\", r * r * Math.PI);\n String res2 = String.format(\"%.8f\", 2 * r * Math.PI);\n System.out.println(res1 + \" \" + res2);\n }",
"double r = ReadDouble();",
"r",
"ReadDouble()",
"ReadDouble",
"String res1 = String.format(\"%.8f\", r * r * Math.PI);",
"res1",
"String.format(\"%.8f\", r * r * Math.PI)",
"String.format",
"String",
"\"%.8f\"",
"r * r * Math.PI",
"r * r * Math.PI",
"r",
"r",
"Math.PI",
"Math",
"Math.PI",
"String res2 = String.format(\"%.8f\", 2 * r * Math.PI);",
"res2",
"String.format(\"%.8f\", 2 * r * Math.PI)",
"String.format",
"String",
"\"%.8f\"",
"2 * r * Math.PI",
"2 * r * Math.PI",
"2",
"r",
"Math.PI",
"Math",
"Math.PI",
"System.out.println(res1 + \" \" + res2)",
"System.out.println",
"System.out",
"System",
"System.out",
"res1 + \" \" + res2",
"res1 + \" \" + res2",
"res1",
"\" \"",
"res2",
"String[] args",
"args",
"static int ReadInt() throws IOException {\n return Integer.parseInt(sc.next());\n }",
"ReadInt",
"{\n return Integer.parseInt(sc.next());\n }",
"return Integer.parseInt(sc.next());",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"static double ReadDouble() throws IOException {\n return sc.nextDouble();\n }",
"ReadDouble",
"{\n return sc.nextDouble();\n }",
"return sc.nextDouble();",
"sc.nextDouble()",
"sc.nextDouble",
"sc"
] | import java.io.*;
import java.util.Scanner;
import java.util.Arrays;
import java.lang.Math;
class Main {
static Scanner sc = new Scanner(System.in);
public static void main(String[] args) throws IOException {
double r = ReadDouble();
String res1 = String.format("%.8f", r * r * Math.PI);
String res2 = String.format("%.8f", 2 * r * Math.PI);
System.out.println(res1 + " " + res2);
}
static int ReadInt() throws IOException {
return Integer.parseInt(sc.next());
}
static double ReadDouble() throws IOException {
return sc.nextDouble();
}
} |
[
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,
4,
18,
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
],
[
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
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
40,
44
],
[
40,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] | [
"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();\n\n\t\tdouble area = r * r * Math.PI;\n\t\tdouble length = 2 * r * Math.PI;\n\n\t\tSystem.out.printf(String.format(\"%.6f %.6f\",area, length));\n\t}\n\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();\n\n\t\tdouble area = r * r * Math.PI;\n\t\tdouble length = 2 * r * Math.PI;\n\n\t\tSystem.out.printf(String.format(\"%.6f %.6f\",area, length));\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\n\t\tdouble area = r * r * Math.PI;\n\t\tdouble length = 2 * r * Math.PI;\n\n\t\tSystem.out.printf(String.format(\"%.6f %.6f\",area, length));\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble r = scan.nextDouble();\n\n\t\tdouble area = r * r * Math.PI;\n\t\tdouble length = 2 * r * Math.PI;\n\n\t\tSystem.out.printf(String.format(\"%.6f %.6f\",area, length));\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"double r = scan.nextDouble();",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"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",
"System.out.printf(String.format(\"%.6f %.6f\",area, length))",
"System.out.printf",
"System.out",
"System",
"System.out",
"String.format(\"%.6f %.6f\",area, length)",
"String.format",
"String",
"\"%.6f %.6f\"",
"area",
"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\n\t\tdouble area = r * r * Math.PI;\n\t\tdouble length = 2 * r * Math.PI;\n\n\t\tSystem.out.printf(String.format(\"%.6f %.6f\",area, length));\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\n\t\tdouble area = r * r * Math.PI;\n\t\tdouble length = 2 * r * Math.PI;\n\n\t\tSystem.out.printf(String.format(\"%.6f %.6f\",area, length));\n\t}\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 area = r * r * Math.PI;
double length = 2 * r * Math.PI;
System.out.printf(String.format("%.6f %.6f",area, length));
}
} |
[
7,
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,
41,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
17,
2,
2,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
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
],
[
73,
8
],
[
73,
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
],
[
23,
24
],
[
24,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
11,
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
],
[
11,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
11,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
51,
57
],
[
58,
58
],
[
58,
59
],
[
58,
60
],
[
58,
61
],
[
61,
62
],
[
61,
63
],
[
11,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
9,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
] | [
"import java.util.*;\nimport java.io.*;\n\npublic class Main{\n public static void main(String[] args) throws IOException\n {\n Scanner sc = new Scanner(System.in);\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(is);\n \n String inStr = br.readLine();\n double r = Double.parseDouble(inStr);\n \n System.out.printf(\"%.6f\", r*r*Math.PI);\n System.out.print(\" \");\n System.out.printf(\"%.6f\", 2*r*Math.PI);\n System.out.println(\"\");\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n public static void main(String[] args) throws IOException\n {\n Scanner sc = new Scanner(System.in);\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(is);\n \n String inStr = br.readLine();\n double r = Double.parseDouble(inStr);\n \n System.out.printf(\"%.6f\", r*r*Math.PI);\n System.out.print(\" \");\n System.out.printf(\"%.6f\", 2*r*Math.PI);\n System.out.println(\"\");\n }\n}",
"Main",
"public static void main(String[] args) throws IOException\n {\n Scanner sc = new Scanner(System.in);\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(is);\n \n String inStr = br.readLine();\n double r = Double.parseDouble(inStr);\n \n System.out.printf(\"%.6f\", r*r*Math.PI);\n System.out.print(\" \");\n System.out.printf(\"%.6f\", 2*r*Math.PI);\n System.out.println(\"\");\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(is);\n \n String inStr = br.readLine();\n double r = Double.parseDouble(inStr);\n \n System.out.printf(\"%.6f\", r*r*Math.PI);\n System.out.print(\" \");\n System.out.printf(\"%.6f\", 2*r*Math.PI);\n System.out.println(\"\");\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"InputStreamReader is = new InputStreamReader(System.in);",
"is",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(is);",
"br",
"new BufferedReader(is)",
"String inStr = br.readLine();",
"inStr",
"br.readLine()",
"br.readLine",
"br",
"double r = Double.parseDouble(inStr);",
"r",
"Double.parseDouble(inStr)",
"Double.parseDouble",
"Double",
"inStr",
"System.out.printf(\"%.6f\", r*r*Math.PI)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.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.printf(\"%.6f\", 2*r*Math.PI)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f\"",
"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 IOException\n {\n Scanner sc = new Scanner(System.in);\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(is);\n \n String inStr = br.readLine();\n double r = Double.parseDouble(inStr);\n \n System.out.printf(\"%.6f\", r*r*Math.PI);\n System.out.print(\" \");\n System.out.printf(\"%.6f\", 2*r*Math.PI);\n System.out.println(\"\");\n }\n}",
"public class Main{\n public static void main(String[] args) throws IOException\n {\n Scanner sc = new Scanner(System.in);\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(is);\n \n String inStr = br.readLine();\n double r = Double.parseDouble(inStr);\n \n System.out.printf(\"%.6f\", r*r*Math.PI);\n System.out.print(\" \");\n System.out.printf(\"%.6f\", 2*r*Math.PI);\n System.out.println(\"\");\n }\n}",
"Main"
] | import java.util.*;
import java.io.*;
public class Main{
public static void main(String[] args) throws IOException
{
Scanner sc = new Scanner(System.in);
InputStreamReader is = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(is);
String inStr = br.readLine();
double r = Double.parseDouble(inStr);
System.out.printf("%.6f", r*r*Math.PI);
System.out.print(" ");
System.out.printf("%.6f", 2*r*Math.PI);
System.out.println("");
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
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,
4,
18,
13,
13,
17,
18,
13,
13,
23,
13,
12,
13,
30,
29,
2,
2,
17,
18,
13,
13,
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
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
9,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
16,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
25,
31
],
[
31,
32
],
[
31,
33
],
[
25,
34
],
[
34,
35
],
[
34,
36
],
[
6,
37
],
[
37,
38
],
[
68,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
44,
48
],
[
43,
49
],
[
49,
50
],
[
49,
51
],
[
39,
52
],
[
52,
53
],
[
68,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
59,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
54,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n\ttry (Scanner sc = new Scanner(System.in)) {\n\t double r = sc.nextDouble();\n\t System.out.printf(\"%f %f\\n\", areaOfCircle(r), lengthOfCircumference(r));\n\t} catch (Exception e) {\n\t e.printStackTrace();\n\t}\n }\n\n private static double areaOfCircle(Double r) {\n\treturn Math.pow(r, 2) * Math.PI;\n }\n\n private static double lengthOfCircumference(Double r) {\n\treturn 2 * Math.PI * r;\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n\ttry (Scanner sc = new Scanner(System.in)) {\n\t double r = sc.nextDouble();\n\t System.out.printf(\"%f %f\\n\", areaOfCircle(r), lengthOfCircumference(r));\n\t} catch (Exception e) {\n\t e.printStackTrace();\n\t}\n }\n\n private static double areaOfCircle(Double r) {\n\treturn Math.pow(r, 2) * Math.PI;\n }\n\n private static double lengthOfCircumference(Double r) {\n\treturn 2 * Math.PI * r;\n }\n}",
"Main",
"public static void main(String[] args) {\n\ttry (Scanner sc = new Scanner(System.in)) {\n\t double r = sc.nextDouble();\n\t System.out.printf(\"%f %f\\n\", areaOfCircle(r), lengthOfCircumference(r));\n\t} catch (Exception e) {\n\t e.printStackTrace();\n\t}\n }",
"main",
"{\n\ttry (Scanner sc = new Scanner(System.in)) {\n\t double r = sc.nextDouble();\n\t System.out.printf(\"%f %f\\n\", areaOfCircle(r), lengthOfCircumference(r));\n\t} catch (Exception e) {\n\t e.printStackTrace();\n\t}\n }",
"try (Scanner sc = new Scanner(System.in)) {\n\t double r = sc.nextDouble();\n\t System.out.printf(\"%f %f\\n\", areaOfCircle(r), lengthOfCircumference(r));\n\t} catch (Exception e) {\n\t e.printStackTrace();\n\t}",
"catch (Exception e) {\n\t e.printStackTrace();\n\t}",
"Exception e",
"{\n\t e.printStackTrace();\n\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t double r = sc.nextDouble();\n\t System.out.printf(\"%f %f\\n\", areaOfCircle(r), lengthOfCircumference(r));\n\t}",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"double r = sc.nextDouble();",
"r",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"System.out.printf(\"%f %f\\n\", areaOfCircle(r), lengthOfCircumference(r))",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%f %f\\n\"",
"areaOfCircle(r)",
"areaOfCircle",
"r",
"lengthOfCircumference(r)",
"lengthOfCircumference",
"r",
"String[] args",
"args",
"private static double areaOfCircle(Double r) {\n\treturn Math.pow(r, 2) * Math.PI;\n }",
"areaOfCircle",
"{\n\treturn Math.pow(r, 2) * Math.PI;\n }",
"return Math.pow(r, 2) * Math.PI;",
"Math.pow(r, 2) * Math.PI",
"Math.pow(r, 2)",
"Math.pow",
"Math",
"r",
"2",
"Math.PI",
"Math",
"Math.PI",
"Double r",
"r",
"private static double lengthOfCircumference(Double r) {\n\treturn 2 * Math.PI * r;\n }",
"lengthOfCircumference",
"{\n\treturn 2 * Math.PI * r;\n }",
"return 2 * Math.PI * r;",
"2 * Math.PI * r",
"2 * Math.PI * r",
"2",
"Math.PI",
"Math",
"Math.PI",
"r",
"Double r",
"r",
"public class Main {\n public static void main(String[] args) {\n\ttry (Scanner sc = new Scanner(System.in)) {\n\t double r = sc.nextDouble();\n\t System.out.printf(\"%f %f\\n\", areaOfCircle(r), lengthOfCircumference(r));\n\t} catch (Exception e) {\n\t e.printStackTrace();\n\t}\n }\n\n private static double areaOfCircle(Double r) {\n\treturn Math.pow(r, 2) * Math.PI;\n }\n\n private static double lengthOfCircumference(Double r) {\n\treturn 2 * Math.PI * r;\n }\n}",
"public class Main {\n public static void main(String[] args) {\n\ttry (Scanner sc = new Scanner(System.in)) {\n\t double r = sc.nextDouble();\n\t System.out.printf(\"%f %f\\n\", areaOfCircle(r), lengthOfCircumference(r));\n\t} catch (Exception e) {\n\t e.printStackTrace();\n\t}\n }\n\n private static double areaOfCircle(Double r) {\n\treturn Math.pow(r, 2) * Math.PI;\n }\n\n private static double lengthOfCircumference(Double r) {\n\treturn 2 * Math.PI * r;\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner sc = new Scanner(System.in)) {
double r = sc.nextDouble();
System.out.printf("%f %f\n", areaOfCircle(r), lengthOfCircumference(r));
} catch (Exception e) {
e.printStackTrace();
}
}
private static double areaOfCircle(Double r) {
return Math.pow(r, 2) * Math.PI;
}
private static double lengthOfCircumference(Double r) {
return 2 * Math.PI * r;
}
} |
[
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
],
[
14,
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.io.*;\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\t\tSystem.out.printf(\"%.6f %.6f\",r*r*Math.PI,2*r*Math.PI);\n\t\t\n\t}}",
"import java.io.*;",
"io.*",
"java",
"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\t\tSystem.out.printf(\"%.6f %.6f\",r*r*Math.PI,2*r*Math.PI);\n\t\t\n\t}}",
"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\tSystem.out.printf(\"%.6f %.6f\",r*r*Math.PI,2*r*Math.PI);\n\t\t\n\t}",
"main",
"{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tdouble r=Double.parseDouble(br.readLine());\n\t\tSystem.out.printf(\"%.6f %.6f\",r*r*Math.PI,2*r*Math.PI);\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",
"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\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\tSystem.out.printf(\"%.6f %.6f\",r*r*Math.PI,2*r*Math.PI);\n\t\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\tdouble r=Double.parseDouble(br.readLine());\n\t\tSystem.out.printf(\"%.6f %.6f\",r*r*Math.PI,2*r*Math.PI);\n\t\t\n\t}}",
"Main"
] | import java.io.*;
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());
System.out.printf("%.6f %.6f",r*r*Math.PI,2*r*Math.PI);
}} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
4,
18,
20,
41,
13,
2,
2,
17,
18,
13,
13,
13,
41,
13,
2,
18,
13,
13,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
13,
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
],
[
11,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
17,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
29,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
34,
40
],
[
34,
41
],
[
6,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tdouble r = new Scanner(System.in).nextDouble();\t\t\n\t\tdouble cir = 2 * Math.PI * r;\n\t\tdouble vol = Math.PI * Math.pow(r, 2);\n\t\tSystem.out.printf(\"%.6f %.6f\", vol, cir);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tdouble r = new Scanner(System.in).nextDouble();\t\t\n\t\tdouble cir = 2 * Math.PI * r;\n\t\tdouble vol = Math.PI * Math.pow(r, 2);\n\t\tSystem.out.printf(\"%.6f %.6f\", vol, cir);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tdouble r = new Scanner(System.in).nextDouble();\t\t\n\t\tdouble cir = 2 * Math.PI * r;\n\t\tdouble vol = Math.PI * Math.pow(r, 2);\n\t\tSystem.out.printf(\"%.6f %.6f\", vol, cir);\n\t}",
"main",
"{\n\t\tdouble r = new Scanner(System.in).nextDouble();\t\t\n\t\tdouble cir = 2 * Math.PI * r;\n\t\tdouble vol = Math.PI * Math.pow(r, 2);\n\t\tSystem.out.printf(\"%.6f %.6f\", vol, cir);\n\t}",
"double r = new Scanner(System.in).nextDouble();",
"r",
"new Scanner(System.in).nextDouble()",
"new Scanner(System.in).nextDouble",
"new Scanner(System.in)",
"double cir = 2 * Math.PI * r;",
"cir",
"2 * Math.PI * r",
"2 * Math.PI * r",
"2",
"Math.PI",
"Math",
"Math.PI",
"r",
"double vol = Math.PI * Math.pow(r, 2);",
"vol",
"Math.PI * Math.pow(r, 2)",
"Math.PI",
"Math",
"Math.PI",
"Math.pow(r, 2)",
"Math.pow",
"Math",
"r",
"2",
"System.out.printf(\"%.6f %.6f\", vol, cir)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%.6f %.6f\"",
"vol",
"cir",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tdouble r = new Scanner(System.in).nextDouble();\t\t\n\t\tdouble cir = 2 * Math.PI * r;\n\t\tdouble vol = Math.PI * Math.pow(r, 2);\n\t\tSystem.out.printf(\"%.6f %.6f\", vol, cir);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tdouble r = new Scanner(System.in).nextDouble();\t\t\n\t\tdouble cir = 2 * Math.PI * r;\n\t\tdouble vol = Math.PI * Math.pow(r, 2);\n\t\tSystem.out.printf(\"%.6f %.6f\", vol, cir);\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
double r = new Scanner(System.in).nextDouble();
double cir = 2 * Math.PI * r;
double vol = Math.PI * Math.pow(r, 2);
System.out.printf("%.6f %.6f", vol, cir);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
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,
18,
13,
13,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
4,
18,
13,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
64,
5
],
[
64,
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
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
22,
26
],
[
27,
27
],
[
27,
28
],
[
27,
29
],
[
27,
30
],
[
30,
31
],
[
30,
32
],
[
8,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
35,
39
],
[
40,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
53,
59
],
[
51,
60
],
[
6,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t Scanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tdouble r = scan.nextDouble();\n\n\t\tString S = String.format(\"%.5f\", r*r*Math.PI);\n\t\tString l = String.format(\"%.5f\", 2*Math.PI*r);\n\n\t\tSystem.out.println(sb.append(S).append(\" \").append(l));\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 Scanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tdouble r = scan.nextDouble();\n\n\t\tString S = String.format(\"%.5f\", r*r*Math.PI);\n\t\tString l = String.format(\"%.5f\", 2*Math.PI*r);\n\n\t\tSystem.out.println(sb.append(S).append(\" \").append(l));\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t Scanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tdouble r = scan.nextDouble();\n\n\t\tString S = String.format(\"%.5f\", r*r*Math.PI);\n\t\tString l = String.format(\"%.5f\", 2*Math.PI*r);\n\n\t\tSystem.out.println(sb.append(S).append(\" \").append(l));\n\n\t}",
"main",
"{\n\t Scanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tdouble r = scan.nextDouble();\n\n\t\tString S = String.format(\"%.5f\", r*r*Math.PI);\n\t\tString l = String.format(\"%.5f\", 2*Math.PI*r);\n\n\t\tSystem.out.println(sb.append(S).append(\" \").append(l));\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"double r = scan.nextDouble();",
"r",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"String S = String.format(\"%.5f\", r*r*Math.PI);",
"S",
"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",
"String l = String.format(\"%.5f\", 2*Math.PI*r);",
"l",
"String.format(\"%.5f\", 2*Math.PI*r)",
"String.format",
"String",
"\"%.5f\"",
"2*Math.PI*r",
"2*Math.PI*r",
"2",
"Math.PI",
"Math",
"Math.PI",
"r",
"System.out.println(sb.append(S).append(\" \").append(l))",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.append(S).append(\" \").append(l)",
"sb.append(S).append(\" \").append",
"sb.append(S).append(\" \")",
"sb.append(S).append",
"sb.append(S)",
"sb.append",
"sb",
"S",
"\" \"",
"l",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t Scanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tdouble r = scan.nextDouble();\n\n\t\tString S = String.format(\"%.5f\", r*r*Math.PI);\n\t\tString l = String.format(\"%.5f\", 2*Math.PI*r);\n\n\t\tSystem.out.println(sb.append(S).append(\" \").append(l));\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t Scanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tdouble r = scan.nextDouble();\n\n\t\tString S = String.format(\"%.5f\", r*r*Math.PI);\n\t\tString l = String.format(\"%.5f\", 2*Math.PI*r);\n\n\t\tSystem.out.println(sb.append(S).append(\" \").append(l));\n\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
StringBuilder sb = new StringBuilder();
double r = scan.nextDouble();
String S = String.format("%.5f", r*r*Math.PI);
String l = String.format("%.5f", 2*Math.PI*r);
System.out.println(sb.append(S).append(" ").append(l));
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.