buggy_code stringlengths 11 625k | fixed_code stringlengths 17 625k | bug_type stringlengths 2 4.45k | language int64 0 8 | token_count int64 5 200k |
|---|---|---|---|---|
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define repp(i, n) for (int i = 1; i <= (int)(n); i++)
#define co(x) cout << x << endl
typedef long long int lint;
int main() {
int R;
cin >> R;
co(R * M_PI);
} | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define repp(i, n) for (int i = 1; i <= (int)(n); i++)
#define co(x) cout << x << endl
typedef long long int lint;
int main() {
long double R;
cin >> R;
co(2 * R * M_PI);
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 31, 13], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 17, 48]] | 1 | 54 |
import math
r = input()
print(2 * math.pi * r) | import math
r = int(input())
print(2 * math.pi * r)
| [["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 17 |
import math as m
r=int(input())
print(m.pi*r*r) | import math as m
r=int(input())
print(2*m.pi*r) | [["+", 0, 652, 3, 4, 0, 657, 31, 657, 31, 612], ["+", 0, 652, 3, 4, 0, 657, 31, 657, 17, 48], ["-", 0, 652, 3, 4, 0, 657, 31, 657, 17, 48], ["-", 0, 652, 3, 4, 0, 657, 31, 657, 12, 22]] | 5 | 22 |
#include <bits/stdc++.h>
using namespace std;
int main() {
double x;
cin >> x;
x *= 3.141592653589793;
cout << x << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
double x;
cin >> x;
x *= 2;
x *= 3.141592653589793;
cout << x << endl;
return 0;
}
| [["+", 0, 14, 8, 9, 0, 1, 0, 11, 12, 13], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 17, 108]] | 1 | 32 |
print(int(input()) * 3.141592653589793238462643383279502884197169399375105820974944) | print(int(input()) * 2 * 3.141592653589793238462643383279502884197169399375105820974944) | [["+", 0, 652, 3, 4, 0, 657, 31, 657, 12, 612], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 17, 48]] | 5 | 11 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
System.out.println(s.nextInt() * Math.PI);
}
} | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
System.out.println(s.nextLong() * Math.PI * 2);
}
} | [["-", 0, 492, 3, 4, 0, 16, 31, 492, 141, 22], ["+", 3, 4, 0, 16, 31, 16, 31, 492, 141, 22], ["+", 0, 1, 0, 492, 3, 4, 0, 16, 17, 48], ["+", 0, 1, 0, 492, 3, 4, 0, 16, 12, 499]] | 3 | 52 |
#include <bits/stdc++.h>
#define lint long long int
using namespace std;
int main() {
lint r = 0;
cin >> r;
cout << r * 3.141592 << endl;
return 0;
}
| #include <bits/stdc++.h>
#define lint long long int
using namespace std;
int main() {
lint r = 0;
cin >> r;
cout << r * 3.141592 * 2 << endl;
return 0;
} | [["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 48], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13]] | 1 | 35 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long double a;
cin >> a;
cout << a * 3.1415927 << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long double a;
cin >> a;
cout << 2 * a * 3.1415927 << endl;
return 0;
}
| [["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 17, 48]] | 1 | 31 |
import numpy as np
def solve(r):
return np.pi * r
r = int(input())
print(solve(r)) | import numpy as np
def solve(r):
return 2 * np.pi * r
r = int(input())
print(solve(r)) | [["+", 8, 196, 0, 37, 0, 657, 31, 657, 31, 612], ["+", 8, 196, 0, 37, 0, 657, 31, 657, 17, 48]] | 5 | 31 |
R=int(input)
print(R*6.28) | R=int(input())
print(R*6.28) | [["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 12 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define all(v) v.begin(), v.end()
#define rall(v) v.rbegin(), v.rend()
typedef long long ll;
#define _GLIBCXX_DEBUG
typedef vector<int> vec;
typedef vector<ll> lvec;
typedef vector<char> cvec;
typedef pair<ll, ll> LP;
typ... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define all(v) v.begin(), v.end()
#define rall(v) v.rbegin(), v.rend()
typedef long long ll;
#define _GLIBCXX_DEBUG
typedef vector<int> vec;
typedef vector<ll> lvec;
typedef vector<char> cvec;
typedef pair<ll, ll> LP;
typ... | [["-", 0, 43, 49, 50, 51, 16, 31, 16, 12, 13], ["+", 0, 43, 49, 50, 51, 16, 31, 16, 12, 13]] | 1 | 129 |
#include <iostream>
#define _USE_MATH_DEFINES
#include <cmath>
using namespace std;
int main() {
int r;
cin >> r;
cout << r * 2 * M_1_PI;
return 0;
} | #include <iostream>
#define _USE_MATH_DEFINES
#include <cmath>
using namespace std;
int main() {
int r;
cin >> r;
cout << r * 2 * M_PI;
return 0;
} | [["-", 8, 9, 0, 1, 0, 16, 12, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 16, 12, 16, 12, 22]] | 1 | 34 |
import math
n=int(input())
print(2*n*pi) | import math
n=int(input())
print(2*n*math.pi)
| [["+", 0, 652, 3, 4, 0, 657, 12, 319, 500, 22], ["+", 0, 652, 3, 4, 0, 657, 12, 319, 0, 131]] | 5 | 18 |
#include <algorithm>
#include <iostream>
#include <math.h>
#include <string>
#include <utility>
#include <vector>
using namespace std;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
int x, y;
cin >> x;
y = 2 * x * M_PI;
cout << y << "\n";
} | #include <algorithm>
#include <iostream>
#include <math.h>
#include <string>
#include <utility>
#include <vector>
using namespace std;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
double x, y;
cin >> x;
y = 2 * x * M_PI;
cout << y << "\n";
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 61 |
from math import pi
inp = int(input())
ans = inp * inp * pi
print(ans) | from math import pi
inp = int(input())
ans = (inp+inp) * pi
print(ans) | [["+", 0, 1, 0, 662, 12, 657, 31, 23, 0, 24], ["-", 0, 1, 0, 662, 12, 657, 31, 657, 17, 48], ["+", 0, 662, 12, 657, 31, 23, 0, 657, 17, 72], ["+", 0, 1, 0, 662, 12, 657, 31, 23, 0, 25]] | 5 | 23 |
#include <bits/stdc++.h>
using namespace std;
int main() {
double r;
cin >> r;
cout << setprecision(2) << 2 * 3.14 * r;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
double r;
cin >> r;
cout << setprecision(5) << 2 * 3.14159 * r;
return 0;
} | [["-", 0, 16, 31, 16, 12, 2, 3, 4, 0, 13], ["+", 0, 16, 31, 16, 12, 2, 3, 4, 0, 13], ["-", 0, 1, 0, 16, 12, 16, 31, 16, 12, 13], ["+", 0, 1, 0, 16, 12, 16, 31, 16, 12, 13]] | 1 | 35 |
#include <cstdio>
#include <math.h>
#define PI acos(-1)
using namespace std;
int main() {
int n;
scanf("%lld", &n);
printf("%lf", 2 * n * PI);
} | #include <cstdio>
#include <math.h>
#define PI acos(-1)
using namespace std;
int main() {
int n;
scanf("%d", &n);
printf("%lf", 2 * n * PI);
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 43 |
r=int(input())
import math
print(2*math.pi) | r=int(input())
import math
print(2*math.pi*r) | [["+", 0, 1, 0, 652, 3, 4, 0, 657, 17, 48], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 12, 22]] | 5 | 18 |
import math
r = int(input())
print(math.pi * r) | import math
r = int(input())
print(math.pi * r *2) | [["+", 0, 1, 0, 652, 3, 4, 0, 657, 17, 48], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 12, 612]] | 5 | 18 |
/*
Copyright: razouq (c)
Author: Anass BENDARSI
Date: 20-Apr-20 3:50:56 AM
flamers will **** you
*/
//#include<flamers.h>
#include "bits/stdc++.h"
#pragma GCC optimize("O3")
#pragma GCC target("sse4")
#define ll long long
#define ull unsigned long long
#define F first
#define S second
#... | /*
Copyright: razouq (c)
Author: Anass BENDARSI
Date: 20-Apr-20 3:50:56 AM
flamers will **** you
*/
//#include<flamers.h>
#include "bits/stdc++.h"
#pragma GCC optimize("O3")
#pragma GCC target("sse4")
#define ll long long
#define ull unsigned long long
#define F first
#define S second
#... | [["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 17, 48]] | 1 | 76 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int maxn = 1e5 + 5;
vector<ll> V;
int pre[maxn];
int main() {
double a;
cin >> a;
cout << a * 3.141;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int maxn = 1e5 + 5;
vector<ll> V;
int pre[maxn];
int main() {
double a;
cin >> a;
cout << a * 3.141 * 2;
return 0;
} | [["+", 8, 9, 0, 1, 0, 16, 12, 16, 17, 48], ["+", 8, 9, 0, 1, 0, 16, 12, 16, 12, 13]] | 1 | 53 |
#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef tuple<ll, ll, ll> mytuple;
const ll INF = 1e9;
const ll MOD = 1000000007;
const double pi = 3.141592653589793238;
// a と b の最大公約数を返す関数
long long GCD(long long a, long long b) {
if (b == 0) {
return a;
} else {
... | #define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef tuple<ll, ll, ll> mytuple;
const ll INF = 1e9;
const ll MOD = 1000000007;
const double pi = 3.141592653589793238;
// a と b の最大公約数を返す関数
long long GCD(long long a, long long b) {
if (b == 0) {
return a;
} else {
... | [["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 17, 48]] | 1 | 204 |
#include <bits/stdc++.h>
#define forn(i, n) for (int i = 0; i < int(n); ++i)
#define for1(i, n) for (int i = 1; i <= int(n); ++i)
#define ms(a, x) memset(a, x, sizeof(a))
#define F first
#define S second
#define endl '\n'
#define all(x) (x).begin(), (x).end()
using namespace std;
typedef long long ll;
typedef pair<in... | #include <bits/stdc++.h>
#define forn(i, n) for (int i = 0; i < int(n); ++i)
#define for1(i, n) for (int i = 1; i <= int(n); ++i)
#define ms(a, x) memset(a, x, sizeof(a))
#define F first
#define S second
#define endl '\n'
#define all(x) (x).begin(), (x).end()
using namespace std;
typedef long long ll;
typedef pair<in... | [["-", 0, 1, 0, 16, 12, 16, 31, 16, 31, 22], ["+", 0, 1, 0, 16, 12, 16, 31, 16, 31, 13], ["-", 0, 1, 0, 16, 12, 16, 31, 16, 12, 22], ["+", 0, 1, 0, 16, 12, 16, 31, 16, 12, 22]] | 1 | 162 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int r;
cin >> r;
cout << r * M_PI;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int r;
cin >> r;
cout << 2 * r * M_PI;
} | [["+", 0, 1, 0, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 16, 12, 16, 31, 16, 17, 48]] | 1 | 25 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double r = sc.nextDouble();
System.out.println(r * r * Math.PI);
}
}
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double r = sc.nextDouble();
System.out.println(2 * r * Math.PI);
}
}
| [["-", 0, 492, 3, 4, 0, 16, 31, 16, 31, 22], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 31, 499]] | 3 | 59 |
#include <algorithm>
#include <bitset>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdio.h>
#include <string.h>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <ve... | #include <algorithm>
#include <bitset>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdio.h>
#include <string.h>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <ve... | [["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 48], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 92 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
cout << n * n * 3.1415;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
cout << 2 * n * 3.1415;
} | [["-", 0, 1, 0, 16, 12, 16, 31, 16, 31, 22], ["+", 0, 1, 0, 16, 12, 16, 31, 16, 31, 13]] | 1 | 27 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
double R;
cin >> R;
cout << R * 3.141 << endl;
} | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
double R;
cin >> R;
cout << 2 * R * (3.141) << endl;
} | [["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 17, 48], ["+", 0, 16, 31, 16, 12, 16, 12, 23, 0, 24], ["+", 0, 16, 31, 16, 12, 16, 12, 23, 0, 25]] | 1 | 32 |
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <numeric>
#include <string>
#include <vector>
typedef long long ll;
#define all(x) (x).begin(), (x).end() // sortなどの引数を省略
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define max3(x, y, z) max(x, max(y, z))
#i... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <numeric>
#include <string>
#include <vector>
typedef long long ll;
#define all(x) (x).begin(), (x).end() // sortなどの引数を省略
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define max3(x, y, z) max(x, max(y, z))
#i... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 1, 0, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 16, 12, 16, 31, 16, 17, 48]] | 1 | 120 |
#include <iostream>
int main() {
double pi = 3.14159;
int radius;
std::cin >> radius;
std::cout << 2 * pi * radius * radius;
return 0;
} | #include <iostream>
int main() {
double pi = 3.14159;
int radius;
std::cin >> radius;
std::cout << 2 * pi * radius;
return 0;
} | [["-", 8, 9, 0, 1, 0, 16, 12, 16, 17, 48], ["-", 8, 9, 0, 1, 0, 16, 12, 16, 12, 22]] | 1 | 37 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
double a = 22 / 7;
double y;
y = 2 * M_PI * n * n;
cout << y << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
double a = 22 / 7;
double y;
y = 2 * M_PI * n;
cout << y << endl;
}
| [["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 48], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 22]] | 1 | 45 |
#include <bits/stdc++.h>
using namespace std;
#define int long long
const double pi = 3.14159265;
signed main(void) {
int r;
cin >> r;
printf("%.12\n", 2 * pi * r);
return 0;
} | #include <bits/stdc++.h>
using namespace std;
#define int long long
const double pi = 3.14159265;
signed main(void) {
int r;
cin >> r;
printf("%.12f\n", 2 * pi * r);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 46 |
#include <math.h>
#include <stdio.h>
int main(void) {
int i;
float f, L;
scanf("%d", &i);
L = 2 * M_PI * f;
printf("%f\n", L);
return 0;
} | #include <math.h>
#include <stdio.h>
int main(void) {
int i;
float L;
scanf("%d", &i);
L = 2 * M_PI * i;
printf("%f\n", L);
return 0;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 21], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 22]] | 1 | 50 |
#include <bits/stdc++.h>
using namespace std;
float r;
int main() {
cin >> r;
r = M_PI * r * r;
cout << setprecision(6) << r;
}
| #include <bits/stdc++.h>
using namespace std;
float r;
int main() {
cin >> r;
r = M_PI * r * 2;
cout << setprecision(6) << r;
}
| [["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 36 |
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
printf("%.20llf\n", r * 3.14159265358979323846264 * 2);
return 0;
} | #include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
printf("%.20lf\n", r * 3.14159265358979323846264 * 2);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 36 |
#include <stdio.h>
int main() {
int r, a;
double b = 6.28;
scanf("%d", &r);
a = r * b;
printf("%.2f", a);
} | #include <stdio.h>
int main() {
int r;
double b = 6.28;
scanf("%d", &r);
double a = r * b;
printf("%.2f\n", a);
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 21], ["-", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 0 | 43 |
// warm heart, wagging tail,and a smile just for you!
// ███████████
// ███╬╬╬╬╬╬╬╬╬╬███
// ███╬╬╬╬╬████╬╬╬╬╬╬███
// ... | // warm heart, wagging tail,and a smile just for you!
// ███████████
// ███╬╬╬╬╬╬╬╬╬╬███
// ███╬╬╬╬╬████╬╬╬╬╬╬███
// ... | [["+", 0, 16, 31, 16, 12, 16, 31, 16, 12, 13], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 48]] | 1 | 284 |
a=input()
print(eval(a)*12) | a=input()
print(eval(a)*6.28318530717958623200) | [["-", 0, 1, 0, 652, 3, 4, 0, 657, 12, 612], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 12, 531]] | 5 | 14 |
#include <iostream>
using namespace std;
int main() {
int R;
cin >> R;
long long res = 2 * 3.14 * R;
cout << res << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int R;
cin >> R;
double res = 2 * 3.14 * R;
cout << res << endl;
return 0;
}
| [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 38 |
#include <stdio.h>
#define PAI 3.1415926
int main() {
int r;
scanf("%d", &r);
printf("%d\n", 2 * PAI * r);
return 0;
}
| #include <stdio.h>
#define Pai 3.1415926
int main() {
int r;
scanf("%d", &r);
printf("%lf\n", 2 * Pai * r);
return 0;
}
| [["-", 36, 36, 36, 36, 0, 30, 0, 58, 141, 22], ["+", 36, 36, 36, 36, 0, 30, 0, 58, 141, 22], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 2, 3, 4, 0, 16, 31, 16, 12, 22], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 12, 22]] | 0 | 41 |
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <limits>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <string>
#include <type_traits>
#include <vector>
#define _USE_MATH_DEFINES
#include <math.h... | #include <algorithm>
#include <cmath>
#include <cstdint>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <limits>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <string>
#include <type_traits>
#include <vector>
#define _USE_MATH_DEFINES
#include <math.h... | [["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 17, 48]] | 1 | 807 |
r = int(input())
print(2*pi*r) | r = int(input())
print(2*3.1415*r) | [["-", 0, 652, 3, 4, 0, 657, 31, 657, 12, 22], ["+", 0, 652, 3, 4, 0, 657, 31, 657, 12, 531]] | 5 | 16 |
#include <math.h>
#include <stdio.h>
int main() {
double N;
scanf("%lf", &N);
double X = N * 3.141;
printf("%lf", X);
return 0;
}
| #include <math.h>
#include <stdio.h>
int main() {
double N;
scanf("%lf", &N);
double X = N * 3.141 * 2;
printf("%lf", X);
return 0;
}
| [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 48], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 0 | 42 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int r;
cin >> r;
double rr = (double)r;
int ans = (2 * 22 * rr) / 7;
cout << ans << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int r;
cin >> r;
double rr = (double)r;
double ans = (2 * 22 * rr) / 7;
cout << ans << endl;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 46 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int c;
float x;
cin >> c;
x = c * 3.14159265;
cout << x << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int c;
float x;
cin >> c;
x = 2 * c * 3.14159265;
cout << x << endl;
} | [["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 17, 48]] | 1 | 34 |
#include <stdio.h>
int main() {
int r;
float circumference;
scanf("%d", &r);
circumference = 2 * (22 / 7) * r;
printf("%f", circumference);
return 0;
}
| #include <stdio.h>
int main() {
int r;
float circumference;
scanf("%d", &r);
circumference = 2.0 * (22.0 / 7.0) * r;
printf("%f", circumference);
return 0;
}
| [["-", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13], ["-", 12, 16, 31, 16, 12, 23, 0, 16, 31, 13], ["+", 12, 16, 31, 16, 12, 23, 0, 16, 31, 13], ["-", 12, 16, 31, 16, 12, 23, 0, 16, 12, 13], ["+", 12, 16, 31, 16, 12, 23, 0, 16, 12, 13]] | 0 | 48 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
cout << n * M_PI << '\n';
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
cout << 2 * n * M_PI << '\n';
} | [["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 17, 48]] | 1 | 29 |
#include <bits/stdc++.h>
using namespace std;
int main() {
const double PI = 3.14159265359;
double R;
cin >> R;
cout << R * PI;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
const double PI = 3.14159265359;
double R;
cin >> R;
cout << 2 * R * PI;
} | [["+", 0, 1, 0, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 16, 12, 16, 31, 16, 17, 48]] | 1 | 31 |
#include <iostream>
const double PI = 3.1415926;
using namespace std;
int main() {
int r;
cin >> r;
cout << PI * r * r << endl;
}
| #include <iostream>
const double PI = 3.1415926;
using namespace std;
int main() {
int r;
cin >> r;
cout << 2 * PI * r << endl;
}
| [["-", 0, 16, 31, 16, 12, 16, 31, 16, 31, 22], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13], ["-", 0, 16, 31, 16, 12, 16, 31, 16, 12, 22], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 12, 22]] | 1 | 35 |
#include <iostream>
using namespace std;
int main() {
long double a;
cin >> a;
cout << a * 3.1415926535 << endl;
}
| #include <iostream>
using namespace std;
int main() {
long double a;
cin >> a;
cout << a * 2 * 3.1415926535 << endl;
} | [["+", 0, 16, 31, 16, 12, 16, 31, 16, 12, 13], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 48]] | 1 | 28 |
import math
def round(R):
return 2*R*math.pi
R = int(input())
round(R) | import math
def round(R):
return 2*R*math.pi
R = int(input())
print(round(R)) | [["+", 36, 36, 0, 656, 0, 1, 0, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 652, 3, 4, 0, 24], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 28 |
#include <iostream>
using namespace std;
int main() {
int a;
double b = 3.14159265358979323846;
cin >> a;
cout << a * b << endl;
}
| #include <iostream>
using namespace std;
int main() {
int a;
double b = 3.14159265358979323846;
cin >> a;
cout << 2 * a * b << endl;
}
| [["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 17, 48]] | 1 | 32 |
#include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
double r;
double c = 6.28 * r;
cout << fixed << setprecision(2) << c << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
double r;
cin >> r;
double c = 6.28 * r;
cout << fixed << setprecision(2) << c << endl;
return 0;
} | [["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]] | 1 | 52 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int R;
cin >> R;
cout << R * 3.1415 << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int R;
cin >> R;
cout << R * 2 * 3.1415 << endl;
}
| [["+", 0, 16, 31, 16, 12, 16, 31, 16, 12, 13], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 48]] | 1 | 27 |
import java.util.Scanner;
public class Main {
public static void Main(String[] args) {
final double PI = 3.141592;
Scanner stdIn = new Scanner(System.in);
double r = stdIn.nextDouble();
System.out.println(2 * PI * r);
}
} | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
final double PI = 3.141592;
Scanner stdIn = new Scanner(System.in);
double r = stdIn.nextDouble();
System.out.println(2 * PI * r);
}
} | [["-", 0, 493, 0, 235, 8, 498, 0, 195, 141, 22], ["+", 0, 493, 0, 235, 8, 498, 0, 195, 141, 22]] | 3 | 63 |
#include <math.h>
#include <stdio.h>
int main() {
int R;
scanf("%d", &R);
double circle;
circle = 2 * R * M_PI;
printf("%d \n", circle);
return 0;
}
| #include <math.h>
#include <stdio.h>
int main() {
int R;
scanf("%d", &R);
double circle;
circle = 2 * R * M_PI;
printf("%lf \n", circle);
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 47 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int R, S;
cin >> R;
S = (R + R) * 3.14;
cout << S;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int R;
double S;
cin >> R;
S = (R + R) * 3.14;
cout << S;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 21], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 35 |
//#include<bits\stdc++.h>
#include <algorithm>
#include <bitset>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include ... | //#include<bits\stdc++.h>
#include <algorithm>
#include <bitset>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include ... | [["+", 3, 4, 0, 191, 51, 83, 0, 2, 63, 22], ["+", 0, 191, 51, 83, 0, 2, 3, 4, 0, 24], ["+", 0, 191, 51, 83, 0, 2, 3, 4, 0, 13], ["+", 0, 191, 51, 83, 0, 2, 3, 4, 0, 21], ["+", 0, 191, 51, 83, 0, 2, 3, 4, 0, 25]] | 1 | 841 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)++)
#define ll long long
#define pp pair<ll, ll>
#define ld long double
#define all(a) (a).begin(), (a).end()
#define mk make_pair
ll mod = 998244353;
int inf = 1000001000;
ll INF = 1e18 + 5;
ll MOD = 1000000007;
int main() ... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)++)
#define ll long long
#define pp pair<ll, ll>
#define ld long double
#define all(a) (a).begin(), (a).end()
#define mk make_pair
ll mod = 998244353;
int inf = 1000001000;
ll INF = 1e18 + 5;
ll MOD = 1000000007;
int main() ... | [["-", 0, 9, 0, 1, 0, 2, 3, 4, 0, 13], ["+", 0, 9, 0, 1, 0, 2, 3, 4, 0, 13]] | 1 | 618 |
#include <bits/stdc++.h>
#define mp make_pair
#define eb emplace_back
#define fi first
#define se second
#define bit(n) 1 << n
#define int long long
using namespace std;
using cd = complex<double>;
typedef pair<int, int> pii;
typedef vector<int> vi;
typedef vector<pair<int, int>> vii;
typedef map<int, int> mii;
const... | #include <bits/stdc++.h>
#define mp make_pair
#define eb emplace_back
#define fi first
#define se second
#define bit(n) 1 << n
#define int long long
using namespace std;
using cd = complex<double>;
typedef pair<int, int> pii;
typedef vector<int> vi;
typedef vector<pair<int, int>> vii;
typedef map<int, int> mii;
const... | [["-", 36, 36, 0, 30, 0, 43, 49, 50, 51, 13], ["+", 36, 36, 0, 30, 0, 43, 49, 50, 51, 13]] | 1 | 727 |
#include <bits/stdc++.h>
using namespace std;
#define fi first
#define se second
#define SZ(x) ((int)x.size())
#define ALL(x) (x).begin(), (x).end()
#define lowbit(x) x & -x
#define pb push_back
#define ls (id << 1)
#define rs (id << 1 | 1)
#define Rint register int
#define UNI(x) sort(ALL(x)), x.resize(unique(ALL(x)) ... | #include <bits/stdc++.h>
using namespace std;
#define fi first
#define se second
#define SZ(x) ((int)x.size())
#define ALL(x) (x).begin(), (x).end()
#define lowbit(x) x & -x
#define pb push_back
#define ls (id << 1)
#define rs (id << 1 | 1)
#define Rint register int
#define UNI(x) sort(ALL(x)), x.resize(unique(ALL(x)) ... | [["-", 0, 1, 0, 11, 12, 2, 3, 4, 0, 13], ["+", 0, 1, 0, 11, 12, 2, 3, 4, 0, 13], ["-", 31, 69, 341, 342, 0, 2, 3, 4, 0, 13], ["+", 31, 69, 341, 342, 0, 2, 3, 4, 0, 13], ["-", 3, 4, 0, 83, 0, 2, 3, 4, 0, 13], ["+", 3, 4, 0, 83, 0, 2, 3, 4, 0, 13], ["-", 0, 69, 341, 342, 0, 2, 3, 4, 0, 13], ["+", 0, 69, 341, 342, 0, 2, 3... | 1 | 1,300 |
#include <algorithm>
#include <bitset>
#include <cmath>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
using namespace std;
#define REP(i, n) for (ll(i) = (0); (i) < (n); ++i)
#define REV(i, n) for (ll(i)... | #include <algorithm>
#include <bitset>
#include <cmath>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
using namespace std;
#define REP(i, n) for (ll(i) = (0); (i) < (n); ++i)
#define REV(i, n) for (ll(i)... | [["+", 3, 4, 0, 2, 3, 4, 0, 16, 17, 33], ["+", 3, 4, 0, 2, 3, 4, 0, 16, 12, 13]] | 1 | 699 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define pb push_back
#define fi first
#define se second
typedef pair<ll, ll> P;
using VP = vector<P>;
using VVP = vector<VP>;
using VI = vector<ll>;
using VVI = vector<VI>;
using VVVI = vector<VVI>;
const int inf = 1e9 + 7;
const ll INF = 1LL << 61;
co... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define pb push_back
#define fi first
#define se second
typedef pair<ll, ll> P;
using VP = vector<P>;
using VVP = vector<VP>;
using VI = vector<ll>;
using VVI = vector<VI>;
using VVVI = vector<VVI>;
const int inf = 1e9 + 7;
const ll INF = 1LL << 61;
co... | [["-", 0, 7, 8, 9, 0, 43, 49, 50, 51, 22], ["+", 0, 7, 8, 9, 0, 43, 49, 50, 51, 22]] | 1 | 746 |
import java.util.Scanner;
public class Main {
public static void main(String Args[]) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
double c = Math.PI * n;
System.out.println(c);
}
} | import java.util.Scanner;
public class Main {
public static void main(String Args[]) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
double c = 2 * Math.PI * n;
System.out.println(c);
}
} | [["+", 0, 503, 49, 200, 51, 16, 31, 16, 31, 499], ["+", 0, 503, 49, 200, 51, 16, 31, 16, 17, 48]] | 3 | 62 |
#include <bits/stdc++.h>
using namespace std;
int main() {
double N;
cin >> N;
cout << setprecision(10) << N * 3.14159265358979 << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
double N;
cin >> N;
cout << setprecision(10) << 2 * N * 3.14159265358979 << endl;
}
| [["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 17, 48]] | 1 | 32 |
r = int(input())
print(3.14159*r)
| r = int(input())
print(6.28318530717958623200*r)
| [["-", 0, 1, 0, 652, 3, 4, 0, 657, 31, 531], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 31, 531]] | 5 | 14 |
import sys
def main():
R = int(input())
print(R*3.14159)
if __name__ == "__main__":
main() | import sys
def main():
R = int(input())
print(2*R*3.14159)
if __name__ == "__main__":
main() | [["+", 0, 652, 3, 4, 0, 657, 31, 657, 31, 612], ["+", 0, 652, 3, 4, 0, 657, 31, 657, 17, 48]] | 5 | 31 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scn = new Scanner(System.in);
double R = scn.nextDouble();
scn.close();
double ans = R * R * 3.1415926535;
System.out.println(ans);
}
} | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scn = new Scanner(System.in);
double R = scn.nextDouble();
scn.close();
double ans = 2 * R * 3.1415926535;
System.out.println(ans);
}
}
| [["-", 0, 503, 49, 200, 51, 16, 31, 16, 31, 22], ["+", 0, 503, 49, 200, 51, 16, 31, 16, 31, 499]] | 3 | 68 |
# -*- coding: utf-8 -*-
#半径の入力
R=int(input("R"))
#半径に2と円周率をかけて円周を導出
Round=6.283*R
#円周の出力
print(Round)
| # -*- coding: utf-8 -*-
#半径の入力
R=int(input())
#半径に2と円周率をかけて円周を導出
Round=6.283*R
#円周の出力
print(Round)
| [["-", 3, 4, 0, 652, 3, 4, 0, 557, 0, 654], ["-", 3, 4, 0, 652, 3, 4, 0, 557, 0, 6], ["-", 3, 4, 0, 652, 3, 4, 0, 557, 0, 655]] | 5 | 24 |
R = int(input())
ret = R * 3.1415
print(ret) | R = int(input())
ret = R * 3.1415 * 2
print(ret) | [["+", 0, 656, 0, 1, 0, 662, 12, 657, 17, 48], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 12, 612]] | 5 | 17 |
r = int(input())
print(r * 3.14159 / 2)
| r = int(input())
print(r * 3.14159 * 2)
| [["-", 0, 1, 0, 652, 3, 4, 0, 657, 17, 85], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 17, 48]] | 5 | 16 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long int
int main() {
int r;
cout << 2 * 3.14 * r;
} | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
int main() {
int r;
cin >> r;
cout << 2 * 3.14 * r;
} | [["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]] | 1 | 26 |
#include <stdio.h>
int main(void) {
int R;
scanf("%d", &R);
printf("%d\n", 2 * R * 3.1415);
} | #include <stdio.h>
int main(void) {
int R;
scanf("%d", &R);
printf("%f\n", 2 * R * 3.1415);
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 36 |
int main() {
float a, b;
b = 3.1415926;
scanf("%f", &a);
printf("%f", a * b);
return 0;
}
| int main() {
float a, b;
b = 6.2831852;
scanf("%f", &a);
printf("%f", a * b);
return 0;
}
| [["-", 0, 14, 8, 9, 0, 1, 0, 11, 12, 13], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 12, 13]] | 0 | 39 |
#include <bits/stdc++.h>
#define Pi acos(-1)
using namespace std;
int main() {
int R;
cin >> R;
double c = 2 * Pi * R;
printf("%0.20lf\n", R);
} | #include <bits/stdc++.h>
#define Pi acos(-1)
using namespace std;
int main() {
int R;
cin >> R;
double c = 2 * Pi * R;
printf("%0.20lf\n", c);
}
| [["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]] | 1 | 41 |
#include <stdio.h>
int main(void) {
float a, b;
scanf("%f", &a);
b = a * 3.1415;
printf("%f", b);
} | #include <stdio.h>
int main(void) {
float a, b;
scanf("%f", &a);
b = a * 3.1415 * 2;
printf("%f", b);
} | [["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 48], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 0 | 39 |
#include <iostream>
#define pai 3.141592653589
using namespace std;
int main() {
double n;
cin >> n;
cout << 2 * n * n * pai;
} | #include <iostream>
#define pai 3.141592653589
using namespace std;
int main() {
double n;
cin >> n;
cout << 2 * n * pai;
} | [["-", 0, 1, 0, 16, 12, 16, 31, 16, 12, 22], ["-", 8, 9, 0, 1, 0, 16, 12, 16, 17, 48]] | 1 | 32 |
#include <bits/stdc++.h>
#define pi 3.14159
using namespace std;
int main() {
int r;
cin >> r;
double circum = pi * r * r;
cout << circum;
return 0;
} | #include <bits/stdc++.h>
#define pi 3.14159
using namespace std;
int main() {
int r;
cin >> r;
double circum = pi * 2 * r;
cout << circum;
return 0;
} | [["-", 0, 43, 49, 50, 51, 16, 31, 16, 12, 22], ["+", 0, 43, 49, 50, 51, 16, 31, 16, 12, 13]] | 1 | 38 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
int r;
cin >> r;
int pi = 3.141592653589793;
cout << 2 * r * pi << endl;
}
| #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
int r;
cin >> r;
float pi = 3.141592653589793;
cout << 2 * r * pi << endl;
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 42 |
#include <iostream>
using namespace std;
int main() {
int R;
cin >> R;
unsigned long long ans;
ans = R * 2 * 3.14;
cout << ans << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int R;
cin >> R;
long double ans;
ans = R * 2 * 3.14;
cout << ans << endl;
return 0;
} | [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 87], ["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40]] | 1 | 41 |
#include <bits/stdc++.h>
using namespace std;
int main() {
double a;
cin >> a;
double pie = 3.1415;
cout << a * pie << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
double a;
cin >> a;
double pie = 3.14159265;
cout << 2 * a * pie << endl;
}
| [["-", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 17, 48]] | 1 | 32 |
#include <bits/stdc++.h>
using namespace std;
int main() {
double A;
double B = 6.28318;
cout << fixed << setprecision(10) << A * B << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
double A;
double B = 6.28318;
cin >> A;
cout << fixed << setprecision(10) << A * B << endl;
} | [["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]] | 1 | 35 |
#include <stdio.h>
int main() {
double R;
scanf("%f", &R);
double ans = 2 * 3.14 * R;
printf("%f", ans);
} | #include <stdio.h>
int main() {
double R;
scanf("%lf", &R);
double ans = 2 * 3.14 * R;
printf("%lf", ans);
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 39 |
// Reading stuff
// check the modulus
// for tree case n=1
#pragma GCC optimize("Ofast")
#pragma GCC optimize("unroll-loops")
#pragma GCC target("sse2")
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <vector>
using namespace std;
#define int long long
... | // Reading stuff
// check the modulus
// for tree case n=1
#pragma GCC optimize("Ofast")
#pragma GCC optimize("unroll-loops")
#pragma GCC target("sse2")
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <vector>
using namespace std;
#define int long long
... | [["-", 0, 14, 8, 9, 0, 1, 0, 11, 17, 32], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 17, 108], ["+", 0, 1, 0, 16, 31, 16, 31, 16, 17, 151], ["+", 0, 1, 0, 16, 31, 16, 31, 16, 12, 22], ["-", 0, 16, 31, 16, 12, 2, 3, 4, 0, 13], ["+", 0, 16, 31, 16, 12, 2, 3, 4, 0, 13]] | 1 | 178 |
#include <iostream>
using namespace std;
int main() {
double pi = 3.14159265;
double r;
cin >> r;
cout << r * r * pi << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
double pi = 3.14159265;
double r;
cin >> r;
cout << 2 * r * pi << endl;
return 0;
} | [["-", 0, 16, 31, 16, 12, 16, 31, 16, 31, 22], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13]] | 1 | 37 |
#include <math.h>
#include <stdio.h>
int main() {
int r;
float length;
scanf("%d", &r);
length = 2 * M_PI * r;
printf("%f", &length);
return 0;
} | #include <math.h>
#include <stdio.h>
int main() {
int r;
double length;
scanf("%d", &r);
length = 2 * M_PI * r;
printf("%f", length);
return 0;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]] | 0 | 47 |
#include <stdio.h>
int main(void) {
int R;
scanf("%d", &R);
printf("%f", R * 3, 14);
return 0;
} | #include <stdio.h>
int main(void) {
int R;
scanf("%d", &R);
printf("%f", R * 3.14 * 2);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 13], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 12, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 48], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13]] | 0 | 38 |
#include <stdio.h>
int main(void) {
float R;
scanf("%f", &R);
printf("%f", 3.141592 * R);
return 0;
} | #include <stdio.h>
int main(void) {
float R;
scanf("%f", &R);
printf("%f", 3.141592 * R * 2);
return 0;
} | [["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 48], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13]] | 0 | 36 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ln "\n"
#define pb push_back
#define pll pair<ll, ll>
#define ppll pair<ll, pll>
#define vll vector<ll>
#define vpll vector<pll>
#define vvll vector<vector<ll>>
#define sll stack<ll>
#define qll queue<ll>
#define mp make_pair
#define f first
#de... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ln "\n"
#define pb push_back
#define pll pair<ll, ll>
#define ppll pair<ll, pll>
#define vll vector<ll>
#define vpll vector<pll>
#define vvll vector<vector<ll>>
#define sll stack<ll>
#define qll queue<ll>
#define mp make_pair
#define f first
#de... | [["-", 31, 23, 0, 16, 31, 16, 31, 16, 31, 13], ["-", 31, 23, 0, 16, 31, 16, 31, 16, 17, 48], ["-", 31, 23, 0, 16, 31, 16, 31, 16, 12, 22], ["+", 12, 16, 31, 23, 0, 16, 31, 16, 31, 13]] | 1 | 140 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define repd(i, a, b) for (int i = (a); i < (b); i++)
#define INF LLONG_MAX
#define mod 1000000007
typedef long long ll;
int main(void) {
double R;
double ans = 2 * R * M_PI;
cout << ans << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define repd(i, a, b) for (int i = (a); i < (b); i++)
#define INF LLONG_MAX
#define mod 1000000007
typedef long long ll;
int main(void) {
double R;
cin >> R;
double ans = 2 * R * M_PI;
cout << ans << endl;
return 0;
... | [["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]] | 1 | 63 |
import math
a = int(input())
print(a*math.pi) | import math
a = int(input())
print(a*2*math.pi) | [["+", 0, 652, 3, 4, 0, 657, 31, 657, 12, 612], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 17, 48]] | 5 | 18 |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int num = Integer.parseInt(br.readLine());
System.out.prin... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int num = Integer.parseInt(br.readLine());
System.out.prin... | [["+", 0, 492, 3, 4, 0, 16, 31, 16, 12, 499], ["+", 0, 1, 0, 492, 3, 4, 0, 16, 17, 48]] | 3 | 82 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define REP(i, n) for (ll i = 0; i < (ll)(n); i++)
#define REPS(i, n) for (ll i = 1; i <= (ll)(n); i++)
#define REPD(i, n) for (ll i = (ll)(n)-1; i >= 0; i--)
#define FOR(i, a, b) for (ll i = (a); i <= (b); i++)
#define FORD(i, a, b) for (ll i = (a); i... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define REP(i, n) for (ll i = 0; i < (ll)(n); i++)
#define REPS(i, n) for (ll i = 1; i <= (ll)(n); i++)
#define REPD(i, n) for (ll i = (ll)(n)-1; i >= 0; i--)
#define FOR(i, a, b) for (ll i = (a); i <= (b); i++)
#define FORD(i, a, b) for (ll i = (a); i... | [["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 17, 48]] | 1 | 88 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double a = 0;
int x = sc.nextInt();
a = Math.PI * x;
System.out.println(a);
}
} | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double a = 0;
int x = sc.nextInt();
a = Math.PI * x * 2;
System.out.println(a);
}
} | [["+", 8, 196, 0, 1, 0, 11, 12, 16, 17, 48], ["+", 8, 196, 0, 1, 0, 11, 12, 16, 12, 499]] | 3 | 66 |
#include <bits/stdc++.h>
using namespace std;
int main() {
double r;
cin >> r;
cout << r * 1.0 * 3.14159265;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
double r;
cin >> r;
cout << r * 2.0 * 3.14159265;
return 0;
} | [["-", 0, 1, 0, 16, 12, 16, 31, 16, 12, 13], ["+", 0, 1, 0, 16, 12, 16, 31, 16, 12, 13]] | 1 | 30 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int R;
cout << R * 2 * 3.14 << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int R;
cin >> R;
cout << R * 2 * 3.14 << endl;
}
| [["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]] | 1 | 25 |
#include <iostream>
using namespace std;
int main() {
long double a;
cin >> a;
long double answer = answer * 2 * (3.14159);
cout << answer;
} | #include <iostream>
using namespace std;
int main() {
long double a, answer;
cin >> a;
answer = a * 2 * (3.14159);
cout << answer;
} | [["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 21], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40], ["-", 0, 43, 49, 50, 51, 16, 31, 16, 31, 22], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 22]] | 1 | 36 |
#include <cmath>
#include <iostream>
using namespace std;
double const pi = 3.14159265358979323846;
int main() {
int a;
cin >> a;
cout << a * pi << endl;
} | #include <cmath>
#include <iostream>
using namespace std;
double const pi = 3.14159265358979323846;
int main() {
int a;
cin >> a;
cout << 2 * a * pi << endl;
} | [["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 17, 48]] | 1 | 35 |
#include <iostream>
#include <string>
using namespace std;
int main() {
int R;
double y;
y = R * 2 * 3.1415;
cout << y << endl;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
int R;
cin >> R;
double y;
y = R * 2 * 3.14159265;
cout << y << endl;
} | [["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 34 |
p r = gets.to_i
p pi = Math::PI
puts 2 * r * pi | r = gets.to_i
pi = Math::PI
puts 2 * r * pi | [["-", 36, 36, 36, 36, 0, 493, 0, 652, 735, 22]] | 4 | 18 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.