buggy_code stringlengths 11 625k | fixed_code stringlengths 17 625k | bug_type stringlengths 2 4.45k | language int64 0 8 | token_count int64 5 200k |
|---|---|---|---|---|
#include <stdio.h>
int main(void) {
int a, b, c, d;
double f;
scanf("%d %d", &a, &b);
c = a / b;
d = a % b;
f = (double)a / (double)b;
printf("%d %d %d\n", c, d, f);
return 0;
}
| #include <stdio.h>
int main(void) {
int a, b, c, d;
double f;
scanf("%d %d", &a, &b);
c = a / b;
d = a % b;
f = (double)a / (double)b;
printf("%d %d %f\n", c, d, f);
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 75 |
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int a, b, d, r, f;
cin >> a >> b;
d = a / b;
r = a % b;
f = 1.0 * a / b;
cout << d << " " << r << " ";
printf("%.8if\n", f);
return 0;
}
| #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int a, b, d, r;
double f;
cin >> a >> b;
d = a / b;
r = a % b;
f = 1.0 * a / b;
cout << d << " " << r << " ";
printf("%.8lf\n", f);
return 0;
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 21], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 78 |
#include <algorithm>
#include <float.h>
#include <iostream>
#include <stdio.h>
#define REP(i, n) for (int i = 0; i < n; i++)
using namespace std;
int main() {
int A, B;
cin >> A >> B;
printf("%d %d %5f\n", A / B, A % B, float(A / B));
return 0;
}
| #include <algorithm>
#include <float.h>
#include <iostream>
#include <stdio.h>
#define REP(i, n) for (int i = 0; i < n; i++)
using namespace std;
int main() {
int A, B;
cin >> A >> B;
printf("%d %d %5f\n", A / B, A % B, double(A) / double(B));
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 2, 63, 40], ["+", 0, 2, 3, 4, 0, 16, 31, 2, 63, 40], ["+", 3, 4, 0, 16, 31, 2, 3, 4, 0, 25], ["+", 0, 2, 3, 4, 0, 16, 12, 2, 63, 40], ["+", 3, 4, 0, 16, 12, 2, 3, 4, 0, 24]] | 1 | 63 |
#include <cstdio>
int main() {
int a;
int b;
scanf("%d %d", &a, &b);
int d, r;
double f;
d = a / b;
r = a % b;
f = 1.0 * a / b;
printf("%d %d %d\n", d, r, f);
return 0;
} | #include <cstdio>
int main() {
int a;
int b;
scanf("%d %d", &a, &b);
int d, r;
double f;
d = a / b;
r = a % b;
f = 1.0 * a / b;
printf("%d %d %f\n", d, r, f);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 72 |
#include <iostream>
using std::cin;
using std::cout;
using std::endl;
int main() {
int a, b;
cin >> a >> b;
cout << a + b << " " << a % b << " " << std::fixed << (double)a / b << endl;
} | #include <iostream>
using std::cin;
using std::cout;
using std::endl;
int main() {
int a, b;
cin >> a >> b;
cout << a / b << " " << a % b << " " << std::fixed << (double)a / b << endl;
} | [["-", 31, 16, 31, 16, 31, 16, 12, 16, 17, 72], ["+", 31, 16, 31, 16, 31, 16, 12, 16, 17, 85]] | 1 | 65 |
package main
import "fmt"
func main() {
var a, b int
fmt.Scanln(&a, &b)
fmt.Printf("%v %v %f\n", a/b, a%2, float64(a)/float64(b))
}
| package main
import "fmt"
func main() {
var a, b int
fmt.Scanln(&a, &b)
fmt.Printf("%v %v %.8f\n", a/b, a%b, float64(a)/float64(b))
}
| [["-", 8, 196, 0, 1, 0, 2, 3, 4, 0, 429], ["-", 0, 1, 0, 2, 3, 4, 0, 429, 0, 44], ["+", 8, 196, 0, 1, 0, 2, 3, 4, 0, 429], ["+", 0, 1, 0, 2, 3, 4, 0, 429, 0, 44], ["-", 0, 1, 0, 2, 3, 4, 0, 16, 12, 433], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 22]] | 7 | 60 |
process.stdin.resume();
process.stdin.setEncoding('utf8');
process.stdin.on('data', function(chunk) {
var chunk = stdin.toString();
var r = Number(chunk);
// r= Number(r);
var cicrlearea = r * r * Math.PI
var cicr = 2 * r * Math.PI
console.log(cicrlearea.toFixed(5), cicr.toFixed(5));
}); | process.stdin.resume();
process.stdin.setEncoding('utf8');
process.stdin.on('data', function(chunk) {
var line = chunk.toString();
var r = Number(line);
var cicrlearea = r * r * Math.PI
var cicr = 2 * r * Math.PI
console.log(cicrlearea.toFixed(5), cicr.toFixed(5));
}); | [["-", 0, 63, 8, 556, 0, 198, 0, 200, 141, 22], ["+", 0, 63, 8, 556, 0, 198, 0, 200, 141, 22], ["-", 0, 198, 0, 200, 51, 2, 63, 558, 500, 22], ["+", 0, 198, 0, 200, 51, 2, 63, 558, 500, 22], ["-", 0, 198, 0, 200, 51, 2, 3, 3, 0, 22], ["+", 0, 198, 0, 200, 51, 2, 3, 3, 0, 22]] | 2 | 94 |
<?php
fscanf(STDIN, '%f', $r);
printf('%f %f%s', 2 * $r * M_PI, $r * $r * M_PI, PHP_EOL); | <?php
fscanf(STDIN, '%f', $r);
printf('%f %f%s', $r * $r * M_PI, 2 * $r * M_PI, PHP_EOL); | [["-", 3, 3, 0, 28, 0, 16, 31, 16, 31, 612], ["+", 0, 28, 0, 16, 31, 16, 31, 606, 0, 607], ["+", 0, 28, 0, 16, 31, 16, 31, 606, 0, 141], ["-", 0, 28, 0, 16, 31, 16, 31, 606, 0, 607], ["-", 0, 28, 0, 16, 31, 16, 31, 606, 0, 141], ["+", 3, 3, 0, 28, 0, 16, 31, 16, 31, 612]] | 6 | 37 |
<?php
$r = trim(fgets(STDIN));
$x = (($r * 2) * M_PI);
$y = (pow($r, 2) * M_PI);
print ($x . " " . $y);
?> | <?php
$r = trim(fgets(STDIN));
$x = (($r * $r) * M_PI);
$y = (($r * 2) * M_PI);
print ($x . " " . $y);
?> | [["-", 12, 23, 0, 16, 31, 23, 0, 16, 12, 612], ["+", 0, 16, 31, 23, 0, 16, 12, 606, 0, 607], ["+", 0, 16, 31, 23, 0, 16, 12, 606, 0, 141], ["-", 0, 11, 12, 23, 0, 16, 31, 613, 63, 141], ["-", 12, 23, 0, 16, 31, 613, 3, 3, 0, 21], ["+", 12, 23, 0, 16, 31, 23, 0, 16, 17, 48]] | 6 | 55 |
<?php
$r = trim(fgets(STDIN));
$s = round($r * 2 * M_PI, 6);
$l = round($r * $r * M_PI, 6);
echo "{$s} {$l}".PHP_EOL; | <?php
$r = trim(fgets(STDIN));
$s = round($r * 2 * M_PI, 6);
$l = round($r * $r * M_PI, 6);
echo "{$l} {$s}".PHP_EOL; | [["-", 0, 608, 0, 16, 31, 609, 0, 606, 0, 141], ["+", 0, 608, 0, 16, 31, 609, 0, 606, 0, 141]] | 6 | 58 |
<?php
$r = trim(fgets(STDIN));
$l = sprintf("%.6f",$r * 2 * 3.141592653589);
$s = sprintf("%.6f",$r * $r * 3.141592653589);
echo $l ." ". $s;
?> | <?php
$r = trim(fgets(STDIN));
$l = sprintf("%.6f",$r * 2 * 3.141592653589);
$s = sprintf("%.6f",$r * $r * 3.141592653589);
echo $s ." ". $l;
?> | [["-", 0, 608, 0, 16, 31, 16, 31, 606, 0, 141], ["+", 0, 608, 0, 16, 31, 16, 31, 606, 0, 141], ["-", 0, 493, 0, 608, 0, 16, 12, 606, 0, 141], ["+", 0, 493, 0, 608, 0, 16, 12, 606, 0, 141]] | 6 | 59 |
<?php
while ( ! feof(STDIN) ) {
$row = trim(fgets(STDIN));
if ($row == '')exit;
echo ($row*$row*3.14159265) . ' ' . ($row*2*3.14159265);
echo PHP_EOL;
} |
<?php
while ( ! feof(STDIN) ) {
$row = trim(fgets(STDIN));
if ($row == '')exit;
echo ($row*$row*pi()) . ' ' . ($row*2*pi());
echo PHP_EOL;
} | [["-", 0, 16, 31, 16, 31, 23, 0, 16, 12, 531], ["+", 31, 16, 31, 23, 0, 16, 12, 613, 63, 141], ["+", 31, 23, 0, 16, 12, 613, 3, 3, 0, 24], ["+", 31, 23, 0, 16, 12, 613, 3, 3, 0, 25], ["-", 0, 608, 0, 16, 12, 23, 0, 16, 12, 531], ["+", 0, 16, 12, 23, 0, 16, 12, 613, 63, 141], ["+", 12, 23, 0, 16, 12, 613, 3, 3, 0, 24], ... | 6 | 59 |
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", C, S);
sc.close();
}
}
| 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();
}
}
| [["-", 8, 196, 0, 1, 0, 492, 3, 4, 0, 22], ["-", 8, 196, 0, 1, 0, 492, 3, 4, 0, 21], ["+", 8, 196, 0, 1, 0, 492, 3, 4, 0, 21], ["+", 8, 196, 0, 1, 0, 492, 3, 4, 0, 22]] | 3 | 91 |
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double r = sc.nextDouble();
double x = (2 * r) * Math.PI;
double y = r * r * Math.PI;
System.out.printf("%.6f %.6f\n", x, y);
sc.close();
}
}
| import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double r = sc.nextDouble();
double x = (2 * r) * Math.PI;
double y = r * r * Math.PI;
System.out.printf("%.6f %.6f\n", y, x);
sc.close();
}
}
| [["-", 8, 196, 0, 1, 0, 492, 3, 4, 0, 22], ["-", 8, 196, 0, 1, 0, 492, 3, 4, 0, 21], ["+", 8, 196, 0, 1, 0, 492, 3, 4, 0, 21], ["+", 8, 196, 0, 1, 0, 492, 3, 4, 0, 22]] | 3 | 89 |
import java.text.*;
import java.util.*;
class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
double r = s.nextDouble();
double m = r * r * 3.1415926;
double n = 2 * r * 3.1415926;
DecimalFormat fm = new DecimalFormat("#.######");
System.out.println(fm.for... |
import java.text.*;
import java.util.*;
class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
double r = s.nextDouble();
double m = r * r * 3.14159265359;
double n = 2 * r * 3.14159265359;
DecimalFormat fm = new DecimalFormat("#.######");
System.out.printl... | [["-", 8, 196, 0, 503, 49, 200, 51, 16, 12, 515], ["+", 8, 196, 0, 503, 49, 200, 51, 16, 12, 515]] | 3 | 104 |
import java.lang.Math;
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("%.6f %.6f", r * 2 * Math.PI, r * r * Math.PI);
}
} | import java.lang.Math;
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("%.6f %.6f", r * r * Math.PI, r * 2 * Math.PI);
}
} | [["-", 0, 492, 3, 4, 0, 16, 31, 16, 12, 499], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 12, 22], ["-", 0, 492, 3, 4, 0, 16, 31, 16, 12, 22], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 12, 499]] | 3 | 78 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double r = sc.nextInt();
double menseki = r * r * 3.14159265, enshu = r * 2 * 3.14159265;
System.out.printf("%.6f %.6f\n", menseki, enshu);
}
} | 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 = r * r * 3.1415926535897932384626433832795,
enshu = r * 2 * 3.1415926535897932384626433832795;
System.out.printf("%.6f %.6f... | [["-", 8, 196, 0, 503, 49, 200, 51, 492, 141, 22], ["+", 8, 196, 0, 503, 49, 200, 51, 492, 141, 22], ["-", 8, 196, 0, 503, 49, 200, 51, 16, 12, 515], ["+", 8, 196, 0, 503, 49, 200, 51, 16, 12, 515]] | 3 | 77 |
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();
B... | 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();
B... | [["-", 3, 4, 0, 16, 31, 16, 31, 492, 500, 22], ["+", 3, 4, 0, 16, 31, 16, 31, 492, 500, 22], ["-", 0, 492, 3, 4, 0, 16, 12, 492, 500, 22], ["+", 0, 492, 3, 4, 0, 16, 12, 492, 500, 22]] | 3 | 203 |
import java.math.*;
import java.text.*;
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.nextInt();
}
double pai = 3.1... | import java.math.*;
import java.text.*;
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 = ... | [["-", 8, 196, 0, 1, 0, 11, 12, 492, 141, 22], ["+", 8, 196, 0, 1, 0, 11, 12, 492, 141, 22], ["-", 8, 196, 0, 1, 0, 492, 3, 4, 0, 499], ["+", 8, 196, 0, 1, 0, 492, 3, 4, 0, 499], ["-", 0, 492, 3, 4, 0, 16, 31, 16, 31, 22], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 31, 22], ["-", 0, 1, 0, 492, 3, 4, 0, 16, 12, 22], ["+", 0, 1,... | 3 | 190 |
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) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str;
try {
str = br.readLine()... | 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) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str;
try {
str = br.readLine()... | [["-", 0, 16, 31, 16, 31, 492, 3, 4, 0, 22], ["+", 0, 16, 31, 16, 31, 492, 3, 4, 0, 22], ["-", 3, 4, 0, 16, 12, 492, 3, 4, 0, 22], ["+", 3, 4, 0, 16, 12, 492, 3, 4, 0, 22]] | 3 | 155 |
import java.io.*;
import java.util.*;
class Main {
public static void main(String args[]) throws IOException {
double a = 0;
int i = 0;
double j = 0;
double k = 0;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
String delimiter = " "... | import java.io.*;
import java.util.*;
class Main {
public static void main(String args[]) throws IOException {
double a = 0;
int i = 0;
double j = 0;
double k = 0;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
String delimiter = " "... | [["-", 8, 196, 0, 1, 0, 492, 3, 4, 0, 22], ["-", 8, 196, 0, 1, 0, 492, 3, 4, 0, 21], ["+", 8, 196, 0, 1, 0, 492, 3, 4, 0, 21], ["+", 8, 196, 0, 1, 0, 492, 3, 4, 0, 22]] | 3 | 167 |
// Computation - Circle
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
double r = Double.parseDouble(in.readLine... |
// Computation - Circle
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
double r = Double.parseDouble(in.readLine... | [["-", 0, 492, 3, 4, 0, 16, 31, 16, 31, 499], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 31, 22], ["-", 0, 492, 3, 4, 0, 16, 31, 16, 31, 22], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 31, 499]] | 3 | 97 |
import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
double r = Double.parseDouble(scan.nextLine());
double dbCir = (Math.PI * r * 2.0);
double dbArea = (Math.PI * r * r);
BigDecimal x = new BigD... | import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
double r = Double.parseDouble(scan.nextLine());
double dbCir = (Math.PI * r * 2.0);
double dbArea = (Math.PI * r * r);
BigDecimal x = new BigD... | [["-", 0, 1, 0, 11, 12, 492, 3, 4, 0, 499], ["+", 0, 1, 0, 11, 12, 492, 3, 4, 0, 499], ["-", 0, 492, 3, 4, 0, 16, 31, 16, 31, 22], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 31, 22], ["-", 0, 1, 0, 492, 3, 4, 0, 16, 12, 22], ["+", 0, 1, 0, 492, 3, 4, 0, 16, 12, 22]] | 3 | 147 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
scan.close();
double dbPi = Math.PI;
// System.out.println("??" + dbPi);
... |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
scan.close();
double dbPi = Math.PI;
// System.out.println("??" + dbPi);
... | [["-", 8, 196, 0, 1, 0, 492, 3, 4, 0, 22], ["+", 8, 196, 0, 1, 0, 492, 3, 4, 0, 22]] | 3 | 109 |
import java.math.BigDecimal;
import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner scan = new Scanner(System.in);
String str; //???????????\??????
double r;
r = scan.nextDouble();
// double r;
// r = Double.parseDouble(Integer.toString(scan.nextInt()) +... |
import java.math.BigDecimal;
import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner scan = new Scanner(System.in);
String str; //???????????\??????
double r;
r = scan.nextDouble();
// double r;
// r = Double.parseDouble(Integer.toString(scan.nextInt()) +... | [["-", 49, 200, 51, 230, 3, 4, 0, 16, 12, 515], ["+", 51, 230, 3, 4, 0, 16, 12, 509, 500, 22], ["+", 51, 230, 3, 4, 0, 16, 12, 509, 0, 131], ["+", 51, 230, 3, 4, 0, 16, 12, 509, 119, 22], ["-", 3, 4, 0, 492, 3, 4, 0, 509, 119, 22], ["+", 3, 4, 0, 492, 3, 4, 0, 509, 119, 22]] | 3 | 141 |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));
String s;
int inCnt = 0;
while ((s = stdIn.readLine(... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));
String s;
int inCnt = 0;
while ((s = stdIn.readLine(... | [["-", 8, 196, 0, 1, 0, 492, 3, 4, 0, 22], ["-", 8, 196, 0, 1, 0, 492, 3, 4, 0, 21], ["+", 8, 196, 0, 1, 0, 492, 3, 4, 0, 21], ["+", 8, 196, 0, 1, 0, 492, 3, 4, 0, 22]] | 3 | 172 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
double men = 2 * r * Math.PI;
double en = r * r * Math.PI;
System.out.println(String.format("%f %f", men, en));
}
} | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
double men = r * r * Math.PI;
double en = 2 * r * Math.PI;
System.out.println(String.format("%f %f", men, en));
}
} | [["-", 0, 503, 49, 200, 51, 16, 31, 16, 31, 499], ["+", 0, 503, 49, 200, 51, 16, 31, 16, 31, 22], ["-", 0, 503, 49, 200, 51, 16, 31, 16, 31, 22], ["+", 0, 503, 49, 200, 51, 16, 31, 16, 31, 499]] | 3 | 86 |
import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner scan = new Scanner(System.in);
int r = scan.nextInt();
double x = r * r * Math.PI;
double y = r * 2 * Math.PI;
... | import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
double x = r * r * Math.PI;
double y = r * 2 * Math.PI;... | [["-", 0, 195, 8, 196, 0, 503, 39, 506, 0, 507], ["+", 0, 195, 8, 196, 0, 503, 39, 511, 0, 512], ["-", 8, 196, 0, 503, 49, 200, 51, 492, 141, 22], ["+", 8, 196, 0, 503, 49, 200, 51, 492, 141, 22], ["-", 8, 196, 0, 1, 0, 492, 3, 4, 0, 22], ["+", 8, 196, 0, 1, 0, 492, 3, 4, 0, 22]] | 3 | 158 |
// 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 = 3.14159265;
double r;
double en_menseki;
double en_shu;
r = sc.nextDouble();
en_menseki = r * r * PI;
en_shu = 2 * PI * r;
System... | // 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.ou... | [["-", 0, 195, 8, 196, 0, 503, 49, 200, 51, 515], ["+", 8, 196, 0, 503, 49, 200, 51, 509, 500, 22], ["+", 8, 196, 0, 503, 49, 200, 51, 509, 0, 131], ["+", 8, 196, 0, 503, 49, 200, 51, 509, 119, 22]] | 3 | 107 |
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 = r * r * pi;
double length = 2 * r * pi;
System.out.printf("%f%f", area, length);
}
} | 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 = r * r * pi;
double length = 2 * r * pi;
System.out.printf("%f %f", area, length);
}
} | [["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491]] | 3 | 84 |
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... | 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... | [["-", 8, 196, 0, 1, 0, 492, 3, 4, 0, 22], ["-", 8, 196, 0, 1, 0, 492, 3, 4, 0, 21], ["+", 8, 196, 0, 1, 0, 492, 3, 4, 0, 21], ["+", 8, 196, 0, 1, 0, 492, 3, 4, 0, 22]] | 3 | 90 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
double pi = 3.141592653;
double r;
Scanner scan = new Scanner(System.in);
r = scan.nextInt();
System.out.printf("%6f %6f", (pi * r * r), (2 * pi * r));
}
} | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
double pi = 3.141592653589;
double r;
Scanner scan = new Scanner(System.in);
r = scan.nextDouble();
System.out.printf("%6f %6f", (pi * r * r), (2 * pi * r));
}
} | [["-", 0, 195, 8, 196, 0, 503, 49, 200, 51, 515], ["+", 0, 195, 8, 196, 0, 503, 49, 200, 51, 515], ["-", 8, 196, 0, 1, 0, 11, 12, 492, 141, 22], ["+", 8, 196, 0, 1, 0, 11, 12, 492, 141, 22]] | 3 | 78 |
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", cir, vol);
}
} | 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);
}
} | [["-", 8, 196, 0, 1, 0, 492, 3, 4, 0, 22], ["-", 8, 196, 0, 1, 0, 492, 3, 4, 0, 21], ["+", 8, 196, 0, 1, 0, 492, 3, 4, 0, 21], ["+", 8, 196, 0, 1, 0, 492, 3, 4, 0, 22]] | 3 | 81 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
double x = Math.PI;
double l = 2 * r * x;
double c = r * r * x;
String g = String.format("%.6f", l);
String h = String.format("%.6f",... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
double x = Math.PI;
double l = 2 * r * x;
double c = r * r * x;
String g = String.format("%.6f", l);
String h = String.format("%.6f",... | [["-", 0, 492, 3, 4, 0, 16, 31, 16, 31, 22], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 31, 22], ["-", 0, 1, 0, 492, 3, 4, 0, 16, 12, 22], ["+", 0, 1, 0, 492, 3, 4, 0, 16, 12, 22]] | 3 | 112 |
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.14;
double l = 2 * r * 3.14;
System.out.printf("%f %f\n", s, r);
}
} | 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);
}
} | [["-", 8, 196, 0, 503, 49, 200, 51, 16, 12, 515], ["+", 8, 196, 0, 503, 49, 200, 51, 16, 12, 515], ["-", 8, 196, 0, 1, 0, 492, 3, 4, 0, 22], ["+", 8, 196, 0, 1, 0, 492, 3, 4, 0, 22]] | 3 | 78 |
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Arrays;
import java.util.InputMismatchException;
public class Main {
static InputStream is;
static PrintWriter out;
static String INPUT = "";
static long N = 1000000007;
p... |
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Arrays;
import java.util.InputMismatchException;
public class Main {
static InputStream is;
static PrintWriter out;
static String INPUT = "";
static long N = 1000000007;
p... | [["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["-", 0, 492, 3, 4, 0, 16, 31, 16, 17, 72], ["-", 3, 4, 0, 16, 31, 16, 12, 5, 0, 62], ["-", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491], ["-", 0, 1, 0, 492, 3, 4, 0, 16, 17, 72], ["+", 8, 196, 0, 1, 0, 492, 3, 4, 0, 21]] | 3 | 1,021 |
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 % %.5... | 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\... | [["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491]] | 3 | 92 |
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... | 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... | [["-", 0, 37, 0, 23, 0, 16, 31, 16, 12, 499], ["+", 0, 37, 0, 23, 0, 16, 31, 16, 12, 22], ["-", 0, 37, 0, 23, 0, 16, 31, 16, 12, 22], ["+", 0, 37, 0, 23, 0, 16, 31, 16, 12, 499]] | 3 | 149 |
import java.lang.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
// new Main().printHelloWorld();
// System.out.println(new Main().ITP1_1_B(Integer.parseInt(new
// Scanner(System.in).next()))); new Main().ITP1_1_C(); new
// Main().ITP1_1_D(); new Main().ITP1_2_A();... | import java.lang.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
// new Main().printHelloWorld();
// System.out.println(new Main().ITP1_1_B(Integer.parseInt(new
// Scanner(System.in).next()))); new Main().ITP1_1_C(); new
// Main().ITP1_1_D(); new Main().ITP1_2_A();... | [["-", 0, 492, 3, 4, 0, 16, 31, 16, 12, 499], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 12, 22], ["-", 0, 492, 3, 4, 0, 16, 31, 16, 12, 22], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 12, 499]] | 3 | 1,012 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
double r = scanner.nextDouble();
double pi = 3.14159265359;
System.out.printf("%1$.6f, %2$.6f", pi * r * r, 2 * r * pi);
}
} | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
double r = scanner.nextDouble();
double pi = 3.14159265359;
System.out.printf("%1$.6f %2$.6f", pi * r * r, 2 * r * pi);
}
} | [["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491]] | 3 | 72 |
import java.io.*;
import java.util.Arrays;
class Main {
public static void main(String[] args) throws IOException {
double n;
String str;
String[] f = new String[5];
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
str = in.readLine();
n = Double.parseDouble(str);
... | import java.io.*;
import java.util.Arrays;
class Main {
public static void main(String[] args) throws IOException {
double n;
String str;
String[] f = new String[5];
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
str = in.readLine();
n = Double.parseDouble(str);
... | [["-", 3, 4, 0, 16, 31, 16, 31, 504, 71, 499], ["+", 3, 4, 0, 16, 31, 16, 31, 504, 71, 499], ["-", 0, 492, 3, 4, 0, 16, 12, 504, 71, 499], ["+", 0, 492, 3, 4, 0, 16, 12, 504, 71, 499]] | 3 | 146 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
double r = s.nextDouble();
double pi = 3.14159265;
System.out.printf("%.5f %.5f", r * pi * pi, 2 * r * pi);
}
} |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
double r = s.nextDouble();
double pi = Math.PI;
System.out.printf("%.5f %.5f", r * r * pi, 2 * r * pi);
}
} | [["-", 0, 195, 8, 196, 0, 503, 49, 200, 51, 515], ["+", 8, 196, 0, 503, 49, 200, 51, 509, 500, 22], ["+", 8, 196, 0, 503, 49, 200, 51, 509, 0, 131], ["+", 8, 196, 0, 503, 49, 200, 51, 509, 119, 22], ["-", 0, 492, 3, 4, 0, 16, 31, 16, 12, 22], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 12, 22]] | 3 | 72 |
import java.math.BigDecimal;
import java.util.Scanner;
class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
double r = sc.nextDouble();
sc.close();
double pi = Math.PI;
double ci = 2 * pi * r;
double ar = pi * Math.pow(r, 2);
String circ = BigDecim... | import java.math.BigDecimal;
import java.util.Scanner;
class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
double r = sc.nextDouble();
sc.close();
double pi = Math.PI;
double ci = 2 * pi * r;
double ar = pi * Math.pow(r, 2);
String circ = BigDecim... | [["-", 0, 492, 500, 492, 500, 492, 3, 4, 0, 22], ["+", 0, 492, 500, 492, 500, 492, 3, 4, 0, 22], ["-", 0, 492, 3, 4, 0, 492, 3, 4, 0, 22], ["+", 0, 492, 3, 4, 0, 492, 3, 4, 0, 22]] | 3 | 143 |
import java.lang.Math;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
double r = in.nextDouble();
System.out.println(
String.format("%.6f %.6f", 2 * r * Math.PI, Math.PI * r * r));
}
} | import java.lang.Math;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
double r = in.nextDouble();
System.out.println(
String.format("%.6f %.6f", r * r * Math.PI, Math.PI * r * 2));
}
} | [["-", 0, 492, 3, 4, 0, 16, 31, 16, 31, 499], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 31, 22], ["-", 3, 4, 0, 492, 3, 4, 0, 16, 12, 22], ["+", 3, 4, 0, 492, 3, 4, 0, 16, 12, 499]] | 3 | 83 |
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
double r2 = 1.0 * r;
double ensyu = r2 * 2 * 3.141592653589;
double menseki = r2 * r2 * 3... | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
double r2 = 1.0 * r;
double ensyu = r2 * 2 * 3.141592653589;
double menseki = r2 * r2 * 3... | [["-", 0, 492, 3, 4, 0, 16, 31, 16, 31, 22], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 31, 22], ["-", 0, 1, 0, 492, 3, 4, 0, 16, 12, 22], ["+", 0, 1, 0, 492, 3, 4, 0, 16, 12, 22]] | 3 | 125 |
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner num = new Scanner(System.in);
double r = num.nextDouble();
double pi = Math.PI;
double area = r * r * pi;
double length = 2 * r * pi;
System.out.printf("%lf %lf", area, length);
}
} | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner num = new Scanner(System.in);
double r = num.nextDouble();
double pi = Math.PI;
double area = r * r * pi;
double length = 2 * r * pi;
System.out.printf("%f %f\n", area, length);
}
} | [["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 44]] | 3 | 83 |
import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
double r = Double.parseDouble(str);
System.out.printf("%6f %6f", 2 * r * Math.PI, r * r * Math.PI)... | import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
double r = Double.parseDouble(str);
System.out.printf("%6f %6f", r * r * Math.PI, 2 * r * Math.PI)... | [["-", 0, 492, 3, 4, 0, 16, 31, 16, 31, 499], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 31, 22], ["-", 0, 492, 3, 4, 0, 16, 31, 16, 31, 22], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 31, 499]] | 3 | 87 |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigDecimal;
public class Main {
public static void main(String[] args) {
try {
BufferedReader reader =
new BufferedReader(new InputStreamReader(System.in));
String inputData = rea... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigDecimal;
public class Main {
public static void main(String[] args) {
try {
BufferedReader reader =
new BufferedReader(new InputStreamReader(System.in));
String inputData = rea... | [["-", 0, 503, 49, 200, 51, 230, 3, 4, 0, 515], ["+", 0, 503, 49, 200, 51, 230, 3, 4, 0, 515]] | 3 | 178 |
import java.util.*;
class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
double r = s.nextDouble();
double a = r * 2 * Math.PI;
String c = String.format("%.6f", a);
double b = r * r * Math.PI;
String d = String.format("%.6f", b);
System.out.println(c +... | 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 ... | [["-", 0, 503, 49, 200, 51, 16, 31, 16, 12, 499], ["+", 0, 503, 49, 200, 51, 16, 31, 16, 12, 22], ["-", 0, 503, 49, 200, 51, 16, 31, 16, 12, 22], ["+", 0, 503, 49, 200, 51, 16, 31, 16, 12, 499]] | 3 | 108 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double PI = 3.14159275;
double r = sc.nextInt();
double A = PI * r * r;
double P = 2 * PI * r;
System.out.printf("%5.5f %5.5f\n", A, P);
sc.close();
}
} | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double PI = Math.PI;
double r = sc.nextDouble();
double A = PI * r * r;
double P = 2 * PI * r;
System.out.printf("%5.5f %5.5f ", A, P);
sc.close();
}
} | [["-", 0, 195, 8, 196, 0, 503, 49, 200, 51, 515], ["+", 8, 196, 0, 503, 49, 200, 51, 509, 500, 22], ["+", 8, 196, 0, 503, 49, 200, 51, 509, 0, 131], ["+", 8, 196, 0, 503, 49, 200, 51, 509, 119, 22], ["-", 8, 196, 0, 503, 49, 200, 51, 492, 141, 22], ["+", 8, 196, 0, 503, 49, 200, 51, 492, 141, 22], ["-", 0, 1, 0, 492, 3... | 3 | 89 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
double a;
double b;
a = 2 * 3.14159265359 * x;
b = 3.14159265359 * x * x;
System.out.printf("%.6f %.6f", a, b);
}
} | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double x = sc.nextDouble();
double a;
double b;
a = 2 * 3.14159265359 * x;
b = 3.14159265359 * x * x;
System.out.printf("%.6f %.6f", b, a);
}
} | [["-", 0, 195, 8, 196, 0, 503, 39, 506, 0, 507], ["+", 0, 195, 8, 196, 0, 503, 39, 511, 0, 512], ["-", 8, 196, 0, 503, 49, 200, 51, 492, 141, 22], ["+", 8, 196, 0, 503, 49, 200, 51, 492, 141, 22], ["-", 8, 196, 0, 1, 0, 492, 3, 4, 0, 21], ["-", 8, 196, 0, 1, 0, 492, 3, 4, 0, 22], ["+", 8, 196, 0, 1, 0, 492, 3, 4, 0, 21... | 3 | 81 |
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("%.5f %.5f", 2 * r * Math.PI, r * r * Math.PI);
}
}
| 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("%.5f %.5f", r * r * Math.PI, 2 * r * Math.PI);
}
}
| [["-", 0, 492, 3, 4, 0, 16, 31, 16, 31, 499], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 31, 22], ["-", 0, 492, 3, 4, 0, 16, 31, 16, 31, 22], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 31, 499]] | 3 | 71 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner in = new Scanner(System.in);
double r = in.nextDouble();
// System.out.println((r*r*Math.PI) + " " + (2*r*Math.PI));
System.out.printf("%f%f", (r * r * 3.14), (2 * r * 3.14))... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner in = new Scanner(System.in);
double r = in.nextDouble();
// System.out.println((r*r*Math.PI) + " " + (2*r*Math.PI));
System.out.printf("%f %f", (r * r * Math.PI), (2 * r * Ma... | [["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["-", 0, 492, 3, 4, 0, 23, 0, 16, 12, 515], ["+", 3, 4, 0, 23, 0, 16, 12, 509, 500, 22], ["+", 3, 4, 0, 23, 0, 16, 12, 509, 0, 131], ["+", 3, 4, 0, 23, 0, 16, 12, 509, 119, 22]] | 3 | 74 |
import java.io.ByteArrayInputStream;
import java.io.PrintWriter;
import java.util.Scanner;
public class Main {
String INPUT = "";
public static void main(String[] args) throws Exception { new Main().run(); }
void run() {
Scanner sc = INPUT.isEmpty()
? new Scanner(System.in)
... | import java.io.ByteArrayInputStream;
import java.io.PrintWriter;
import java.util.Scanner;
public class Main {
String INPUT = "";
public static void main(String[] args) throws Exception { new Main().run(); }
void run() {
Scanner sc = INPUT.isEmpty()
? new Scanner(System.in)
... | [["-", 0, 16, 31, 16, 31, 492, 3, 4, 0, 22], ["+", 0, 16, 31, 16, 31, 492, 3, 4, 0, 22], ["-", 3, 4, 0, 16, 12, 492, 3, 4, 0, 22], ["+", 3, 4, 0, 16, 12, 492, 3, 4, 0, 22]] | 3 | 191 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int r = sc.nextInt();
double x = Math.PI;
System.out.printf("%06f", r * 2 * x);
System.out.print(" ");
System.out.printf("%06f", r * r * x);
}
}
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double r = sc.nextDouble();
double x = Math.PI;
System.out.printf("%06f", (r * r * x));
System.out.print(" ");
System.out.printf("%06f", r * 2 * x);
}
}
| [["-", 0, 195, 8, 196, 0, 503, 39, 506, 0, 507], ["+", 0, 195, 8, 196, 0, 503, 39, 511, 0, 512], ["-", 8, 196, 0, 503, 49, 200, 51, 492, 141, 22], ["+", 8, 196, 0, 503, 49, 200, 51, 492, 141, 22], ["+", 0, 1, 0, 492, 3, 4, 0, 23, 0, 24], ["-", 0, 492, 3, 4, 0, 16, 31, 16, 12, 499], ["+", 3, 4, 0, 23, 0, 16, 31, 16, 12,... | 3 | 96 |
import java.util.Scanner;
class Main {
public static void main(String args[]) {
Scanner scanner = new Scanner(System.in);
// double r = scanner.nextInt();
double r = scanner.nextDouble();
double n = 0.f;
double p = 3.141592;
n = r * r * p;
System.out.printf("%.6f ", n);
n = 2 * r *... | import java.util.Scanner;
class Main {
public static void main(String args[]) {
Scanner scanner = new Scanner(System.in);
// double r = scanner.nextInt();
double r = scanner.nextDouble();
double n = 0.f;
double p = 3.141592653589793;
n = r * r * p;
System.out.printf("%.6f ", n);
n ... | [["-", 0, 195, 8, 196, 0, 503, 49, 200, 51, 515], ["+", 0, 195, 8, 196, 0, 503, 49, 200, 51, 515]] | 3 | 102 |
import java.io.*;
import java.lang.Math;
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 * Math.PI * r;
double s = Math.pow(r, 2) * Math.PI;
... | import java.io.*;
import java.lang.Math;
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 * Math.PI * r;
double s = Math.pow(r, 2) * Math.PI;
... | [["-", 0, 16, 31, 16, 31, 492, 3, 4, 0, 22], ["+", 0, 16, 31, 16, 31, 492, 3, 4, 0, 22], ["-", 3, 4, 0, 16, 12, 492, 3, 4, 0, 22], ["+", 3, 4, 0, 16, 12, 492, 3, 4, 0, 22]] | 3 | 121 |
import java.lang.Math;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double r;
double l, s;
r = sc.nextDouble();
l = 2 * r * Math.PI;
s = r * r * Math.PI;
System.out.println(String.format("%.6f", l) + " " +
... | import java.lang.Math;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double r;
double l, s;
r = sc.nextDouble();
l = 2 * r * Math.PI;
s = r * r * Math.PI;
System.out.println(String.format("%.6f", s) + " " +
... | [["-", 0, 16, 31, 16, 31, 492, 3, 4, 0, 22], ["+", 0, 16, 31, 16, 31, 492, 3, 4, 0, 22], ["-", 3, 4, 0, 16, 12, 492, 3, 4, 0, 22], ["+", 3, 4, 0, 16, 12, 492, 3, 4, 0, 22]] | 3 | 117 |
import java.util.Scanner;
// 20180508
// 03
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
double r = scanner.nextDouble();
double area = 2 * r * Math.PI;
double length = Math.pow(r, 2) * 3.14;
System.out.println(String.format("%.6f", le... | import java.util.Scanner;
// 20180508
// 03
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
double r = scanner.nextDouble();
double area = (2 * r) * Math.PI;
double length = Math.pow(r, 2) * Math.PI;
System.out.println(String.format("%.6f... | [["+", 0, 503, 49, 200, 51, 16, 31, 23, 0, 24], ["+", 0, 503, 49, 200, 51, 16, 31, 23, 0, 25], ["-", 8, 196, 0, 503, 49, 200, 51, 16, 12, 515], ["+", 0, 503, 49, 200, 51, 16, 12, 509, 500, 22], ["+", 0, 503, 49, 200, 51, 16, 12, 509, 0, 131], ["+", 0, 503, 49, 200, 51, 16, 12, 509, 119, 22]] | 3 | 110 |
import java.util.Scanner;
class Main {
Scanner sc = new Scanner(System.in);
public void run() {
double r = sc.nextDouble();
ln(String.format("%.8f %8f", Math.PI * 2 * r, Math.PI * r * r));
}
public static void main(String[] args) { new Main().run(); }
public static void pr(Object o) { System.out.pr... | import java.util.Scanner;
class Main {
Scanner sc = new Scanner(System.in);
public void run() {
double r = sc.nextDouble();
ln(String.format("%.8f %8f", Math.PI * r * r, Math.PI * 2 * r));
}
public static void main(String[] args) { new Main().run(); }
public static void pr(Object o) { System.out.pr... | [["-", 0, 492, 3, 4, 0, 16, 31, 16, 12, 499], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 12, 22], ["-", 0, 492, 3, 4, 0, 16, 31, 16, 12, 22], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 12, 499]] | 3 | 141 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
double a = scan.nextDouble();
System.out.printf("%f %f", Math.PI * 2 * a, Math.PI * a * a);
}
} | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
double a = scan.nextDouble();
System.out.printf("%f %f", Math.PI * a * a, Math.PI * 2 * a);
}
} | [["-", 0, 492, 3, 4, 0, 16, 31, 16, 12, 499], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 12, 22], ["-", 0, 492, 3, 4, 0, 16, 31, 16, 12, 22], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 12, 499]] | 3 | 71 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
double r = input.nextDouble();
double a = (r * 2) * Math.PI;
double b = r * r * Math.PI;
System.out.println(String.format("%.6f %.6f", a, b));
}
} | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
double r = input.nextDouble();
double a = (r * 2) * Math.PI;
double b = r * r * Math.PI;
System.out.println(String.format("%.6f %.6f", b, a));
}
} | [["-", 0, 492, 3, 4, 0, 492, 3, 4, 0, 22], ["-", 0, 492, 3, 4, 0, 492, 3, 4, 0, 21], ["+", 0, 492, 3, 4, 0, 492, 3, 4, 0, 21], ["+", 0, 492, 3, 4, 0, 492, 3, 4, 0, 22]] | 3 | 88 |
a,b = gets.split.map(&:to_i)
printf("%d %d %.6f\n" ,a/b,a%b,a.to_f%b.to_f)
| a,b = gets.split.map(&:to_i)
printf("%d %d %.6f\n",a/b,a%b,a.to_f/b.to_f)
| [["-", 0, 493, 0, 652, 3, 4, 0, 738, 17, 109], ["+", 0, 493, 0, 652, 3, 4, 0, 738, 17, 85]] | 4 | 36 |
a,b = gets.chomp.split.map(&:to_i)
puts "#{a / b} #{a % b} #{sprintf("%f", a / b)}" | a,b = gets.chomp.split.map(&:to_i)
puts "#{a / b} #{a % b} #{sprintf("%f", a / b.to_f)}" | [["+", 0, 652, 3, 4, 0, 738, 12, 652, 17, 131], ["+", 0, 652, 3, 4, 0, 738, 12, 652, 735, 22]] | 4 | 42 |
a, b = gets.split.map(&:to_i)
d = (a / b)
r = (a % b)
f = sprintf("%10.10f", (a / b))
puts "#{d} #{r} #{f}" | a, b = gets.split.map(&:to_i)
d = (a / b)
r = (a % b)
f = sprintf("%10.10f", (a.to_f / b))
puts "#{d} #{r} #{f}" | [["+", 3, 4, 0, 739, 0, 738, 31, 652, 17, 131], ["+", 3, 4, 0, 739, 0, 738, 31, 652, 735, 22]] | 4 | 55 |
a, b = ARGF.gets.split.map(&:to_i)
d = a / b
r = a % b
f = (a / b).to_f
printf("%d %d %f\n", d, r, f) | a, b = ARGF.gets.split.map(&:to_i)
d = a / b
r = a % b
f = a.to_f / b
printf("%d %d %f\n", d, r, f) | [["-", 0, 493, 0, 662, 12, 652, 486, 739, 0, 24], ["-", 0, 662, 12, 652, 486, 739, 0, 738, 17, 85], ["-", 0, 662, 12, 652, 486, 739, 0, 738, 12, 22], ["-", 0, 493, 0, 662, 12, 652, 486, 739, 0, 25], ["+", 36, 36, 0, 493, 0, 662, 12, 738, 17, 85], ["+", 36, 36, 0, 493, 0, 662, 12, 738, 12, 22]] | 4 | 47 |
a,b=gets.split.map &:to_i
puts "#{a/b} #{a%b} %06f" % a.to_f/b.to_f | a,b=gets.split.map &:to_i
puts "#{a/b} #{a%b} %06f" % (a/b.to_f) | [["+", 0, 652, 3, 4, 0, 738, 12, 739, 0, 24], ["-", 3, 4, 0, 738, 31, 738, 12, 652, 17, 131], ["-", 3, 4, 0, 738, 31, 738, 12, 652, 735, 22], ["+", 0, 652, 3, 4, 0, 738, 12, 739, 0, 25]] | 4 | 34 |
a, b,= gets.split.map(&:to_i)
puts [a / b, a % b, sprintf("%.5f",a / b)].join ' ' | a, b,= gets.split.map(&:to_i)
puts [a / b, a % b, sprintf("%.5f",a * 1.0 / b)].join ' ' | [["+", 0, 652, 3, 4, 0, 738, 31, 738, 17, 48], ["+", 0, 652, 3, 4, 0, 738, 31, 738, 12, 531]] | 4 | 40 |
a,b = gets.chomp.split.map(&:to_i)
d = a + b
r = a % b
f = a.to_f / b
puts "#{d} #{r} " + sprintf("%.5f", f) | a, b = gets.split.map(&:to_i)
d = a / b
r = a % b
f = a.to_f / b
puts "#{d} #{r} " + sprintf("%.5f", f) | [["-", 0, 662, 12, 652, 486, 652, 486, 652, 735, 22], ["-", 0, 493, 0, 662, 12, 652, 486, 652, 17, 131], ["-", 36, 36, 0, 493, 0, 662, 12, 738, 17, 72], ["+", 36, 36, 0, 493, 0, 662, 12, 738, 17, 85]] | 4 | 52 |
a, b = gets.split.map!(&:to_i)
puts("#{a/b} #{a%b} #{format("%.5f", a / b)}") | a, b = gets.split.map!(&:to_i)
puts("#{a/b} #{a%b} #{format("%.5f", a / b.to_f)}") | [["+", 0, 652, 3, 4, 0, 738, 12, 652, 17, 131], ["+", 0, 652, 3, 4, 0, 738, 12, 652, 735, 22]] | 4 | 42 |
a,b=gets.split.map &:to_i
printf"%d %d %f",a/b,a%b,a/b | a,b=gets.split.map &:to_f
printf"%d %d %f",a/b,a%b,a/b | [["-", 0, 662, 12, 652, 3, 4, 0, 752, 0, 753], ["+", 0, 662, 12, 652, 3, 4, 0, 752, 0, 753]] | 4 | 27 |
a,b = gets.split
c = a.to_i/b.to_i
d = a.to_i%b.to_i
e = a.to_f/b.to_i
puts("%d %d %f\n", c, d, e) | a,b = gets.split
c = a.to_i/b.to_i
d = a.to_i%b.to_i
e = a.to_f/b.to_i
printf("%d %d %f\n", c, d, e) | [["-", 36, 36, 36, 36, 0, 493, 0, 652, 735, 22], ["+", 36, 36, 36, 36, 0, 493, 0, 652, 735, 22]] | 4 | 47 |
a, b = ln.split.map(&:to_i)
d = a / b
r = a % b
f = a / b.to_f
puts sprintf("%d %d %.8f", d, r, f) | a, b = gets.split.map(&:to_i)
d = a / b
r = a % b
f = a / b.to_f
puts sprintf("%d %d %.8f", d, r, f) | [["-", 0, 493, 0, 662, 12, 652, 486, 652, 486, 22], ["+", 0, 493, 0, 662, 12, 652, 486, 652, 486, 22]] | 4 | 43 |
a, b = map(int, input().split())
d = a/b
r = a%b
f = a/b
print("%d %d %f", d, r, f)
| a, b = map(int, input().split())
d = a/b
r = a%b
f = a/b
print("%d %d %.6f"%(d, r, f))
| [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 657, 31, 557, 0, 6], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 21], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 17, 109], ["+", 0, 652, 3, 4, 0, 657, 12, 660, 0, 24], ["+", 0, 652, 3, 4, 0, 657, 12, 660, 0, 25]] | 5 | 43 |
a,b=(int,input().split())
print("{0} {1} {2:.8f}".format(a // b, a % b, a / b))
| a,b = map(int,input().split())
print("{0} {1} {2:.8f}".format(a // b, a % b, a / b))
| [["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22]] | 5 | 36 |
a,b = map(int, input().split())
a1,b2 = float(a),float(b)
print(f"{a/b} {a%b} {a1/b2}")
|
a,b = map(int, input().split())
a1,b2 = float(a),float(b)
print(f"{a//b} {a%b} {a1/b2:.9f}")
| [["-", 3, 4, 0, 557, 0, 284, 205, 657, 17, 85], ["+", 3, 4, 0, 557, 0, 284, 205, 657, 17, 676], ["+", 3, 4, 0, 557, 0, 284, 701, 701, 0, 102]] | 5 | 51 |
a,b=map(int, input().split())
print('{:.0f} {:.0f} {:.8f}'.format(a/b,a%b, a/b))
| a,b=map(int, input().split())
print('{:.0f} {:.0f} {:.8f}'.format(int(a/b),a%b, a/b))
| [["+", 3, 4, 0, 652, 3, 4, 0, 652, 63, 22], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 37 |
a,b = map(int,input().split())
x = int(a // b)
y = int(a - b*x)
z = a / b
print(x,y,f"{x:.5f}")
| a,b = map(int,input().split())
x = int(a // b)
y = int(a - b*x)
z = a / b
print(x,y,f"{z:.5f}")
| [["-", 0, 652, 3, 4, 0, 557, 0, 284, 205, 22], ["+", 0, 652, 3, 4, 0, 557, 0, 284, 205, 22]] | 5 | 53 |
a, b = map(int, input().split())
print(str(a / b) + " " + str(a % b) + " " + str("{0:.5f}".format(a/b)))
| a, b = map(int, input().split())
print(str(a // b) + " " + str(a % b) + " " + str("{0:.5f}".format(a/b)))
| [["-", 31, 657, 31, 652, 3, 4, 0, 657, 17, 85], ["+", 31, 657, 31, 652, 3, 4, 0, 657, 17, 676]] | 5 | 54 |
a,b = map(int, input().split())
print("%d, %d, %f" %(a//b, a%b, a/b) )
| a,b = map(int, input().split())
print("%d %d %0.5f" %(a//b, a%b, a/b) )
| [["-", 0, 652, 3, 4, 0, 657, 31, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 657, 31, 557, 0, 6]] | 5 | 36 |
a, b = map(int, input().split())
d = a//b
r = a%b
f = a/b
print(f'{d}, {r}, {f:.5f}')
| a, b = map(int, input().split())
d = a//b
r = a%b
f = a/b
print(f'{d} {r} {f:.5f}')
| [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 49 |
a,b = map(int,input().split())
print(f'{a//b}{a%b}{(a/b):.6f}')
| a,b = map(int, input().split())
print(f'{a//b} {a%b} {(a/b):.6f}')
| [["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 40 |
(a,b) = (int(i) for i in input().split())
d = a // b
r = a % b
f = a / b
print('{0}, {1}, {2:8f}'.format(d,r,f)) | (a,b) = (int(i) for i in input().split())
d = a // b
r = a % b
f = a / b
print('{0} {1} {2:.8f}'.format(d,r,f)) | [["-", 3, 4, 0, 652, 63, 319, 500, 557, 0, 6], ["+", 3, 4, 0, 652, 63, 319, 500, 557, 0, 6]] | 5 | 52 |
(a,b) = [int(x) for x in input().rstrip().split()]
d = a // b
r = a % b
f = a / b
print('{0} {1} {2:.8f}', d,r,f) | (a,b) = [int(x) for x in input().rstrip().split()]
d = a // b
r = a % b
f = a / b
print('{0} {1} {2:.8f}'.format(d,r,f)) | [["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 21], ["+", 0, 652, 3, 4, 0, 652, 63, 319, 0, 131], ["+", 0, 652, 3, 4, 0, 652, 63, 319, 319, 22], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 53 |
(a, b) = [int(i) for i in input()]
while True:
d = a // b
r = a % b
f = a / b
print( '{0:d} {1:d} {2:.5f}'.format( d, r, f))
break | (a, b) = [int(i) for i in input().split()]
while True:
d = a // b
r = a % b
f = a / b
print( '{0:d} {1:d} {2:.5f}'.format( d, r, f))
break | [["+", 12, 658, 0, 659, 12, 652, 63, 319, 0, 131], ["+", 12, 658, 0, 659, 12, 652, 63, 319, 319, 22], ["+", 12, 658, 0, 659, 12, 652, 3, 4, 0, 24], ["+", 12, 658, 0, 659, 12, 652, 3, 4, 0, 25]] | 5 | 52 |
(a, b) = [int(i) for i in input().split()]
d = int(a / b)
r = a % b
f = a / b
print('%s %s %. 5f' % (d, r, f)) | (a, b) = [int(i) for i in input().split()]
d = int(a / b)
r = a % b
f = a / b
print('%s %s %.5f' % (d, r, f)) | [["-", 0, 652, 3, 4, 0, 657, 31, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 657, 31, 557, 0, 6]] | 5 | 54 |
a, b = list(map(int, input().split()))
c = double(a)
d = double(b)
print("%d %d %.5f" %(a/b, a%b, c/d)) | a, b = list(map(int, input().split()))
c = float(a)
d = float(b)
print("%d %d %.5f" %(a/b, a%b, c/d)) | [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22]] | 5 | 51 |
a, b = list(map(int, input().split()))
d = a/b
r = a%b
f = double(a/b)
print("%d %d %f" %(d, r, f)) | a, b = list(map(int, input().split()))
d = a/b
r = a%b
f = float(a)/b
print("%d %d %.8f" %(d, r, f)) | [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 657, 31, 652, 63, 22], ["+", 0, 662, 12, 657, 31, 652, 3, 4, 0, 25], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25], ["-", 0, 652, 3, 4, 0, 657, 31, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 657, 31, 557, 0, 6]] | 5 | 51 |
a,b = list(map(double,input().split()))
print("%d %d %f" %(a/b, a%b, a/b)) | a,b = list(map(int,input().split()))
print("%d %d %f" %(a/b, a%b, float(a)/b)) | [["-", 12, 652, 3, 4, 0, 652, 3, 4, 0, 22], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 22], ["+", 0, 657, 12, 660, 0, 657, 31, 652, 63, 22], ["+", 12, 660, 0, 657, 31, 652, 3, 4, 0, 24], ["+", 12, 660, 0, 657, 31, 652, 3, 4, 0, 25]] | 5 | 39 |
int main() {
double r, pi = 3.141592653;
scanf("%lf", &r);
printf("%lf %lf\n", pi * r * r, 2 * pi * r);
return 0;
} | int main() {
double r, pi = 3.141592653589;
scanf("%lf", &r);
printf("%lf %lf\n", pi * r * r, 2 * pi * r);
return 0;
} | [["-", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13]] | 0 | 46 |
#include <stdio.h>
int main() {
double r;
scanf("%lf", &r);
{ printf("%f %f\n", r * r * 3.141592653589, r + r * 3.141592653589); }
return 0;
} | #include <stdio.h>
int main() {
double r;
scanf("%lf", &r);
{ printf("%f %f\n", r * r * 3.141592653589, r * 2 * 3.141592653589); }
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 16, 17, 72], ["-", 0, 2, 3, 4, 0, 16, 12, 16, 31, 22], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 17, 48], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 12, 13]] | 0 | 46 |
#include <stdio.h>
#define PIE 3.14159265
int main(void) {
double r, s, l;
scanf("%lf", &r);
s = r * r * PIE;
l = 2 * r * PIE;
printf("%f %f\n", s, l);
return 0;
}
| #include <stdio.h>
#define PIE 3.14159265359
int main(void) {
double r, s, l;
scanf("%lf", &r);
s = r * r * PIE;
l = 2 * r * PIE;
printf("%f %f\n", s, l);
return 0;
}
| [["-", 36, 36, 36, 36, 0, 30, 0, 58, 51, 59], ["+", 36, 36, 36, 36, 0, 30, 0, 58, 51, 59]] | 0 | 60 |
#include <stdio.h>
int main(void) {
double r;
double l, s, PI = 3.141592653589;
scanf("%lf", &r);
l = 1.0 * 2 * r * PI;
s = 1.0 * r * r * PI;
printf("%f %f\n", l, s);
return 0;
}
| #include <stdio.h>
int main(void) {
double r;
double l, s, PI = 3.141592653589;
scanf("%lf", &r);
l = 1.0 * 2 * r * PI;
s = 1.0 * r * r * PI;
printf("%f %f\n", s, l);
return 0;
}
| [["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]] | 0 | 66 |
#include <math.h>
#include <stdio.h>
int main() {
double r, a, b;
scanf("%f", &r);
a = (double)M_PI * r * r;
b = (double)M_PI * r * 2;
printf("%f %f\n", a, b);
return 0;
}
| #include <math.h>
#include <stdio.h>
int main() {
double r, a, b;
scanf("%lf", &r);
a = (double)M_PI * r * r;
b = (double)M_PI * r * 2;
printf("%f %f\n", a, b);
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 64 |
#include <stdio.h>
int main(void) {
double r, pi = 3.1415926;
scanf("%lf", &r);
printf("%lf %lf\n", r * r * pi, 2 * r * pi);
return 0;
}
| /*ITP1_4_B.c*/
#include <stdio.h>
int main(void) {
double r, pi;
pi = 3.14159265359;
scanf("%lf", &r);
printf("%lf %lf\n", r * r * pi, 2 * r * pi);
return 0;
}
| [["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 31, 22], ["-", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 12, 13]] | 0 | 49 |
#include <stdio.h>
#include <stdlib.h>
#define PI 3.141592653589793
int main() {
double a;
scanf("%1f", &a);
printf("%1f %f\n", a * a * PI, a * 2 * PI);
return 0;
}
| #include <stdio.h>
#include <stdlib.h>
#define PI 3.141592653589793
int main() {
double a;
scanf("%lf", &a);
printf("%lf %f\n", a * a * PI, a * 2 * PI);
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 49 |
#include <stdio.h>
int main(void) {
double r;
double l, s;
double f = 3.14159265359;
scanf("%d", &r);
l = 1.0 * 2 * r * f;
s = 1.0 * r * r * f;
printf("%.5lf %.5lf\n", s, l);
return 0;
}
| #include <stdio.h>
int main(void) {
double r;
double l, s;
double f = 3.14159265359;
scanf("%lf", &r);
l = 1.0 * 2 * r * f;
s = 1.0 * r * r * f;
printf("%lf %lf\n", s, l);
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 67 |
#include <stdio.h>
#define PI 3.14159265359
int main() {
double r;
scanf("%lf", &r);
printf("%lf %lf", 2 * r * PI, r * r * PI);
printf("\n");
return 0;
}
| #include <stdio.h>
#define PI 3.14159265359
int main() {
double r;
scanf("%lf", &r);
printf("%lf %lf", r * r * PI, 2 * r * PI);
printf("\n");
return 0;
}
| [["-", 0, 2, 3, 4, 0, 16, 31, 16, 31, 13], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 31, 22], ["-", 0, 2, 3, 4, 0, 16, 31, 16, 31, 22], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 31, 13]] | 0 | 53 |
#include <stdio.h>
main() {
double r;
scanf("%lf", &r);
printf("%f %f\n", 2 * r * 3.141592653589, r * r * 3.141592653589);
return 0;
} | #include <stdio.h>
main() {
double r;
scanf("%lf", &r);
printf("%f %f\n", r * r * 3.141592653589, 2 * r * 3.141592653589);
return 0;
} | [["-", 0, 2, 3, 4, 0, 16, 31, 16, 31, 13], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 31, 22], ["-", 0, 2, 3, 4, 0, 16, 31, 16, 31, 22], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 31, 13]] | 0 | 44 |
#include <stdio.h>
#define PI 3.141592653589
int main() {
double r;
scanf("%lf", &r);
printf("%lf %lf\n", 2 * r * PI, r * r * PI);
return 0;
} | #include <stdio.h>
#define PI 3.141592653589
int main() {
double r;
scanf("%lf", &r);
printf("%lf %lf\n", r * r * PI, 2 * r * PI);
return 0;
} | [["-", 0, 2, 3, 4, 0, 16, 31, 16, 31, 13], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 31, 22], ["-", 0, 2, 3, 4, 0, 16, 31, 16, 31, 22], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 31, 13]] | 0 | 47 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.