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 <iostream> using namespace std; int main() { int r; cin >> r; double pi = 3.141592653589; cout << pi * r * r << "\n"; return 0; }
#include <iostream> using namespace std; int main() { int r; cin >> r; double pi = 3.141592653589; cout << 2 * pi * r << "\n"; return 0; }
[["-", 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
39
#include <bits/stdc++.h> using namespace std; int main() { float r; cin >> r; r *= 3.14152; cout << r << endl; }
#include <bits/stdc++.h> using namespace std; int main() { float r; cin >> r; r *= 6.283185307179586; cout << r << endl; }
[["-", 0, 14, 8, 9, 0, 1, 0, 11, 12, 13], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 12, 13]]
1
29
#include <bits/stdc++.h> using namespace std; int main() { int n; double c; cin >> n; c = n * 3.14159265358979323846264338327950288419716939937510; cout << setiosflags(ios::fixed) << setprecision(20) << c; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int n; double c; cin >> n; c = n * 2 * 3.14159265358979323846264338327950288419716939937510; cout << setiosflags(ios::fixed) << setprecision(20) << c; return 0; }
[["+", 0, 1, 0, 11, 12, 16, 31, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 48]]
1
47
#include <bits/stdc++.h> using namespace std; int main() { int r; cin >> r; cout << M_PI * r * r << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int r; cin >> r; cout << 2 * 3.14159265358979323846 * 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, 13]]
1
29
#include <bits/stdc++.h> using namespace std; int main() { long r; cin >> r; cout << M_PI * r * r << endl; }
#include <bits/stdc++.h> using namespace std; int main() { long r; cin >> r; cout << 2 * 3.14159 * 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, 13]]
1
29
#include <bits/stdc++.h> using namespace std; const double PI = 3.14159; int main() { int R; double x; cin >> R; x = (double)R * PI; cout << x << endl; }
#include <bits/stdc++.h> using namespace std; const double PI = 3.14159; int main() { int R; double x; cin >> R; x = (double)R * PI * 2; cout << x << endl; return 0; }
[["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 48], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 38], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 13]]
1
43
#include <bits/stdc++.h> using namespace std; int main() { int r; cin >> r; double l = r * 3.14; cout << l << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int r; cin >> r; double l = r * 3.14 * 2; cout << l << endl; }
[["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 48], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]]
1
32
#include <bits/stdc++.h> using namespace std; int main() { int r; cin >> r; cout << r * 3.1415926535 << setprecision(10) << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int r; cin >> r; cout << r * 2 * 3.1415926535 << setprecision(10) << endl; return 0; }
[["+", 31, 16, 31, 16, 12, 16, 31, 16, 12, 13], ["+", 0, 16, 31, 16, 31, 16, 12, 16, 17, 48]]
1
35
#include <stdio.h> int main(void) { int r; scanf("%d", &r); printf("%f\n", (double)r * 3.1415); return 0; }
#include <stdio.h> int main(void) { int r; scanf("%d", &r); printf("%f\n", (double)r * 3.1415 * 2); return 0; }
[["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 48], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13]]
0
40
#include <bits/stdc++.h> using namespace std; int main() { double pie = 3.141592; int R; cin >> R; cout << R * pie << endl; }
#include <bits/stdc++.h> using namespace std; int main() { double pie = 3.141592; int R; cin >> R; cout << R * pie * 2 << endl; }
[["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 48], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13]]
1
32
#include <stdio.h> int main(void) { int r; double pi = 3.141592654; scanf("%d", &r); printf("%f", pi * r); return 0; }
#include <stdio.h> int main(void) { int r; double pi = 3.141592654; scanf("%d", &r); printf("%f\n", 2.0 * pi * r); return 0; }
[["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 31, 13], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 17, 48]]
0
41
#include <bits/stdc++.h> using namespace std; int main(void) { double r; cin >> r; cout << 2.0 * r << endl; }
#include <bits/stdc++.h> using namespace std; int main(void) { double r; cin >> r; cout << 2.0 * r * M_PI << endl; }
[["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 48], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 12, 22]]
1
28
#include <stdio.h> int main() { int N; scanf("%d", &N); printf("%f\n", N * 3.14); return 0; }
#include <stdio.h> int main() { int N; scanf("%d", &N); printf("%f\n", N * 6.28); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13]]
0
36
#include <stdio.h> #define PI 3.141592 int main(void) { double R; double L; scanf("%lf", &R); L = R * PI; printf("%f", L); return 0; }
#include <stdio.h> #define PI 3.141592 int main(void) { double R; double L; scanf("%lf", &R); L = 2 * R * PI; printf("%f", L); return 0; }
[["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 17, 48]]
0
46
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector<int> vi; typedef pair<int, int> pi; #define F first #define S second #define PB push_back #define MP make_pair #define rep(i, a, b) for (int i = a; i <= b; i++) #define lin puts(""); long double n, x, y, a[300000], b[300000], c = 0, t = ...
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector<int> vi; typedef pair<int, int> pi; #define F first #define S second #define PB push_back #define MP make_pair #define rep(i, a, b) for (int i = a; i <= b; i++) #define lin puts(""); long double n, x, y, a[300000], b[300000], c = 0, t = ...
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
151
#include <iostream> using namespace std; int main() { int R; double pi = 3.1415; cin >> R; cout << R * pi << '\n'; return 0; }
#include <iostream> using namespace std; int main() { int R; double pi = 3.1415; cin >> R; cout << 2 * R * pi << '\n'; return 0; }
[["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 17, 48]]
1
37
#include <cstdio> #include <iostream> using namespace std; int n; int main() { scanf("%d", &n); printf("%.2f", n * 3.1415926); return 0; puts("当黑白之剑交叉时,那一刻就许下要永远守护你,彼此守护着对方"); }
#include <cstdio> #include <iostream> using namespace std; int n; int main() { scanf("%d", &n); printf("%.2f", n * 2 * 3.1415926); return 0; puts("当黑白之剑交叉时,那一刻就许下要永远守护你,彼此守护着对方"); }
[["+", 0, 2, 3, 4, 0, 16, 31, 16, 12, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 48]]
1
48
#include <math.h> #include <stdio.h> int main() { double radius, c; scanf("%Lf", &radius); c = 2.00 * M_PI * radius; printf("%Lf\n", c); return 0; }
#include <math.h> #include <stdio.h> int main() { double radius, c; scanf("%lf", &radius); c = 2.00 * 3.1416 * radius; printf("%lf\n", c); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 1, 0, 11, 12, 16, 31, 16, 12, 22], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 12, 13]]
0
46
#include <stdio.h> int main(void) { int a; double b; scanf("%d", &a); b = a * 3.14; printf("%4.2f\n", b); return 0; }
#include <stdio.h> int main(void) { int a; double b; scanf("%d", &a); b = 2 * a * 3.14; printf("%4.2f\n", b); return 0; }
[["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 17, 48]]
0
44
n = int(input()) a = n/0.15 print(a)
n = int(input()) a = n/0.1591549431 print(a)
[["-", 0, 656, 0, 1, 0, 662, 12, 657, 12, 531], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 12, 531]]
5
17
enshu = int(input(R)) print(enshu * 2 *3.141592)
enshu = int(input()) print(enshu * 2 *3.141592)
[["-", 12, 652, 3, 4, 0, 652, 3, 4, 0, 22]]
5
17
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int r = Integer.parseInt(scanner.nextLine()); System.out.println(r * 3.141d); } }
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int r = Integer.parseInt(scanner.nextLine()); System.out.println(r * 6.28318530717958623200d); } }
[["-", 0, 1, 0, 492, 3, 4, 0, 16, 12, 515], ["+", 0, 1, 0, 492, 3, 4, 0, 16, 12, 515]]
3
60
r = int(input()) import numpy print(math.pi*2*r)
r = int(input()) import math print(math.pi* 2 * r)
[["-", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22], ["+", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22]]
5
20
r = int(input()) pi=3.141592 print(r*pi)
r = int(input()) pi=3.141592 print(r*pi*2)
[["+", 0, 1, 0, 652, 3, 4, 0, 657, 17, 48], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 12, 612]]
5
17
#include <bits/stdc++.h> #define ll long long #define REP(i, a, n) for (ll i = a; i < (n); i++) #define RE return using namespace std; int main() { ios::sync_with_stdio(0); long double n; cin >> n; cout << n * 3.14; RE 0; }
#include <bits/stdc++.h> #define ll long long #define REP(i, a, n) for (ll i = a; i < (n); i++) #define RE return using namespace std; int main() { ios::sync_with_stdio(0); long double n; cin >> n; cout << n * 6.28; RE 0; }
[["-", 8, 9, 0, 1, 0, 16, 12, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 16, 12, 16, 12, 13]]
1
52
#include <iostream> using namespace std; int main() { double n; cin >> n; cout << n * 3.1415926 << "\n"; }
#include <iostream> using namespace std; int main() { double n; cin >> n; cout << 2 * n * 3.1415926 << "\n"; }
[["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 17, 48]]
1
29
r = int(input()) print(math.pi * r * 2)
import math r = int(input()) print(math.pi * r * 2)
[["+", 36, 36, 36, 36, 0, 656, 0, 596, 0, 487], ["+", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22]]
5
18
#include <cstdio> int main() { int a; scanf("%d", &a); printf("%llf", 6.28318530717 * (double)a); }
#include <cstdio> int main() { int a; scanf("%d", &a); printf("%f", 6.28318530717 * (double)a); }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
35
import math R = int(input()) print(R) l = 2 * math.pi * float(R) print(l)
import math R = int(input()) l = 2 * math.pi * float(R) print(l)
[["-", 36, 36, 0, 656, 0, 1, 0, 652, 63, 22], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 24], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 22], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 25]]
5
30
#include <bits/stdc++.h> #define FOR(i, a, b) for (int i = (a); i < (b); ++i) #define REP(i, n) for (int i = 0; i < (n); ++i) #define int long long #define vec(a, n) vector<int>(a)((n)); #define Vec(a, n) vector<string>(a)((n)); #define twovec(a, n, m) vector<vector<int>> a(n, vector<int>(m, 0)); #define Twovec(a, n, m...
#include <bits/stdc++.h> #define FOR(i, a, b) for (int i = (a); i < (b); ++i) #define REP(i, n) for (int i = 0; i < (n); ++i) #define int long long #define vec(a, n) vector<int>(a)((n)); #define Vec(a, n) vector<string>(a)((n)); #define twovec(a, n, m) vector<vector<int>> a(n, vector<int>(m, 0)); #define Twovec(a, n, m...
[["+", 0, 2, 3, 4, 0, 16, 31, 16, 12, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 48]]
1
335
#include <bits/stdc++.h> using namespace std; int main() { double r; cin >> r; cout << setprecision(5) << r * 3.1415; }
#include <bits/stdc++.h> using namespace std; int main() { double r; cin >> r; cout << setprecision(5) << 2 * r * 3.1415; }
[["+", 0, 1, 0, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 16, 12, 16, 31, 16, 17, 48]]
1
30
#include <bits/stdc++.h> using namespace std; int main() { long double r; cin >> r; cout << 22 * r / 7; }
#include <bits/stdc++.h> using namespace std; int main() { long double r; cin >> r; cout << 44 * r / 7 * 1.0; }
[["-", 0, 1, 0, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 16, 12, 16, 31, 16, 31, 16, 31, 13], ["+", 8, 9, 0, 1, 0, 16, 12, 16, 17, 48], ["+", 8, 9, 0, 1, 0, 16, 12, 16, 12, 13]]
1
28
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) using namespace std; using ll = long long; int main() { int a; cin >> a; double sum = a * 3.1415; cout << sum << endl; return 0; }
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) using namespace std; using ll = long long; int main() { int a; cin >> a; float sum = a * 2 * 3.141592; cout << sum << endl; return 0; }
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 0, 43, 49, 50, 51, 16, 31, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 48], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]]
1
49
#include <bits/stdc++.h> #define endl '\n' using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); double R; cin >> R; cout << M_PI << endl; return 0; }
#include <bits/stdc++.h> #define endl '\n' using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); double R; cin >> R; cout << 2 * R * M_PI << endl; return 0; }
[["+", 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, 31, 16, 12, 22], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 48]]
1
45
#include <bits/stdc++.h> using namespace std; int main() { int r; cin >> r; cout << fixed << setprecision(5) << r * 3.141592653589793238462643383279 << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int r; cin >> r; cout << fixed << setprecision(5) << 2 * r * 3.141592653589793238462643383279 << endl; }
[["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 17, 48]]
1
34
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (int)(n); i++) using namespace std; typedef long long LL; const double pi = 3.14159265359; int main() { double R; cout << R * 2 * pi << endl; return 0; }
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (int)(n); i++) using namespace std; typedef long long LL; const double pi = 3.14159265359; int main() { double R; cin >> R; cout << R * 2 * pi << 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
47
#include <bits/stdc++.h> using namespace std; #define pb push_back #define INF 0x3f3f3f3f #define LINF 0x3f3f3f3f3f3f3f3f #define MAXN 10005 #define MAXM 100005 #define pi 3.14159265359 typedef pair<int, int> pii; typedef vector<int> vi; typedef vector<pair<int, int>> vpii; typedef long long ll; typedef priority_que...
#include <bits/stdc++.h> using namespace std; #define pb push_back #define INF 0x3f3f3f3f #define LINF 0x3f3f3f3f3f3f3f3f #define MAXN 10005 #define MAXM 100005 #define pi 3.14159265359 typedef pair<int, int> pii; typedef vector<int> vi; typedef vector<pair<int, int>> vpii; typedef long long ll; typedef priority_que...
[["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 48], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 22]]
1
138
from sys import stdin a = stdin.readline().rstrip() #print(a.upper()) # 読み込んだ文字を大文字に変換 pi = 3.14159265 r = 2*pi*a print(r)
from sys import stdin a = stdin.readline().rstrip() #print(a.upper()) # 読み込んだ文字を大文字に変換 a = int(a) pi = 3.14159265 r = 2*pi*a print(r)
[["+", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22], ["+", 36, 36, 0, 656, 0, 1, 0, 662, 0, 32], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25]]
5
30
#include <bits/stdc++.h> using namespace std; int main() { int t; double ans = 2 * 3.14159 * t; cout << ans; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int t; cin >> t; double ans = 2 * 3.14159 * t; cout << ans; 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
31
#include <bits/stdc++.h> using namespace std; int main() { const double PI = 3.14159265358979323846; double R; cin >> R; cout << (R * PI) << endl; }
#include <bits/stdc++.h> using namespace std; int main() { const double PI = 3.14159265358979323846; double R; cin >> R; cout << (2 * R * PI) << endl; }
[["+", 31, 16, 12, 23, 0, 16, 31, 16, 31, 13], ["+", 31, 16, 12, 23, 0, 16, 31, 16, 17, 48]]
1
35
#include <stdio.h> int main() { double a, b; if (scanf("lf", &a) < 1) return -1; b = (double)2 * a * 3.14; printf("%lf\n", b); return 0; }
#include <stdio.h> int main() { double a, b; if (scanf("%lf", &a) < 1) return -1; b = (double)2 * a * 3.14; printf("%lf\n", b); return 0; }
[["-", 0, 16, 31, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 16, 31, 2, 3, 4, 0, 5, 0, 6]]
0
54
#include <stdio.h> int main() { double a, b; scanf("%d", &a); b = 2 * a * 3.14; printf("%lf\n", b); return 0; }
#include <stdio.h> int main() { int a; double b; scanf("%d", &a); b = 2 * a * 3.14; printf("%lf\n", b); return 0; }
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 21], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35]]
0
44
// // main.cpp // biggner20200419 // // Created by zer0 on 2020/04/19. // Copyright © 2020 zer0. All rights reserved. // #include <iostream> const double PI = 3.14159265358979323846; int main(int argc, const char *argv[]) { int r, c; std::cin >> r; c = 2 * r * PI; // insert code here.std.. std::cout...
// // main.cpp // biggner20200419 // // Created by zer0 on 2020/04/19. // Copyright © 2020 zer0. All rights reserved. // #include <iostream> const double PI = 3.14159265358979323846; int main(int argc, const char *argv[]) { double r, c; std::cin >> r; c = 2 * r * PI; // insert code here.std.. std::c...
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]]
1
59
print(float(input()) * 3.14)
print(2 * float(input()) * 3.14)
[["+", 0, 652, 3, 4, 0, 657, 31, 657, 31, 612], ["+", 0, 652, 3, 4, 0, 657, 31, 657, 17, 48]]
5
11
n = float(input()) pi = 6.28318530717958623200 / 2 print(n*pi)
n = float(input()) pi = 6.28318530717958623200 print(n*pi)
[["-", 0, 656, 0, 1, 0, 662, 12, 657, 17, 85], ["-", 0, 656, 0, 1, 0, 662, 12, 657, 12, 612]]
5
19
#include <algorithm> #include <cmath> #include <functional> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <set> #include <string> #include <tuple> #include <utility> #include <vector> using namespace std; #define LL long long double R; int main() { cin >> R; cout << setprecision...
#include <algorithm> #include <cmath> #include <functional> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <set> #include <string> #include <tuple> #include <utility> #include <vector> using namespace std; #define LL long long double R; int main() { cin >> R; cout << setprecision...
[["+", 0, 16, 31, 16, 12, 16, 31, 16, 12, 13], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 48]]
1
60
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int R = sc.nextInt(); System.out.println(Math.PI * R); } }
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int R = sc.nextInt(); System.out.println(Math.PI * (R * 2)); } }
[["+", 0, 492, 3, 4, 0, 16, 12, 23, 0, 24], ["+", 3, 4, 0, 16, 12, 23, 0, 16, 17, 48], ["+", 3, 4, 0, 16, 12, 23, 0, 16, 12, 499], ["+", 0, 492, 3, 4, 0, 16, 12, 23, 0, 25]]
3
57
#include <bits/stdc++.h> using namespace std; int main() { int R; cin >> R; cout << R * M_PI << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int R; cin >> R; cout << R * 3.14159265358979323846 * 2 << endl; }
[["-", 0, 1, 0, 16, 31, 16, 12, 16, 12, 22], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 12, 13], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 48], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13]]
1
27
#include <bits/stdc++.h> using namespace std; int main() { int R; cin >> R; cout << R * M_PI << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int R; cin >> R; cout << R * M_PI * 2 << endl; }
[["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 48], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13]]
1
27
print(3.14 * int(input()))
print(6.282 * int(input()))
[["-", 0, 1, 0, 652, 3, 4, 0, 657, 31, 531], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 31, 531]]
5
11
import math r = int(input()) h = round(math.pi,4) print(r*h)
import math r = int(input()) h = round(math.pi,4) print(2*r*h)
[["+", 0, 652, 3, 4, 0, 657, 31, 657, 31, 612], ["+", 0, 652, 3, 4, 0, 657, 31, 657, 17, 48]]
5
26
n = gets.chomp.to_i puts 2 * n * Math.PI
n = gets.chomp.to_i puts 2 * n * Math::PI
[["-", 0, 652, 3, 4, 0, 738, 12, 652, 17, 131], ["+", 0, 652, 3, 4, 0, 738, 12, 760, 0, 349]]
4
15
#include <stdio.h> #define PI 3.14 int main() { int r; scanf("%d", r); printf("%f\n", 2 * r * PI); }
#include <stdio.h> #define PI 3.14 int main() { int r; scanf("%d", &r); printf("%f\n", 2 * r * PI); return 0; }
[["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 38], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 13]]
0
37
#include <stdio.h> #define PI 3.14 int main() { int r; scanf("%d", r); printf("%f\n", 2 * r * PI); }
#include <stdio.h> #define PI 3.14 int main() { int r; scanf("%d", &r); printf("%f\n", 2 * r * PI); }
[["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]]
0
37
N = int(input()) print(N*2*math.pi)
import math N = int(input()) print(N*2*math.pi)
[["+", 36, 36, 36, 36, 0, 656, 0, 596, 0, 487], ["+", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22]]
5
18
#include <iostream> #include <math.h> using namespace std; int main() { double radius; cin >> radius; cout << std::fixed; cout << radius * radius * M_PI; }
#include <iostream> #include <math.h> using namespace std; int main() { double radius; cin >> radius; cout << std::fixed; cout << 2 * radius * M_PI; }
[["-", 0, 1, 0, 16, 12, 16, 31, 16, 31, 22], ["+", 0, 1, 0, 16, 12, 16, 31, 16, 31, 13]]
1
35
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define reprv(i, n) for (int i = n - 1; i >= 0; i--) #define ll long long using namespace std; int main() { int r; double k; cin >> r; k = r * 3.1415; cout << k << endl; return 0; }
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define reprv(i, n) for (int i = n - 1; i >= 0; i--) #define ll long long using namespace std; int main() { int r; double k; cin >> r; k = 2 * r * M_PI; cout << k << endl; return 0; }
[["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 17, 48], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 22]]
1
56
#include <stdio.h> int main() { int r; scanf("%d", &r); double c; c = 2 * 3.14 * r; printf("%.20fl", c); return 0; }
#include <stdio.h> int main() { int r; scanf("%d", &r); double c; c = 2 * 3.14159265359 * r; printf("%.2f", c); return 0; }
[["-", 0, 1, 0, 11, 12, 16, 31, 16, 12, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 12, 13], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
44
r = input() R = 2*3.1415*r print(R)
r = int(input()) R = 2*3.1415*r print(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
16
/* package codechef; // don't place package name! */ import java.io.*; import java.lang.*; import java.util.*; /* Name of the class has to be "Main" only if the class is public. */ public class Main { public static void main(String[] args) throws java.lang.Exception { Scanner input = new Scanner(System.in); ...
/* package codechef; // don't place package name! */ import java.io.*; import java.lang.*; import java.util.*; /* Name of the class has to be "Main" only if the class is public. */ public class Main { public static void main(String[] args) throws java.lang.Exception { Scanner input = new Scanner(System.in); ...
[["-", 0, 492, 3, 4, 0, 16, 31, 16, 12, 22], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 12, 499]]
3
81
import math R=int(input()) print(2*math.pi)
import math R=int(input()) 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
#include <stdio.h> int main(void) { int c, dummy; double sum; dummy = scanf("%d", &c); sum = 3.141592 * c * c; printf("%f", sum); return 0; }
#include <stdio.h> int main(void) { int c, dummy; double sum; dummy = scanf("%d", &c); sum = 3.1415 * 2 * c; printf("%f", sum); return 0; }
[["-", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13], ["-", 0, 1, 0, 11, 12, 16, 31, 16, 12, 22], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 12, 13]]
0
49
#include <bits/stdc++.h> #include <math.h> using namespace std; int main() { double R, x; cin >> R; x = M_PI * R; cout << x << endl; }
#include <bits/stdc++.h> #include <math.h> using namespace std; int main() { double R, x; cin >> R; x = M_PI * R * 2; cout << x << endl; }
[["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 48], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]]
1
35
#include <cmath> #include <cstdlib> #include <iostream> #include <string> using namespace std; int main() { double r; cin >> r; cout << M_PI * r * r << endl; return 0; }
#include <cmath> #include <cstdlib> #include <iostream> #include <string> using namespace std; int main() { double r; cin >> r; cout << M_PI * 2 * r << endl; return 0; }
[["-", 0, 16, 31, 16, 12, 16, 31, 16, 12, 22], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 12, 13]]
1
38
import math print(int(input())*math.pi)
import math print(2*int(input())*math.pi)
[["+", 0, 652, 3, 4, 0, 657, 31, 657, 31, 612], ["+", 0, 652, 3, 4, 0, 657, 31, 657, 17, 48]]
5
15
#include <algorithm> #include <complex> #include <cstdio> #include <cstdlib> #include <cstring> #include <deque> #include <functional> #include <iomanip> #include <iostream> #include <limits> #include <list> #include <map> #include <queue> #include <set> #include <sstream> #include <stack> #include <string> #include <v...
#include <algorithm> #include <complex> #include <cstdio> #include <cstdlib> #include <cstring> #include <deque> #include <functional> #include <iomanip> #include <iostream> #include <limits> #include <list> #include <map> #include <queue> #include <set> #include <sstream> #include <stack> #include <string> #include <v...
[["-", 0, 43, 49, 50, 51, 16, 31, 16, 31, 22], ["+", 0, 43, 49, 50, 51, 16, 31, 16, 31, 13]]
1
1,577
import math n=float(input()) print(math.pi * n * n)
import math n=float(input()) print(math.pi * n * 2)
[["-", 0, 1, 0, 652, 3, 4, 0, 657, 12, 22], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 12, 612]]
5
20
#include <math.h> #include <stdio.h> int main(void) { int a; if (scanf("%d", &a) != 1) printf("%f\n", 2 * a * M_PI); }
#include <math.h> #include <stdio.h> int main(void) { int a; if (scanf("%d", &a) == 1) printf("%f\n", 2 * a * M_PI); }
[["-", 8, 9, 0, 57, 15, 23, 0, 16, 17, 79], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 17, 60]]
0
42
// clang-format off #include <bits/stdc++.h> using namespace std; using ll = long long; using P = pair<ll, ll>; #define rep(i,n) for(ll i=0, i##_len=(n); i<i##_len; ++i) #define rep1(i,n) for(ll i=1, i##_len=(n); i<=i##_len; ++i) #define rrep(i,n) for(ll i=n-1; i>=0; --i) #define rrep1(i,n) for(ll i=n; i>0; --i) #defin...
// clang-format off #include <bits/stdc++.h> using namespace std; using ll = long long; using P = pair<ll, ll>; #define rep(i,n) for(ll i=0, i##_len=(n); i<i##_len; ++i) #define rep1(i,n) for(ll i=1, i##_len=(n); i<=i##_len; ++i) #define rrep(i,n) for(ll i=n-1; i>=0; --i) #define rrep1(i,n) for(ll i=n; i>0; --i) #defin...
[["-", 36, 36, 36, 36, 0, 30, 0, 58, 51, 59], ["+", 36, 36, 36, 36, 0, 30, 0, 58, 51, 59], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 48], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13]]
1
215
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < n; ++i) #define rrep(i, n) for (int i = n - 1; i >= 0; i--) #define rep2(i, s, n) for (int i = s; i < n; ++i) #define all(a) a.begin(), a.end() #define rall(a) a.rbegin(), a.rend() #define tmax(a, b, c) max(a, max(b, c)) #define tmin(a, b, c) min(a, min(b, ...
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < n; ++i) #define rrep(i, n) for (int i = n - 1; i >= 0; i--) #define rep2(i, s, n) for (int i = s; i < n; ++i) #define all(a) a.begin(), a.end() #define rall(a) a.rbegin(), a.rend() #define tmax(a, b, c) max(a, max(b, c)) #define tmin(a, b, c) min(a, min(b, ...
[["-", 0, 43, 49, 50, 51, 16, 31, 16, 12, 22], ["+", 0, 43, 49, 50, 51, 16, 31, 16, 12, 13]]
1
400
PI=3.1415926535 r=int(input()) l=r**2*PI print(l)
PI=3.1415926535 r=int(input()) l=2*PI*r print(l)
[["-", 0, 1, 0, 662, 12, 657, 31, 657, 31, 22], ["-", 0, 1, 0, 662, 12, 657, 31, 657, 17, 578], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 17, 48], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 12, 22]]
5
22
#include <bits/stdc++.h> using namespace std; int main() { int n; float ans; cin >> n; ans = float(2 * 22 / 7 * n); cout << setprecision(20) << ans; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int n; float ans; cin >> n; ans = float(6.28318530717958623200 * n); cout << setprecision(10) << ans; return 0; }
[["-", 3, 4, 0, 16, 31, 16, 31, 16, 31, 13], ["-", 3, 4, 0, 16, 31, 16, 31, 16, 17, 48], ["-", 3, 4, 0, 16, 31, 16, 31, 16, 12, 13], ["-", 12, 2, 3, 4, 0, 16, 31, 16, 17, 85], ["-", 12, 2, 3, 4, 0, 16, 31, 16, 12, 13], ["+", 0, 11, 12, 2, 3, 4, 0, 16, 31, 13], ["-", 0, 16, 31, 16, 12, 2, 3, 4, 0, 13], ["+", 0, 16, 31, ...
1
47
r = int(input()) l = math.pi * 2 * r print(l)
import math r = int(input()) l = math.pi * 2 * r print(l)
[["+", 36, 36, 36, 36, 0, 656, 0, 596, 0, 487], ["+", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22]]
5
21
/* 不开long long见祖宗 */ #include <bits/stdc++.h> #define ll long long using namespace std; int r; int main() { // freopen(".in","r",stdin); // freopen(".out","w",stdout); cin >> r; cout << setiosflags(ios::fixed) << setprecision(20); cout << r * 6.28318530717958623200...
/* 不开long long见祖宗 */ #include <bits/stdc++.h> #define ll long long using namespace std; int r; int main() { // freopen(".in","r",stdin); // freopen(".out","w",stdout); cin >> r; cout << setiosflags(ios::fixed) << setprecision(20); cout << r * 6.28318530717958623200...
[["-", 8, 9, 0, 1, 0, 16, 12, 16, 17, 85], ["-", 8, 9, 0, 1, 0, 16, 12, 16, 12, 13]]
1
50
import numpy as np s=input() R=2*s*np.pi print(R)
import numpy as np s=int(input()) R=2*s*np.pi print(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
22
#include <iostream> using namespace std; int main() { int r; long double res, pi = 3.1415; cin >> r; res = r * pi; cout << res; return 0; }
#include <iostream> using namespace std; int main() { int r; long double res, pi = 3.14159; cin >> r; res = 2 * r * pi; cout << res; return 0; }
[["-", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 17, 48]]
1
40
#include <stdio.h> #include <stdlib.h> int main(int argc, char **argv) { double pi = 3.14159265; int r; if (scanf("%d", &r) == 0) { perror("scanf"); exit(1); } printf("%f\n", r * pi); }
#include <stdio.h> #include <stdlib.h> int main(int argc, char **argv) { double pi = 3.14159265; int r; if (scanf("%d", &r) == 0) { perror("scanf"); exit(1); } printf("%f\n", 2 * r * pi); }
[["+", 0, 2, 3, 4, 0, 16, 31, 16, 31, 13], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 17, 48]]
0
65
#include <math.h> #include <stdio.h> int main(void) { int x; scanf("%d", &x); printf("%f\n", (double)x * M_PI); return 0; }
#include <math.h> #include <stdio.h> int main(void) { int x; scanf("%d", &x); printf("%f\n", (double)x * M_PI * 2); return 0; }
[["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 48], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13]]
0
42
#include <bits/stdc++.h> using namespace std; const int INF = 2147483647; using ll = long long; int main() { double r; cin >> r; printf("%.20lf", r * M_PI); return 0; }
#include <bits/stdc++.h> using namespace std; const int INF = 2147483647; using ll = long long; int main() { double r; cin >> r; printf("%.20lf", 2 * r * M_PI); return 0; }
[["+", 0, 2, 3, 4, 0, 16, 31, 16, 31, 13], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 17, 48]]
1
45
#include <bits/stdc++.h> #define pb push_back #define ll long long #define f(i, a, b) for (int i = a; i < b; i++) #define f1(i, a, b) for (int i = a; i <= b; i++) #define w(x) \ int x; ...
#include <bits/stdc++.h> #define pb push_back #define ll long long #define f(i, a, b) for (int i = a; i < b; i++) #define f1(i, a, b) for (int i = a; i <= b; i++) #define w(x) \ int x; ...
[["-", 0, 43, 49, 50, 51, 16, 12, 23, 0, 13], ["+", 0, 43, 49, 50, 51, 16, 12, 23, 0, 13]]
1
98
#include <bits/stdc++.h> using namespace std; int main() { double t; cin >> t; double x = 2 * 3.141592653589793 * t; cout << t << endl; }
#include <bits/stdc++.h> using namespace std; int main() { double t; cin >> t; double x = t * 2 * 3.141592653589793; cout << x << endl; }
[["+", 0, 43, 49, 50, 51, 16, 31, 16, 31, 22], ["+", 0, 43, 49, 50, 51, 16, 31, 16, 17, 48], ["-", 8, 9, 0, 43, 49, 50, 51, 16, 17, 48], ["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 22], ["-", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22]]
1
34
#include <bits/stdc++.h> using namespace std; int main() { double n; double s; s = 2.0 * n * 3.14159265358979323846; printf("%0.8lf", s); return 0; }
#include <bits/stdc++.h> using namespace std; int main() { double n; double s; cin >> n; s = 2.0 * n * 3.14159265358979323846; printf("%0.8lf", s); 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
38
R = int(input().rstrip()) print(R*3.141592653589793238462643383279502884197169399375105820974944592307816406)
R = int(input().rstrip()) print(R * 2 * 3.141592653589793238462643383279502884197169399375105820974944592307816406)
[["+", 0, 652, 3, 4, 0, 657, 31, 657, 12, 612], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 17, 48]]
5
18
#include <algorithm> #include <cstdio> #include <iostream> using namespace std; const int N = 2e5 + 5; int inf = 0x3f3f3f3f; typedef pair<int, int> pa; long double PI = 3.141592654; int main() { long double r; cin >> r; long double kk = 2 * r * PI; printf("%.15lf\n", kk); return 0; }
#include <algorithm> #include <cstdio> #include <iostream> using namespace std; const int N = 2e5 + 5; int inf = 0x3f3f3f3f; typedef pair<int, int> pa; long double PI = 3.141592654; int main() { long double r; cin >> r; long double kk = 2 * r * PI; printf("%.10llf\n", kk); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
75
#include <iostream> using namespace std; int main() { int a; const long double b = 3.14159; cin >> a; a *= b; a *= 2; cout << a << '\n'; }
#include <iostream> using namespace std; int main() { double a; const long double b = 3.14159; cin >> a; a *= b; a *= 2; cout << a << '\n'; }
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]]
1
42
if __name__ == '__main__': N = int(input()) import math print(N*N*(math.pi))
if __name__ == '__main__': N = int(input()) import math print(2*N*(math.pi))
[["-", 0, 652, 3, 4, 0, 657, 31, 657, 31, 22], ["+", 0, 652, 3, 4, 0, 657, 31, 657, 31, 612]]
5
29
import math R = int(input()) circumference = 2 * math.pi * R print("%.20f" % circumference())
import math R = float(input()) circumference = 2 * math.pi * R print("%.20f" % circumference)
[["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["-", 3, 4, 0, 657, 12, 652, 3, 4, 0, 24], ["-", 3, 4, 0, 657, 12, 652, 3, 4, 0, 25]]
5
29
#include <algorithm> #include <iomanip> #include <iostream> using namespace std; string alphabet = "abcdefghijklmnopqrstuvwxyz"; string ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; int main() { int r; // cin >> r; r = 73; double pie = 3.14159265358979; cout << setprecision(10) << 2 * r * pie << endl; }
#include <algorithm> #include <iomanip> #include <iostream> using namespace std; string alphabet = "abcdefghijklmnopqrstuvwxyz"; string ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; int main() { int r; cin >> r; double pie = 3.14159265358979; cout << setprecision(10) << 2 * r * pie << 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, 11, 17, 32], ["-", 0, 14, 8, 9, 0, 1, 0, 11, 12, 13]]
1
58
n = int(input()) print((22/7)*n)
n = int(input()) print(2*(22/7)*n)
[["+", 0, 652, 3, 4, 0, 657, 31, 657, 31, 612], ["+", 0, 652, 3, 4, 0, 657, 31, 657, 17, 48]]
5
18
import sys import numpy as np read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines sys.setrecursionlimit(10 ** 8) INF = float('inf') MOD = 10 ** 9 + 7 def main(): R = int(readline()) ans = R * np.pi print(ans) if __name__ == '__main__': main()
import sys import numpy as np read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines sys.setrecursionlimit(10 ** 8) INF = float('inf') MOD = 10 ** 9 + 7 def main(): R = int(readline()) ans = 2 * R * np.pi print(ans) if __name__ == '__main__': main()
[["+", 0, 1, 0, 662, 12, 657, 31, 657, 31, 612], ["+", 0, 1, 0, 662, 12, 657, 31, 657, 17, 48]]
5
90
#include <cmath> #include <iomanip> #include <iostream> using namespace std; int main() { double N; cin >> N; cout << setprecision(15) << N * M_PI << endl; return 0; }
#include <cmath> #include <iomanip> #include <iostream> using namespace std; int main() { double N; cin >> N; cout << setprecision(15) << 2 * N * M_PI << endl; return 0; }
[["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 17, 48]]
1
39
def enq(a,x) b = a[i=-1] until b.frozen? return a << x if x >= (a=b)[-1] return a.unshift x if x <= a[0] b = a[i = a.bsearch_index{|y| x < (y.frozen? ? y: y[0])}-1] end if b && b=a return a.insert i+1, x unless a[i+9] i>0 ? a[i]=[b,x] : enq(a[i+=1].to_a,x) rescue a[i]=[x,a[i]] end def deq(a) ...
def enq(a,x) b = a[i=-1] until b.frozen? return a << x if x >= (a=b)[-1] return a.unshift x if x <= a[0] b = a[i = a.bsearch_index{|y| x < (y.frozen? ? y: y[0])}-1] end if b && b=a return a.insert i+1, x unless a[i+9] i>0 ? a[i]=[b,x] : enq(a[i+=1].to_a,x) rescue a[i]=[x,a[i]] end def deq(a) ...
[["-", 0, 662, 12, 738, 31, 739, 0, 738, 17, 151], ["-", 0, 662, 12, 738, 31, 739, 0, 738, 12, 743], ["-", 0, 42, 0, 662, 12, 738, 31, 739, 0, 25], ["-", 0, 493, 0, 42, 0, 662, 12, 738, 17, 72], ["-", 0, 493, 0, 42, 0, 662, 12, 738, 12, 22], ["-", 36, 36, 0, 493, 0, 42, 0, 662, 31, 22], ["-", 36, 36, 0, 493, 0, 42, 0, ...
4
432
#include <bits/stdc++.h> using namespace std; #define FOR(i, l, r) for (long long i = (l); i < (r); ++i) #define REP(i, n) FOR(i, 0, n) #define int long long #define mp make_pair #define pb push_back #define eb emplace_back #define _GLIBCXX_DEBUG const int INF = 1e18; const int MAX_V = 50; const int MAX_S = 50 * MAX_V ...
#include <bits/stdc++.h> using namespace std; #define FOR(i, l, r) for (long long i = (l); i < (r); ++i) #define REP(i, n) FOR(i, 0, n) #define int long long #define mp make_pair #define pb push_back #define eb emplace_back #define _GLIBCXX_DEBUG const int INF = 1e18; const int MAX_V = 50; const int MAX_S = 50 * MAX_V ...
[["+", 0, 30, 0, 43, 49, 80, 81, 16, 17, 72], ["+", 0, 30, 0, 43, 49, 80, 81, 16, 12, 13], ["+", 28, 69, 28, 2, 3, 4, 0, 16, 17, 72], ["+", 28, 69, 28, 2, 3, 4, 0, 16, 12, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 72], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 25, 0, 35]]
1
572
#include <algorithm> #include <cmath> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <tuple> #include <vector> #define MOD 1000000007 #define INF 1001001001 #define MIN -1001001001 #define rep(i, k, N) for (int i = k; i < N; i++) #defin...
#include <algorithm> #include <cmath> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <tuple> #include <vector> #define MOD 1000000007 #define INF 1e15 #define MIN -1001001001 #define rep(i, k, N) for (int i = k; i < N; i++) #define MP m...
[["-", 36, 36, 36, 36, 0, 30, 0, 58, 51, 59], ["+", 36, 36, 36, 36, 0, 30, 0, 58, 51, 59]]
1
636
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<long long, long long> P; struct edge { long long to, cost; }; const int inf = 1 << 27; const long long INF = 1LL << 60; const int COMBMAX = 1001001; const long long MOD = 1000000007; #define rep(i, n) for (int i = 0; i < (n); ++i) #defin...
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<long long, long long> P; struct edge { long long to, cost; }; const int inf = 1 << 27; const long long INF = 1LL << 60; const int COMBMAX = 1001001; const long long MOD = 1000000007; #define rep(i, n) for (int i = 0; i < (n); ++i) #defin...
[["-", 0, 30, 0, 43, 49, 50, 51, 4, 0, 13], ["+", 0, 30, 0, 43, 49, 50, 51, 4, 0, 13], ["-", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13]]
1
1,542
#include "bits/stdc++.h" using namespace std; typedef long long ll; typedef unsigned long long ull; ull B = 100000007; ll mod = 1000000007; struct P { int to; int t; int c; }; struct L { int id; int s; int dis; bool operator<(const L &b) const { return b.dis < dis; } }; int dp[55][2600]; int main() { m...
#include "bits/stdc++.h" using namespace std; typedef long long ll; typedef unsigned long long ull; ull B = 100000007; ll mod = 1000000007; struct P { int to; int t; int c; }; struct L { int id; int s; ll dis; bool operator<(const L &b) const { return b.dis < dis; } }; ll dp[55][2600]; int main() { mem...
[["-", 0, 30, 0, 122, 8, 123, 0, 124, 39, 40], ["+", 0, 30, 0, 122, 8, 123, 0, 124, 39, 78], ["-", 36, 36, 36, 36, 0, 30, 0, 43, 39, 40], ["+", 36, 36, 36, 36, 0, 30, 0, 43, 39, 78], ["-", 8, 9, 0, 7, 8, 9, 0, 43, 39, 40], ["+", 8, 9, 0, 7, 8, 9, 0, 43, 39, 78], ["-", 0, 7, 8, 9, 0, 43, 49, 50, 51, 22], ["+", 0, 7, 8, ...
1
591
#include <algorithm> #include <cmath> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <vector> using namespace std; typedef long long ll; typedef pair<ll, ll> P; typedef pair<ll, P> P1; typedef pair<P, P> P2; #define pu push #define pb pu...
#include <algorithm> #include <cmath> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <vector> using namespace std; typedef long long ll; typedef pair<ll, ll> P; typedef pair<ll, P> P1; typedef pair<P, P> P2; #define pu push #define pb pu...
[["-", 0, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 0, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]]
1
620
import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines from heapq import heappush, heappop N,M,S = map(int,readline().split()) ABC = [list(map(int,readline().split())) for _ in range(M)] m = map(int,read().split()) CD = list(zip(m,m)) graph = [[] for _ in ...
import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines from heapq import heappush, heappop N,M,S = map(int,readline().split()) ABC = [list(map(int,readline().split())) for _ in range(M)] m = map(int,read().split()) CD = list(zip(m,m)) graph = [[] for _ in ...
[["-", 8, 196, 0, 1, 0, 662, 12, 657, 12, 22], ["+", 8, 196, 0, 1, 0, 662, 12, 657, 12, 22], ["-", 0, 7, 12, 652, 3, 4, 0, 657, 31, 22], ["-", 0, 7, 12, 652, 3, 4, 0, 657, 17, 33], ["+", 0, 656, 0, 7, 12, 652, 3, 4, 0, 21], ["+", 0, 656, 0, 7, 12, 652, 3, 4, 0, 22]]
5
470
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (ll i = 0; i < (n); ++i) #define F first #define S second using ll = long long; using P = pair<ll, ll>; using PP = pair<ll, P>; class S { public: ll cur; ll s; ll t; S(ll c_, ll s_, ll t_) : cur(c_), s(s_), t(t_) {} bool operator<(const ...
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (ll i = 0; i < (n); ++i) #define F first #define S second using ll = long long; using P = pair<ll, ll>; using PP = pair<ll, P>; class S { public: ll cur; ll s; ll t; S(ll c_, ll s_, ll t_) : cur(c_), s(s_), t(t_) {} bool operator<(const ...
[["-", 8, 9, 0, 43, 49, 50, 51, 16, 31, 13], ["-", 8, 9, 0, 43, 49, 50, 51, 16, 17, 151], ["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13]]
1
632
#include <bits/stdc++.h> using namespace std; #define ALL(x) x.begin(), x.end() #define RALL(x) x.rbegin(), x.rend() #define MP make_pair #define PB push_back #define X first #define Y second typedef long long int lld; typedef pair<int, int> pii; typedef pair<lld, lld> pll; const int maxn = 55; const int maxv = 250...
#include <bits/stdc++.h> using namespace std; #define ALL(x) x.begin(), x.end() #define RALL(x) x.rbegin(), x.rend() #define MP make_pair #define PB push_back #define X first #define Y second typedef long long int lld; typedef pair<int, int> pii; typedef pair<lld, lld> pll; const int maxn = 55; const int maxv = 250...
[["-", 0, 77, 39, 344, 3, 347, 0, 77, 39, 40], ["+", 3, 347, 0, 346, 3, 347, 0, 77, 39, 78], ["+", 0, 77, 39, 344, 3, 347, 0, 77, 39, 78]]
1
561