problem_id stringlengths 6 6 | buggy_code stringlengths 8 526k | fixed_code stringlengths 12 526k | labels listlengths 0 15 ⌀ | buggy_submission_id int64 1 1.54M | fixed_submission_id int64 2 1.54M | user_id stringlengths 10 10 | language stringclasses 8
values |
|---|---|---|---|---|---|---|---|
p02400 | #include "bits/stdc++.h"
using namespace std;
#define M_PI 3.14159265358979323846
int main() {
double r;
cin >> r;
cout << r * r * M_PI << " " << (r + r) * M_PI << endl;
return 0;
} | #include "bits/stdc++.h"
using namespace std;
#define M_PI 3.14159265358979323846
int main() {
double r;
cin >> r;
cout << fixed << r * r * M_PI << " " << (r + r) * M_PI << endl;
return 0;
} | [
"io.output.change"
] | 187,744 | 187,745 | u474427014 | cpp |
p02400 | #include <cstdio>
int main() {
double r;
double p = 3.141592653589;
scanf("%lf", r);
double S = p * r * r;
double L = 2 * p * r;
printf("%f %f\n", S, L);
return 0;
} | #include <cstdio>
int main() {
double r;
double p = 3.141592653589;
scanf("%lf", &r);
double S = p * r * r;
double L = 2 * p * r;
printf("%f %f\n", S, L);
return 0;
} | [
"expression.operation.unary.reference.add"
] | 187,747 | 187,748 | u806178009 | cpp |
p02400 | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double r, p, m;
cin >> r;
p = r * r * 3.14159265;
m = r * 2 * 3.14159265;
printf("%f", p);
printf(" ");
printf("%f", m);
} | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double r, p, m;
cin >> r;
p = r * r * 3.141592653589;
m = r * 2 * 3.141592653589;
printf("%f", p);
printf(" ");
printf("%f", m);
} | [
"literal.number.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 187,749 | 187,750 | u473570998 | cpp |
p02400 | #include <stdio.h>
int main(void) {
double r, l, s;
scanf("%lf", &r);
l = 2 * r * 3.141592653589;
s = 3.141592653589 * r * r;
printf("%f %f\n", l, s);
return 0;
} | #include <stdio.h>
int main(void) {
double r, l, s;
scanf("%lf", &r);
l = 2 * r * 3.141592653589;
s = 3.141592653589 * r * r;
printf("%f %f\n", s, l);
return 0;
} | [
"call.arguments.change",
"call.arguments.add"
] | 187,752 | 187,753 | u856166385 | cpp |
p02400 | #define _USE_MATH_DEFINES
#include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
double a;
cin >> a;
printf("%lf %lf", M_PI * M_PI * a, 2 * a * M_PI);
return 0;
} | #define _USE_MATH_DEFINES
#include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
double a;
cin >> a;
printf("%lf %lf\n", M_PI * a * a, 2.0 * a * M_PI);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add",
"identifier.change",
"expression.operation.binary.change",
"literal.number.change"
] | 187,754 | 187,755 | u675666132 | cpp |
p02400 | #define _USE_MATH_DEFINES
#include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
double a;
cin >> a;
printf("%lf %lf", M_PI * M_PI * a, 2.0 * a * M_PI);
return 0;
} | #define _USE_MATH_DEFINES
#include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
double a;
cin >> a;
printf("%lf %lf\n", M_PI * a * a, 2.0 * a * M_PI);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add",
"identifier.change",
"expression.operation.binary.change"
] | 187,756 | 187,755 | u675666132 | cpp |
p02400 | #include <iomanip>
#include <iostream>
#define _USE_MATH_DEFINES
#include <math.h>
using namespace std;
int main() {
double r;
cin >> r;
cout << fixed << setprecision(8) << M_PI * 2 * r << " " << M_PI * r * r
<< endl;
} | #include <iomanip>
#include <iostream>
#define _USE_MATH_DEFINES
#include <math.h>
using namespace std;
int main() {
double r;
cin >> r;
cout << fixed << setprecision(8) << M_PI * r * r << " " << M_PI * 2 * r
<< endl;
} | [
"identifier.replace.add",
"literal.replace.remove",
"io.output.change",
"identifier.replace.remove",
"literal.replace.add"
] | 187,758 | 187,759 | u313570264 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
#define PI 3.14159265
int main() {
double r;
cin >> r;
cout << fixed << setprecision(6) << r * r * PI << " " << fixed
<< setprecision(6) << 2 * PI * r << endl;
return 0;
} | #include <iomanip>
#include <iostream>
using namespace std;
const double PI = 3.14159265358979323846;
int main() {
double r;
cin >> r;
cout << fixed << setprecision(6) << r * r * PI << " " << fixed
<< setprecision(6) << 2 * PI * r << endl;
return 0;
} | [
"variable_declaration.add"
] | 187,764 | 187,765 | u822202919 | cpp |
p02400 | #include <iostream>
#include <math.h>
#include <stdio.h>
using namespace std;
int main() {
int r;
cin >> r;
double a = 2 * M_PI * r;
double b = M_PI * r * r;
printf("%.6f %.6f\n", a, b);
} | #include <iostream>
#include <math.h>
#include <stdio.h>
using namespace std;
int main() {
double r;
cin >> r;
double a = 2 * M_PI * r;
double b = M_PI * r * r;
printf("%.6f %.6f\n", b, a);
} | [
"variable_declaration.type.primitive.change",
"call.arguments.change",
"call.arguments.add"
] | 187,767 | 187,768 | u296395710 | cpp |
p02400 | #include <iostream>
#include <math.h>
#include <stdio.h>
using namespace std;
int main() {
double r;
cin >> r;
double a = 2 * M_PI * r;
double b = M_PI * r * r;
printf("%.6f %.6f\n", a, b);
} | #include <iostream>
#include <math.h>
#include <stdio.h>
using namespace std;
int main() {
double r;
cin >> r;
double a = 2 * M_PI * r;
double b = M_PI * r * r;
printf("%.6f %.6f\n", b, a);
} | [
"call.arguments.change",
"call.arguments.add"
] | 187,769 | 187,768 | u296395710 | cpp |
p02400 | #include <iomanip>
#include <iostream>
#include <math.h>
using namespace std;
int main() {
long r;
cin >> r;
double f = M_PI * r * r;
double g = 2 * M_PI * r;
cout << fixed << setprecision(6) << f << " ";
cout << fixed << setprecision(6) << f << endl;
return 0;
} | #include <iomanip>
#include <iostream>
#include <math.h>
using namespace std;
int main() {
double r;
cin >> r;
double f = M_PI * r * r;
double g = 2 * M_PI * r;
cout << fixed << setprecision(6) << f << " ";
cout << fixed << setprecision(6) << g << endl;
return 0;
} | [
"variable_declaration.type.primitive.change",
"identifier.change",
"io.output.change"
] | 187,772 | 187,773 | u580616456 | cpp |
p02400 | #define _USE_MATH_DEFINES
#include <math.h>
#include <stdio.h>
int main() {
double r;
scanf("%f", &r);
printf("%f %f\n", r * r * M_PI, r * 2 * M_PI);
return 0;
} | #define _USE_MATH_DEFINES
#include <math.h>
#include <stdio.h>
int main() {
double r;
scanf("%lf", &r);
printf("%f %f\n", r * r * M_PI, r * 2 * M_PI);
return 0;
} | [
"literal.string.change",
"call.arguments.change"
] | 187,776 | 187,777 | u123854743 | cpp |
p02400 | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main(void) {
double r;
double round, surface;
cin >> r;
round = 2 * M_PI * r;
surface = M_PI * pow(r, 2);
cout << fixed << setprecision(6) << round << " " << surface << endl;
return 0;
} | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main(void) {
double r;
double round, surface;
cin >> r;
round = 2 * M_PI * r;
surface = M_PI * pow(r, 2);
cout << fixed << setprecision(5) << surface << " " << round << endl;
return 0;
} | [
"literal.number.change",
"io.output.change",
"identifier.change"
] | 187,792 | 187,789 | u094497618 | cpp |
p02400 | #include <iomanip>
#include <iostream>
#include <math.h>
using namespace std;
int main() {
int r;
cin >> r;
cout << setprecision(10);
cout << M_PI * r * r << " ";
cout << M_PI * 2 * r << endl;
} | #include <iomanip>
#include <iostream>
#include <math.h>
using namespace std;
int main() {
double r;
cin >> r;
cout << fixed << setprecision(6);
cout << M_PI * r * r << " ";
cout << M_PI * 2 * r << endl;
} | [
"variable_declaration.type.primitive.change",
"io.output.change",
"literal.number.change"
] | 187,795 | 187,796 | u562861626 | cpp |
p02400 | #include <stdio.h>
int main() {
double r;
scanf("%lf", &r);
double pi = 3.141592653589;
double area, circ;
area = 2 * pi * r;
circ = pi * r * r;
printf("%f %f\n", area, circ);
return 0;
} | #include <stdio.h>
int main() {
double r;
scanf("%lf", &r);
double pi = 3.141592653589;
double area, circ;
area = pi * r * r;
circ = 2 * pi * r;
printf("%f %f\n", area, circ);
return 0;
} | [
"assignment.add"
] | 187,800 | 187,801 | u243480637 | cpp |
p02400 | #include <cstdio>
#include <iostream>
using namespace std;
#define p 3.141592653589
int main() {
double r = 0;
cin >> r;
printf("%f %f\n", r * r * p, r * p);
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
#define p 3.141592653589
int main() {
double r = 0;
cin >> r;
printf("%f %f\n", r * r * p, r * 2 * p);
return 0;
} | [
"expression.operation.binary.add"
] | 187,806 | 187,807 | u361673277 | cpp |
p02400 | #include <stdio.h>
int main() {
float r, pi;
pi = 3.141592653;
scanf("%f", &r);
printf("%f %f\n", pi * r * r, 2 * pi * r);
return 0;
} | #include <stdio.h>
int main() {
double r, pi;
pi = 3.14159265358979;
scanf("%lf", &r);
printf("%f %f\n", pi * r * r, 2 * pi * r);
return 0;
} | [
"variable_declaration.type.primitive.change",
"literal.number.change",
"assignment.value.change",
"literal.string.change",
"call.arguments.change"
] | 187,812 | 187,813 | u611684804 | cpp |
p02400 | #include <stdio.h>
int main() {
double r, pi;
pi = 3.141592653;
scanf("%lf", &r);
printf("%f %f\n", pi * r * r, 2 * pi * r);
return 0;
} | #include <stdio.h>
int main() {
double r, pi;
pi = 3.14159265358979;
scanf("%lf", &r);
printf("%f %f\n", pi * r * r, 2 * pi * r);
return 0;
} | [
"literal.number.change",
"assignment.value.change"
] | 187,814 | 187,813 | u611684804 | cpp |
p02400 | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double r;
cin >> r;
printf("%.6lf", 2 * r * 3.141592653589);
cout << " ";
printf("%.6lf\n", r * r * 3.141592653589);
return 0;
} | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double r;
cin >> r;
printf("%.6lf", r * r * 3.141592653589);
cout << " ";
printf("%.6lf\n", 2 * r * 3.141592653589);
return 0;
} | [
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change",
"identifier.replace.remove",
"literal.replace.add"
] | 187,823 | 187,824 | u252365561 | cpp |
p02400 | #include <iostream>
using namespace std;
int main() {
int r;
cin >> r;
cout << fixed << (double)r * 2 * 3.14159265358979 << " " << fixed
<< (double)r * r * 3.14159265358979 << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
cout << fixed << (double)r * r * 3.14159265358979 << " " << fixed
<< (double)r * 2 * 3.14159265358979 << endl;
return 0;
} | [
"variable_declaration.type.primitive.change",
"identifier.replace.add",
"literal.replace.remove",
"io.output.change",
"identifier.replace.remove",
"literal.replace.add"
] | 187,829 | 187,830 | u883683427 | cpp |
p02400 | #include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
cout << fixed << r * r * 3.141592653589 << r * 2 * 3.141592653589 << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
cout << fixed << r * r * 3.141592653589 << " " << r * 2 * 3.141592653589
<< endl;
return 0;
} | [
"io.output.change"
] | 187,831 | 187,832 | u973569029 | cpp |
p02400 | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double a, b, c, d, e;
cin >> a;
b = a * 2;
c = a * a;
d = b * 3.14159265;
e = c * 3.14159265;
printf("%6f", d);
cout << " ";
printf("%6f", e);
cout << endl;
return 0;
} | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double a, b, c, d, e;
cin >> a;
b = a * 2;
c = a * a;
d = b * 3.14159265358979323846;
e = c * 3.14159265358979323846;
printf("%6f", e);
cout << " ";
printf("%6f", d);
cout << endl;
return 0;
} | [
"literal.number.change",
"assignment.value.change",
"expression.operation.binary.change",
"identifier.change",
"call.arguments.change",
"io.output.change"
] | 187,833 | 187,834 | u336839934 | cpp |
p02400 | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double a, b, c, d, e;
cin >> a;
b = a * 2;
c = a * a;
d = b * 3.14159265;
e = c * 3.14159265;
printf("%6f", e);
cout << " ";
printf("%6f", d);
cout << endl;
return 0;
} | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double a, b, c, d, e;
cin >> a;
b = a * 2;
c = a * a;
d = b * 3.14159265358979323846;
e = c * 3.14159265358979323846;
printf("%6f", e);
cout << " ";
printf("%6f", d);
cout << endl;
return 0;
} | [
"literal.number.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 187,835 | 187,834 | u336839934 | cpp |
p02400 | #include <iostream>
#include <stdio.h>
#define PI 3.1415926
using namespace std;
int main() {
int r;
double S, L;
cin >> r;
S = PI * r * r;
L = 2 * PI * r;
printf("%.8lf", S);
cout << " ";
printf("%.8lf\n", L);
return 0;
} | #include <iostream>
#include <stdio.h>
#define PI 3.14159265359
using namespace std;
int main() {
double r;
double S, L;
cin >> r;
S = PI * r * r;
L = 2 * PI * r;
printf("%.8lf", S);
cout << " ";
printf("%.8lf\n", L);
return 0;
} | [
"preprocessor.define.value.change",
"literal.float.change",
"variable_declaration.type.primitive.change"
] | 187,840 | 187,841 | u215283046 | cpp |
p02400 | //============================================================================
// Name : ku.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#include <iostrea... | //============================================================================
// Name : ku.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#include <iostrea... | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 187,843 | 187,844 | u897754289 | cpp |
p02400 | #include <iostream>
#include <map>
#include <math.h>
using namespace std;
float r, p, q;
int main() {
scanf("%f", &r);
p = 2 * r * M_PI;
q = r * r * M_PI;
printf("%f %f\n", p, q);
} | #include <iostream>
#include <map>
#include <math.h>
using namespace std;
double r, p, q;
int main() {
scanf("%lf", &r);
p = r * r * M_PI;
q = 2 * r * M_PI;
printf("%f %f\n", p, q);
} | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"call.arguments.change",
"assignment.value.change",
"identifier.replace.add",
"literal.replace.remove",
"expression.operation.binary.change",
"identifier.replace.remove",
"literal.replace.add",
"io.output.change"
] | 187,845 | 187,846 | u088091269 | cpp |
p02400 | #include <iostream>
#include <map>
#include <math.h>
using namespace std;
float r, p, q;
int main() {
scanf("%f", &r);
p = r * r * M_PI;
q = 2 * r * M_PI;
printf("%f %f\n", p, q);
} | #include <iostream>
#include <map>
#include <math.h>
using namespace std;
double r, p, q;
int main() {
scanf("%lf", &r);
p = r * r * M_PI;
q = 2 * r * M_PI;
printf("%f %f\n", p, q);
} | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 187,847 | 187,846 | u088091269 | cpp |
p02400 | #include <iostream>
#include <map>
#include <math.h>
using namespace std;
float r, p, q;
int main() {
scanf("%f", &r);
p = r * r * M_PI;
q = 2 * r * M_PI;
printf("%f %f\n", p, q);
} | #include <iostream>
#include <map>
#include <math.h>
using namespace std;
double r, p, q;
int main() {
scanf("%lf", &r);
p = r * r * M_PI;
q = 2 * r * M_PI;
printf("%f %f\n", p, q);
} | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"call.arguments.change"
] | 187,848 | 187,846 | u088091269 | cpp |
p02400 | #include <bits/stdc++.h>
using namespace std;
int main() {
double r;
scanf("%fl", &r);
printf("%f %f\n", r * r * 3.14159265, r * 2.0 * 3.14159265);
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
double r;
scanf("%lf", &r);
printf("%f %f\n", r * r * 3.141592653589, r * 2.0 * 3.141592653589);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"literal.number.change",
"expression.operation.binary.change",
"io.output.change"
] | 187,854 | 187,855 | u534535137 | cpp |
p02400 | #include <bits/stdc++.h>
using namespace std;
int main() {
double r;
scanf("%lf", &r);
printf("%f %f\n", r * r * 3.14159265, r * 2.0 * 3.14159265);
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
double r;
scanf("%lf", &r);
printf("%f %f\n", r * r * 3.141592653589, r * 2.0 * 3.141592653589);
return 0;
} | [
"literal.number.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 187,856 | 187,855 | u534535137 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double PI = 3.14159265358979;
int r;
cin >> r;
cout << fixed << setprecision(20) << r * r * PI << fixed << setprecision(20)
<< 2 * r * PI << endl;
return 0;
} | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double PI = 3.14159265358979;
double r;
cin >> r;
cout << fixed << setprecision(20) << r * r * PI << " " << setprecision(20)
<< 2 * r * PI << endl;
return 0;
} | [
"variable_declaration.type.primitive.change",
"io.output.change"
] | 187,857 | 187,858 | u852311840 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double PI = 3.14159265358979;
double r;
cin >> r;
cout << fixed << setprecision(20) << r * r * PI << fixed << setprecision(20)
<< 2 * r * PI << endl;
return 0;
} | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double PI = 3.14159265358979;
double r;
cin >> r;
cout << fixed << setprecision(20) << r * r * PI << " " << setprecision(20)
<< 2 * r * PI << endl;
return 0;
} | [
"io.output.change"
] | 187,859 | 187,858 | u852311840 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double PI = 3.14159265358979;
double r;
cin >> r;
cout << fixed << setprecision(20) << r * r * PI << setprecision(20)
<< 2 * r * PI << endl;
return 0;
} | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double PI = 3.14159265358979;
double r;
cin >> r;
cout << fixed << setprecision(20) << r * r * PI << " " << setprecision(20)
<< 2 * r * PI << endl;
return 0;
} | [
"io.output.change"
] | 187,860 | 187,858 | u852311840 | cpp |
p02400 | #include <iostream>
#include <math.h>
#include <stdio.h>
using namespace std;
int main(void) {
double r;
cin >> r;
double P, S;
P = 2 * M_PI * r;
S = pow(r, 2) * M_PI;
printf("%.6lf %.6lf\n", P, S);
} | #include <iostream>
#include <math.h>
#include <stdio.h>
using namespace std;
int main(void) {
double r;
cin >> r;
double P, S;
P = 2 * M_PI * r;
S = pow(r, 2) * M_PI;
printf("%.6lf %.6lf\n", S, P);
} | [
"call.arguments.change",
"call.arguments.add"
] | 187,863 | 187,862 | u719874053 | cpp |
p02400 | #include <iomanip>
#include <iostream>
#define PI 3.14159265359
using namespace std;
int main(void) {
double r;
cin >> r;
cout << fixed << setprecision(6) << r * r * PI << fixed << setprecision(6)
<< (r + r) * PI << endl;
return 0;
} | #include <iomanip>
#include <iostream>
#define PI 3.14159265359
using namespace std;
int main(void) {
double r;
cin >> r;
cout << fixed << setprecision(6) << r * r * PI << ' ' << fixed
<< setprecision(6) << (r + r) * PI << endl;
return 0;
} | [
"io.output.change"
] | 187,869 | 187,870 | u933965697 | cpp |
p02400 | #include <cstdio>
#include <iostream>
#define _USE_MATH_DEFINES
#include <cmath>
using namespace std;
int main(void) {
double r;
double pai = 3.141592653589;
cin >> r;
printf("%.6f %.6\n", r * r * pai, 2 * r * pai);
return 0;
} | #include <cstdio>
#include <iostream>
#define _USE_MATH_DEFINES
#include <cmath>
using namespace std;
int main(void) {
double r;
double pai = 3.141592653589;
cin >> r;
printf("%.6f %.6f\n", r * r * pai, 2 * r * pai);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 187,871 | 187,872 | u215814209 | cpp |
p02400 | #include <algorithm>
#include <iostream>
#define _USE_MATH_DEFINES
#include <math.h>
#include <stdio.h>
using namespace std;
int r;
int main() {
cin >> r;
printf("%f05 %f05\n", (r * 2 * M_PI), (r * r * M_PI));
return 0;
} | #include <algorithm>
#include <iostream>
#define _USE_MATH_DEFINES
#include <math.h>
#include <stdio.h>
using namespace std;
double r;
int main() {
cin >> r;
printf("%f05 %f05\n", (r * r * M_PI), (r * 2 * M_PI));
return 0;
} | [
"variable_declaration.type.primitive.change",
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change",
"identifier.replace.remove",
"literal.replace.add"
] | 187,876 | 187,877 | u875305479 | cpp |
p02400 | #include <algorithm>
#include <iostream>
#define _USE_MATH_DEFINES
#include <math.h>
#include <stdio.h>
using namespace std;
double r;
int main() {
cin >> r;
printf("%f05 %f05\n", (r * 2 * M_PI), (r * r * M_PI));
return 0;
} | #include <algorithm>
#include <iostream>
#define _USE_MATH_DEFINES
#include <math.h>
#include <stdio.h>
using namespace std;
double r;
int main() {
cin >> r;
printf("%f05 %f05\n", (r * r * M_PI), (r * 2 * M_PI));
return 0;
} | [
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change",
"identifier.replace.remove",
"literal.replace.add"
] | 187,878 | 187,877 | u875305479 | cpp |
p02400 | #define _USE_MATH_DEFINES
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
cout << fixed << setprecision(8) << 2 * r * M_PI << " " << fixed
<< setprecision(8) << r * r * M_PI << endl;
} | #define _USE_MATH_DEFINES
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
cout << fixed << setprecision(15) << r * r * M_PI << " " << fixed
<< setprecision(15) << 2 * r * M_PI << endl;
} | [
"literal.number.change",
"io.output.change",
"identifier.replace.add",
"literal.replace.remove",
"identifier.replace.remove",
"literal.replace.add"
] | 187,883 | 187,884 | u267238909 | cpp |
p02400 | #define _USE_MATH_DEFINES
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
cout << fixed << setprecision(15) << 2 * r * M_PI << " " << fixed
<< setprecision(15) << r * r * M_PI << endl;
} | #define _USE_MATH_DEFINES
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
cout << fixed << setprecision(15) << r * r * M_PI << " " << fixed
<< setprecision(15) << 2 * r * M_PI << endl;
} | [
"identifier.replace.add",
"literal.replace.remove",
"io.output.change",
"identifier.replace.remove",
"literal.replace.add"
] | 187,885 | 187,884 | u267238909 | cpp |
p02400 | #include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
unsigned int r;
float circumference, area;
cin >> r;
circumference = r * r * M_PI;
area = 2 * M_PI * r;
printf("%f %f\n", circumference, area);
} | #include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
double r;
double circumference, area;
cin >> r;
circumference = r * r * M_PI;
area = 2 * M_PI * r;
printf("%lf %lf\n", circumference, area);
} | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.narrow.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 187,894 | 187,895 | u923518246 | cpp |
p02400 | #include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
unsigned int r;
float circumference, area;
cin >> r;
circumference = r * r * M_PI;
area = 2 * M_PI * r;
printf("%lf %lf\n", circumference, area);
} | #include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
double r;
double circumference, area;
cin >> r;
circumference = r * r * M_PI;
area = 2 * M_PI * r;
printf("%lf %lf\n", circumference, area);
} | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.narrow.change"
] | 187,896 | 187,895 | u923518246 | cpp |
p02400 | #include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
unsigned int r;
float circumference, area;
cin >> r;
circumference = r * r * M_PI;
area = 2 * M_PI * r;
printf("%f %f\n", circumference, area);
} | #include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
double r;
double circumference, area;
cin >> r;
circumference = r * r * M_PI;
area = 2 * M_PI * r;
printf("%lf %lf\n", circumference, area);
}
| [
"variable_declaration.type.primitive.change",
"variable_declaration.type.narrow.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 187,894 | 187,897 | u923518246 | cpp |
p02400 | #include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
unsigned int r;
float circumference, area;
cin >> r;
circumference = r * r * M_PI;
area = 2 * M_PI * r;
printf("%lf %lf\n", circumference, area);
} | #include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
double r;
double circumference, area;
cin >> r;
circumference = r * r * M_PI;
area = 2 * M_PI * r;
printf("%lf %lf\n", circumference, area);
}
| [
"variable_declaration.type.primitive.change",
"variable_declaration.type.narrow.change"
] | 187,896 | 187,897 | u923518246 | cpp |
p02400 | #include <iostream>
#include <stdio.h>
using namespace std;
static const double PI = 3.141592;
int main(void) {
double r, menseki, ensyu;
cin >> r;
menseki = PI * r * r;
ensyu = 2 * PI * r;
printf("%.5f %.5f\n", menseki, ensyu);
} | #include <iostream>
#include <stdio.h>
using namespace std;
static const double PI = 3.141592653589;
int main(void) {
double r, menseki, ensyu;
cin >> r;
menseki = PI * r * r;
ensyu = 2 * PI * r;
printf("%f %f\n", menseki, ensyu);
} | [
"literal.number.change",
"variable_declaration.value.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 187,905 | 187,906 | u994113796 | cpp |
p02400 | #include <iomanip>
#include <iostream>
#include <math.h>
using namespace std;
int main() {
float r, S, C;
cin >> r;
S = r * r * M_PI;
C = r * 2 * M_PI;
cout << fixed << setprecision(6) << S << " " << C << endl;
return 0;
} | #include <iomanip>
#include <iostream>
#include <math.h>
using namespace std;
int main() {
double r, S, C;
cin >> r;
S = r * r * M_PI;
C = r * 2 * M_PI;
cout << fixed << setprecision(6) << S << " " << C << endl;
return 0;
} | [
"variable_declaration.type.primitive.change"
] | 187,914 | 187,915 | u055040191 | cpp |
p02400 | #include <iomanip>
#include <iostream>
#define _USE_MATH_DEFINES
#include <math.h>
using namespace std;
int main() {
double r;
cin >> r;
cout << fixed << setprecision(10) << 2 * M_PI * r << " " << r * r * M_PI
<< endl;
return 0;
} | #include <iomanip>
#include <iostream>
#define _USE_MATH_DEFINES
#include <math.h>
using namespace std;
int main() {
double r;
cin >> r;
cout << setprecision(15) << r * M_PI * r << " " << 2 * r * M_PI << endl;
return 0;
} | [
"expression.operation.binary.remove",
"literal.number.change",
"io.output.change",
"identifier.replace.add",
"literal.replace.remove",
"identifier.replace.remove",
"literal.replace.add"
] | 187,922 | 187,923 | u103382858 | cpp |
p02400 | #include <iomanip>
#include <iostream>
#define _USE_MATH_DEFINES
#include <math.h>
using namespace std;
int main() {
double r;
cin >> r;
cout << setprecision(8) << 2 * M_PI * r << " " << r * r * M_PI << endl;
return 0;
} | #include <iomanip>
#include <iostream>
#define _USE_MATH_DEFINES
#include <math.h>
using namespace std;
int main() {
double r;
cin >> r;
cout << setprecision(15) << r * M_PI * r << " " << 2 * r * M_PI << endl;
return 0;
} | [
"literal.number.change",
"io.output.change",
"identifier.replace.add",
"literal.replace.remove",
"identifier.replace.remove",
"literal.replace.add"
] | 187,925 | 187,923 | u103382858 | cpp |
p02400 | #include <iomanip>
#include <iostream>
#define _USE_MATH_DEFINES
#include <math.h>
using namespace std;
int main() {
double r;
cin >> r;
cout << setprecision(8) << r * M_PI * r << " " << 2 * r * M_PI << endl;
return 0;
} | #include <iomanip>
#include <iostream>
#define _USE_MATH_DEFINES
#include <math.h>
using namespace std;
int main() {
double r;
cin >> r;
cout << setprecision(15) << r * M_PI * r << " " << 2 * r * M_PI << endl;
return 0;
} | [
"literal.number.change",
"io.output.change"
] | 187,926 | 187,923 | u103382858 | cpp |
p02400 | #include <iomanip>
#include <iostream>
#define _USE_MATH_DEFINES
#include <math.h>
using namespace std;
int main() {
double r;
cin >> r;
cout << setprecision(10) << r * M_PI * r << " " << 2 * r * M_PI << endl;
return 0;
} | #include <iomanip>
#include <iostream>
#define _USE_MATH_DEFINES
#include <math.h>
using namespace std;
int main() {
double r;
cin >> r;
cout << setprecision(15) << r * M_PI * r << " " << 2 * r * M_PI << endl;
return 0;
} | [
"literal.number.change",
"io.output.change"
] | 187,927 | 187,923 | u103382858 | cpp |
p02400 | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main(int argc, char **argv) {
int r;
cin >> r;
double area = M_PI * r * r;
double len = 2 * M_PI * r;
cout << setprecision(8) << area << " " << len << endl;
} | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main(int argc, char **argv) {
double r;
;
cin >> r;
double area = M_PI * r * r;
double len = 2 * M_PI * r;
cout << fixed << setprecision(8) << area << " " << len << endl;
} | [
"variable_declaration.type.primitive.change",
"io.output.change"
] | 187,928 | 187,929 | u557478619 | cpp |
p02400 | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main(int argc, char **argv) {
double r;
;
cin >> r;
double area = M_PI * r * r;
double len = 2 * M_PI * r;
cout << setprecision(8) << area << " " << len << endl;
} | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main(int argc, char **argv) {
double r;
;
cin >> r;
double area = M_PI * r * r;
double len = 2 * M_PI * r;
cout << fixed << setprecision(8) << area << " " << len << endl;
} | [
"io.output.change"
] | 187,930 | 187,929 | u557478619 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
cout << fixed << setprecision(6) << r * r * 3.14159265 << " "
<< r * 2 * 3.14159265 << endl;
} | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
cout << fixed << setprecision(6) << r * r * 3.141592653589 << " "
<< r * 2 * 3.141592653589 << endl;
} | [
"literal.number.change",
"io.output.change"
] | 187,931 | 187,932 | u697484279 | cpp |
p02400 | #include <stdio.h>
int main() {
double a, b;
while (scanf("%lf", &a) != EOF) {
printf("%.6lf %.6lf\n", 3.141592654 * a * a, 2 * 3.14159264 * a);
}
return 0;
} | #include <stdio.h>
int main() {
double a, b;
while (scanf("%lf", &a) != EOF) {
printf("%.6lf %.6lf\n", 3.141592653589 * a * a, 2 * 3.141592653589 * a);
}
return 0;
} | [
"literal.number.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 187,937 | 187,936 | u951934992 | cpp |
p02400 | #include <iomanip>
#include <iostream>
#include <math.h>
using namespace std;
double len(double r);
double width(double r);
int main() {
double r;
cin >> r;
cout << fixed << setprecision(5) << len(r) << " " << width(r) << endl;
return 0;
}
double len(double r) { return 2 * r * M_PI; }
double width(double r)... | #include <iomanip>
#include <iostream>
#include <math.h>
using namespace std;
double len(double r);
double width(double r);
int main() {
double r;
cin >> r;
cout << fixed << setprecision(6) << width(r) << " " << len(r) << endl;
return 0;
}
double len(double r) { return 2 * r * M_PI; }
double width(double r)... | [
"literal.number.change",
"io.output.change",
"identifier.change",
"call.function.change"
] | 187,942 | 187,943 | u820606822 | cpp |
p02400 | #include <cstdio>
using namespace std;
int main(void) {
int a;
scanf("%f", &a);
printf("%.6f %.6f", a * a * 3.141592653589, (2 * a) * 3.141592653589);
return 0;
} | #include <cstdio>
using namespace std;
int main(void) {
double a;
scanf("%lf", &a);
printf("%.6f %.6f\n", a * a * 3.141592653589, (2 * a) * 3.141592653589);
return 0;
} | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 187,944 | 187,945 | u245508807 | cpp |
p02400 | #include <cstdio>
using namespace std;
int main(void) {
double a;
scanf("%f", &a);
printf("%.6f %.6f\n", a * a * 3.141592653589, (2 * a) * 3.141592653589);
return 0;
} | #include <cstdio>
using namespace std;
int main(void) {
double a;
scanf("%lf", &a);
printf("%.6f %.6f\n", a * a * 3.141592653589, (2 * a) * 3.141592653589);
return 0;
} | [
"literal.string.change",
"call.arguments.change"
] | 187,947 | 187,945 | u245508807 | cpp |
p02400 | #include <stdio.h>
int main(void) {
double r;
scanf("%lf", &r);
printf("%lf %lf", 3.14159 * r * r / 2, 3.14159 * 2 * r);
return 0;
} | #include <stdio.h>
int main(void) {
double r;
scanf("%lf", &r);
printf("%lf %lf\n", 3.14159265359 * r * r, 3.14159265359 * 2 * r);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add",
"literal.number.change",
"expression.operation.binary.change",
"expression.operation.binary.remove"
] | 187,956 | 187,957 | u008057082 | cpp |
p02400 | #include <stdio.h>
int main(void) {
double r;
scanf("%lf", &r);
printf("%lf %lf", 3.14159265359 * r * r / 2, 3.14159265359 * 2 * r);
return 0;
} | #include <stdio.h>
int main(void) {
double r;
scanf("%lf", &r);
printf("%lf %lf\n", 3.14159265359 * r * r, 3.14159265359 * 2 * r);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add",
"expression.operation.binary.remove"
] | 187,958 | 187,957 | u008057082 | cpp |
p02400 | #include <stdio.h>
int main(void) {
double r;
scanf("%lf", &r);
printf("%lf %lf\n", 3.14159265359 * r * r / 2, 3.14159265359 * 2 * r);
return 0;
} | #include <stdio.h>
int main(void) {
double r;
scanf("%lf", &r);
printf("%lf %lf\n", 3.14159265359 * r * r, 3.14159265359 * 2 * r);
return 0;
} | [
"expression.operation.binary.remove"
] | 187,959 | 187,957 | u008057082 | cpp |
p02400 | #include <bits/stdc++.h>
using namespace std;
int main() {
double r, pi = 3.141592;
cin >> r;
printf("%lf %lf\n", r * r * pi, (r + r) * pi);
} | #include <bits/stdc++.h>
using namespace std;
int main() {
double r, pi = 3.141592653589;
cin >> r;
printf("%lf %lf\n", r * r * pi, (r + r) * pi);
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 187,960 | 187,961 | u603777231 | cpp |
p02400 | #include <bits/stdc++.h>
using namespace std;
int main() {
double r, pi = 3.14159275;
cin >> r;
printf("%lf %lf\n", r * r * pi, (r + r) * pi);
} | #include <bits/stdc++.h>
using namespace std;
int main() {
double r, pi = 3.141592653589;
cin >> r;
printf("%lf %lf\n", r * r * pi, (r + r) * pi);
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 187,962 | 187,961 | u603777231 | cpp |
p02400 | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
const double PI = 3.141592654;
double r;
cin >> r;
printf("%f %f", r * r * PI, 2 * PI * r);
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
const double PI = 3.14159265358979324;
double r;
cin >> r;
printf("%f %f", r * r * PI, 2 * PI * r);
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 187,963 | 187,964 | u910569800 | cpp |
p02400 | #include <iostream>
#include <stdio.h>
using namespace std;
#define PI 3.141592653589
int main(int argc, char *argv[]) {
double r;
cin >> r;
printf("%.8lf %.8lf\n", (double)2 * r * PI, (double)2 * r * PI);
} | #include <iostream>
#include <stdio.h>
using namespace std;
#define PI 3.141592653589
int main(int argc, char *argv[]) {
double r;
cin >> r;
printf("%.8lf %.8lf\n", (double)r * r * PI, (double)2 * r * PI);
} | [
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 187,965 | 187,966 | u222957942 | cpp |
p02400 | #include <iostream>
using namespace std;
int main() {
double r, PI = 3.14159265358979323846;
cin >> r;
cout << PI * r * r << " " << 2. * PI * r << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
double r, PI = 3.14159265358979323846;
cin >> r;
cout << fixed << PI * r * r << " " << 2 * PI * r << endl;
return 0;
} | [
"io.output.change"
] | 187,969 | 187,968 | u078387585 | cpp |
p02400 | #include <iostream>
using namespace std;
int main() {
double r, PI = 3.14159265358979323846;
cin >> r;
cout << PI * r * r << " " << (double)2 * PI * r << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
double r, PI = 3.14159265358979323846;
cin >> r;
cout << fixed << PI * r * r << " " << 2 * PI * r << endl;
return 0;
} | [
"io.output.change"
] | 187,970 | 187,968 | u078387585 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
cout << fixed << setprecision(5) << r * r * 3.14159 << " " << r * 2 * 3.14159
<< endl;
return 0;
} | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
cout << fixed << setprecision(6) << r * r * 3.14159265358979 << " "
<< r * 2 * 3.14159265358979 << endl;
return 0;
} | [
"literal.number.change",
"io.output.change"
] | 187,972 | 187,973 | u896418467 | cpp |
p02400 | #include <stdio.h>
int main() {
double r, s, l;
scanf("%lf", &r);
s = r * r * 3.141592;
l = 2.0 * r * 3.141592;
printf("%f %f\n", s, l);
return 0;
} | #include <stdio.h>
int main() {
double r, s, l;
scanf("%lf", &r);
s = r * r * 3.14159265359;
l = 2.0 * r * 3.14159265359;
printf("%lf %lf\n", s, l);
return 0;
} | [
"literal.number.change",
"assignment.value.change",
"expression.operation.binary.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 187,974 | 187,975 | u908917838 | cpp |
p02400 | #include <iostream>
#include <math.h>
using namespace std;
int main(void) {
double r;
cin >> r;
cout << r * r * M_PI << " " << 2 * r * M_PI << endl;
return 0;
} | #include <iostream>
#include <math.h>
using namespace std;
int main(void) {
double r;
cin >> r;
cout << fixed << r * r * M_PI << " " << fixed << 2 * r * M_PI << endl;
return 0;
} | [
"io.output.change"
] | 187,995 | 187,996 | u393181112 | cpp |
p02400 | #include <algorithm>
#include <cctype>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
using namespace std;
int main() {
double pi = 3.141592;
double r;
cin >> r;
cout << fixed << setprecision(6);
cout << pi * r * r <<... | #include <algorithm>
#include <cctype>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
using namespace std;
int main() {
double pi = 3.14159265358979;
double r;
cin >> r;
cout << fixed << setprecision(6);
cout << pi * ... | [
"literal.number.change",
"variable_declaration.value.change"
] | 187,997 | 187,998 | u160041984 | cpp |
p02400 | #include <cstdio>
#include <iostream>
using namespace std;
int main(void) {
// Here your code !
double a, b, c;
double pi = 3.14159265358979323846;
cin >> a;
b = 2 * a * pi;
c = a * a * pi;
std::printf("%.5f %.5f", b, c);
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main(void) {
// Here your code !
double a, b, c;
double pi = 3.14159265358979323846;
cin >> a;
b = 2 * a * pi;
c = a * a * pi;
std::printf("%.6f %.6f", c, b);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"call.arguments.add"
] | 188,002 | 188,003 | u168990892 | cpp |
p02400 | #include <cstdio>
#include <iostream>
using namespace std;
int main(void) {
// Here your code !
double a, b, c;
double pi = 3.14159265358979323846;
cin >> a;
b = 2 * a * pi;
c = a * a * pi;
std::printf("%.6f %.6f", b, c);
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main(void) {
// Here your code !
double a, b, c;
double pi = 3.14159265358979323846;
cin >> a;
b = 2 * a * pi;
c = a * a * pi;
std::printf("%.6f %.6f", c, b);
return 0;
} | [
"call.arguments.change",
"call.arguments.add"
] | 188,004 | 188,003 | u168990892 | cpp |
p02400 | #include <cmath>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
cout << r * r * M_PI << " " << 2 * r * M_PI << endl;
return 0;
} | #include <cmath>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
cout << fixed << r * r * M_PI << " " << 2 * r * M_PI << endl;
return 0;
} | [
"io.output.change"
] | 188,007 | 188,008 | u613519776 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
#define PI 3.14159265358979323
int main() {
double r;
cin >> r;
cout << fixed << setprecision(5) << (double)2 * PI * r * r << " "
<< (double)2 * PI * r << endl;
} | #include <iomanip>
#include <iostream>
using namespace std;
#define PI 3.14159265358979323
int main() {
double r;
cin >> r;
cout << fixed << setprecision(5) << (double)PI * r * r << " "
<< (double)2 * PI * r << endl;
} | [
"expression.operation.binary.remove"
] | 188,016 | 188,017 | u584505060 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
#define PI 3.14159
int main() {
double r;
cin >> r;
cout << fixed << setprecision(5) << 2 * PI * r * r << " ";
cout << 2 * PI * r << endl;
} | #include <iomanip>
#include <iostream>
using namespace std;
#define PI 3.14159265358979323
int main() {
double r;
cin >> r;
cout << fixed << setprecision(5) << PI * r * r << " " << 2 * PI * r << endl;
} | [
"preprocessor.define.value.change",
"literal.float.change",
"expression.operation.binary.remove"
] | 188,018 | 188,019 | u584505060 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
#define PI 3.141592
int main() {
double r;
cin >> r;
cout << fixed << setprecision(5) << 2 * PI * r * r << " ";
cout << 2 * PI * r << endl;
} | #include <iomanip>
#include <iostream>
using namespace std;
#define PI 3.14159265358979323
int main() {
double r;
cin >> r;
cout << fixed << setprecision(5) << PI * r * r << " " << 2 * PI * r << endl;
} | [
"preprocessor.define.value.change",
"literal.float.change",
"expression.operation.binary.remove"
] | 188,020 | 188,019 | u584505060 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
const float PI = 3.141592;
int main(int argc, char **argv) {
float x;
cin >> x;
cout.setf(ios::fixed);
cout << setprecision(6) << PI * x * x;
cout << ' ';
cout << setprecision(6) << 2 * PI * x;
// cin>>x;
return 0;
} | #include <iomanip>
#include <iostream>
using namespace std;
const double PI = 3.141592653589;
int main(int argc, char **argv) {
double x;
cin >> x;
cout.setf(ios::fixed);
cout << setprecision(6) << PI * x * x;
cout << ' ';
cout << setprecision(6) << 2 * PI * x;
// cin>>x;
return 0;
} | [
"variable_declaration.type.primitive.change",
"literal.number.change",
"variable_declaration.value.change"
] | 188,024 | 188,022 | u838759969 | cpp |
p02400 | #define _CRT_SECURE_NO_WARNINGS
#define _USE_MATH_DEFINES
#include <math.h>
#include <stdio.h>
int main(void) {
double r;
scanf("%d", &r);
printf("%f %f", r * r * M_PI, 2 * r * M_PI);
return 0;
} | #define _CRT_SECURE_NO_WARNINGS
#define _USE_MATH_DEFINES
#include <math.h>
#include <stdio.h>
int main(void) {
double r;
scanf("%lf", &r);
printf("%f %f", r * r * M_PI, 2 * r * M_PI);
return 0;
} | [
"literal.string.change",
"call.arguments.change"
] | 188,025 | 188,026 | u990876498 | cpp |
p02400 | #include <iostream>
using namespace std;
int main() {
const double pi = 3.141592653589;
double r, s, l;
cin >> r;
l = 2 * pi * r;
s = pi * r * r;
cout << fixed << l << " " << s << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
const double pi = 3.141592653589;
double r, s, l;
cin >> r;
l = 2 * pi * r;
s = pi * r * r;
cout << fixed << s << " " << l << endl;
return 0;
} | [
"identifier.change",
"io.output.change"
] | 188,027 | 188,028 | u873372729 | cpp |
p02400 | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double r;
cin >> r;
double pi = 3.1415926535;
printf("%.5f %.5f\n", 2 * r * pi, r * r * pi);
return 0;
} | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double r;
cin >> r;
double pi = 3.141592653589793238;
printf("%.6f %.6f\n", r * r * pi, 2 * r * pi);
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change",
"literal.string.change",
"call.arguments.change",
"io.output.change",
"identifier.replace.add",
"literal.replace.remove",
"expression.operation.binary.change",
"identifier.replace.remove",
"literal.replace.add"
] | 188,034 | 188,035 | u924665348 | cpp |
p02400 | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double r;
cin >> r;
double pi = 3.1415926535;
printf("%.6f %.6f\n", 2 * r * pi, r * r * pi);
return 0;
} | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double r;
cin >> r;
double pi = 3.141592653589793238;
printf("%.6f %.6f\n", r * r * pi, 2 * r * pi);
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change",
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change",
"identifier.replace.remove",
"literal.replace.add"
] | 188,036 | 188,035 | u924665348 | cpp |
p02400 | #include <iostream>
using namespace std;
int main() {
double r;
float pi = 3.141592, s, l;
cin >> r;
s = pi * r * r;
l = 2 * pi * r;
cout << fixed << s << ' ' << fixed << l << endl;
} | #include <iostream>
using namespace std;
int main() {
double r;
double pi = 3.14159265358979, s, l;
cin >> r;
s = pi * r * r;
l = 2 * pi * r;
cout << fixed << s << ' ' << fixed << l << endl;
} | [
"variable_declaration.type.primitive.change",
"literal.number.change",
"variable_declaration.value.change"
] | 188,038 | 188,039 | u806182843 | cpp |
p02400 | #include <iostream>
using namespace std;
int main() {
double r;
float pi = 3.1415926, s, l;
cin >> r;
s = pi * r * r;
l = 2 * pi * r;
cout << fixed << s << ' ' << fixed << l << endl;
} | #include <iostream>
using namespace std;
int main() {
double r;
double pi = 3.14159265358979, s, l;
cin >> r;
s = pi * r * r;
l = 2 * pi * r;
cout << fixed << s << ' ' << fixed << l << endl;
} | [
"variable_declaration.type.primitive.change",
"literal.number.change",
"variable_declaration.value.change"
] | 188,040 | 188,039 | u806182843 | cpp |
p02400 | #include <iostream>
using namespace std;
int main() {
double r;
float pi = 3.14159265, s, l;
cin >> r;
s = pi * r * r;
l = 2 * pi * r;
cout << fixed << s << ' ' << fixed << l << endl;
} | #include <iostream>
using namespace std;
int main() {
double r;
double pi = 3.14159265358979, s, l;
cin >> r;
s = pi * r * r;
l = 2 * pi * r;
cout << fixed << s << ' ' << fixed << l << endl;
} | [
"variable_declaration.type.primitive.change",
"literal.number.change",
"variable_declaration.value.change"
] | 188,041 | 188,039 | u806182843 | cpp |
p02400 | #define _USE_MATH_DEFINES
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
int r;
cin >> r;
cout << fixed << setprecision(5);
cout << 2 * r * M_PI << " " << r * r * M_PI << endl;
return 0;
} | #define _USE_MATH_DEFINES
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
cout << fixed << setprecision(7);
cout << r * r * M_PI << " " << 2 * r * M_PI << endl;
return 0;
} | [
"variable_declaration.type.primitive.change",
"literal.number.change",
"io.output.change",
"identifier.replace.add",
"literal.replace.remove",
"identifier.replace.remove",
"literal.replace.add"
] | 188,045 | 188,043 | u927516039 | cpp |
p02400 | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double r;
double a, b;
cin >> r;
a = r * r * 3.14159;
b = r * 2 * 3.14159;
printf("%.6lf %.6lf\n", a, b);
return 0;
} | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double r;
double a, b;
cin >> r;
a = r * r * 3.14159265358979;
b = r * 2 * 3.14159265358979;
printf("%.6lf %.6lf\n", a, b);
return 0;
} | [
"literal.number.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 188,047 | 188,048 | u843611113 | cpp |
p02400 | #include <math.h>
#include <stdio.h>
int main() {
float r = 0;
scanf("%f", &r);
printf("%f %f\n", r * r * (float)M_PI, r * 2 * (float)M_PI);
} | #include <math.h>
#include <stdio.h>
int main() {
double r = 0;
scanf("%lf", &r);
printf("%lf %lf\n", r * r * (double)M_PI, r * 2 * (double)M_PI);
} | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 188,054 | 188,055 | u233080611 | cpp |
p02400 | #include <cmath>
#include <iostream>
using namespace std;
int main() {
double r;
cout << fixed << r * r * M_PI << " " << fixed << 2 * r * M_PI << endl;
} | #include <cmath>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
cout << fixed << r * r * M_PI << " " << fixed << 2 * r * M_PI << endl;
} | [] | 188,060 | 188,061 | u133262182 | cpp |
p02400 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <vector>
using namespace std;
double r;
int main() {
cin >> r;
printf("%f %f\n", 2 * r * M_PI, r * r * M_PI);
} | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <vector>
using namespace std;
double r;
int main() {
cin >> r;
printf("%f %f\n", r * r * M_PI, 2 * r * M_PI);
} | [
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change",
"identifier.replace.remove",
"literal.replace.add"
] | 188,065 | 188,066 | u045619227 | cpp |
p02400 | #include <stdio.h>
#define PI 3.1415926
int main() {
double r, s, l;
scanf("%f", &r);
s = r * r * PI;
l = 2 * PI * r;
printf("%f %f", s, l);
return 0;
} | #include <stdio.h>
#define PI 3.141592653589793
int main() {
double r, s, l;
scanf("%lf", &r);
s = r * r * PI;
l = 2 * PI * r;
printf("%f %f\n", s, l);
return 0;
} | [
"preprocessor.define.value.change",
"literal.float.change",
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 188,067 | 188,068 | u467541030 | cpp |
p02400 | #include <stdio.h>
#define PI 3.1415926
int main() {
double r, s, l;
scanf("%f", &r);
s = r * r * PI;
l = 2 * PI * r;
printf("%f %f\n", s, l);
return 0;
} | #include <stdio.h>
#define PI 3.141592653589793
int main() {
double r, s, l;
scanf("%lf", &r);
s = r * r * PI;
l = 2 * PI * r;
printf("%f %f\n", s, l);
return 0;
} | [
"preprocessor.define.value.change",
"literal.float.change",
"literal.string.change",
"call.arguments.change"
] | 188,069 | 188,068 | u467541030 | cpp |
p02400 | #include <stdio.h>
#define PI 3.1415926
int main() {
double r, s, l;
scanf("%lf", &r);
s = r * r * PI;
l = 2 * PI * r;
printf("%f %f\n", s, l);
return 0;
} | #include <stdio.h>
#define PI 3.141592653589793
int main() {
double r, s, l;
scanf("%lf", &r);
s = r * r * PI;
l = 2 * PI * r;
printf("%f %f\n", s, l);
return 0;
} | [
"preprocessor.define.value.change",
"literal.float.change"
] | 188,070 | 188,068 | u467541030 | cpp |
p02400 | #include <stdio.h>
int main(void) {
double syu, men, pai;
int r;
scanf("%d", &r);
pai = 3.141592653589;
men = r * r * pai;
syu = 2 * r * pai;
printf("%f %f\n", syu, men);
return 0;
} | #include <stdio.h>
int main(void) {
double syu, men, pai;
double r;
scanf("%lf", &r);
pai = 3.141592653589;
men = r * r * pai;
syu = 2 * r * pai;
printf("%f %f\n", men, syu);
return 0;
} | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"call.arguments.change",
"call.arguments.add"
] | 188,073 | 188,074 | u239734286 | cpp |
p02400 | #include <stdio.h>
int main(void) {
double r, pai;
pai = 3.141592653589;
scanf("%f", &r);
printf("%f %f", pai * r * r, 2 * pai * r);
return 0;
} |
#include <stdio.h>
int main(void) {
double r, pai;
pai = 3.141592653589;
scanf("%lf", &r);
printf("%lf %lf", pai * r * r, 2 * pai * r);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 188,075 | 188,076 | u306023119 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r, l, s;
cin >> r;
l = 2 * r * 3.141592653589;
s = r * r * 3.141592653589;
cout << fixed << setprecision(6) << l << " " << s;
return 0;
} | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r, l, s;
cin >> r;
l = 2 * r * 3.141592653589;
s = r * r * 3.141592653589;
cout << fixed << setprecision(6) << s << " " << l;
return 0;
} | [
"identifier.change",
"io.output.change"
] | 188,077 | 188,078 | u971905595 | cpp |
p02400 | #include <cmath>
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double a;
cin >> a;
printf("%lf %lf", a * a * M_PI, 2 * M_PI);
return (0);
} | #include <cmath>
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double a;
cin >> a;
printf("%lf %lf", a * a * M_PI, 2 * a * M_PI);
return (0);
} | [
"expression.operation.binary.add"
] | 188,085 | 188,086 | u115770305 | cpp |
p02400 | #include <iostream>
using namespace std;
int main() {
cout.precision(10);
double r, a, c;
cin >> r;
a = r * r * 3.141592653589;
c = r * 2 * 3.141592653589;
cout << a << " " << c << endl;
} | #include <iostream>
using namespace std;
int main() {
cout.precision(20);
double r, a, c;
cin >> r;
a = r * r * 3.141592653589;
c = r * 2 * 3.141592653589;
cout << a << " " << c << endl;
} | [
"literal.number.change",
"io.output.change"
] | 188,089 | 188,090 | u559945002 | cpp |
p02400 | #include <stdio.h>
int main() {
double r = 0;
double pi = 3.14159265;
scanf("%lf", &r);
printf("%f %f\n", (r * r * pi), (2 * r * pi));
return 0;
} | #include <stdio.h>
int main() {
double r = 0;
double pi = 3.1415926535897932384626;
scanf("%lf", &r);
printf("%f %f\n", (r * r * pi), (2 * r * pi));
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 188,091 | 188,092 | u409281567 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
int r;
cin >> r;
double P = 3.14159265;
double S = P * r * r;
double L = 2 * P * r;
cout << fixed << setprecision(6) << S << ' ' << L << endl;
return 0;
} | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
double P = 3.141592653589793;
double S = P * r * r;
double L = 2 * P * r;
cout << fixed << setprecision(6) << S << ' ' << L << endl;
return 0;
} | [
"variable_declaration.type.primitive.change",
"literal.number.change",
"variable_declaration.value.change"
] | 188,096 | 188,097 | u050511799 | cpp |
p02400 | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double r, pi = 3.1415927;
cin >> r;
double l = 2 * pi * r;
double s = pi * r * r;
printf("%f %f\n", l, s);
return 0;
} | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double r, pi = 3.14159265359;
cin >> r;
double l = 2 * pi * r;
double s = pi * r * r;
printf("%f %f\n", s, l);
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change",
"call.arguments.change",
"call.arguments.add"
] | 188,100 | 188,101 | u533387709 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.