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 <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", s, l);
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"
] | 188,102 | 188,101 | u533387709 | cpp |
p02400 | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
double area = r * r * 3.141592653589;
double circle = 2 * r * 3.141592653589;
printf("%fl %fl", area, circle);
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
double area = r * r * 3.141592653589;
double circle = 2 * r * 3.141592653589;
printf("%f %f", area, circle);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 188,105 | 188,106 | u182180701 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
const double Pi = 3.14159265;
double r;
cin >> r;
double s = Pi * r * r;
double l = 2 * Pi * r;
cout << fixed << setprecision(5) << s << " " << l << endl;
return 0;
} | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
const double Pi = 3.14159265358979;
double r;
cin >> r;
double s = Pi * r * r;
double l = 2 * Pi * r;
cout << fixed << setprecision(6) << s << " " << l << endl;
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change",
"io.output.change"
] | 188,113 | 188,112 | u495539146 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
const double Pi = 3.14159265;
double r;
cin >> r;
double s = Pi * r * r;
double l = 2 * Pi * r;
cout << fixed << setprecision(6) << s << " " << l << endl;
return 0;
} | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
const double Pi = 3.14159265358979;
double r;
cin >> r;
double s = Pi * r * r;
double l = 2 * Pi * r;
cout << fixed << setprecision(6) << s << " " << l << endl;
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 188,114 | 188,112 | u495539146 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
const double Pi = 3.14159;
double r;
cin >> r;
double s = Pi * r * r;
double l = 2 * Pi * r;
cout << fixed << setprecision(5) << s << " " << l << endl;
return 0;
} | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
const double Pi = 3.14159265358979;
double r;
cin >> r;
double s = Pi * r * r;
double l = 2 * Pi * r;
cout << fixed << setprecision(6) << s << " " << l << endl;
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change",
"io.output.change"
] | 188,115 | 188,112 | u495539146 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
const double Pi = 3.141592;
double r;
cin >> r;
double s = Pi * r * r;
double l = 2 * Pi * r;
cout << fixed << setprecision(6) << s << " " << l << endl;
return 0;
} | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
const double Pi = 3.14159265358979;
double r;
cin >> r;
double s = Pi * r * r;
double l = 2 * Pi * r;
cout << fixed << setprecision(6) << s << " " << l << endl;
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 188,116 | 188,112 | u495539146 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
int r;
cin >> r;
double pi = 3.141592653589;
double L = 2 * r * pi;
double S = r * r * pi;
cout << fixed << setprecision(12) << L << " " << S << endl;
return 0;
} | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
double pi = 3.141592653589;
double L = 2 * r * pi;
double S = r * r * pi;
cout << fixed << setprecision(12) << S << " " << L << endl;
return 0;
} | [
"variable_declaration.type.primitive.change",
"identifier.change",
"io.output.change"
] | 188,119 | 188,120 | u860484553 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
double pi = 3.141592653589;
double L = 2 * r * pi;
double S = r * r * pi;
cout << fixed << setprecision(12) << L << " " << S << endl;
return 0;
} | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
double pi = 3.141592653589;
double L = 2 * r * pi;
double S = r * r * pi;
cout << fixed << setprecision(12) << S << " " << L << endl;
return 0;
} | [
"identifier.change",
"io.output.change"
] | 188,121 | 188,120 | u860484553 | cpp |
p02400 | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double r;
double pi = 3.141592653;
cin >> r;
double s = r * r * pi;
double l = r * 2 * pi;
printf("%.6lf %.6lf\n", s, l);
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double r;
double pi = 3.141592653589;
cin >> r;
double s = r * r * pi;
double l = r * 2 * pi;
printf("%.6lf %.6lf\n", s, l);
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 188,131 | 188,132 | u387257304 | cpp |
p02400 | #include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
double c = 3.141592653589;
cout << fixed << 2 * r * c << " " << fixed << r * r * c << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
double c = 3.141592653589;
cout << fixed << r * r * c << " " << fixed << 2 * r * c << endl;
return 0;
} | [
"identifier.replace.add",
"literal.replace.remove",
"io.output.change",
"identifier.replace.remove",
"literal.replace.add"
] | 188,145 | 188,146 | u733596825 | cpp |
p02400 | #include <algorithm>
#include <cstdio>
#include <iostream>
#include <math.h> // M_PI
#include <vector>
using namespace std;
int main() {
int r;
cin >> r;
printf("%f, %f\n", r * r * M_PI, 2 * r * M_PI);
} | #include <algorithm>
#include <cstdio>
#include <iostream>
#include <math.h> // M_PI
#include <vector>
using namespace std;
int main() {
double r;
cin >> r;
printf("%f %f\n", r * r * M_PI, 2 * r * M_PI);
} | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 188,147 | 188,148 | u669317819 | cpp |
p02400 | #include <cstdio>
#include <iostream>
using namespace std;
#define PI 3.14159265
int main(void) {
double x, z;
cin >> x;
z = x * PI;
printf("%.6f %.6f\n", z * x, z * 2.0);
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
#define PI 3.141592653589
int main(void) {
double x, z;
cin >> x;
z = x * PI;
printf("%.6f %.6f\n", z * x, z * 2.0);
return 0;
} | [
"preprocessor.define.value.change",
"literal.float.change"
] | 188,153 | 188,151 | u991772238 | cpp |
p02400 | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
printf("%f %f\n", r * r * 3.141562653589, 2 * r * 3.141592653589);
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
printf("%f %f\n", r * r * 3.141592653589, 2 * r * 3.141592653589);
return 0;
} | [
"literal.number.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 188,155 | 188,156 | u343255256 | cpp |
p02400 | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double pi = 3.14159265926535897;
double r;
cin >> r;
printf("%lf %lf\n", pi * r * r, 2 * pi * r);
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double PI = 3.141592653589;
double r;
cin >> r;
printf("%lf %lf\n", PI * r * r, 2 * PI * r);
return 0;
} | [
"variable_declaration.name.change",
"identifier.change",
"literal.number.change",
"variable_declaration.value.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 188,169 | 188,170 | u377471313 | cpp |
p02400 | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double pi = 3.14159265926535897;
double r;
cin >> r;
printf("%lf %lf\n", pi * r * r, 2 * pi * r);
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double pi = 3.1415926535897;
double r;
cin >> r;
printf("%lf %lf\n", pi * r * r, 2 * pi * r);
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 188,169 | 188,171 | u377471313 | cpp |
p02400 | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double PI = 3.14159265926535897;
double r;
cin >> r;
printf("%lf %lf\n", PI * r * r, 2 * PI * r);
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double pi = 3.1415926535897;
double r;
cin >> r;
printf("%lf %lf\n", pi * r * r, 2 * pi * r);
return 0;
} | [
"variable_declaration.name.change",
"identifier.change",
"literal.number.change",
"variable_declaration.value.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 188,173 | 188,171 | u377471313 | cpp |
p02400 | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double PI = 3.1415926592653589;
double r;
cin >> r;
printf("%lf %lf\n", PI * r * r, 2 * PI * r);
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double pi = 3.1415926535897;
double r;
cin >> r;
printf("%lf %lf\n", pi * r * r, 2 * pi * r);
return 0;
} | [
"variable_declaration.name.change",
"identifier.change",
"literal.number.change",
"variable_declaration.value.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 188,174 | 188,171 | u377471313 | cpp |
p02400 | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
int r;
cin >> r;
printf("%lf %lf\n", (double)r * r * 3.141592, (double)2 * r * 3.141592);
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
printf("%lf %lf\n", (double)r * r * 3.141592653589,
(double)2 * r * 3.141592653589);
return 0;
} | [
"variable_declaration.type.primitive.change",
"literal.number.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 188,175 | 188,176 | u155061153 | cpp |
p02400 | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
printf("%lf %lf\n", (double)r * r * 3.141592, (double)2 * r * 3.141592);
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
printf("%lf %lf\n", (double)r * r * 3.141592653589,
(double)2 * r * 3.141592653589);
return 0;
} | [
"literal.number.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 188,177 | 188,176 | u155061153 | cpp |
p02400 | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
printf("%lf %lf\n", (double)r * r * 3.1415926, (double)2 * r * 3.1415926);
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
printf("%lf %lf\n", (double)r * r * 3.141592653589,
(double)2 * r * 3.141592653589);
return 0;
} | [
"literal.number.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 188,178 | 188,176 | u155061153 | cpp |
p02400 | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double r, s, l;
const double pi = 3.141592653;
cin >> r;
s = r * r * pi;
l = 2 * r * pi;
printf("%f, %f\n", s, l);
return 0;
} | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double r, s, l;
const double pi = 3.141592653589;
cin >> r;
s = r * r * pi;
l = 2 * r * pi;
printf("%f %f\n", s, l);
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 188,179 | 188,180 | u345854513 | cpp |
p02400 | #include <cstdio>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
const double pai = 3.14159;
double r;
cin >> r;
printf("%.5lf %.5lf\n", pai * r * r, 2 * pai * r);
return 0;
} | #include <cstdio>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
const double pai = 3.141592653589;
double r;
cin >> r;
printf("%.5lf %.5lf\n", pai * r * r, 2 * pai * r);
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 188,181 | 188,182 | u680890526 | cpp |
p02400 | #include <stdio.h>
int main(void) {
double r, n, s, p;
p = 3.14159265;
scanf("%lf", &r);
n = p * r * r;
s = p * r * r;
printf("%f %f\n", n, s);
return 0;
} | #include <stdio.h>
int main(void) {
double r, n, s, p;
p = 3.141592653589;
scanf("%lf", &r);
n = p * r * r;
s = p * 2 * r;
printf("%f %f\n", n, s);
return 0;
} | [
"literal.number.change",
"assignment.value.change",
"identifier.replace.remove",
"literal.replace.add",
"expression.operation.binary.change"
] | 188,184 | 188,185 | u707590651 | cpp |
p02400 | #include <stdio.h>
int main(void) {
double r, n, s, p;
p = 3.14159265;
scanf("%f", &r);
n = p * r * r;
s = p * r * r;
printf("%f %f\n", n, s);
return 0;
} | #include <stdio.h>
int main(void) {
double r, n, s, p;
p = 3.141592653589;
scanf("%lf", &r);
n = p * r * r;
s = p * 2 * r;
printf("%f %f\n", n, s);
return 0;
} | [
"literal.number.change",
"assignment.value.change",
"literal.string.change",
"call.arguments.change",
"identifier.replace.remove",
"literal.replace.add",
"expression.operation.binary.change"
] | 188,187 | 188,185 | u707590651 | cpp |
p02400 | #include <stdio.h>
int main(void) {
double r, n, s, p;
p = 3.14159265;
scanf("%lf", &r);
n = p * r * r;
s = p * r * r;
printf("%lf %lf\n", n, s);
return 0;
} | #include <stdio.h>
int main(void) {
double r, n, s, p;
p = 3.141592653589;
scanf("%lf", &r);
n = p * r * r;
s = p * 2 * r;
printf("%f %f\n", n, s);
return 0;
} | [
"literal.number.change",
"assignment.value.change",
"identifier.replace.remove",
"literal.replace.add",
"expression.operation.binary.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 188,188 | 188,185 | u707590651 | cpp |
p02400 | #include <stdio.h>
int main(void) {
double r, n, s, p;
p = 3.14159265;
scanf("%lf", &r);
n = p * r * r;
s = p * 2 * r;
printf("%lf %lf\n", n, s);
return 0;
} | #include <stdio.h>
int main(void) {
double r, n, s, p;
p = 3.141592653589;
scanf("%lf", &r);
n = p * r * r;
s = p * 2 * r;
printf("%f %f\n", n, s);
return 0;
} | [
"literal.number.change",
"assignment.value.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 188,190 | 188,185 | u707590651 | cpp |
p02400 | #include <stdio.h>
int main(void) {
double r, n, s, p;
p = 3.14159265;
scanf("%lf", &r);
n = p * r * r;
s = p * 2 * r;
printf("%f %f\n", n, s);
return 0;
} | #include <stdio.h>
int main(void) {
double r, n, s, p;
p = 3.141592653589;
scanf("%lf", &r);
n = p * r * r;
s = p * 2 * r;
printf("%f %f\n", n, s);
return 0;
} | [
"literal.number.change",
"assignment.value.change"
] | 188,192 | 188,185 | u707590651 | cpp |
p02400 | #include <bits/stdc++.h>
using namespace std;
signed main() {
double a;
scanf("%d", &a);
printf("%.10lf %.10lf\n", a * a * M_PI, a * 2 * M_PI);
} | #include <bits/stdc++.h>
using namespace std;
signed main() {
double a;
scanf("%lf", &a);
printf("%.10lf %.10lf\n", a * a * M_PI, a * 2 * M_PI);
} | [
"literal.string.change",
"call.arguments.change"
] | 188,201 | 188,198 | u765159858 | cpp |
p02400 | #include <cstdio>
int main(void) {
double a = 3.1415927;
double r;
scanf("%lf", &r);
printf("%f %f\n", a * r * r, 2 * a * r);
return 0;
} | #include <cstdio>
int main(void) {
double a = 3.14159265359;
double r;
scanf("%lf", &r);
printf("%f %f\n", a * r * r, 2 * a * r);
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 188,216 | 188,217 | u263256550 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using std::cin;
using std::cout;
using std::endl;
int main(void) {
double r;
cin >> r;
double pi = 3.141592653589793;
cout << std::setprecision(8);
cout << pi * r * r << " " << 2 * pi * r << endl;
return 0;
} | #include <iomanip>
#include <iostream>
using std::cin;
using std::cout;
using std::endl;
int main(void) {
double r;
cin >> r;
double pi = 3.141592653589793;
cout << std::setprecision(20);
cout << pi * r * r << " " << 2 * pi * r << endl;
return 0;
} | [
"literal.number.change",
"io.output.change"
] | 188,218 | 188,219 | u910664394 | cpp |
p02400 | #include <stdio.h>
int main() {
int r;
double S = 0.0, L = 0.0, pi = 3.14159265359;
scanf("lf", &r);
S = r * r * pi;
L = r * 2 * pi;
printf("%.6lf %.6lf\n", S, L);
return 0;
} | #include <stdio.h>
int main() {
double r;
double S = 0.0, L = 0.0, pi = 3.14159265359;
scanf("%lf", &r);
S = r * r * pi;
L = r * 2 * pi;
printf("%.6lf %.6lf\n", S, L);
return 0;
} | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"call.arguments.change"
] | 188,227 | 188,226 | u451300376 | cpp |
p02400 | #include <stdio.h>
int main() {
double r;
double S = 0.0, L = 0.0, pi = 3.14159265359;
scanf("lf", &r);
S = r * r * pi;
L = r * 2 * pi;
printf("%.6lf %.6lf\n", S, L);
return 0;
} | #include <stdio.h>
int main() {
double r;
double S = 0.0, L = 0.0, pi = 3.14159265359;
scanf("%lf", &r);
S = r * r * pi;
L = r * 2 * pi;
printf("%.6lf %.6lf\n", S, L);
return 0;
} | [
"literal.string.change",
"call.arguments.change"
] | 188,228 | 188,226 | u451300376 | cpp |
p02400 | #include <stdio.h>
int main() {
int r;
double S = 0.0, L = 0.0, pi = 3.14159265359;
scanf("lf", &r);
S = r * r * pi;
L = r * 2 * pi;
printf("%.6lf %.6lf\n", S, L);
return 0;
} | #include <stdio.h>
int main() {
double r;
double S = 0.0, L = 0.0, pi = 3.14159265359;
scanf("%lf", &r);
S = r * r * pi;
L = 2 * r * pi;
printf("%.6lf %.6lf\n", S, L);
return 0;
} | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"call.arguments.change",
"expression.operation.binary.remove",
"assignment.change"
] | 188,227 | 188,229 | u451300376 | cpp |
p02400 | #include <stdio.h>
int main() {
double r;
double S = 0.0, L = 0.0, pi = 3.14159265359;
scanf("lf", &r);
S = r * r * pi;
L = r * 2 * pi;
printf("%.6lf %.6lf\n", S, L);
return 0;
} | #include <stdio.h>
int main() {
double r;
double S = 0.0, L = 0.0, pi = 3.14159265359;
scanf("%lf", &r);
S = r * r * pi;
L = 2 * r * pi;
printf("%.6lf %.6lf\n", S, L);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"expression.operation.binary.remove",
"assignment.change"
] | 188,228 | 188,229 | u451300376 | cpp |
p02400 | #include <stdio.h>
int main(void)
{
double r, s, n;
scanf("%lf", &r);
s = r * r * 3.141592653589;
n = 2 * r * 3.121592653589;
printf("%lf %lf\n", s, n);
return 0;
} | #include <stdio.h>
int main(void)
{
double r, s, n;
scanf("%lf", &r);
s = r * r * 3.141592653589;
n = 2 * r * 3.141592653589;
printf("%lf %lf\n", s, n);
return 0;
} | [
"literal.number.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 188,235 | 188,236 | u493303813 | cpp |
p02400 | #include <bits/stdc++.h>
#define Pi 3.14159265
using namespace std;
int main() {
double r;
cin >> r;
printf("%lf %lf\n", pow(r, 2) * Pi, 2 * r * Pi);
return 0;
} | #include <bits/stdc++.h>
#define Pi 3.14159265358979
using namespace std;
int main() {
double r;
cin >> r;
printf("%lf %lf\n", pow(r, 2) * Pi, 2 * r * Pi);
return 0;
} | [
"preprocessor.define.value.change",
"literal.float.change"
] | 188,242 | 188,243 | u354244251 | cpp |
p02400 | #include <iostream>
#include <stdio.h>
#include <vector>
#define _USE_MATH_DEFINES
#include <math.h>
using namespace std;
int HelloWorld() {
cout << "Hello World" << endl;
return 0;
}
int XCubic() {
int x;
cin >> x;
if (1 <= x && x <= 100) {
x = x * x * x;
cout << x << endl;
return 0;
}
retu... | #include <iostream>
#include <stdio.h>
#include <vector>
#define _USE_MATH_DEFINES
#include <math.h>
using namespace std;
int HelloWorld() {
cout << "Hello World" << endl;
return 0;
}
int XCubic() {
int x;
cin >> x;
if (1 <= x && x <= 100) {
x = x * x * x;
cout << x << endl;
return 0;
}
retu... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 188,246 | 188,245 | u983451181 | cpp |
p02400 | #include <stdio.h>
int main(void) {
double r;
double pi = 3.14159;
scanf("%lf", &r);
printf("%f %f\n", pi * r * r, 2 * pi * r);
return 0;
} | #include <stdio.h>
int main(void) {
double r;
double pi = 3.1415926535898;
scanf("%lf", &r);
printf("%f %f\n", pi * r * r, 2 * pi * r);
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 188,264 | 188,265 | u480054566 | cpp |
p02400 | #include <stdio.h>
int main(void) {
int r;
double pi = 3.14159265359;
scanf("%d", &r);
printf("%d %d\n", r * r * pi, 2 * r * pi);
return 0;
} | #include <stdio.h>
int main(void) {
double r;
double pi = 3.14159265359;
scanf("%lf", &r);
printf("%lf %lf\n", r * r * pi, 2 * r * pi);
return 0;
} | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 188,266 | 188,267 | u663088010 | cpp |
p02400 | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
float r;
double men, syu;
cin >> r;
men = r * r * 3.14159264;
syu = 2 * r * 3.14159264;
printf("%lf %lf\n", men, syu);
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double r;
double men, syu;
cin >> r;
men = r * r * 3.141592653589;
syu = 2 * r * 3.141592653589;
printf("%lf %lf\n", men, syu);
return 0;
} | [
"variable_declaration.type.primitive.change",
"literal.number.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 188,272 | 188,273 | u669006075 | cpp |
p02400 | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double r;
double men, syu;
cin >> r;
men = r * r * 3.14159264;
syu = 2 * r * 3.14159264;
printf("%lf %lf\n", men, syu);
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double r;
double men, syu;
cin >> r;
men = r * r * 3.141592653589;
syu = 2 * r * 3.141592653589;
printf("%lf %lf\n", men, syu);
return 0;
} | [
"literal.number.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 188,274 | 188,273 | u669006075 | cpp |
p02400 | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double r;
double men, syu;
cin >> r;
men = r * r * 3.141592;
syu = 2 * r * 3.141592;
printf("%lf %lf\n", men, syu);
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double r;
double men, syu;
cin >> r;
men = r * r * 3.141592653589;
syu = 2 * r * 3.141592653589;
printf("%lf %lf\n", men, syu);
return 0;
} | [
"literal.number.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 188,275 | 188,273 | u669006075 | cpp |
p02400 | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double r;
double pi = 3.14159265;
cin >> r;
printf("%f %f", r * r * pi, 2.0 * pi * r);
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double r;
double pi = 3.141592653589;
cin >> r;
printf("%f %f", r * r * pi, 2.0 * pi * r);
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 188,276 | 188,277 | u927873196 | cpp |
p02400 | #include <iostream>
#include <math.h>
#include <stdio.h>
using namespace std;
int main(int argc, char const *argv[]) {
double r, area, circum;
cin >> r;
area = r * r * M_PI;
circum = 2 * r * M_PI;
printf("%fl %fl", area, circum);
return 0;
} | #include <iostream>
#include <math.h>
#include <stdio.h>
using namespace std;
int main(int argc, char const *argv[]) {
double r, area, circum;
cin >> r;
area = r * r * M_PI;
circum = 2 * r * M_PI;
printf("%lf %lf", area, circum);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 188,280 | 188,281 | u888871392 | cpp |
p02400 | #include <stdio.h>
int main() {
double r;
double s, l;
double pi = 3.141593;
scanf("%lf", &r);
s = r * r * pi;
l = 2.000000 * pi * r;
printf("%.6f %.6f\n", s, l);
return 0;
} | #include <stdio.h>
int main() {
double r;
double s, l;
double pi = 3.141592653589793238;
scanf("%lf", &r);
s = r * r * pi;
l = 2.000000 * pi * r;
printf("%.6f %.6f\n", s, l);
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 188,283 | 188,284 | u239471853 | cpp |
p02400 | //============================================================================
// Name : HelloCPP.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#include <... | //============================================================================
// Name : HelloCPP.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#include <... | [
"literal.number.change",
"variable_declaration.value.change"
] | 188,288 | 188,289 | u052894422 | cpp |
p02400 | #include <cmath>
#include <iostream>
#define _USE_MATH_DEFINES
#include <iomanip>
#include <math.h>
#include <string>
int main(int argc, char *argv[]) {
double r;
std::cin >> r;
double s = M_PI * r * r;
double l = 2 * M_PI * r;
std::cout << std::fixed;
std::cout << std::setprecision(9) << s << " " << r <<... | #include <cmath>
#include <iostream>
#define _USE_MATH_DEFINES
#include <iomanip>
#include <math.h>
#include <string>
int main(int argc, char *argv[]) {
double r;
std::cin >> r;
double s = M_PI * r * r;
double l = 2 * M_PI * r;
std::cout << std::fixed;
std::cout << std::setprecision(9) << s << " " << l <<... | [
"identifier.change",
"expression.operation.binary.change"
] | 188,290 | 188,291 | u098988101 | cpp |
p02400 | #include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
double r;
cin >> r;
cout << fixed << setprecision(8) << 2 * r * M_PI << " " << r * r * M_PI
<< endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
double r;
cin >> r;
cout << fixed << setprecision(8) << r * r * M_PI << " " << 2 * r * M_PI
<< endl;
return 0;
} | [
"identifier.replace.add",
"literal.replace.remove",
"io.output.change",
"identifier.replace.remove",
"literal.replace.add"
] | 188,297 | 188,298 | u344362704 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
double r;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
cin >> r;
cout << fixed << setprecision(5) << r * r * 3.141592 << " " << fixed
<< setprecision(5) << 2 * r * 3.141592 << "\n";
return 0;
} | #include <iomanip>
#include <iostream>
using namespace std;
double r;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
cin >> r;
cout << fixed << setprecision(5) << r * r * 3.141592653589 << " " << fixed
<< setprecision(5) << 2 * r * 3.141592653589 << "\n";
return 0;
} | [
"literal.number.change",
"io.output.change"
] | 188,301 | 188,302 | u612646732 | cpp |
p02400 | #include <stdio.h>
int main() {
double r;
scanf("%lf", &r);
printf("%lf %lf\n", r * r * 3.14, 2 * 3.14 * r);
return 0;
} | #include <stdio.h>
int main() {
double r;
scanf("%lf", &r);
printf("%f %f\n", r * r * 3.141592653589, 2 * 3.141592653589 * r);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"literal.number.change",
"expression.operation.binary.change"
] | 188,306 | 188,307 | u084980375 | cpp |
p02400 | #include <stdio.h>
int main() {
double r;
scanf("%lf", &r);
printf("%lf %lf\n", r * r * 3.14159265, 2 * 3.14159265 * r);
return 0;
} | #include <stdio.h>
int main() {
double r;
scanf("%lf", &r);
printf("%f %f\n", r * r * 3.141592653589, 2 * 3.141592653589 * r);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"literal.number.change",
"expression.operation.binary.change"
] | 188,308 | 188,307 | u084980375 | cpp |
p02400 | #include <stdio.h>
int main() {
double r;
scanf("%lf", &r);
printf("%f %f\n", r * r * 3.14159265, 2 * 3.14159265 * r);
return 0;
} | #include <stdio.h>
int main() {
double r;
scanf("%lf", &r);
printf("%f %f\n", r * r * 3.141592653589, 2 * 3.141592653589 * r);
return 0;
} | [
"literal.number.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 188,309 | 188,307 | u084980375 | cpp |
p02400 | #include <stdio.h>
int main() {
float r, t, y;
scanf("%f", &r);
y = 2 * r * 3.141592653;
t = r * r * 3.141592653;
printf("%.6f %.6f\n", t, y);
return 0;
} | #include <stdio.h>
int main() {
double r, t, y;
scanf("%lf", &r);
y = 2 * r * 3.141592653589;
t = r * r * 3.141592653589;
printf("%.6f %.6f\n", t, y);
return 0;
} | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"call.arguments.change",
"literal.number.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 188,310 | 188,311 | u109270052 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
int x;
double r = 0, t = 0;
cin >> x;
r = 2 * x * 3.14159265;
t = x * x * 3.14159265;
cout << setprecision(6) << fixed << t << " " << setprecision(6) << fixed << r
<< endl;
return 0;
} | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double x;
double r = 0, t = 0;
cin >> x;
r = 2 * x * 3.141592653589;
t = x * x * 3.141592653589;
cout << setprecision(6) << fixed << t << " " << setprecision(6) << fixed << r
<< endl;
return 0;
} | [
"variable_declaration.type.primitive.change",
"literal.number.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 188,318 | 188,317 | u060182859 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double x;
double r = 0, t = 0;
cin >> x;
r = 2 * x * 3.14159265;
t = x * x * 3.14159265;
cout << setprecision(6) << fixed << t << " " << setprecision(6) << fixed << r
<< endl;
return 0;
} | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double x;
double r = 0, t = 0;
cin >> x;
r = 2 * x * 3.141592653589;
t = x * x * 3.141592653589;
cout << setprecision(6) << fixed << t << " " << setprecision(6) << fixed << r
<< endl;
return 0;
} | [
"literal.number.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 188,319 | 188,317 | u060182859 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r, p;
cin >> r;
p = 3.141592657589;
cout << fixed << setprecision(6) << r * r * p << " " << fixed
<< setprecision(6) << (r + r) * p << endl;
return 0;
} | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r, p;
cin >> r;
p = 3.141592653589;
cout << fixed << setprecision(6) << r * r * p << " " << fixed
<< setprecision(6) << (r + r) * p << endl;
return 0;
} | [
"literal.number.change",
"assignment.value.change"
] | 188,320 | 188,321 | u288161042 | cpp |
p02400 | #include <iostream>
#include <math.h>
using namespace std;
int main() {
double r;
double area;
double cir; // circumference
cin >> r;
area = r * r * M_PI;
cir = 2 * r * M_PI;
cout << area << " " << cir << " ";
cout << endl;
return 0;
} | #include <iostream>
#include <math.h>
using namespace std;
int main() {
double r;
double area;
double cir; // circumference
cin >> r;
area = r * r * M_PI;
cir = 2 * r * M_PI;
cout << fixed << area << " " << fixed << cir << " ";
cout << endl;
return 0;
} | [
"io.output.change"
] | 188,322 | 188,323 | u517956630 | cpp |
p02400 | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double r, S, L;
cin >> r;
S = r * r * 3.1415926;
L = 2 * r * 3.1415926;
printf("%0.6lf %0.6lf\n", S, L);
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double r, S, L;
cin >> r;
S = r * r * 3.14159265358979;
L = 2 * r * 3.14159265358979;
printf("%0.6lf %0.6lf\n", S, L);
return 0;
} | [
"literal.number.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 188,324 | 188,325 | u949389125 | cpp |
p02400 | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double r, S, L;
cin >> r;
S = r * r * 3.1415926;
L = 2 * r * 3.1415926;
printf("%0.5lf %0.5lf\n", S, L);
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double r, S, L;
cin >> r;
S = r * r * 3.14159265358979;
L = 2 * r * 3.14159265358979;
printf("%0.6lf %0.6lf\n", S, L);
return 0;
} | [
"literal.number.change",
"assignment.value.change",
"expression.operation.binary.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 188,326 | 188,325 | u949389125 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
int r;
cin >> r;
static const double PI = 3.14159265;
double s = r * r * PI;
double c = r * 2 * PI;
cout << fixed << setprecision(6) << s << ' ' << c << ' ' << endl;
return 0;
} | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
static const double PI = 3.14159265358979;
double s = r * r * PI;
double c = r * 2 * PI;
cout << fixed << setprecision(6) << s << ' ' << c << ' ' << endl;
return 0;
} | [
"variable_declaration.type.primitive.change",
"literal.number.change",
"variable_declaration.value.change"
] | 188,328 | 188,329 | u698916039 | cpp |
p02400 | #include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
int r = 0;
cin >> r;
printf("%f ", M_PI * r * 2);
printf("%f\n", M_PI * r * r);
return 0;
} | #include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
double r = 0;
cin >> r;
printf("%f ", M_PI * r * r);
printf("%f\n", M_PI * r * 2);
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"
] | 188,330 | 188,331 | u266064195 | cpp |
p02400 | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double r, are, circ;
cin >> r;
are = 2 * 3.141592653589 * r;
circ = r * r * 3.141592653589;
printf("%f %f\n", are, circ);
return 0;
}
| #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double r, are, circ;
cin >> r;
are = 2 * 3.141592653589 * r;
circ = r * r * 3.141592653589;
printf("%f %f\n", circ, are);
return 0;
} | [
"call.arguments.change",
"call.arguments.add"
] | 188,333 | 188,334 | u576629727 | cpp |
p02400 | #include <stdio.h>
int main() {
float r;
scanf("%f", &r);
printf("%f %f\n", 3.14159265 * r * r, 2.0 * 3.14159265 * r);
return 0;
} | #include <stdio.h>
int main() {
double r;
scanf("%lf", &r);
printf("%f %f\n", 3.141592653589 * r * r, 2.0 * 3.141592653589 * r);
return 0;
} | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"call.arguments.change",
"literal.number.change",
"expression.operation.binary.change",
"io.output.change"
] | 188,346 | 188,347 | u905808447 | cpp |
p02400 | //============================================================================
// Name : ITP_1_4_B.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#include ... | //============================================================================
// Name : ITP_1_4_B.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#include ... | [
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change",
"identifier.replace.remove",
"literal.replace.add"
] | 188,353 | 188,354 | u263859629 | cpp |
p02400 | #include <math.h>
#include <stdio.h>
#define M_PI 3.14159265
int main(void) {
int i, j;
int r;
scanf("%d", &r);
printf("%lf %lf\n", M_PI * r * r, 2 * M_PI * r);
return 0;
} | #include <math.h>
#include <stdio.h>
#define M_PI 3.141592653589793
int main(void) {
int i, j;
double r;
scanf("%lf", &r);
printf("%lf %lf\n", M_PI * r * r, 2 * M_PI * r);
return 0;
} | [
"preprocessor.define.value.change",
"literal.float.change",
"variable_declaration.type.primitive.change",
"literal.string.change",
"call.arguments.change"
] | 188,355 | 188,356 | u824622094 | cpp |
p02400 | #include <math.h>
#include <stdio.h>
#define M_PI 3.14159265
int main(void) {
int i, j;
double r;
scanf("%lf", &r);
printf("%lf %lf\n", M_PI * r * r, 2 * M_PI * r);
return 0;
} | #include <math.h>
#include <stdio.h>
#define M_PI 3.141592653589793
int main(void) {
int i, j;
double r;
scanf("%lf", &r);
printf("%lf %lf\n", M_PI * r * r, 2 * M_PI * r);
return 0;
} | [
"preprocessor.define.value.change",
"literal.float.change"
] | 188,357 | 188,356 | u824622094 | cpp |
p02400 | #include <stdio.h>
int main() {
unsigned long long n;
double a;
double S, C;
double PI = 3.14159265;
scanf("%lf", &a);
S = a * a * PI;
C = a * 2 * PI;
printf("%f %f\n", S, C);
return 0;
} | #include <stdio.h>
int main() {
unsigned long long n;
double a;
double S, C;
double PI = 3.141592653589;
scanf("%lf", &a);
S = a * a * PI;
C = a * 2 * PI;
printf("%f %f\n", S, C);
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 188,358 | 188,359 | u412181821 | cpp |
p02400 | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double PI = 3.14592653589;
double r;
cin >> r;
printf("%lf %lf\f ", PI * r * r, 2 * PI * r);
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double PI = 3.141592653589;
double r;
cin >> r;
printf("%lf %lf\n ", PI * r * r, 2 * PI * r);
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 188,360 | 188,361 | u734413170 | cpp |
p02400 | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double PI = 3.14592653589;
double r;
cin >> r;
printf("%lf %lf\n ", PI * r * r, 2 * PI * r);
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double PI = 3.141592653589;
double r;
cin >> r;
printf("%lf %lf\n ", PI * r * r, 2 * PI * r);
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 188,363 | 188,361 | u734413170 | cpp |
p02400 | #include <math.h>
#include <stdio.h>
int main(void) {
double r;
scanf("%f", &r);
printf("%f %f\n", 2 * r * M_PI, r * r * M_PI);
return 0;
} | #include <math.h>
#include <stdio.h>
int main(void) {
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",
"identifier.replace.add",
"literal.replace.remove",
"expression.operation.binary.change",
"identifier.replace.remove",
"literal.replace.add"
] | 188,366 | 188,365 | u620915080 | cpp |
p02400 | #include <algorithm>
#include <iostream>
#include <math.h>
#include <stdio.h>
using namespace std;
int main() {
double pai = 3.14159, r, x, y, z;
cin >> r;
printf("%1.6f %1.6f", (double)r * r * pai, 2 * r * pai);
} | #include <algorithm>
#include <iostream>
#include <math.h>
#include <stdio.h>
using namespace std;
int main() {
double pai = 3.141592653589793, r, x, y, z;
cin >> r;
printf("%1.6f %1.6f", r * r * pai, 2 * r * pai);
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 188,367 | 188,368 | u948171057 | cpp |
p02400 | // ConsoleApplication7.cpp : ???????????????
// ??¢????????±????????§????????¨????????? ?????????????????????????????????
//
#include <stdio.h>
int main(int argc, char *argv[]) {
double r;
double syu, men;
const double pi = 3.1415926;
char temp[100];
fgets(temp, sizeof(temp), stdin);
sscanf(temp, "%lf", ... | // ConsoleApplication7.cpp : ???????????????
// ??¢????????±????????§????????¨????????? ?????????????????????????????????
//
#include <stdio.h>
int main(int argc, char *argv[]) {
double r;
double syu, men;
const double pi = 3.141592653589793;
char temp[100];
fgets(temp, sizeof(temp), stdin);
sscanf(temp,... | [
"literal.number.change",
"variable_declaration.value.change",
"call.arguments.change",
"call.arguments.add"
] | 188,374 | 188,375 | u018559816 | cpp |
p02400 | #include <bits/stdc++.h>
using namespace std;
int r;
double teisuu = 3.141592653589;
double mennseki, ennsyuu;
int main() {
cin >> r;
mennseki = r * teisuu * teisuu;
ennsyuu = 2 * r * teisuu;
cout << fixed << mennseki << " ";
cout << fixed << ennsyuu << endl;
} | #include <bits/stdc++.h>
using namespace std;
double r;
double teisuu = 3.141592653589;
double mennseki, ennsyuu;
int main() {
cin >> r;
mennseki = r * r * teisuu;
ennsyuu = 2 * r * teisuu;
cout << fixed << mennseki << " ";
cout << fixed << ennsyuu << endl;
} | [
"variable_declaration.type.primitive.change",
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 188,382 | 188,383 | u360619855 | cpp |
p02400 | #include <bits/stdc++.h>
using namespace std;
double r;
double teisuu = 3.141592653589;
double mennseki, ennsyuu;
int main() {
cin >> r;
mennseki = r * teisuu * teisuu;
ennsyuu = 2 * r * teisuu;
cout << fixed << mennseki << " ";
cout << fixed << ennsyuu << endl;
} | #include <bits/stdc++.h>
using namespace std;
double r;
double teisuu = 3.141592653589;
double mennseki, ennsyuu;
int main() {
cin >> r;
mennseki = r * r * teisuu;
ennsyuu = 2 * r * teisuu;
cout << fixed << mennseki << " ";
cout << fixed << ennsyuu << endl;
} | [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 188,384 | 188,383 | u360619855 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
cout << setprecision(20) << 2 * r * 3.141592653589 << " "
<< r * r * 3.141592653589 << endl;
return 0;
} | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
cout << setprecision(20) << r * r * 3.141592653589 << " "
<< 2 * r * 3.141592653589 << endl;
return 0;
} | [
"identifier.replace.add",
"literal.replace.remove",
"io.output.change",
"identifier.replace.remove",
"literal.replace.add"
] | 188,388 | 188,389 | u330034033 | cpp |
p02400 | #include <algorithm>
#include <climits>
#include <cstdio>
#include <functional>
#include <iostream>
#include <limits.h>
#include <queue>
#include <string.h>
#include <string>
#include <vector>
using namespace std;
signed main() {
double a;
cin >> a;
double PI = 3.14159265;
printf("%.10lf %.10lf\n", a * a * PI,... | #include <algorithm>
#include <climits>
#include <cstdio>
#include <functional>
#include <iostream>
#include <limits.h>
#include <queue>
#include <string.h>
#include <string>
#include <vector>
using namespace std;
signed main() {
double a;
cin >> a;
double PI = 3.14159265358979;
printf("%.10lf %.10lf\n", a * a... | [
"literal.number.change",
"variable_declaration.value.change",
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 188,390 | 188,391 | u821145736 | cpp |
p02400 | #include <algorithm>
#include <climits>
#include <cstdio>
#include <functional>
#include <iostream>
#include <limits.h>
#include <queue>
#include <string.h>
#include <string>
#include <vector>
using namespace std;
signed main() {
double a;
cin >> a;
double PI = 3.14159265;
printf("%.10lf %.10lf\n", a * a * PI,... | #include <algorithm>
#include <climits>
#include <cstdio>
#include <functional>
#include <iostream>
#include <limits.h>
#include <queue>
#include <string.h>
#include <string>
#include <vector>
using namespace std;
signed main() {
double a;
cin >> a;
double PI = 3.14159265358979;
printf("%.10lf %.10lf\n", a * a... | [
"literal.number.change",
"variable_declaration.value.change"
] | 188,392 | 188,391 | u821145736 | cpp |
p02400 | #include <iostream>
#include <math.h>
#include <stdio.h>
using namespace std;
int main() {
float r, s, c;
cin >> r;
s = r * r * M_PI;
c = r * 2 * M_PI;
printf("%lf %lf\n", s, c);
return 0;
} | #include <iostream>
#include <math.h>
#include <stdio.h>
using namespace std;
int main() {
double r, s, c;
cin >> r;
s = r * r * M_PI;
c = r * 2 * M_PI;
printf("%lf %lf\n", s, c);
return 0;
} | [
"variable_declaration.type.primitive.change"
] | 188,393 | 188,394 | u205248875 | cpp |
p02400 | #include <stdio.h>
int main(void) {
int r;
scanf("%d", &r);
printf("%f %f\n", r * r * 3.14, r * 2 * 3.14);
return 0;
} | #include <stdio.h>
int main(void) {
double r;
scanf("%lf", &r);
printf("%f %f\n", r * r * 3.141592653589, r * 2.00 * 3.141592653589);
return 0;
} | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"call.arguments.change",
"literal.number.change",
"expression.operation.binary.change",
"io.output.change"
] | 188,405 | 188,406 | u039188270 | cpp |
p02400 | #include <stdio.h>
int main(void) {
double r;
scanf("%lf", &r);
printf("%f %f\n", r * r * 3.141592653, r * 2 * 3.141592653);
return 0;
} | #include <stdio.h>
int main(void) {
double r;
scanf("%lf", &r);
printf("%f %f\n", r * r * 3.141592653589, r * 2.00 * 3.141592653589);
return 0;
} | [
"literal.number.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 188,407 | 188,406 | u039188270 | cpp |
p02400 | #include <stdio.h>
int main(void) {
double r;
scanf("%lf", &r);
printf("%f %f\n", r * r * 3.141, r * 2.00 * 3.141);
return 0;
} | #include <stdio.h>
int main(void) {
double r;
scanf("%lf", &r);
printf("%f %f\n", r * r * 3.141592653589, r * 2.00 * 3.141592653589);
return 0;
} | [
"literal.number.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 188,411 | 188,406 | u039188270 | cpp |
p02400 | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
int r;
cin >> r;
cout << fixed;
cout << setprecision(6);
cout << 2 * r * M_PI << " " << r * r * M_PI << endl;
return 0;
} | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
cout << fixed;
cout << setprecision(6);
cout << r * r * M_PI << " " << 2 * r * M_PI << endl;
return 0;
} | [
"variable_declaration.type.primitive.change",
"identifier.replace.add",
"literal.replace.remove",
"io.output.change",
"identifier.replace.remove",
"literal.replace.add"
] | 188,412 | 188,413 | u505990483 | cpp |
p02400 | #include <iostream>
#include <math.h>
using namespace std;
int main() {
float r;
cin >> r;
cout << r * r * M_PI << " ";
cout << 2 * r * M_PI << endl;
return 0;
} | #include <iostream>
#include <math.h>
using namespace std;
int main() {
double r;
cin >> r;
cout << fixed;
cout << r * r * M_PI << " ";
cout << 2 * r * M_PI << endl;
return 0;
} | [
"variable_declaration.type.primitive.change"
] | 188,420 | 188,421 | u592638777 | cpp |
p02400 | #include <algorithm>
#include <cmath>
#include <functional>
#include <iostream>
#include <stack>
#include <stdio.h>
#include <string>
#include <utility>
#include <vector>
using namespace std;
int main() {
double r;
cin >> r;
printf("%.10f %.10f", r * r * 3.1415926, 2 * r * 3.1415926);
return 0;
} | #include <algorithm>
#include <cmath>
#include <functional>
#include <iostream>
#include <stack>
#include <stdio.h>
#include <string>
#include <utility>
#include <vector>
using namespace std;
int main() {
double r;
cin >> r;
printf("%.10f %.10f", r * r * 3.1415926535897, 2 * r * 3.1415926535897);
return 0;
} | [
"literal.number.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 188,425 | 188,426 | u781622789 | cpp |
p02400 | #include <algorithm>
#include <cmath>
#include <functional>
#include <iostream>
#include <stack>
#include <stdio.h>
#include <string>
#include <utility>
#include <vector>
using namespace std;
int main() {
double r;
cin >> r;
printf("%.10f %.10f", r * r * 3.141592653, 2 * r * 3.141592653);
return 0;
} | #include <algorithm>
#include <cmath>
#include <functional>
#include <iostream>
#include <stack>
#include <stdio.h>
#include <string>
#include <utility>
#include <vector>
using namespace std;
int main() {
double r;
cin >> r;
printf("%.10f %.10f", r * r * 3.1415926535897, 2 * r * 3.1415926535897);
return 0;
} | [
"literal.number.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 188,427 | 188,426 | u781622789 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r, syuu, menseki;
cin >> r;
syuu = 2 * 3.141592653589 * r;
menseki = r * r * 3.141592653589;
cout << setprecision(8) << menseki << " " << syuu << endl;
return 0;
} | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r;
double syuu, menseki;
cin >> r;
syuu = 2 * 3.141592653589 * r;
menseki = r * r * 3.141592653589;
cout << fixed << setprecision(6) << menseki << " " << syuu << endl;
return 0;
} | [
"io.output.change",
"literal.number.change"
] | 188,428 | 188,429 | u336705996 | cpp |
p02400 | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
int r;
double syuu, menseki;
cin >> r;
syuu = 2 * 3.141592653589 * r;
menseki = r * r * 3.141592653589;
cout << setprecision(8) << menseki << " " << syuu << endl;
return 0;
} | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r;
double syuu, menseki;
cin >> r;
syuu = 2 * 3.141592653589 * r;
menseki = r * r * 3.141592653589;
cout << fixed << setprecision(6) << menseki << " " << syuu << endl;
return 0;
} | [
"variable_declaration.type.primitive.change",
"io.output.change",
"literal.number.change"
] | 188,430 | 188,429 | u336705996 | cpp |
p02400 | #include <cstdio>
#include <math.h>
using namespace std;
int main() {
float r;
float I, L;
scanf("%f", &r);
I = r * r * M_PI;
L = r * 2 * M_PI;
printf("%.6lf %.6lf\n", I, L);
} | #include <cstdio>
#include <math.h>
using namespace std;
int main() {
double r;
double I, L;
scanf("%lf", &r);
I = r * r * M_PI;
L = r * 2 * M_PI;
printf("%.6lf %.6lf\n", I, L);
} | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"call.arguments.change"
] | 188,432 | 188,433 | u417793585 | cpp |
p02400 | #define _USE_MATH_DEFINES
#include <iomanip>
#include <iostream>
#include <math.h>
int main() {
double r;
std::cin >> r;
std::cout << std::setprecision(6) << std::fixed << r * r * M_PI
<< 2 * r * M_PI << std::endl;
return 0;
} | #define _USE_MATH_DEFINES
#include <iomanip>
#include <iostream>
#include <math.h>
int main() {
double r;
std::cin >> r;
std::cout << std::setprecision(6) << std::fixed << r * r * M_PI << " "
<< 2 * r * M_PI << std::endl;
return 0;
} | [
"expression.operation.binary.add"
] | 188,434 | 188,435 | u525592616 | cpp |
p02400 | #include <stdio.h>
int main(void) {
double r, i, n, m;
scanf("%lf", &r);
m = 3.14159265;
i = 2 * r * m;
n = r * r * m;
printf("%lf %lf\n", n, i);
return 0;
} | #include <stdio.h>
int main(void) {
double r, i, n, m;
scanf("%lf", &r);
m = 3.14159265358979323846;
i = 2 * r * m;
n = r * r * m;
printf("%lf %lf\n", n, i);
return 0;
} | [
"literal.number.change",
"assignment.value.change"
] | 188,448 | 188,449 | u762514295 | cpp |
p02400 | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int r;
cin >> r;
printf("%.7lf", (double)r * (double)r * 3.1415926);
cout << " ";
printf("%.7lf", (double)r * 2 * 3.1415926);
return 0;
} | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double r;
cin >> r;
printf("%.6lf", (double)r * (double)r * 3.141592653589);
cout << " ";
printf("%.6lf", (double)r * 2 * 3.141592653589);
return 0;
} | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"call.arguments.change",
"io.output.change",
"literal.number.change",
"expression.operation.binary.change"
] | 188,451 | 188,452 | u152402786 | cpp |
p02400 | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
float r;
cin >> r;
printf("%.6lf", (double)r * (double)r * 3.1415926);
cout << " ";
printf("%.6lf", (double)r * 2 * 3.1415926);
return 0;
} | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double r;
cin >> r;
printf("%.6lf", (double)r * (double)r * 3.141592653589);
cout << " ";
printf("%.6lf", (double)r * 2 * 3.141592653589);
return 0;
} | [
"variable_declaration.type.primitive.change",
"literal.number.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 188,453 | 188,452 | u152402786 | cpp |
p02400 | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r, s, l;
cin >> r;
s = M_PI * pow(r, 2);
l = M_PI * 2.0 * r;
cout << fixed << setprecision(6) << s << " " << fixed << setprecision(6)
<< endl;
}
| #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
double r, s, l;
cin >> r;
s = M_PI * pow(r, 2);
l = M_PI * 2.0 * r;
cout << fixed << setprecision(6) << s << " " << fixed << setprecision(6) << l
<< endl;
}
| [
"io.output.change"
] | 188,457 | 188,458 | u586448184 | cpp |
p02400 | #include <stdio.h>
int main(void) {
float r = 0;
float a = 3.141592653589;
scanf("%f", &r);
printf("%6f %6f\n", r * r * a, r * 2 * a);
return 0;
} | #include <stdio.h>
int main(void) {
double r = 0;
double a = 3.141592653589;
scanf("%lf", &r);
printf("%6lf %6lf\n", r * r * a, r * 2 * a);
return 0;
} | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 188,469 | 188,470 | u515572821 | cpp |
p02400 | #include <cmath>
#include <iostream>
#include <stdio.h>
using namespace std;
int main(void) {
int r;
cin >> r;
double area = r * r * M_PI;
double leng = r * 2 * M_PI;
cout << area << " " << leng << endl;
return 0;
} | #include <cmath>
#include <iostream>
#include <stdio.h>
using namespace std;
int main(void) {
double r;
cin >> r;
double area = r * r * M_PI;
double leng = r * 2 * M_PI;
cout << fixed << area << " " << leng << endl;
return 0;
} | [
"variable_declaration.type.primitive.change",
"io.output.change"
] | 188,472 | 188,473 | u189288965 | cpp |
p02400 | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double PI = 3.1415926;
double r;
cin >> r;
printf("%lf %lf\n", PI * r * r, 2 * PI * r);
return 0;
} | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double PI = 3.14159265358979;
double r;
cin >> r;
printf("%lf %lf\n", PI * r * r, 2 * PI * r);
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 188,479 | 188,480 | u188805649 | cpp |
p02400 | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double PI = 3.141592;
double r;
cin >> r;
printf("%lf %lf\n", PI * r * r, 2 * PI * r);
return 0;
} | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
double PI = 3.14159265358979;
double r;
cin >> r;
printf("%lf %lf\n", PI * r * r, 2 * PI * r);
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 188,481 | 188,480 | u188805649 | cpp |
p02400 | #define _CRT_SECURE_NO_WARNINGS
#define _USE_MATH_DEFINES
#include <cmath>
#include <cstdio>
int main() {
int r;
double c, a;
scanf("%d", &r);
c = 2 * r * M_PI;
a = r * r * M_PI;
printf("%.6f %.6f\n", c, a);
return 0;
} | #define _CRT_SECURE_NO_WARNINGS
#define _USE_MATH_DEFINES
#include <cmath>
#include <cstdio>
int main() {
double r;
double c, a;
scanf("%lf", &r);
c = 2 * r * M_PI;
a = r * r * M_PI;
printf("%.6f %.6f\n", a, c);
return 0;
} | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"call.arguments.change",
"call.arguments.add"
] | 188,482 | 188,483 | u810434660 | cpp |
p02400 | #define _CRT_SECURE_NO_WARNINGS
#define _USE_MATH_DEFINES
#include <cmath>
#include <cstdio>
int main() {
double r;
double c, a;
scanf("%lf", &r);
c = 2 * r * M_PI;
a = r * r * M_PI;
printf("%.6f %.6f\n", c, a);
return 0;
} | #define _CRT_SECURE_NO_WARNINGS
#define _USE_MATH_DEFINES
#include <cmath>
#include <cstdio>
int main() {
double r;
double c, a;
scanf("%lf", &r);
c = 2 * r * M_PI;
a = r * r * M_PI;
printf("%.6f %.6f\n", a, c);
return 0;
} | [
"call.arguments.change",
"call.arguments.add"
] | 188,484 | 188,483 | u810434660 | cpp |
p02400 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <vector>
using namespace std;
int main(void) {
int r;
cin >> r;
cout << fixed << r * r * M_PI << " " << 2 * M_PI << endl;
return 0;
} | #include <algorithm>
#include <cmath>
#include <iostream>
#include <vector>
using namespace std;
int main(void) {
double r;
cin >> r;
cout << fixed << r * r * M_PI << " " << 2 * r * M_PI << endl;
return 0;
} | [
"variable_declaration.type.primitive.change"
] | 188,487 | 188,488 | u559177651 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.