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
a = int(input()) print(a*3.14159265359)
a = int(input()) print(2*a*3.14159265359)
[["+", 0, 652, 3, 4, 0, 657, 31, 657, 31, 612], ["+", 0, 652, 3, 4, 0, 657, 31, 657, 17, 48]]
5
14
#include <bits/stdc++.h> #define int long long int #define endl '\n' using namespace std; void solve() { long double r; cin >> r; cout << 2 * acos(-1) * r << endl; } signed main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); return 0; }
#include <bits/stdc++.h> #define int long long int #define endl '\n' using namespace std; void solve() { long double r; cin >> r; cout << 2 * acos(-1) * r << endl; } signed main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); solve(); return 0; }
[["+", 0, 14, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]]
1
69
#include <bits/stdc++.h> using namespace std; const int twopi = 6.28318530717958623200; int main() { int n; cin >> n; cout << twopi * n; }
#include <bits/stdc++.h> using namespace std; const double twopi = 6.28318530717958623200; int main() { int n; cin >> n; cout << twopi * n; }
[["-", 36, 36, 36, 36, 0, 30, 0, 43, 39, 40], ["+", 36, 36, 36, 36, 0, 30, 0, 43, 39, 40]]
1
31
#include <cmath> #include <iostream> using namespace std; float area(int radius) { return M_PI * (radius * radius); } int main() { int n; cin >> n; cout << area(n); }
#include <cmath> #include <iostream> using namespace std; float area(int radius) { return M_PI * (radius * 2); } int main() { int n; cin >> n; cout << area(n); }
[["-", 0, 37, 0, 16, 12, 23, 0, 16, 12, 22], ["+", 0, 37, 0, 16, 12, 23, 0, 16, 12, 13]]
1
45
R = int(input()) pi = float('3.141592') print(R * pi)
R = int(input()) pi = float('3.141592') print(R * 2 * pi)
[["+", 0, 652, 3, 4, 0, 657, 31, 657, 12, 612], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 17, 48]]
5
22
import math n=input() def d(n): return math.pi*2*n print(d(n))
import math n=int(input()) def d (n): return math.pi*2*n print(d(n))
[["+", 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
28
import math n=int(input()) def func(n): return math.pi*n*2 print(n)
import math n=int(input()) def func(n): return math.pi*n*2 print(func(n))
[["+", 0, 1, 0, 652, 3, 4, 0, 652, 63, 22], ["+", 0, 652, 3, 4, 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 r; cin >> r; const int pi = 3.1416; cout << 2 * pi * r << endl; }
#include <iostream> using namespace std; int main() { float r; cin >> r; const float pi = 3.14159265358979323846264338327950288419716939937510582097494459230; // lol // that's ...
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13]]
1
35
int main(void) { int r; scanf("%d", &r); printf("%lf\n", r * r * 3.141592); }
int main(void) { int r; scanf("%d", &r); printf("%lf\n", r * 2 * 3.141592); }
[["-", 0, 2, 3, 4, 0, 16, 31, 16, 12, 22], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 12, 13]]
0
34
import numpy as np r = int(input()) return 2 * r * np.pi
import numpy as np r = int(input()) print(2 * r * np.pi)
[["-", 36, 36, 36, 36, 0, 656, 0, 37, 0, 38], ["+", 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, 25]]
5
20
import math print(2 * int(input()) + math.pi)
import math print(2 * int(input()) * math.pi)
[["-", 0, 1, 0, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 17, 48]]
5
17
#include <iostream> using namespace std; int main() { double r, ans; ans = (44 * r) / 7; cout << ans; return 0; }
#include <iostream> using namespace std; int main() { double r, ans; cin >> r; ans = (44 * r) / 7; 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
34
#include <iostream> #include <math.h> using namespace std; int main() { double R; cin >> R; double ans = R * R * M_PI; cout << ans << endl; }
#include <iostream> #include <math.h> using namespace std; int main() { double R; cin >> R; double ans = 2 * R * M_PI; cout << ans << endl; }
[["-", 0, 43, 49, 50, 51, 16, 31, 16, 31, 22], ["+", 0, 43, 49, 50, 51, 16, 31, 16, 31, 13]]
1
36
import math a = int(input()) b = a*math.pi print(b)
import math a = int(input()) b = 2*a*math.pi print(b)
[["+", 0, 1, 0, 662, 12, 657, 31, 657, 31, 612], ["+", 0, 1, 0, 662, 12, 657, 31, 657, 17, 48]]
5
21
R=int(input()) ans=R*3.14159 print(ans)
R=int(input()) ans=R*6.28318 print(ans)
[["-", 0, 656, 0, 1, 0, 662, 12, 657, 12, 531], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 12, 531]]
5
17
R=int,input() r=2*3.14159265358979*R print(r)
R=int(input()) r=2*3.14159265358979*R print(r)
[["-", 0, 656, 0, 1, 0, 662, 12, 432, 0, 21], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]]
5
18
#include <bits/stdc++.h> using namespace std; int main() { int r; cin >> r; double ans = 2 * acos(-1); cout << ans << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int r; cin >> r; double ans = 2 * r * acos(-1); cout << ans << endl; return 0; }
[["+", 0, 43, 49, 50, 51, 16, 31, 16, 12, 22], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 48]]
1
38
#include <iostream> using namespace std; int main() { cout.precision(20); long double pi = 3.1415926535, r; cout << 2 * r * pi << endl; }
#include <iostream> using namespace std; int main() { cout.precision(20); long double pi = 3.1415926535, r; cin >> r; cout << 2 * r * pi << 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
37
#include <bits/stdc++.h> using namespace std; #pragma GCC optimize("Ofast") #pragma GCC target("avx") #pragma GCC optimize("O3") #pragma GCC optimize("unroll-loops") #define all(x) (x).begin(), (x).end() #define rep(i, n) for (int(i) = 0; i < (n); i++) #define REP(i, m, n) for (int(i) = (m); (i) < (n); (i)++) #define M...
#include <bits/stdc++.h> using namespace std; #pragma GCC optimize("Ofast") #pragma GCC target("avx") #pragma GCC optimize("O3") #pragma GCC optimize("unroll-loops") #define all(x) (x).begin(), (x).end() #define rep(i, n) for (int(i) = 0; i < (n); i++) #define REP(i, m, n) for (int(i) = (m); (i) < (n); (i)++) #define M...
[["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 48], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13]]
1
318
#ifdef BODY + library { name: abc_a } int solve() { out(ld(a) * pi); return 0; } #endif // sub-BOF // laptop // author: Tqk //#define _AOJ_ #define _C_INPUT_ #pragma region template #pragma region basic #define IN_FILE "./in.txt" //#pragma GCC optimize ("O3") #pragma warning(disable : 4455 4244 4067 4068 ...
#ifdef BODY + library { name: abc_a } int solve() { out(2 * ld(a) * pi); return 0; } #endif // sub-BOF // laptop // author: Tqk //#define _AOJ_ #define _C_INPUT_ #pragma region template #pragma region basic #define IN_FILE "./in.txt" //#pragma GCC optimize ("O3") #pragma warning(disable : 4455 4244 4067 4...
[["+", 0, 2, 3, 4, 0, 16, 31, 16, 31, 13], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 17, 48]]
1
2,819
#include <bits/stdc++.h> using namespace std; int main() { int R; cin >> R; cout << 2 * R * 3 << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int R; cin >> R; cout << 2 * R * 3.14 << endl; }
[["-", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13]]
1
29
#include <bits/stdc++.h> using namespace std; #define int long long int32_t main() { ios::sync_with_stdio(false); cin.tie(0); cout << fixed << setprecision(10); double r; cin >> r; cout << 3.14 * r * r; return 0; }
#include <bits/stdc++.h> using namespace std; #define int long long int32_t main() { ios::sync_with_stdio(false); cin.tie(0); cout << fixed << setprecision(10); double r; cin >> r; cout << 3.14 * r * 2; return 0; }
[["-", 8, 9, 0, 1, 0, 16, 12, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 16, 12, 16, 12, 13]]
1
56
#include <algorithm> #include <bits/stdc++.h> #include <iomanip> #include <iostream> #include <limits.h> #include <string> using namespace std; int main() { int N, ans = 0; cin >> N; double answer = N * 3.141592; cout << answer << endl; return 0; }
#include <algorithm> #include <bits/stdc++.h> #include <iomanip> #include <iostream> #include <limits.h> #include <string> using namespace std; int main() { int N, ans = 0; cin >> N; double answer = N * 3.141592 * 2; cout << answer << endl; return 0; }
[["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 48], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]]
1
49
from sys import stdin n = int(stdin.readline().rstrip()) print(n*3.14159265)
from sys import stdin n = int(stdin.readline().rstrip()) print(n*2.0*3.14159265)
[["+", 0, 652, 3, 4, 0, 657, 31, 657, 12, 531], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 17, 48]]
5
24
r=input()#入力を受け取る ans = r*2*3.14 print(ans)
r=int(input())#入力を受け取る intで文字を数字に直してる ans = r*2*3.14 print(ans)
[["+", 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 r = int(input()) print(round(2*r*math.pi),6)
import math r = int(input()) print(round(2*r*math.pi,6))
[["-", 0, 652, 3, 4, 0, 652, 3, 4, 0, 25], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 25]]
5
25
#include <iostream> using namespace std; int main() { const float pi{3.1415}; int r; cin >> r; cout << r * pi; }
#include <iostream> using namespace std; int main() { const float pi{3.1415}; int 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
32
R = int(input()) import math print(2*R*math.py)
R = int(input()) import math print(2*R*math.pi)
[["-", 0, 652, 3, 4, 0, 657, 12, 319, 319, 22], ["+", 0, 652, 3, 4, 0, 657, 12, 319, 319, 22]]
5
20
#include <iostream> using namespace std; int main() { int R = 24; cin >> R; cout << R * 3.141592 << endl; }
#include <iostream> using namespace std; int main() { int R = 24; cin >> R; cout << R * 3.141592 * 2 << endl; }
[["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 48], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13]]
1
29
import math print(int(input()) * math.pi)
import math print(int(input()) * 2 * math.pi)
[["+", 0, 652, 3, 4, 0, 657, 31, 657, 12, 612], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 17, 48]]
5
15
#include <iostream> #include <math.h> using namespace std; int n; double ans; int main() { cin >> n; ans = n * M_PI; cout << ans << "\n"; }
#include <iostream> #include <math.h> using namespace std; int n; double ans; int main() { cin >> n; ans = n * M_PI * 2; cout << ans << "\n"; }
[["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 48], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]]
1
38
n = int(input()) print(str(2*math.pi*n))
import math n = int(input()) print(str(2*math.pi*n))
[["+", 36, 36, 36, 36, 0, 656, 0, 596, 0, 487], ["+", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22]]
5
21
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 R = Integer.valueOf(br.readLine()); System.out.printl...
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 R = Integer.valueOf(br.readLine()); System.out.printl...
[["+", 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; int main() { const double Pi = 3.14159265358979323846264338328; int R = 0; cin >> R; cout << R * Pi; }
#include <bits/stdc++.h> using namespace std; int main() { const double Pi = 3.14159265358979323846264338328; int R = 0; cin >> R; cout << R * 2 * Pi; }
[["+", 0, 1, 0, 16, 12, 16, 31, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 16, 12, 16, 17, 48]]
1
33
#include "bits/stdc++.h" using namespace std; double pi = 22 / 7; int main() { double r; cin >> r; cout << (2 * pi * r); return 0; }
// atCoder // #include "bits/stdc++.h" using namespace std; double pi = 3.141592653589793238; int main() { double r; cin >> r; cout << (2 * pi * r); return 0; }
[["-", 0, 30, 0, 43, 49, 50, 51, 16, 31, 13], ["-", 0, 30, 0, 43, 49, 50, 51, 16, 17, 85], ["-", 0, 30, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 36, 36, 0, 30, 0, 43, 49, 50, 51, 13]]
1
41
#include <cmath> #include <iostream> using namespace std; int main() { int a; cin >> a; cout << a * M_PI << std::endl; }
#include <cmath> #include <iostream> using namespace std; int main() { int a; cin >> a; cout << a * 2 * M_PI << std::endl; }
[["+", 0, 16, 31, 16, 12, 16, 31, 16, 12, 13], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 48]]
1
31
import math r = int(input()) ans = r * r * math.pi print(ans)
import math r = int(input()) ans = r * 2 * math.pi print(ans)
[["-", 0, 1, 0, 662, 12, 657, 31, 657, 12, 22], ["+", 0, 1, 0, 662, 12, 657, 31, 657, 12, 612]]
5
23
import math r=int(input()) cir = 2 * r * r * math.pi print(cir)
import math r=int(input()) cir = 2 * r * math.pi print(cir)
[["-", 0, 1, 0, 662, 12, 657, 31, 657, 12, 22], ["-", 0, 656, 0, 1, 0, 662, 12, 657, 17, 48]]
5
25
import math i = input() print(float(i)*math.pi)
import math i = input() print(float(i)*math.pi*2)
[["+", 0, 1, 0, 652, 3, 4, 0, 657, 17, 48], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 12, 612]]
5
18
#include <bits/stdc++.h> using namespace std; int main() { double p; double pi = 3.14; cin >> p; cout << p * pi << endl; }
#include <bits/stdc++.h> using namespace std; int main() { double p; double pi = 3.14; cin >> p; cout << p * 2.00 * pi << endl; }
[["+", 0, 16, 31, 16, 12, 16, 31, 16, 12, 13], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 48]]
1
32
<?php $s = intval(trim(fgets(STDION))); print($s * 2 * 3.14) ?>
<?php $s = intval(trim(fgets(STDIN))); print($s * 2 * 3.14) ?>
[["-", 0, 28, 0, 613, 3, 3, 0, 28, 0, 141], ["+", 0, 28, 0, 613, 3, 3, 0, 28, 0, 141]]
6
25
import math r=int(input()) print(r * math.pi)
import math r=int(input()) print(2*r * math.pi)
[["+", 0, 652, 3, 4, 0, 657, 31, 657, 31, 612], ["+", 0, 652, 3, 4, 0, 657, 31, 657, 17, 48]]
5
18
import math as ma RI = int(input()) L = 2*ma.pi*RI print(RI)
import math as ma RI = int(input()) L = 2*ma.pi*RI print(L)
[["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 22], ["+", 0, 656, 0, 1, 0, 652, 3, 4, 0, 22]]
5
25
#include <bits/stdc++.h> using namespace std; #define int long long signed main() { int r; cin >> r; double per = 2 * 3.146 * r; printf("%Ld\n", per); }
#include <bits/stdc++.h> using namespace std; #define int long long signed main() { int r; cin >> r; long double per = 6.28318530717958623200 * r; printf("%Lf\n", per); }
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 0, 43, 49, 50, 51, 16, 31, 16, 31, 13], ["-", 0, 43, 49, 50, 51, 16, 31, 16, 17, 48], ["-", 0, 43, 49, 50, 51, 16, 31, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 31, 13], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
41
#define _USE_MATH_DEFINES_ #include <cmath> #include <iostream> using namespace std; int main() { int r; cin >> r; int ans = r * 2 * M_PI; cout << ans << endl; return 0; }
#define _USE_MATH_DEFINES_ #include <cmath> #include <iostream> using namespace std; int main() { int r; cin >> r; double ans = r * 2 * M_PI; cout << ans << endl; return 0; }
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]]
1
41
#include <iostream> using namespace std; int main() { int R; std::cin >> R; std::cout << R * 3.141592 * R << endl; }
#include <iostream> using namespace std; int main() { int R; cin >> R; cout << 2 * 3.141592 * R << endl; }
[["-", 8, 9, 0, 1, 0, 16, 31, 343, 345, 348], ["-", 8, 9, 0, 1, 0, 16, 31, 343, 0, 349], ["-", 0, 1, 0, 16, 31, 16, 31, 343, 345, 348], ["-", 0, 1, 0, 16, 31, 16, 31, 343, 0, 349], ["-", 0, 16, 31, 16, 12, 16, 31, 16, 31, 22], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13]]
1
33
import math r = int(input()) l = 2*math.py*r print(l)
import math r = int(input()) l = 2*math.pi*r print(l)
[["-", 0, 662, 12, 657, 31, 657, 12, 319, 319, 22], ["+", 0, 662, 12, 657, 31, 657, 12, 319, 319, 22]]
5
23
#include <bits/stdc++.h> //#include"Templates/libraries.h" using namespace std; #define PI 3.14159265358979323 int main() { double a; cin >> a; printf("%lf", a * PI); }
#include <bits/stdc++.h> //#include"Templates/libraries.h" using namespace std; #define PI 3.14159265358979323 int main() { double a; cin >> a; printf("%lf", a * 2 * PI); }
[["+", 0, 2, 3, 4, 0, 16, 31, 16, 12, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 48]]
1
34
#include <math.h> #include <stdio.h> int main(void) { int R; scanf("%d", &R); double length = 2 * R * M_PI; printf("%d", length); return 0; }
#include <math.h> #include <stdio.h> int main(void) { int R; scanf("%d", &R); double length = 2 * R * M_PI; printf("%f", length); return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
45
#include <bits/stdc++.h> using namespace std; typedef long long LL; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define all(x) (x).begin(), (x).end() int main() { double r; cin >> r; cout << 3.1415 * r << endl; }
#include <bits/stdc++.h> using namespace std; typedef long long LL; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define all(x) (x).begin(), (x).end() int main() { double r; cin >> r; cout << 3.1415 * r * 2.0 << endl; }
[["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 48], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13]]
1
46
#include <iostream> #include <string> using namespace std; int main() { double r; cin >> r; cout << r * 3.1415926535; return 0; }
#include <iostream> #include <string> using namespace std; int main() { double r; cin >> r; cout << (r * 3.1415926535 * 2); return 0; }
[["+", 8, 9, 0, 1, 0, 16, 12, 23, 0, 24], ["+", 0, 1, 0, 16, 12, 23, 0, 16, 17, 48], ["+", 0, 1, 0, 16, 12, 23, 0, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 16, 12, 23, 0, 25]]
1
30
#include <algorithm> #include <bitset> #include <iomanip> #include <iostream> #include <map> #include <math.h> #include <queue> #include <stack> #include <time.h> #include <vector> using namespace std; typedef long long ll; typedef unsigned long long ull; typedef pair<ll, ll> P; #define pb push_back #define rep(i, a...
#include <algorithm> #include <bitset> #include <iomanip> #include <iostream> #include <map> #include <math.h> #include <queue> #include <stack> #include <time.h> #include <vector> using namespace std; typedef long long ll; typedef unsigned long long ull; typedef pair<ll, ll> P; #define pb push_back #define rep(i, a...
[["-", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13], ["+", 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
120
#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; cout << R * 3.14 << 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; cout << 2 * R * 3.14 << 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> using namespace std; int main() { int R; cin >> R; cout << R * R * 3.14 << endl; }
#include <iostream> using namespace std; int main() { int R; cin >> R; cout << R * 2 * 3.14 << endl; }
[["-", 0, 16, 31, 16, 12, 16, 31, 16, 12, 22], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 12, 13]]
1
29
#include <iostream> #include <string> int main(int argc, char *argv[]) { constexpr auto pi = 3.1415926535897932384626433; int N; std::cin >> N; std::cout << (N * pi); }
#include <iostream> #include <string> int main(int argc, char *argv[]) { constexpr auto pi = 3.1415926535897932384626433 * 2; int N; std::cin >> N; std::cout << (N * pi); }
[["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 48], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]]
1
43
public class Main { static void main(String[] a) { System.out.print(6.2831 * new java.util.Scanner(System.in).nextInt()); } }
class Main { public static void main(String[] a) { System.out.print(6.28 * new java.util.Scanner(System.in).nextInt()); } }
[["-", 36, 36, 0, 493, 0, 235, 0, 494, 0, 259], ["+", 0, 235, 8, 498, 0, 195, 0, 494, 0, 259], ["-", 0, 1, 0, 492, 3, 4, 0, 16, 31, 515], ["+", 0, 1, 0, 492, 3, 4, 0, 16, 31, 515]]
3
41
#include <bits/stdc++.h> using namespace std; typedef long long int ll; typedef pair<ll, ll> P; #define REP(i, n) for (ll i = 0LL; i < (ll)(n); i++) #define REPR(i, n) for (ll i = n - 1; i > 0LL; i--) #define FOR(i, n, m) for (ll i = n; i < (ll)(m); i++) #define PRINT(x) cout << x << endl #define ALL(v) v.begin(), v.e...
#include <bits/stdc++.h> using namespace std; typedef long long int ll; typedef pair<ll, ll> P; #define REP(i, n) for (ll i = 0LL; i < (ll)(n); i++) #define REPR(i, n) for (ll i = n - 1; i > 0LL; i--) #define FOR(i, n, m) for (ll i = n; i < (ll)(m); i++) #define PRINT(x) cout << x << endl #define ALL(v) v.begin(), v.e...
[["-", 3, 4, 0, 16, 12, 16, 31, 16, 31, 22], ["+", 3, 4, 0, 16, 12, 16, 31, 16, 31, 13]]
1
497
#include <stdio.h> int main(void) { double r; scanf("%f", &r); printf("%f\n", r * 3.1415 * 2); }
#include <stdio.h> int main(void) { float r; scanf("%f", &r); printf("%f\n", r * 3.1415 * 2); }
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]]
0
36
#include <bits/stdc++.h> #define rep(i, a, b) for (int i = a; i < (int)(b); ++i) using namespace std; vector<int> vec; int gcd(int x, int y) { return (x % y) ? gcd(y, x % y) : y; } int main(void) { double a; long long ans; ans = 0; cin >> a; cout << a * 3.1415; }
#include <bits/stdc++.h> #define rep(i, a, b) for (int i = a; i < (int)(b); ++i) using namespace std; vector<int> vec; int gcd(int x, int y) { return (x % y) ? gcd(y, x % y) : y; } int main(void) { double a; long long ans; ans = 0; cin >> a; cout << a * 3.14 * 2; }
[["-", 8, 9, 0, 1, 0, 16, 12, 16, 12, 13], ["+", 0, 1, 0, 16, 12, 16, 31, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 16, 12, 16, 17, 48], ["+", 8, 9, 0, 1, 0, 16, 12, 16, 12, 13]]
1
79
#include <math.h> #include <stdio.h> int main(void) { double R; scanf("%lf", &R); printf("%f", R * M_PI); return 0; }
#include <math.h> #include <stdio.h> int main(void) { double R; scanf("%lf", &R); printf("%f", 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]]
0
38
R=int.input() print(2*3.14159*R)
R=int(input()) print(2*3.14159*R)
[["-", 0, 1, 0, 662, 12, 652, 63, 319, 0, 131], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]]
5
15
import numpy as np print(np.pi*int(input()))
import numpy as np print(2*np.pi*int(input()))
[["+", 0, 652, 3, 4, 0, 657, 31, 657, 31, 612], ["+", 0, 652, 3, 4, 0, 657, 31, 657, 17, 48]]
5
17
#include <bits/stdc++.h> #define _GLIBCXX_DEBUG using namespace std; #define REP(i, m, n) for (int i = (int)(m); i < (int)(n); ++i) #define rep(i, n) REP(i, 0, n) #define square(x) pow(x 2.0) #define all(x) (x).begin(), (x).end() #define F first #define S second #define max_queue(x) priority_queue<x> #define min_queue(...
#include <bits/stdc++.h> #define _GLIBCXX_DEBUG using namespace std; #define REP(i, m, n) for (int i = (int)(m); i < (int)(n); ++i) #define rep(i, n) REP(i, 0, n) #define square(x) pow(x 2.0) #define all(x) (x).begin(), (x).end() #define F first #define S second #define max_queue(x) priority_queue<x> #define min_queue(...
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]]
1
200
import math r = int(input()) s = math.pi*r print(s)
import math r = int(input()) s = math.pi*r*2 print(s)
[["+", 0, 656, 0, 1, 0, 662, 12, 657, 17, 48], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 12, 612]]
5
21
R=int(input().split()) print(2*R*3.14)
R=int(input()) print(2*R*3.14)
[["-", 12, 652, 3, 4, 0, 652, 63, 319, 0, 131], ["-", 12, 652, 3, 4, 0, 652, 63, 319, 319, 22], ["-", 12, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25]]
5
20
#include <algorithm> #include <cmath> #include <cstdio> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <set> #include <string> #include <tuple> #include <utility> #include <vector> using namespace std; using ll = long long; const int INF = 1e9; int main() { double r; cin >> r; co...
#include <algorithm> #include <cmath> #include <cstdio> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <set> #include <string> #include <tuple> #include <utility> #include <vector> using namespace std; using ll = long long; const int INF = 1e9; int main() { double r; cin >> r; co...
[["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 48], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 12, 22]]
1
61
R = gets.chomp.to_i long = Math::PI circle_long = 2*R*long puts circle_long puts circle_long.class
R = gets.chomp.to_i long = Math::PI circle_long = 2*R*long puts circle_long
[["-", 36, 36, 36, 36, 0, 493, 0, 652, 735, 22], ["-", 0, 493, 0, 652, 3, 4, 0, 652, 486, 22], ["-", 0, 493, 0, 652, 3, 4, 0, 652, 17, 131], ["-", 0, 493, 0, 652, 3, 4, 0, 652, 735, 22]]
4
25
#include <bits/stdc++.h> using namespace std; int main() { int R; cin >> R; double P; P = 3.1415926535; cout << P * R << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int R; cin >> R; double P; P = 3.1415926535; cout << P * R * 2 << endl; }
[["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 48], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13]]
1
34
#include <iostream> using namespace std; int main() { const float pi = 3.141592653589793; int x; cin >> x; cout << pi * x << endl; return 0; }
#include <iostream> using namespace std; int main() { const float pi = 3.141592653589793; int x; cin >> x; cout << pi * x * 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
36
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; double ans; ans = (44 * n) / 7; cout << ans << endl; }
#include <bits/stdc++.h> using namespace std; int main() { double n; cin >> n; double ans; ans = (44 * n) / 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
38
package main import ( "fmt" "math" ) func main() { var r float64 fmt.Scan(&r) fmt.Println(2*math.Pi*r*r) }
package main import ( "fmt" "math" ) func main() { var r float64 fmt.Scan(&r) fmt.Println(2*math.Pi*r) }
[["-", 0, 1, 0, 2, 3, 4, 0, 16, 17, 48], ["-", 0, 1, 0, 2, 3, 4, 0, 16, 12, 22]]
7
48
import java.lang.Math; import java.util.*; class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); double i = sc.nextInt(); System.out.println(Math.round(i * 2 * Math.PI * 100) / 100); } }
import java.lang.Math; import java.util.*; class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); double i = sc.nextInt(); System.out.println(((double)Math.round(i * 2 * Math.PI * 100)) / 100); } }
[["+", 0, 492, 3, 4, 0, 16, 31, 23, 0, 24], ["+", 3, 4, 0, 16, 31, 23, 0, 74, 0, 24], ["+", 0, 16, 31, 23, 0, 74, 39, 511, 0, 512], ["+", 3, 4, 0, 16, 31, 23, 0, 74, 0, 25], ["+", 31, 23, 0, 74, 51, 492, 3, 4, 0, 25]]
3
74
import math as mt r = int(input()) R = r*mt.pi print(R)
import math as mt r = int(input()) R = 2*r*mt.pi print(R)
[["+", 0, 1, 0, 662, 12, 657, 31, 657, 31, 612], ["+", 0, 1, 0, 662, 12, 657, 31, 657, 17, 48]]
5
23
#include <stdio.h> int main(void) { int r = 0; scanf("%d", &r); printf("%d", r * 2 * 3.1415926535897932384626); }
#include <stdio.h> int main(void) { int r = 0; scanf("%d", &r); printf("%f", r * 2 * 3.14159265358979323846264338502); }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13]]
0
37
#include <bits/stdc++.h> using namespace std; int main() { float r; cin >> r; int a = 6.28318530717958623200; cout << fixed << setprecision(10); cout << a * r << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { float r; cin >> r; float a = 6.28318530717958623200; cout << fixed << setprecision(3); cout << a * r << endl; 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, 16, 12, 2, 3, 4, 0, 13], ["+", 0, 1, 0, 16, 12, 2, 3, 4, 0, 13]]
1
44
#include <bits/stdc++.h> #define pi 3.14156 using namespace std; int main() { float r; cin >> r; printf("%0.4f\n", pi * r * r); return 0; }
#include <bits/stdc++.h> #define pi 3.14156 using namespace std; int main() { float r; cin >> r; printf("%0.4f\n", 2 * pi * r); return 0; }
[["-", 0, 2, 3, 4, 0, 16, 31, 16, 31, 22], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 31, 13], ["-", 0, 2, 3, 4, 0, 16, 31, 16, 12, 22], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 12, 22]]
1
39
PI = 3.141 r = int(input()) print(PI*r)
PI = 3.141 r = int(input()) print(2*PI*r)
[["+", 0, 652, 3, 4, 0, 657, 31, 657, 31, 612], ["+", 0, 652, 3, 4, 0, 657, 31, 657, 17, 48]]
5
17
#include <iostream> using namespace std; int main() { double r; cin >> r; cout << r * 3.141592 << endl; }
#include <iostream> using namespace std; int main() { double r; cin >> r; cout << r * 3.141592 * 2; }
[["-", 0, 14, 8, 9, 0, 1, 0, 16, 17, 151], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 16, 12, 16, 17, 48], ["+", 8, 9, 0, 1, 0, 16, 12, 16, 12, 13]]
1
27
#include <iostream> using namespace std; int main() { int r, c; cin >> r; c = 2 * 3.14 * r; cout << c; }
#include <iostream> using namespace std; int main() { int r; float c; cin >> r; c = 2 * 3.14 * r; cout << c; return 0; }
[["-", 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], ["+", 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
33
#include <bits/stdc++.h> using namespace std; int main() { double R; const double pi = 3.14159265358979323846; cin >> R; cout << R * pi << endl; }
#include <bits/stdc++.h> using namespace std; int main() { double R; const double pi = 3.14159265358979323846; cin >> R; cout << 2 * R * pi << endl; }
[["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 17, 48]]
1
33
import math r = int(input()) area = math.pi * 2 * r print(r)
import math r = int(input()) area = math.pi * 2 * r print(area)
[["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 22], ["+", 0, 656, 0, 1, 0, 652, 3, 4, 0, 22]]
5
23
#include <bits/stdc++.h> using namespace std; int main() { int r; cin >> r; cout << 2 * 3.14; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int r; cin >> r; cout << 2 * r * 3.14; return 0; }
[["+", 0, 1, 0, 16, 12, 16, 31, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 16, 12, 16, 17, 48]]
1
28
#include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> int main(int argc, const char *argv[]) { int R; scanf("%d", &R); printf("%f", R * M_PI); return 0; }
#include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> int main(int argc, const char *argv[]) { int R; scanf("%d", &R); printf("%f", 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]]
0
50
#include <math.h> #include <stdio.h> int main(void) { int r; scanf("%d", &r); printf("%d\n", r * 2 * M_PI); }
#include <math.h> #include <stdio.h> int main(void) { int r; scanf("%d", &r); printf("%lf\n", r * 2 * M_PI); }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
38
#! /usr/bin/env python # -*- coding: utf-8 -*- def main(): r = input() s = 2*r*3.1415926 print (s) if __name__ == '__main__': main()
#! /usr/bin/env python # -*- coding: utf-8 -*- def main(): r = int(input()) s = 2*r*3.1415926 print (s) if __name__ == '__main__': main()
[["+", 8, 196, 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
33
#include <stdio.h> int main() { int k; scanf("%d", k); float p; p = 3.14 * 2 * k; printf("lf", p); return 0; }
#include <stdio.h> int main() { int k; scanf("%d", &k); float p; p = 2 * 3.14 * k; printf("%lf", p); return 0; }
[["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67], ["-", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13], ["-", 0, 1, 0, 11, 12, 16, 31, 16, 17, 48], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 48], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
43
import math x = (int(input()) * math.pi) print(x)
import math x = 2*(int(input()) * math.pi) print(x)
[["+", 0, 656, 0, 1, 0, 662, 12, 657, 31, 612], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 17, 48]]
5
20
r = int(input('')) print(2*r*math.pi)
import math r = int(input('')) print(2*r*math.pi)
[["+", 36, 36, 36, 36, 0, 656, 0, 596, 0, 487], ["+", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22]]
5
20
#include <math.h> #include <stdio.h> int main() { int n; scanf("%d", &n); printf("%f", n * n * M_PI); return 0; }
#include <math.h> #include <stdio.h> int main() { int n; scanf("%d", &n); printf("%f", 2 * n * M_PI); return 0; }
[["-", 0, 2, 3, 4, 0, 16, 31, 16, 31, 22], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 31, 13]]
0
39
#include <stdio.h> int main(void) { double pi = 3.14; int r, en; scanf("%d", &r); en = 2 * pi * r; printf("%f", en); return (0); }
#include <stdio.h> int main(void) { double en, pi = 3.14; int r; scanf("%d", &r); en = 2 * pi * r; printf("%f", en); return (0); }
[["+", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 21], ["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 21], ["-", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22]]
0
51
#include <bits/stdc++.h> using namespace std; int main() { int r; cin >> r; cout << r * 3.1415926535; }
#include <bits/stdc++.h> using namespace std; int main() { int r; cin >> r; cout << 2 * r * 3.141592; }
[["+", 0, 1, 0, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 16, 12, 16, 31, 16, 17, 48], ["-", 8, 9, 0, 1, 0, 16, 12, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 16, 12, 16, 12, 13]]
1
25
#include <bits/stdc++.h> using namespace std; int main() { double A, pi; cin >> A; pi = acos(-1.0); cout << A * pi << endl; }
#include <bits/stdc++.h> using namespace std; int main() { double A, pi; cin >> A; pi = acos(-1.0); 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
36
#include <algorithm> #include <iomanip> #include <iostream> #include <map> #include <math.h> #include <mutex> #include <string> #include <vector> //#include "test.h" //#include "SandBox/StopRangeAccess/StopRangeAccess.h" //#include "Data.h" using namespace std; typedef unsigned long ulong; typedef unsigned long lo...
#include <algorithm> #include <iomanip> #include <iostream> #include <map> #include <math.h> #include <mutex> #include <string> #include <vector> //#include "test.h" //#include "SandBox/StopRangeAccess/StopRangeAccess.h" //#include "Data.h" using namespace std; typedef unsigned long ulong; typedef unsigned long lo...
[["+", 8, 9, 0, 1, 0, 16, 12, 16, 17, 48], ["+", 8, 9, 0, 1, 0, 16, 12, 16, 12, 13]]
1
58
#include <iostream> using namespace std; int main() { constexpr double PI = 3.1415; double r; cin >> r; cout << r * PI; return 0; }
#include <iostream> using namespace std; int main() { constexpr double PI = 3.1415; double r; cin >> r; cout << 2 * r * PI; return 0; }
[["+", 0, 1, 0, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 16, 12, 16, 31, 16, 17, 48]]
1
34
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int r = in.nextInt(); in.close(); System.out.println(Math.PI * r * r); } }
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int r = in.nextInt(); in.close(); System.out.println(2 * Math.PI * r); } }
[["+", 0, 492, 3, 4, 0, 16, 31, 16, 31, 499], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 17, 48], ["-", 0, 492, 3, 4, 0, 16, 31, 16, 17, 48], ["-", 0, 492, 3, 4, 0, 16, 31, 16, 12, 22]]
3
65
r=int(input()) from math import pi print(r*r*pi)
r=int(input()) from math import pi print(2*r*pi)
[["-", 0, 652, 3, 4, 0, 657, 31, 657, 31, 22], ["+", 0, 652, 3, 4, 0, 657, 31, 657, 31, 612]]
5
20
#include <algorithm> #include <deque> #include <iomanip> #include <iostream> #include <map> #include <math.h> #include <queue> #include <set> #include <stack> #include <string> #include <vector> using namespace std; #define mod 1000000007 #define ten5 100005 #define ten52 200005 #define ten6 1000005 #define PI 3.14159...
#include <algorithm> #include <deque> #include <iomanip> #include <iostream> #include <map> #include <math.h> #include <queue> #include <set> #include <stack> #include <string> #include <vector> using namespace std; #define mod 1000000007 #define ten5 100005 #define ten52 200005 #define ten6 1000005 #define PI 3.14159...
[["-", 0, 1, 0, 16, 12, 16, 31, 16, 31, 22], ["+", 0, 1, 0, 16, 12, 16, 31, 16, 31, 13]]
1
163
import math def Main(): n = int(input()) print( n * math.pi ) if __name__ == "__main__": Main()
import math def Main(): n = int(input()) * 2 print( n * math.pi ) if __name__ == "__main__": Main()
[["+", 8, 196, 0, 1, 0, 662, 12, 657, 17, 48], ["+", 8, 196, 0, 1, 0, 662, 12, 657, 12, 612]]
5
33
#include <bits/stdc++.h> using namespace std; int main() { double r; double c; cin >> r; c = 22 * r; c /= 7; cout << fixed << setprecision(20) << c << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { double r; double c; cin >> r; c = 44 * r; c /= 7; cout << fixed << setprecision(20) << c << endl; return 0; }
[["-", 8, 9, 0, 1, 0, 11, 12, 16, 31, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 31, 13]]
1
48
#include <bits/stdc++.h> using namespace std; #define REP(i, n) for (ll i = 0; i < (ll)(n); i++) #define RNG(i, from, to) for (ll i = (from); i < (ll)(to); i++) #define gcd(i, j) __gcd((i), (j)) typedef long long ll; typedef pair<int, int> pii; typedef vector<ll> vecll; template <typename S, typename T> string to_strin...
#include <bits/stdc++.h> using namespace std; #define REP(i, n) for (ll i = 0; i < (ll)(n); i++) #define RNG(i, from, to) for (ll i = (from); i < (ll)(to); i++) #define gcd(i, j) __gcd((i), (j)) typedef long long ll; typedef pair<int, int> pii; typedef vector<ll> vecll; template <typename S, typename T> string to_strin...
[["+", 31, 16, 12, 16, 31, 16, 31, 74, 0, 24], ["+", 12, 16, 31, 16, 31, 74, 39, 77, 39, 40], ["+", 31, 16, 12, 16, 31, 16, 31, 74, 0, 25], ["-", 0, 16, 31, 16, 12, 16, 31, 16, 12, 22], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 12, 13]]
1
443