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;
int main() {
double r, pi = 3.141592653589;
cin >> r;
cout << r * r * pi << " " << 2 * r * pi << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
double r, pi = 3.141592653589;
cin >> r;
cout << fixed << r * r * pi << " " << 2 * r * pi << endl;
return 0;
} | [
"io.output.change"
] | 188,490 | 188,491 | u218318314 | cpp |
p02400 | #include <stdio.h>
int main() {
double r, l, s;
double pi = 3.141592653589;
scanf("%d", &r);
s = pi * r * r;
l = 2 * pi * r;
printf("%f %f", s, l);
return 0;
} | #include <stdio.h>
int main() {
double r, l, s;
double pi = 3.141592653589;
scanf("%lf", &r);
s = pi * r * r;
l = 2 * pi * r;
printf("%f %f\n", s, l);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 188,492 | 188,493 | u345347037 | cpp |
p02400 | #include <stdio.h>
int main() {
double r, l, s;
double pi = 3.141592653589;
scanf("%f", &r);
s = pi * r * r;
l = 2 * pi * r;
printf("%f %f", s, l);
return 0;
} | #include <stdio.h>
int main() {
double r, l, s;
double pi = 3.141592653589;
scanf("%lf", &r);
s = pi * r * r;
l = 2 * pi * r;
printf("%f %f\n", s, l);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 188,495 | 188,493 | u345347037 | cpp |
p02400 | #include <stdio.h>
int main() {
double r, l, s;
double pi = 3.141592653589;
scanf("%f", &r);
s = pi * r * r;
l = 2 * pi * r;
printf("%f %f\n", s, l);
return 0;
} | #include <stdio.h>
int main() {
double r, l, s;
double pi = 3.141592653589;
scanf("%lf", &r);
s = pi * r * r;
l = 2 * pi * r;
printf("%f %f\n", s, l);
return 0;
} | [
"literal.string.change",
"call.arguments.change"
] | 188,496 | 188,493 | u345347037 | cpp |
p02400 | #include <stdio.h>
using namespace std;
#define PI 3.1415926535
int main() {
double r;
scanf("%lf", &r);
printf("%.6lf %.6lf", r * 2 * PI, r * r * PI);
return 0;
} | #include <stdio.h>
using namespace std;
#define PI 3.141592653589793238462643383279
int main() {
double r;
scanf("%lf", &r);
printf("%.6lf %.6lf", r * r * PI, r * 2 * PI);
return 0;
} | [
"preprocessor.define.value.change",
"literal.float.change",
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change",
"identifier.replace.remove",
"literal.replace.add"
] | 188,500 | 188,501 | u691023889 | cpp |
p02400 | #include <cstdio>
#include <iostream>
using namespace std;
//#define B
#define B
#ifdef B
#define PI 3.141592653589f
int main(void) {
double r;
cin >> r;
printf("%.6f %.6f\n", PI * r * r, 2.0 * PI * r);
return 0;
}
#endif // B | #include <cstdio>
#include <iostream>
using namespace std;
//#define B
#define B
#ifdef B
const double PI = 3.141592653589;
int main(void) {
double r;
cin >> r;
printf("%.6f %.6f\n", PI * r * r, 2.0 * PI * r);
return 0;
}
#endif // B | [
"variable_declaration.type.change"
] | 188,505 | 188,506 | u695723229 | cpp |
p02400 | #include <stdio.h>
int main(void) {
double r;
scanf("%lf", &r);
printf("%f %f", r * r * 3.14, 2 * 3.14 * r);
return 0;
} | #include <stdio.h>
int main(void) {
double r;
scanf("%lf", &r);
printf("%f %f\n", r * r * 3.14159265358979, 2 * 3.14159265358979 * r);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add",
"literal.number.change",
"expression.operation.binary.change"
] | 188,510 | 188,511 | u956360123 | cpp |
p02400 | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
cout << setprecision(10) << r * r * acos(-1) << " " << setprecision(10)
<< 2 * r * acos(-1) << endl;
return 0;
} | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
cout << setprecision(20) << r * r * acos(-1) << " " << setprecision(20)
<< 2 * r * acos(-1) << endl;
return 0;
} | [
"literal.number.change",
"io.output.change"
] | 188,512 | 188,513 | u871676916 | cpp |
p02400 | #include <iostream>
#include <stdio.h>
using namespace std;
const double pi = 3.1415926535;
int main() {
double r, l, a;
cin >> r;
l = 2 * r * pi;
a = r * r * pi;
printf("%.6lf ", l);
printf("%.6lf\n", a);
return 0;
} | #include <iostream>
#include <stdio.h>
using namespace std;
const double pi = 3.141592653589793;
int main() {
double r, l, a;
cin >> r;
l = 2 * r * pi;
a = r * r * pi;
printf("%.6lf ", a);
printf("%.6lf\n", l);
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change",
"identifier.change",
"call.arguments.change",
"io.output.change"
] | 188,516 | 188,517 | u554688210 | cpp |
p02400 | #include <iostream>
#include <stdio.h>
using namespace std;
const double pi = 3.141592;
int main() {
double r, l, a;
cin >> r;
l = 2 * r * pi;
a = r * r * pi;
printf("%.6lf ", l);
printf("%.6lf\n", a);
return 0;
} | #include <iostream>
#include <stdio.h>
using namespace std;
const double pi = 3.141592653589793;
int main() {
double r, l, a;
cin >> r;
l = 2 * r * pi;
a = r * r * pi;
printf("%.6lf ", a);
printf("%.6lf\n", l);
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change",
"identifier.change",
"call.arguments.change",
"io.output.change"
] | 188,518 | 188,517 | u554688210 | cpp |
p02400 | #include <iostream>
#include <stdio.h>
using namespace std;
const double pi = 3.141592;
int main() {
double r, l, a;
cin >> r;
l = 2 * r * pi;
a = r * r * pi;
printf("%.6lf ", a);
printf("%.6lf\n", l);
return 0;
} | #include <iostream>
#include <stdio.h>
using namespace std;
const double pi = 3.141592653589793;
int main() {
double r, l, a;
cin >> r;
l = 2 * r * pi;
a = r * r * pi;
printf("%.6lf ", a);
printf("%.6lf\n", l);
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 188,519 | 188,517 | u554688210 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
const double Pi = 3.14159265359;
double a;
cin >> a;
cout << fixed << setprecision(5) << a * a << " " << 2.0 * a * Pi << endl;
return 0;
} | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
const double Pi = 3.14159265359;
double a;
cin >> a;
cout << fixed << setprecision(5) << Pi * a * a << " " << 2.0 * a * Pi << endl;
return 0;
} | [
"expression.operation.binary.add"
] | 188,526 | 188,527 | u745259711 | cpp |
p02400 | #include <iostream>
using namespace std;
#define PI 3.141592653589
int main() {
double r;
cin >> r;
cout << r * r * PI << " " << r * 2 * PI << endl;
return 0;
} | #include <iostream>
using namespace std;
#define PI 3.141592653589
int main() {
double r;
cin >> r;
cout << fixed << r * r * PI << " " << r * 2 * PI << endl;
return 0;
} | [
"io.output.change"
] | 188,528 | 188,529 | u658200782 | cpp |
p02400 | #include <iostream>
using namespace std;
int main() {
double a;
cin >> a;
cout << fixed << a * 2 * 3.141592653589 << ' ' << a * a * 3.141592653589
<< '\n';
return 0;
} | #include <iostream>
using namespace std;
int main() {
double a;
cin >> a;
cout << fixed << a * a * 3.141592653589 << ' ' << a * 2 * 3.141592653589
<< '\n';
return 0;
} | [
"identifier.replace.add",
"literal.replace.remove",
"io.output.change",
"identifier.replace.remove",
"literal.replace.add"
] | 188,530 | 188,531 | u209248199 | cpp |
p02400 | #include <stdio.h>
int main() {
double n;
scanf("%d", &n);
printf("%lf %lf\n", n * n * 3.14159265358979323846,
n * 2 * 3.14159265358979323846);
} | #include <stdio.h>
int main() {
double n;
scanf("%lf", &n);
printf("%lf %lf\n", n * n * 3.14159265358979323846,
n * 2 * 3.14159265358979323846);
} | [
"literal.string.change",
"call.arguments.change"
] | 188,535 | 188,536 | u048151615 | cpp |
p02400 | #include <stdio.h>
int main(void) {
double r = 0.0;
float area = 0, length = 0;
float pai = 3.141592653589;
scanf("%lf", &r);
area = r * r * pai;
length = r * 2 * pai;
printf("%f %f\n", area, length);
} | #include <stdio.h>
int main(void) {
double r = 0.0;
double area = 0, length = 0;
double pai = 3.141592653589;
scanf("%lf", &r);
area = r * r * pai;
length = r * 2 * pai;
printf("%f %f\n", area, length);
} | [
"variable_declaration.type.primitive.change"
] | 188,539 | 188,540 | u524975923 | cpp |
p02400 | #include <stdio.h>
int main(void) {
double r = 0;
float area = 0, length = 0;
float pai = 3.141592653589;
scanf("%lf", &r);
area = r * r * pai;
length = r * 2 * pai;
printf("%f %f\n", area, length);
} | #include <stdio.h>
int main(void) {
double r = 0.0;
double area = 0, length = 0;
double pai = 3.141592653589;
scanf("%lf", &r);
area = r * r * pai;
length = r * 2 * pai;
printf("%f %f\n", area, length);
} | [
"literal.number.change",
"variable_declaration.value.change",
"variable_declaration.type.primitive.change"
] | 188,542 | 188,540 | u524975923 | cpp |
p02400 | #include <stdio.h>
int main(void) {
double r = 0.0;
float area = 0, length = 0;
double pai = 3.141592653589;
scanf("%lf", &r);
area = r * r * pai;
length = r * 2 * pai;
printf("%f %f\n", area, length);
} | #include <stdio.h>
int main(void) {
double r = 0.0;
double area = 0, length = 0;
double pai = 3.141592653589;
scanf("%lf", &r);
area = r * r * pai;
length = r * 2 * pai;
printf("%f %f\n", area, length);
} | [
"variable_declaration.type.primitive.change"
] | 188,543 | 188,540 | u524975923 | cpp |
p02400 | #include <stdio.h>
double r, s, l, x;
int main() {
x = 3.141592653589;
scanf("%d", &r);
s = (double)r * (double)r * (double)x;
l = 2 * (double)r * (double)x;
printf("%lf %lf\n", s, l);
} | #include <stdio.h>
double r, s, l, x;
int main() {
x = 3.141592653589;
scanf("%lf", &r);
s = (double)r * (double)r * (double)x;
l = 2 * (double)r * (double)x;
printf("%6f %6f\n", s, l);
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 188,547 | 188,548 | u098283737 | cpp |
p02400 | #include <cstdio>
int main() {
double r, p = 3.1415926535897932;
scanf("%lf", &r);
printf("%f %f\n", 2 * r * p, r * r * p);
return 0;
} | #include <cstdio>
int main() {
double r, p = 3.14159265358979;
scanf("%lf", &r);
printf("%f %f\n", r * r * p, 2 * r * p);
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,549 | 188,550 | u950835578 | cpp |
p02400 | #include <cstdio>
int main() {
double r, p = 3.14159265358979;
scanf("%lf", &r);
printf("%f %f\n", 2 * r * p, r * r * p);
return 0;
} | #include <cstdio>
int main() {
double r, p = 3.14159265358979;
scanf("%lf", &r);
printf("%f %f\n", r * r * p, 2 * r * p);
return 0;
} | [
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change",
"identifier.replace.remove",
"literal.replace.add"
] | 188,551 | 188,550 | u950835578 | cpp |
p02400 | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double r;
cin >> r;
printf("%.7lf\n", r * r * 3.1415926535);
printf("%.7lf\n", r * 2 * 3.1415926535);
return 0;
} | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double r;
cin >> r;
printf("%.7lf ", r * r * 3.141592653589);
printf("%.7lf\n", r * 2 * 3.141592653589);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.remove",
"literal.number.change",
"expression.operation.binary.change"
] | 188,558 | 188,559 | u286829185 | cpp |
p02400 | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double r;
cin >> r;
printf("%.7lf\n ", r * r * 3.1415926535);
printf("%.7lf\n", r * 2 * 3.1415926535);
return 0;
} | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double r;
cin >> r;
printf("%.7lf ", r * r * 3.141592653589);
printf("%.7lf\n", r * 2 * 3.141592653589);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"literal.number.change",
"expression.operation.binary.change"
] | 188,561 | 188,559 | u286829185 | cpp |
p02400 | #include <cstdio>
#include <iomanip>
#include <iostream>
using namespace std;
const int M = 100000;
const double pi = 3.14159265;
int main() {
cout << fixed;
double r;
cin >> r;
printf("%.8lf %.8lf\n", pi * r * r, 2 * pi * r);
return 0;
} | #include <cstdio>
#include <iomanip>
#include <iostream>
using namespace std;
const int M = 100000;
const double pi = 3.141592653589;
int main() {
cout << fixed;
double r;
cin >> r;
printf("%.8lf %.8lf\n", pi * r * r, 2 * pi * r);
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 188,564 | 188,565 | u872907517 | cpp |
p02400 | #include <iostream>
#include <stdio.h>
using namespace std;
#define _USE_MATH_DEFINES
#include <math.h>
int main() {
double nA;
cin >> nA;
double dA, dC;
dA = M_PI * nA * nA;
dC = 2 * M_PI * nA;
printf("%.6d %.6d\n", dC, dA);
// system("pause");
return 0;
} | #include <iostream>
#include <stdio.h>
using namespace std;
#define _USE_MATH_DEFINES
#include <math.h>
int main() {
double nA;
cin >> nA;
double dA, dC;
dA = M_PI * nA * nA;
dC = 2 * M_PI * nA;
printf("%.6f %.6f\n", dA, dC);
// system("pause");
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"call.arguments.add"
] | 188,566 | 188,567 | u609578509 | cpp |
p02400 | #include <iostream>
#include <stdio.h>
using namespace std;
#define _USE_MATH_DEFINES
#include <math.h>
int main() {
double nA;
cin >> nA;
double dA, dC;
dA = M_PI * nA * nA;
dC = 2 * M_PI * nA;
printf("%.6f %.6f\n", dC, dA);
// system("pause");
return 0;
} | #include <iostream>
#include <stdio.h>
using namespace std;
#define _USE_MATH_DEFINES
#include <math.h>
int main() {
double nA;
cin >> nA;
double dA, dC;
dA = M_PI * nA * nA;
dC = 2 * M_PI * nA;
printf("%.6f %.6f\n", dA, dC);
// system("pause");
return 0;
} | [
"call.arguments.change",
"call.arguments.add"
] | 188,568 | 188,567 | u609578509 | cpp |
p02400 | #include <iostream>
int main() {
const double PI{3.141592};
double r;
std::cin >> r;
std::cout << PI * r * r << ' ' << 2 * PI * r << '\n';
} | #include <iostream>
int main() {
const double PI{3.141592653589};
double r;
std::cin >> r;
std::cout << std::fixed << PI * r * r << ' ' << 2 * PI * r << '\n';
} | [
"literal.number.change"
] | 188,569 | 188,570 | u447154297 | cpp |
p02400 | #include <iostream>
int main() {
const double PI{3.14159265359};
double r;
std::cin >> r;
std::cout << PI * r * r << ' ' << 2 * PI * r << '\n';
} | #include <iostream>
int main() {
const double PI{3.141592653589};
double r;
std::cin >> r;
std::cout << std::fixed << PI * r * r << ' ' << 2 * PI * r << '\n';
} | [
"literal.number.change"
] | 188,571 | 188,570 | u447154297 | cpp |
p02400 | #include <stdio.h>
int main(void) {
double r, s, l;
scanf("%lf", &r);
s = (double)r * (double)r * 3.14159265;
l = 2 * (double)r * 3.14159265;
printf("%.6f %.6f\n", s, l);
return 0;
} | #include <stdio.h>
int main(void) {
double r, s, l;
scanf("%lf", &r);
s = (double)r * (double)r * 3.14159265358979;
l = 2 * (double)r * 3.14159265358979;
printf("%.6f %.6f\n", s, l);
return 0;
} | [
"literal.number.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 188,585 | 188,586 | u829697495 | cpp |
p02400 | #include <cstdio>
#include <iostream>
using namespace std;
signed main() {
int r;
double pie = 3.14159263;
cin >> r;
printf("%.6f %.6f\n", r * r * pie, 2 * r * pie);
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
signed main() {
double r;
double pie = 3.14159265359;
cin >> r;
printf("%.6f %.6f\n", r * r * pie, 2 * r * pie);
return 0;
} | [
"variable_declaration.type.primitive.change",
"literal.number.change",
"variable_declaration.value.change"
] | 188,587 | 188,588 | u782455263 | cpp |
p02400 | #include <stdio.h>
int main() {
float a;
float pi = 3.14159265359;
scanf("%f", &a);
printf("%f %f\n", a * a * pi, 2 * a * pi);
return 0;
} | #include <stdio.h>
int main() {
double a;
double pi = 3.14159265358979323846;
scanf("%lf", &a);
printf("%f %f\n", a * a * pi, 2 * a * pi);
return 0;
} | [
"variable_declaration.type.primitive.change",
"literal.number.change",
"variable_declaration.value.change",
"literal.string.change",
"call.arguments.change"
] | 188,589 | 188,590 | u017984030 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
const double PI = 3.141592653589793238463;
int main() {
int r;
cin >> r;
cout << fixed << setprecision(5) << 2 * r * PI << " " << r * r * PI << endl;
} | #include <iomanip>
#include <iostream>
using namespace std;
const double PI = 3.141592653589793238463;
int main() {
double r;
cin >> r;
cout << fixed << setprecision(6) << r * r * PI << " " << 2 * r * PI << endl;
} | [
"variable_declaration.type.primitive.change",
"literal.number.change",
"io.output.change",
"identifier.replace.add",
"literal.replace.remove",
"identifier.replace.remove",
"literal.replace.add"
] | 188,593 | 188,594 | u411893213 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
const double PI = 3.141592653589793238463;
int main() {
int r;
cin >> r;
cout << fixed << setprecision(6) << 2 * r * PI << " " << r * r * PI << endl;
} | #include <iomanip>
#include <iostream>
using namespace std;
const double PI = 3.141592653589793238463;
int main() {
double r;
cin >> r;
cout << fixed << setprecision(6) << r * r * PI << " " << 2 * r * PI << endl;
} | [
"variable_declaration.type.primitive.change",
"identifier.replace.add",
"literal.replace.remove",
"io.output.change",
"identifier.replace.remove",
"literal.replace.add"
] | 188,595 | 188,594 | u411893213 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
const double PI = 3.141592653589793238463;
int main() {
double r;
cin >> r;
cout << fixed << setprecision(6) << 2 * r * PI << " " << r * r * PI << endl;
} | #include <iomanip>
#include <iostream>
using namespace std;
const double PI = 3.141592653589793238463;
int main() {
double r;
cin >> r;
cout << fixed << setprecision(6) << r * r * PI << " " << 2 * r * PI << endl;
} | [
"identifier.replace.add",
"literal.replace.remove",
"io.output.change",
"identifier.replace.remove",
"literal.replace.add"
] | 188,596 | 188,594 | u411893213 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
const double PI = 3.141592653589793238463;
int main() {
double r;
cin >> r;
cout << fixed << setprecision(7) << 2 * r * PI << " " << r * r * PI << endl;
} | #include <iomanip>
#include <iostream>
using namespace std;
const double PI = 3.141592653589793238463;
int main() {
double r;
cin >> r;
cout << fixed << setprecision(6) << r * r * PI << " " << 2 * r * PI << endl;
} | [
"literal.number.change",
"io.output.change",
"identifier.replace.add",
"literal.replace.remove",
"identifier.replace.remove",
"literal.replace.add"
] | 188,597 | 188,594 | u411893213 | cpp |
p02400 | #define _USE_MATH_DEFINES
#include <math.h>
#include <stdio.h>
int main() {
double r;
scanf("%f", &r);
printf("%f %f \n", (double)r * r * M_PI, (double)2.0 * r * M_PI);
} | #define _USE_MATH_DEFINES
#include <math.h>
#include <stdio.h>
int main() {
double r;
scanf("%lf", &r);
printf("%f %f \n", (double)r * r * M_PI, (double)2.0 * r * M_PI);
} | [
"literal.string.change",
"call.arguments.change"
] | 188,604 | 188,603 | u998770609 | cpp |
p02400 | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
cout << fixed;
cout << setprecision(6) << 2 * x * M_PI << " " << x * x * M_PI << "\n";
} | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
double x;
cin >> x;
cout << fixed;
cout << setprecision(6) << x * x * M_PI << " " << 2 * x * M_PI << "\n";
} | [
"variable_declaration.type.primitive.change",
"identifier.replace.add",
"literal.replace.remove",
"io.output.change",
"identifier.replace.remove",
"literal.replace.add"
] | 188,606 | 188,607 | u576471005 | cpp |
p02400 | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
double x;
cin >> x;
cout << fixed;
cout << setprecision(6) << 2 * x * M_PI << " " << x * x * M_PI << "\n";
} | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
double x;
cin >> x;
cout << fixed;
cout << setprecision(6) << x * x * M_PI << " " << 2 * x * M_PI << "\n";
} | [
"identifier.replace.add",
"literal.replace.remove",
"io.output.change",
"identifier.replace.remove",
"literal.replace.add"
] | 188,608 | 188,607 | u576471005 | cpp |
p02400 | #include <iostream>
using namespace std;
#include <iomanip>
#define _USE_MATH_DEFINES
#include <cmath>
int main() {
long r;
cin >> r;
float area = 0;
float circ = 0;
double pi = M_PI;
area = pi * r * r;
circ = 2.0 * pi * r;
cout << fixed << setprecision(6) << area << " " << circ << endl;
return 0... | #include <iostream>
using namespace std;
#include <iomanip>
#define _USE_MATH_DEFINES
#include <cmath>
int main() {
double r;
cin >> r;
double area = 0;
double circ = 0;
double pi = M_PI;
area = pi * r * r;
circ = 2.0 * pi * r;
cout << fixed << setprecision(6) << area << " " << circ << endl;
retu... | [
"variable_declaration.type.primitive.change"
] | 188,609 | 188,610 | u609484772 | cpp |
p02400 | #include <cmath>
#include <iomanip>
#include <iostream>
int main() {
double r;
std::cin >> r;
std::cout << std::fixed << std::setprecision(5) << M_PI * r * r
<< 2 * M_PI * r << std::endl;
return 0;
}
| #include <cmath>
#include <iomanip>
#include <iostream>
int main() {
double r;
std::cin >> r;
std::cout << std::fixed << std::setprecision(5) << M_PI * r * r << " "
<< 2 * M_PI * r << std::endl;
return 0;
}
| [
"expression.operation.binary.add"
] | 188,616 | 188,617 | u191088660 | cpp |
p02400 | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
double a, circ, area;
cin >> a;
circ = M_PI * a * 2;
area = M_PI * (a * a);
cout << fixed << setprecision(10);
cout << circ << " " << area;
return 0;
}
| #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
double a, circ, area;
cin >> a;
circ = M_PI * a * 2;
area = M_PI * (a * a);
cout << fixed << setprecision(10);
cout << area << " " << circ;
return 0;
}
| [
"identifier.change",
"io.output.change"
] | 188,618 | 188,619 | u261541966 | cpp |
p02400 | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main(int argc, char *argv[]) {
double r;
cin >> r;
cout << setprecision(5) << setiosflags(ios::showpoint)
<< setiosflags(ios::fixed) << M_PI * pow(r, 2) << " " << setprecision(5)
<< setiosflags(ios::showpoint) << setios... | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main(int argc, char *argv[]) {
double r;
cin >> r;
cout << setprecision(6) << setiosflags(ios::showpoint)
<< setiosflags(ios::fixed) << M_PI * pow(r, 2) << " " << setprecision(6)
<< setiosflags(ios::showpoint) << setios... | [
"io.output.change",
"literal.number.change"
] | 188,622 | 188,623 | u962469296 | cpp |
p02400 | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main(int argc, char *argv[]) {
double r;
cin >> r;
cout << setprecision(6) << setiosflags(ios::showpoint)
<< setiosflags(ios::fixed) << M_PI * pow(r, 2) << " " << setprecision(5)
<< setiosflags(ios::showpoint) << setios... | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main(int argc, char *argv[]) {
double r;
cin >> r;
cout << setprecision(6) << setiosflags(ios::showpoint)
<< setiosflags(ios::fixed) << M_PI * pow(r, 2) << " " << setprecision(6)
<< setiosflags(ios::showpoint) << setios... | [
"literal.number.change",
"io.output.change"
] | 188,625 | 188,623 | u962469296 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double pi = 3.141526;
double r;
cin >> r;
cout << fixed << setprecision(6) << pi * r * r << " " << 2 * pi * r << endl;
cin >> r;
return 0;
}
| #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double pi = 3.141592653589;
double r;
cin >> r;
cout << fixed << setprecision(6) << pi * r * r << " " << 2 * pi * r << endl;
cin >> r;
return 0;
}
| [
"literal.number.change",
"variable_declaration.value.change"
] | 188,628 | 188,629 | u335078377 | cpp |
p02400 | #include <bits/stdc++.h>
int main() {
double r;
scanf("%d", &r);
printf("%lf %lf\n", r * r * M_PI, 2 * r * M_PI);
return 0;
}
| #include <bits/stdc++.h>
int main() {
double r;
scanf("%lf", &r);
printf("%lf %lf\n", r * r * M_PI, 2 * r * M_PI);
return 0;
}
| [
"literal.string.change",
"call.arguments.change"
] | 188,635 | 188,633 | u664421124 | cpp |
p02400 | #include <bits/stdc++.h>
int main() {
double r;
scanf("%f", &r);
printf("%f %f\n", r * r * M_PI, 2 * r * M_PI);
return 0;
}
| #include <bits/stdc++.h>
int main() {
double r;
scanf("%lf", &r);
printf("%lf %lf\n", r * r * M_PI, 2 * r * M_PI);
return 0;
}
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 188,636 | 188,633 | u664421124 | cpp |
p02400 | #include <cmath>
#include <cstdio>
int main() {
double r;
scanf("%lf", &r);
printf("%lf, %lf\n", r * r * M_PI, 2 * r * M_PI);
return 0;
}
| #include <cmath>
#include <cstdio>
int main() {
double r;
scanf("%lf", &r);
printf("%lf %lf\n", r * r * M_PI, 2 * r * M_PI);
return 0;
}
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 188,637 | 188,638 | u543857183 | cpp |
p02400 | #include <cmath>
#include <cstdio>
using namespace std;
int main() {
double r;
scanf("%lf", &r);
printf("%lf, %lf\n", r * r * M_PI, 2 * r * M_PI);
return 0;
}
| #include <cmath>
#include <cstdio>
int main() {
double r;
scanf("%lf", &r);
printf("%lf %lf\n", r * r * M_PI, 2 * r * M_PI);
return 0;
}
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 188,639 | 188,638 | u543857183 | cpp |
p02400 | #include <stdio.h>
#define pi 3.1415926535897932
int main(void) {
int r;
scanf("%lf", &r);
printf("%f %f\n", r * r * pi, r * 2 * pi);
return 0;
}
| #include <stdio.h>
#define pi 3.1415926535897932
int main(void) {
double r;
scanf("%lf", &r);
printf("%f %f\n", r * r * pi, r * 2 * pi);
return 0;
}
| [
"variable_declaration.type.primitive.change"
] | 188,653 | 188,654 | u428870975 | cpp |
p02400 | #include <iostream>
using namespace std;
int main() {
cout.precision(20);
int r;
double PI = 3.141592653;
cin >> r;
cout << PI * r * r << " " << r * 2 * PI;
}
| #include <iostream>
using namespace std;
int main() {
cout.precision(20);
double PI = 3.14159265359, r;
cin >> r;
cout << PI * r * r << " " << r * 2 * PI;
}
| [
"variable_declaration.remove",
"literal.number.change",
"variable_declaration.value.change",
"variable_declaration.add"
] | 188,659 | 188,660 | u474767018 | cpp |
p02400 | #include <iostream>
using namespace std;
int main() {
cout.precision(20);
double PI = 3.141592653, r;
cin >> r;
cout << PI * r * r << " " << r * 2 * PI;
}
| #include <iostream>
using namespace std;
int main() {
cout.precision(20);
double PI = 3.14159265359, r;
cin >> r;
cout << PI * r * r << " " << r * 2 * PI;
}
| [
"literal.number.change",
"variable_declaration.value.change"
] | 188,661 | 188,660 | u474767018 | cpp |
p02400 | #include <iostream>
using namespace std;
int main() {
cout.precision(20);
double PI = 22 / 7, r;
cin >> r;
cout << PI * r * r << " " << r * 2 * PI;
}
| #include <iostream>
using namespace std;
int main() {
cout.precision(20);
double PI = 3.14159265359, r;
cin >> r;
cout << PI * r * r << " " << r * 2 * PI;
}
| [
"literal.number.change",
"variable_declaration.value.change",
"expression.operation.binary.change",
"expression.operation.binary.remove"
] | 188,662 | 188,660 | u474767018 | cpp |
p02400 | #include <iostream>
using namespace std;
int main() {
cout.precision(20);
double PI = 3.14, r;
cin >> r;
cout << PI * r * r << " " << r * 2 * PI;
}
| #include <iostream>
using namespace std;
int main() {
cout.precision(20);
double PI = 3.14159265359, r;
cin >> r;
cout << PI * r * r << " " << r * 2 * PI;
}
| [
"literal.number.change",
"variable_declaration.value.change"
] | 188,663 | 188,660 | u474767018 | cpp |
p02400 | #include <iostream>
using namespace std;
int main() {
double r, a, c;
cin >> r;
a = r * r * 3.141592;
c = r * 2 * 3.141592;
printf("%.8f %.8f\n", a, c);
return 0;
}
| #include <iostream>
using namespace std;
int main() {
double r, a, c;
cin >> r;
a = r * r * 3.1415926535897932;
c = r * 2 * 3.1415926535897932;
printf("%.15f %.15f\n", a, c);
return 0;
}
| [
"literal.number.change",
"assignment.value.change",
"expression.operation.binary.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 188,666 | 188,667 | u016770266 | cpp |
p02400 | #include <algorithm>
#include <iomanip>
#include <iostream>
#include <random>
#include <string>
#include <vector>
#define _USE_MATH_DEFINES
#include <math.h>
using namespace std;
#define FOR(i, a, b) for (int i = a; i < b; ++i)
#define REP(i, n) for (int i = 0; i < n; ++i)
typedef long long ll;
typedef unsigned long l... | #include <algorithm>
#include <iomanip>
#include <iostream>
#include <random>
#include <string>
#include <vector>
#define _USE_MATH_DEFINES
#include <math.h>
using namespace std;
#define FOR(i, a, b) for (int i = a; i < b; ++i)
#define REP(i, n) for (int i = 0; i < n; ++i)
typedef long long ll;
typedef unsigned long l... | [
"variable_declaration.type.widen.change",
"literal.number.change",
"io.output.change"
] | 188,671 | 188,672 | u982618289 | cpp |
p02400 | #include <algorithm>
#include <iomanip>
#include <iostream>
#include <random>
#include <string>
#include <vector>
#define _USE_MATH_DEFINES
#include <math.h>
using namespace std;
#define FOR(i, a, b) for (int i = a; i < b; ++i)
#define REP(i, n) for (int i = 0; i < n; ++i)
typedef long long ll;
typedef unsigned long l... | #include <algorithm>
#include <iomanip>
#include <iostream>
#include <random>
#include <string>
#include <vector>
#define _USE_MATH_DEFINES
#include <math.h>
using namespace std;
#define FOR(i, a, b) for (int i = a; i < b; ++i)
#define REP(i, n) for (int i = 0; i < n; ++i)
typedef long long ll;
typedef unsigned long l... | [
"variable_declaration.type.widen.change"
] | 188,673 | 188,672 | u982618289 | cpp |
p02400 | #include <bits/stdc++.h>
using namespace std;
int main() {
long double r;
cin >> r;
cout << setprecision(8) << fixed << r * r * 3.1415926 << ' '
<< 2 * r * 3.1415926 << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long double r;
cin >> r;
cout << setprecision(8) << fixed << r * r * 3.14159265359 << ' '
<< 2 * r * 3.14159265359 << endl;
}
| [
"literal.number.change",
"io.output.change"
] | 188,680 | 188,681 | u470979787 | cpp |
p02400 | #include <iostream>
#include <math.h>
#include <stdio.h>
using namespace std;
int main() {
int r;
cin >> r;
double l, s;
l = 2.0 * r * M_PI;
s = 1.0 * r * r * M_PI;
printf("%f %f\n", l, s);
}
| #include <iostream>
#include <math.h>
#include <stdio.h>
using namespace std;
int main() {
double r;
cin >> r;
double l, s;
l = 2.0 * r * M_PI;
s = 1.0 * r * r * M_PI;
printf("%f %f\n", s, l);
}
| [
"variable_declaration.type.primitive.change",
"call.arguments.change",
"call.arguments.add"
] | 188,684 | 188,685 | u763049748 | cpp |
p02400 | #include <math.h>
#include <stdio.h>
int main() {
int r;
double circum, area;
scanf("%d", &r);
circum = 2 * M_PI * r;
area = M_PI * r * r;
printf("%.6f %.6f\n", circum, area);
return 0;
}
| #include <math.h>
#include <stdio.h>
int main() {
double r;
double circum, area;
scanf("%lf", &r);
circum = 2 * M_PI * r;
area = M_PI * r * r;
printf("%.6f %.6f\n", area, circum);
return 0;
}
| [
"variable_declaration.type.primitive.change",
"literal.string.change",
"call.arguments.change",
"call.arguments.add"
] | 188,688 | 188,689 | u380982951 | cpp |
p02400 | #include <math.h>
#include <stdio.h>
int main() {
double r;
double circum, area;
scanf("%d", &r);
circum = 2 * M_PI * r;
area = M_PI * r * r;
printf("%.6f %.6f\n", circum, area);
return 0;
}
| #include <math.h>
#include <stdio.h>
int main() {
double r;
double circum, area;
scanf("%lf", &r);
circum = 2 * M_PI * r;
area = M_PI * r * r;
printf("%.6f %.6f\n", area, circum);
return 0;
}
| [
"literal.string.change",
"call.arguments.change",
"call.arguments.add"
] | 188,691 | 188,689 | u380982951 | cpp |
p02400 | #include <cstdio>
#include <math.h>
using namespace std;
int main() {
double x;
scanf("%lf", x);
printf("%lf %lf\n", x * x * M_PI, M_PI * x * 2);
return 0;
}
| #include <cstdio>
#include <math.h>
int main() {
double x;
scanf("%lf", &x);
printf("%lf %lf\n", x * x * M_PI, M_PI * x * 2);
return 0;
}
| [
"expression.operation.unary.reference.add"
] | 188,692 | 188,693 | u473234292 | cpp |
p02400 | #include <cstdio>
#include <math.h>
int main() {
double x;
scanf("%lf", x);
printf("%lf %lf\n", x * x * M_PI, M_PI * x * 2);
return 0;
}
| #include <cstdio>
#include <math.h>
int main() {
double x;
scanf("%lf", &x);
printf("%lf %lf\n", x * x * M_PI, M_PI * x * 2);
return 0;
}
| [
"expression.operation.unary.reference.add"
] | 188,694 | 188,693 | u473234292 | cpp |
p02400 | #include <iomanip>
#include <iostream>
#include <math.h>
#include <stdlib.h>
// const double PI = std::atan(1.0) * 4;
double circle_area(double r) { return r * r * 3.1415; }
double circle_circumference(double r) { return (r + r) * M_PI; }
int main(void) {
double r;
int cout_precision = 6;
char deli = ' ';
... | #include <iomanip>
#include <iostream>
#include <math.h>
#include <stdlib.h>
// const double PI = std::atan(1.0) * 4;
double circle_area(double r) { return r * r * M_PI; }
double circle_circumference(double r) { return (r + r) * M_PI; }
int main(void) {
double r;
int cout_precision = 6;
char deli = ' ';
st... | [
"identifier.replace.add",
"literal.replace.remove",
"function.return_value.change",
"expression.operation.binary.change"
] | 188,699 | 188,696 | u662488567 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r, A, B;
cin >> r;
A = r * r * 3.141592653589;
B = r * 3.141592653589;
std::cout << std::fixed;
std::cout << std::setprecision(6) << A << " " << B << endl;
return 0;
}
| #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r, A, B;
cin >> r;
A = r * r * 3.141592653589;
B = 2 * r * 3.141592653589;
std::cout << std::fixed;
std::cout << std::setprecision(6) << A << " " << B << endl;
return 0;
}
| [
"assignment.change"
] | 188,711 | 188,712 | u950745506 | cpp |
p02400 | #include <stdio.h>
int main(void) {
float r;
scanf("%f", &r);
printf("%f ", r * 2 * 3.141592653589);
printf("%f\n", r * r * 3.141592653589);
return (0);
}
| #include <stdio.h>
int main(void) {
double r;
scanf("%lf", &r);
printf("%f ", r * r * 3.141592653589);
printf("%f\n", r * 2 * 3.141592653589);
return (0);
}
| [
"variable_declaration.type.primitive.change",
"literal.string.change",
"call.arguments.change",
"identifier.replace.add",
"literal.replace.remove",
"expression.operation.binary.change",
"io.output.change",
"identifier.replace.remove",
"literal.replace.add"
] | 188,713 | 188,714 | u594313928 | cpp |
p02400 | #include <iostream>
using namespace std;
const double PI = 3.141592653589;
int main() {
double r, S, L;
cin >> r;
S = r * r * PI;
L = 2 * PI * r;
printf("%f %f/n", S, L);
return 0;
}
| #include <iostream>
using namespace std;
const double PI = 3.141592653589;
int main() {
double r, S, L;
cin >> r;
S = r * r * PI;
L = 2 * PI * r;
printf("%f %f\n", S, L);
return 0;
}
| [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 188,716 | 188,717 | u414147590 | cpp |
p02400 | #include <iostream>
using namespace std;
const double PI = 3.141592653589;
int main() {
double r, S, L;
cin >> r;
S = r * r * PI;
L = 2 * PI * r;
printf("%f %f/n", L, S);
return 0;
}
| #include <iostream>
using namespace std;
const double PI = 3.141592653589;
int main() {
double r, S, L;
cin >> r;
S = r * r * PI;
L = 2 * PI * r;
printf("%f %f\n", S, L);
return 0;
}
| [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add",
"call.arguments.add"
] | 188,719 | 188,717 | u414147590 | cpp |
p02400 | #include <bits/stdc++.h>
using namespace std;
int main() {
cout << fixed << setprecision(12);
double r;
cin >> r;
double p = 3.14159265;
double s = r * r * p;
double l = 2 * r * p;
cout << s << " " << l << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
cout << fixed << setprecision(12);
double r;
cin >> r;
double p = 3.14159265359;
double s = r * r * p;
double l = 2 * r * p;
cout << s << " " << l << endl;
return 0;
}
| [
"literal.number.change",
"variable_declaration.value.change"
] | 188,720 | 188,721 | u608725998 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r, pi = 3.141592;
cin >> r;
cout << fixed;
cout << setprecision(6) << r * r * pi << " " << 2 * r * pi << "\n";
return 0;
}
| #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r, pi = 3.14159265359;
cin >> r;
cout << fixed;
cout << setprecision(8) << r * r * pi << " " << 2 * r * pi << "\n";
return 0;
}
| [
"literal.number.change",
"variable_declaration.value.change",
"io.output.change"
] | 188,742 | 188,743 | u185542351 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r, pi = 3.14159275;
cin >> r;
cout << fixed;
cout << setprecision(6) << r * r * pi << " " << 2 * r * pi << "\n";
return 0;
}
| #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r, pi = 3.14159265359;
cin >> r;
cout << fixed;
cout << setprecision(8) << r * r * pi << " " << 2 * r * pi << "\n";
return 0;
}
| [
"literal.number.change",
"variable_declaration.value.change",
"io.output.change"
] | 188,744 | 188,743 | u185542351 | cpp |
p02400 | #include <bits/stdc++.h>
using namespace std;
int main() {
double r;
cin >> r;
double pi = 3.141592;
cout << fixed << setprecision(6);
cout << r * r * pi << " " << 2 * r * pi << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
double r;
cin >> r;
double pi = 3.14159265359;
cout << fixed << setprecision(7);
cout << r * r * pi << " " << 2 * r * pi << endl;
return 0;
}
| [
"literal.number.change",
"variable_declaration.value.change",
"io.output.change"
] | 188,747 | 188,748 | u794215091 | cpp |
p02400 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
// Your code here!
double in;
cin >> in;
cout << fixed << setprecision(10) << in * in * 3.141592653 << " "
<< in * 2 * 3.141592653 << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main(void) {
// Your code here!
double in;
cin >> in;
cout << fixed << setprecision(6) << in * in * 3.14159265358979 << " "
<< in * 2 * 3.14159265358979 << endl;
return 0;
}
| [
"literal.number.change",
"io.output.change"
] | 188,752 | 188,753 | u460296825 | cpp |
p02400 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
// Your code here!
double in;
cin >> in;
cout << fixed << setprecision(6) << in * in * 3.141592653 << " "
<< in * 2 * 3.141592653 << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main(void) {
// Your code here!
double in;
cin >> in;
cout << fixed << setprecision(6) << in * in * 3.14159265358979 << " "
<< in * 2 * 3.14159265358979 << endl;
return 0;
}
| [
"literal.number.change",
"io.output.change"
] | 188,754 | 188,753 | u460296825 | cpp |
p02400 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
// Your code here!
double in;
cin >> in;
cout << fixed << setprecision(7) << in * in * 3.141592653 << " "
<< in * 2 * 3.141592653 << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main(void) {
// Your code here!
double in;
cin >> in;
cout << fixed << setprecision(6) << in * in * 3.14159265358979 << " "
<< in * 2 * 3.14159265358979 << endl;
return 0;
}
| [
"literal.number.change",
"io.output.change"
] | 188,755 | 188,753 | u460296825 | cpp |
p02400 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
// Your code here!
double in;
cin >> in;
cout << fixed << setprecision(8) << in * in * 3.141592653 << " "
<< in * 2 * 3.141592653 << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main(void) {
// Your code here!
double in;
cin >> in;
cout << fixed << setprecision(6) << in * in * 3.14159265358979 << " "
<< in * 2 * 3.14159265358979 << endl;
return 0;
}
| [
"literal.number.change",
"io.output.change"
] | 188,756 | 188,753 | u460296825 | cpp |
p02400 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
// Your code here!
double in;
cin >> in;
cout << fixed << setprecision(9) << in * in * 3.141592653 << " "
<< in * 2 * 3.141592653 << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main(void) {
// Your code here!
double in;
cin >> in;
cout << fixed << setprecision(6) << in * in * 3.14159265358979 << " "
<< in * 2 * 3.14159265358979 << endl;
return 0;
}
| [
"literal.number.change",
"io.output.change"
] | 188,758 | 188,753 | u460296825 | cpp |
p02400 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
// Your code here!
double in;
cin >> in;
cout << fixed << setprecision(100) << in * in * 3.141592653 << " "
<< in * 2 * 3.141592653 << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main(void) {
// Your code here!
double in;
cin >> in;
cout << fixed << setprecision(6) << in * in * 3.14159265358979 << " "
<< in * 2 * 3.14159265358979 << endl;
return 0;
}
| [
"literal.number.change",
"io.output.change"
] | 188,760 | 188,753 | u460296825 | cpp |
p02400 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
// Your code here!
double in;
cin >> in;
cout << fixed << setprecision(10000000) << in * in * 3.141592653 << " "
<< in * 2 * 3.141592653 << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main(void) {
// Your code here!
double in;
cin >> in;
cout << fixed << setprecision(6) << in * in * 3.14159265358979 << " "
<< in * 2 * 3.14159265358979 << endl;
return 0;
}
| [
"literal.number.change",
"io.output.change"
] | 188,761 | 188,753 | u460296825 | cpp |
p02400 | #include <stdio.h>
int main() {
double r;
scanf("%lf", &r);
printf("%.6f %.6f\n", r * r * 3.14159265, r * 2 * 3.14159265);
return 0;
}
| #include <stdio.h>
int main() {
double r;
scanf("%lf", &r);
printf("%.6f %.6f\n", r * r * 3.141592653589, r * 2 * 3.141592653589);
return 0;
}
| [
"literal.number.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 188,764 | 188,765 | u227526936 | cpp |
p02400 | #include <iostream>
using namespace std;
int main() {
double r;
scanf("%lf", &r);
double pi = 3.141592653589;
printf("%f %f\n", 2 * r * pi, r * r * pi);
}
| #include <iostream>
using namespace std;
int main() {
double r;
scanf("%lf", &r);
double pi = 3.141592653589;
printf("%.8f %.8f\n", r * r * pi, 2 * r * pi);
}
| [
"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,783 | 188,784 | u525268470 | cpp |
p02400 | #include <iostream>
using namespace std;
int main() {
double r;
scanf("%lf", &r);
double pi = 3.141592653589;
printf("%.8f %.8f\n", 2 * r * pi, r * r * pi);
}
| #include <iostream>
using namespace std;
int main() {
double r;
scanf("%lf", &r);
double pi = 3.141592653589;
printf("%.8f %.8f\n", r * r * pi, 2 * r * pi);
}
| [
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change",
"identifier.replace.remove",
"literal.replace.add"
] | 188,786 | 188,784 | u525268470 | cpp |
p02400 | #include <iomanip>
#include <iostream>
int main() {
int r;
std::cin >> r;
double a, b;
a = 1.0 * 2 * r * 3.141592653589;
b = 1.0 * r * r * 3.141592653589;
std::cout << std::fixed << std::setprecision(7);
std::cout << a << " " << b << std::endl;
return 0;
}
| #include <iomanip>
#include <iostream>
int main() {
double r;
std::cin >> r;
double a, b;
a = 1.0 * r * r * 3.141592653589;
b = 1.0 * 2 * r * 3.141592653589;
std::cout << std::fixed << std::setprecision(10);
std::cout << a << " " << b << std::endl;
return 0;
}
| [
"variable_declaration.type.primitive.change",
"assignment.value.change",
"identifier.replace.add",
"literal.replace.remove",
"expression.operation.binary.change",
"identifier.replace.remove",
"literal.replace.add",
"literal.number.change",
"call.arguments.change"
] | 188,787 | 188,788 | u108274813 | cpp |
p02400 | #include <bits/stdc++.h>
using namespace std;
int main() {
cout << fixed << setprecision(12);
int r;
double c1, c2;
cin >> r;
double y = acos(-1);
c1 = (r * r) * y;
c2 = (r * 2) * y;
cout << c1 << c2 << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
cout << fixed << setprecision(12);
double r;
double c1, c2;
cin >> r;
double y = acos(-1);
c1 = (r * r) * y;
c2 = (r * 2) * y;
cout << c1 << " " << c2 << endl;
return 0;
}
| [
"variable_declaration.type.primitive.change",
"io.output.change"
] | 188,792 | 188,793 | u877529639 | cpp |
p02400 | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double r;
cin >> r;
double pi = 3.14159265;
printf("%.6f %.6f\n", pi * r * r, 2 * pi * r);
return 0;
}
| #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double r;
cin >> r;
double pi = 3.141592653589793238;
printf("%.6f %.6f\n", pi * r * r, 2 * pi * r);
return 0;
}
| [
"literal.number.change",
"variable_declaration.value.change"
] | 188,795 | 188,796 | u339553192 | cpp |
p02400 | //============================================================================
// Name : SyousuuTest.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#includ... | //============================================================================
// Name : SyousuuTest.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#includ... | [
"assignment.variable.change",
"identifier.change"
] | 188,799 | 188,800 | u894945452 | cpp |
p02400 | //============================================================================
// Name : SyousuuTest.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#includ... | //============================================================================
// Name : SyousuuTest.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#includ... | [
"assignment.variable.change",
"identifier.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 188,801 | 188,800 | u894945452 | cpp |
p02400 | //============================================================================
// Name : SyousuuTest.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#includ... | //============================================================================
// Name : SyousuuTest.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#includ... | [
"assignment.variable.change",
"identifier.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 188,802 | 188,800 | u894945452 | cpp |
p02400 | #include <algorithm>
#include <iostream>
#include <math.h>
#include <stdio.h>
using namespace std;
int main(void) {
double r, m = 0, e = 0; //,p=M_PI;
scanf("%f", &r);
m = M_PI * r * r;
e = M_PI * 2 * r;
printf("%.6f %.6f\n", m, e);
return 0;
}
| #include <algorithm>
#include <iostream>
#include <math.h>
#include <stdio.h>
using namespace std;
int main(void) {
double r, m = 0, e = 0; //,p=M_PI;
scanf("%lf", &r);
m = M_PI * r * r;
e = M_PI * 2 * r;
printf("%.6lf %.6lf\n", m, e);
return 0;
}
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 188,805 | 188,806 | u367470012 | cpp |
p02400 | #include <cmath>
#include <cstdio>
int main() {
double r;
scanf("%lf", &r);
double area = M_PI * r * r;
double circle = 2.0 * M_PI * 2;
printf("%.5f %.5f\n", area, circle);
return 0;
}
| #include <cmath>
#include <cstdio>
int main() {
double r;
scanf("%lf", &r);
double area = M_PI * r * r;
double circle = 2.0 * M_PI * r;
printf("%.5f %.5f\n", area, circle);
return 0;
}
| [
"identifier.replace.add",
"literal.replace.remove",
"expression.operation.binary.change"
] | 188,811 | 188,812 | u027702271 | cpp |
p02400 | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double r, S, L;
scanf("%lf", &r);
S = 3.14159265 * r * r;
L = 2 * 3.14159265 * r;
printf("%.6lf %.6lf\n", S, L);
}
| #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double r, S, L;
scanf("%lf", &r);
S = 3.141592653589 * r * r;
L = 2 * 3.141592653589 * r;
printf("%.6lf %.6lf\n", S, L);
}
| [
"literal.number.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 188,813 | 188,814 | u088383769 | cpp |
p02400 | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double r, S, L;
scanf("%lf", &r);
S = 3.14159265 * r * r;
L = 2 * 3.14159265 * r;
printf("%.6f %.6f\n", S, L);
}
| #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double r, S, L;
scanf("%lf", &r);
S = 3.141592653589 * r * r;
L = 2 * 3.141592653589 * r;
printf("%.6lf %.6lf\n", S, L);
}
| [
"literal.number.change",
"assignment.value.change",
"expression.operation.binary.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 188,815 | 188,814 | u088383769 | cpp |
p02400 | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double r, S, L;
scanf("%lf", &r);
S = 3.141592653 * r * r;
L = 2 * 3.141592653 * r;
printf("%.7lf %.7lf\n", S, L);
}
| #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double r, S, L;
scanf("%lf", &r);
S = 3.141592653589 * r * r;
L = 2 * 3.141592653589 * r;
printf("%.6lf %.6lf\n", S, L);
}
| [
"literal.number.change",
"assignment.value.change",
"expression.operation.binary.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 188,816 | 188,814 | u088383769 | cpp |
p02400 | #include <algorithm>
#include <iostream>
#include <math.h>
#include <stdio.h>
#define PAI 3.141592653589
using namespace std;
int main() {
float r, mennseki, ennsyuu;
cin >> r;
mennseki = r * r * PAI;
ennsyuu = 2 * PAI * r;
printf("%.7lf %.7lf\n", mennseki, ennsyuu);
return 0;
}
| #include <algorithm>
#include <iostream>
#include <math.h>
#include <stdio.h>
#define PAI 3.141592653589
using namespace std;
int main() {
double r, mennseki, ennsyuu;
cin >> r;
mennseki = r * r * PAI;
ennsyuu = 2 * PAI * r;
printf("%.7lf %.7lf\n", mennseki, ennsyuu);
return 0;
}
| [
"variable_declaration.type.primitive.change"
] | 188,824 | 188,825 | u045927427 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
int a = 0;
double c = 0, d = 0, e = 0;
cin >> a;
c = 3.141592653589;
d = 2 * c * a;
e = a * a * c;
cout << fixed << setprecision(6) << d << " " << e << endl;
return 0;
}
| #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double a = 0, c = 0, d = 0, e = 0;
cin >> a;
c = 3.141592653589;
d = 2 * c * a;
e = a * a * c;
cout << fixed << setprecision(6) << e << " " << d << endl;
return 0;
}
| [
"variable_declaration.type.primitive.change",
"identifier.change",
"io.output.change"
] | 188,826 | 188,827 | u439409527 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double a = 0, c = 0, d = 0, e = 0;
cin >> a;
c = 3.141592653589;
d = 2 * c * a;
e = a * a * c;
cout << fixed << setprecision(6) << d << " " << e << endl;
return 0;
}
| #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double a = 0, c = 0, d = 0, e = 0;
cin >> a;
c = 3.141592653589;
d = 2 * c * a;
e = a * a * c;
cout << fixed << setprecision(6) << e << " " << d << endl;
return 0;
}
| [
"identifier.change",
"io.output.change"
] | 188,828 | 188,827 | u439409527 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double a = 0, c = 0, d = 0, e = 0;
cin >> a;
c = 3.141592653589;
d = 2 * c * a;
e = a * a * c;
cout << fixed << setprecision(5) << d << " " << e << endl;
return 0;
}
| #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double a = 0, c = 0, d = 0, e = 0;
cin >> a;
c = 3.141592653589;
d = 2 * c * a;
e = a * a * c;
cout << fixed << setprecision(6) << e << " " << d << endl;
return 0;
}
| [
"literal.number.change",
"io.output.change",
"identifier.change"
] | 188,830 | 188,827 | u439409527 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double a = 0, c = 0, d = 0, e = 0;
cin >> a;
c = 3.141592653589;
d = 2 * c * a;
e = a * a * c;
cout << fixed << setprecision(8) << d << " " << e << endl;
return 0;
}
| #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double a = 0, c = 0, d = 0, e = 0;
cin >> a;
c = 3.141592653589;
d = 2 * c * a;
e = a * a * c;
cout << fixed << setprecision(6) << e << " " << d << endl;
return 0;
}
| [
"literal.number.change",
"io.output.change",
"identifier.change"
] | 188,831 | 188,827 | u439409527 | cpp |
p02400 | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
float pi = 3.141592653589;
int r;
cin >> r;
double menseki = pi * r * r;
double enshuu = 2 * pi * r;
printf("%f %f", menseki, enshuu);
return 0;
}
| #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double pi = 3.141592653589;
// int r;
double r;
cin >> r;
double menseki = pi * r * r;
double enshuu = 2 * pi * r;
printf("%f %f", menseki, enshuu);
return 0;
}
| [
"variable_declaration.type.primitive.change"
] | 188,833 | 188,834 | u837438080 | cpp |
p02400 | #include <math.h>
#include <stdio.h>
int main() {
double a;
scanf("%d", &a);
printf("%lf %lf\n", M_PI * a * a, 2 * M_PI * a);
}
| #include <math.h>
#include <stdio.h>
int main() {
double a;
scanf("%lf", &a);
printf("%lf %lf\n", M_PI * a * a, 2 * M_PI * a);
}
| [
"literal.string.change",
"call.arguments.change"
] | 188,838 | 188,839 | u803657704 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r, S, l, pi;
cin >> r;
pi = 3.141592653589;
S = pi * r * r;
l = 2 * pi * r;
cout << setprecision(9) << S << " " << l << endl;
return 0;
}
| #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r, S, l, pi;
cin >> r;
pi = 3.141592653589;
S = pi * r * r;
l = 2 * pi * r;
cout << setprecision(20) << S << " " << l << endl;
return 0;
}
| [
"literal.number.change",
"io.output.change"
] | 188,842 | 188,843 | u267739945 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.