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 |
|---|---|---|---|---|
def resolve():
R = int(input())
print(R * 2 * math.pi)
resolve() | import math
def resolve():
R = int(input())
print(R * 2 * math.pi)
resolve() | [["+", 36, 36, 36, 36, 0, 656, 0, 596, 0, 487], ["+", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22]] | 5 | 26 |
from decimal import Decimal, getcontext
getcontext().prec = 99
def resolve():
R = int(input())
print(Decimal(R * 2 * math.pi))
resolve() | import math
from decimal import Decimal, getcontext
getcontext().prec = 99
def resolve():
R = int(input())
print(R * 2 * math.pi)
resolve() | [["+", 36, 36, 36, 36, 0, 656, 0, 596, 0, 487], ["+", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22], ["-", 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 | 42 |
import math
x = math.pi
a=input()
n = int(a)
print(n*x)
| import math
x = math.pi
a=input()
n = int(a)
print(2*n*x) | [["+", 0, 652, 3, 4, 0, 657, 31, 657, 31, 612], ["+", 0, 652, 3, 4, 0, 657, 31, 657, 17, 48]] | 5 | 24 |
#include <bits/stdc++.h>
using namespace std;
double pi = 3.141592653589793;
int main() {
int n;
cin >> n;
cout << fixed << setprecision(20) << 2.0 * pi;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
double pi = 3.141592653589793;
int main() {
int n;
cin >> n;
cout << fixed << setprecision(20) << 2 * n * pi;
return 0;
} | [["-", 8, 9, 0, 1, 0, 16, 12, 16, 31, 13], ["+", 0, 1, 0, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 16, 12, 16, 31, 16, 17, 48], ["+", 0, 1, 0, 16, 12, 16, 31, 16, 12, 22]] | 1 | 40 |
#include <bits/stdc++.h>
#define PI 3.141592653589793238
typedef long long ll;
using namespace std;
int main() {
ll r;
cout << 2 * PI * r << endl;
} | #include <bits/stdc++.h>
#define PI 3.141592653589793238
typedef long long ll;
using namespace std;
int main() {
ll r;
cin >> r;
cout << 2 * PI * r << 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 | 33 |
#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)... | [["-", 0, 16, 31, 16, 12, 16, 31, 16, 31, 22], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13]] | 1 | 160 |
r = gets.to_i
p 2 * r * Math::P | r = gets.to_i
p 2 * r * Math::PI | [["-", 0, 652, 3, 4, 0, 738, 12, 760, 141, 743], ["+", 0, 652, 3, 4, 0, 738, 12, 760, 141, 743]] | 4 | 13 |
#include <bits/stdc++.h>
using namespace std;
int main(void) {
int r;
scanf("%f", &r);
printf("%f\n", 2 * r * M_PI);
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main(void) {
double r;
scanf("%lf", &r);
printf("%lf\n", 2 * r * M_PI);
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, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 43 |
#include <bits/stdc++.h>
using namespace std;
int main() {
double R;
cin >> R;
cout << setprecision(5) << 2 * acos(-1) * R << "/n";
} | #include <bits/stdc++.h>
using namespace std;
int main() {
double R;
cin >> R;
cout << setprecision(5) << 2 * acos(-1) * R << "\n";
}
| [["-", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 44]] | 1 | 39 |
#include "bits/stdc++.h"
using namespace std;
typedef long long ll;
int main() {
ll r;
cin >> r;
cout << std::setprecision(9) << r * r * 3.1415926535 << endl;
return 0;
}
| #include "bits/stdc++.h"
using namespace std;
typedef long long ll;
int main() {
ll r;
cin >> r;
cout << std::setprecision(9) << 2 * r * 3.1415926535 << endl;
return 0;
} | [["-", 0, 16, 31, 16, 12, 16, 31, 16, 31, 22], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13]] | 1 | 46 |
import math
r = int(input())
def cir(r):
return math.pi*r**2
print(cir(r)) | import math
r = int(input())
def cir(r):
return 2*math.pi*r
print(cir(r)) | [["+", 8, 196, 0, 37, 0, 657, 31, 657, 31, 612], ["+", 8, 196, 0, 37, 0, 657, 31, 657, 17, 48], ["-", 8, 196, 0, 37, 0, 657, 12, 657, 17, 578], ["-", 8, 196, 0, 37, 0, 657, 12, 657, 12, 612]] | 5 | 31 |
#include <algorithm>
#include <bits/stdc++.h>
#include <cstring>
#include <iostream>
#include <string>
using namespace std;
const double PI = 3.14159265358979323846;
int main() {
double r;
cin >> r;
cout << setprecision(10) << fixed << 2 * PI << endl;
return 0;
}
| #include <algorithm>
#include <bits/stdc++.h>
#include <cstring>
#include <iostream>
#include <string>
using namespace std;
const double PI = 3.14159265358979323846;
int main() {
double r;
cin >> r;
cout << setprecision(10) << fixed << 2 * r * PI << endl;
return 0;
}
| [["+", 0, 16, 31, 16, 12, 16, 31, 16, 12, 22], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 48]] | 1 | 51 |
import math
x = int(input())
ans = x*math.pi
print(ans) | import math
x = int(input())
ans = x*2*math.pi
print(ans) | [["+", 0, 1, 0, 662, 12, 657, 31, 657, 12, 612], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 17, 48]] | 5 | 21 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int R;
cin >> R;
const double PI = 3.14159265358979323846;
cout << R * PI << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int R;
cin >> R;
const double PI = 3.14159265358979323846;
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 |
r = gets.chomp.to_i
puts r * Math::PI
#p r
| r = gets.chomp.to_i
puts 2 * r * Math::PI
#p r
| [["+", 0, 652, 3, 4, 0, 738, 31, 738, 31, 612], ["+", 0, 652, 3, 4, 0, 738, 31, 738, 17, 48]] | 4 | 14 |
# -*- coding: utf-8 -*-
# 整数の入力
a = int(input())
# 出力
print(a*a*3.14) | # -*- coding: utf-8 -*-
# 整数の入力
a = int(input())
# 出力
print(a*2*3.14) | [["-", 0, 652, 3, 4, 0, 657, 31, 657, 12, 22], ["+", 0, 652, 3, 4, 0, 657, 31, 657, 12, 612]] | 5 | 19 |
print(2*int(input()*3.141592653589)) | print(2*int(input())*3.141592653589) | [["+", 0, 657, 31, 657, 12, 652, 3, 4, 0, 25], ["-", 3, 4, 0, 657, 12, 652, 3, 4, 0, 25]] | 5 | 13 |
#include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < n; i++)
#define REP1(i, n) for (int i = 1; i < n + 1; i++)
#define REPR(i, n) for (int i = n; i >= 0; i--)
#define FOR(i, m, n) for (int i = m; i < n; i++)
#define INF 2e9
#define ALL(v) v.begin(), v.end()
#define SZ(x) ((int)(x).size())
#define ARRAY_LENGT... | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < n; i++)
#define REP1(i, n) for (int i = 1; i < n + 1; i++)
#define REPR(i, n) for (int i = n; i >= 0; i--)
#define FOR(i, m, n) for (int i = m; i < n; i++)
#define INF 2e9
#define ALL(v) v.begin(), v.end()
#define SZ(x) ((int)(x).size())
#define ARRAY_LENGT... | [["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 17, 48]] | 1 | 195 |
def getLapLen(radius):
return radius*radius*3.141592
param = int(input())
print(getLapLen(param)) | def getLapLen(radius):
return 2*radius*3.141592
param = int(input())
print(getLapLen(param)) | [["-", 8, 196, 0, 37, 0, 657, 31, 657, 31, 22], ["+", 8, 196, 0, 37, 0, 657, 31, 657, 31, 612]] | 5 | 27 |
import sys
import math
sys.setrecursionlimit(1000000)
def solve(N):
return N * math.pi
if __name__ == "__main__":
N = int(input())
print(solve(N))
| import sys
import math
sys.setrecursionlimit(1000000)
def solve(N):
return 2 * N * math.pi
if __name__ == "__main__":
N = int(input())
print(solve(N))
| [["+", 8, 196, 0, 37, 0, 657, 31, 657, 31, 612], ["+", 8, 196, 0, 37, 0, 657, 31, 657, 17, 48]] | 5 | 44 |
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(r * r * Math.PI);
}
}
| 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(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 <cmath>
#include <cstdio>
#include <iostream>
#include <string>
using namespace std;
int main() {
float a;
cin >> a;
printf("%.20f", a * 3.141592653589793238);
} | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <string>
using namespace std;
int main() {
float a;
cin >> a;
printf("%.20f", a * 3.141592653589793238 * 2);
} | [["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 48], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13]] | 1 | 38 |
package main
import (
"fmt"
"math"
)
func main() {
var r float64
fmt.Scanf("%d", &r)
fmt.Print(r * 2 * math.Pi)
}
| package main
import (
"fmt"
"math"
)
func main() {
var r float64
fmt.Scanf("%f", &r)
fmt.Print(r * 2 * math.Pi)
}
| [] | 7 | 51 |
#include <iostream>
#include <string>
using namespace std;
#define PI 3.14
int main() {
int N;
float S;
cin >> N;
S = N * PI;
cout << S << endl;
} | #include <iostream>
#include <string>
using namespace std;
#define PI 3.14
int main() {
int N;
float S;
cin >> N;
S = 2 * N * PI;
cout << S << endl;
} | [["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 17, 48]] | 1 | 39 |
#include <cmath>
#include <iostream>
// #include <numbers>
using namespace std;
using ll = long long;
int main() {
int r;
cin >> r;
double ans = r * M_PI;
cout << ans << endl;
return 0;
} | #include <cmath>
#include <iostream>
// #include <numbers>
using namespace std;
using ll = long long;
int main() {
int r;
cin >> r;
double ans = 2 * r * M_PI;
cout << ans << endl;
return 0;
} | [["+", 0, 43, 49, 50, 51, 16, 31, 16, 31, 13], ["+", 0, 43, 49, 50, 51, 16, 31, 16, 17, 48]] | 1 | 44 |
r = input()
print(2*int(r)*math.pi) | import math
r = input()
print(2*int(r)*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 <algorithm>
#include <iostream>
#include <math.h>
#include <sstream>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <string>
#include <vector>
using namespace std;
int main() {
double r;
cin >> r;
cout << double(r * M_PI) << endl;
} | #include <algorithm>
#include <iostream>
#include <math.h>
#include <sstream>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <string>
#include <vector>
using namespace std;
int main() {
double r;
cin >> r;
cout << double(2.0 * r * M_PI) << endl;
} | [["+", 12, 2, 3, 4, 0, 16, 31, 16, 31, 13], ["+", 12, 2, 3, 4, 0, 16, 31, 16, 17, 48]] | 1 | 46 |
#include <bits/stdc++.h>
using namespace std;
#define all(v) v.begin(), v.end()
using in = int64_t;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define REP(i, a, b) for (int i = (int)(a); i < (int)(b); i++)
#define Yes cout << "Yes" << endl
#define No cout << "No" << endl
#define yes cout << "yes" << endl
#def... | #include <bits/stdc++.h>
using namespace std;
#define all(v) v.begin(), v.end()
using in = int64_t;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define REP(i, a, b) for (int i = (int)(a); i < (int)(b); i++)
#define Yes cout << "Yes" << endl
#define No cout << "No" << endl
#define yes cout << "yes" << endl
#def... | [["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 48], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13]] | 1 | 143 |
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
using namespace std;
#define F first
#define S second
#define eb emplace_back
#define PI 3.14159265
#define sz(c) (int)c.size()
#define len(c) (int)c.length()
#define hcf(a, b) __gcd(a, b)
#define all(c) c.begin(), c.end()
#d... | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
using namespace std;
#define F first
#define S second
#define eb emplace_back
#define PI 3.14159265
#define sz(c) (int)c.size()
#define len(c) (int)c.length()
#define hcf(a, b) __gcd(a, b)
#define all(c) c.begin(), c.end()
#d... | [["-", 8, 9, 0, 1, 0, 16, 31, 16, 17, 151], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 48]] | 1 | 191 |
user = int(input("radius:"))
print(user * 6.28) | user = int(input(""))
print(user * 6.28) | [["-", 3, 4, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 17 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long int;
#define rep(i, n) for (int i = 0; i < (int)(n); ++i)
#define all(v) v.begin(), v.end()
int main() {
ios::sync_with_stdio(false);
cin.tie(0), cout.tie(0);
int n;
cin >> n;
cout << fixed << setprecision(5) << 3.1415 * n << endl;
} | #include <bits/stdc++.h>
using namespace std;
using ll = long long int;
#define rep(i, n) for (int i = 0; i < (int)(n); ++i)
#define all(v) v.begin(), v.end()
int main() {
ios::sync_with_stdio(false);
cin.tie(0), cout.tie(0);
int n;
cin >> n;
cout << fixed << setprecision(5) << 6.2831 * n << endl;
}
| [["-", 0, 1, 0, 16, 31, 16, 12, 16, 31, 13], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 31, 13]] | 1 | 76 |
// C
#include <cassert>
#include <ccomplex>
#include <cctype>
#include <cerrno>
#include <cfenv>
#include <cfloat>
#include <cinttypes>
#include <ciso646>
#include <climits>
#include <clocale>
#include <cmath>
#include <csetjmp>
#include <csignal>
#include <cstdalign>
#include <cstdarg>
#include <cstdbool>
#include <cs... | // C
#include <cassert>
#include <ccomplex>
#include <cctype>
#include <cerrno>
#include <cfenv>
#include <cfloat>
#include <cinttypes>
#include <ciso646>
#include <climits>
#include <clocale>
#include <cmath>
#include <csetjmp>
#include <csignal>
#include <cstdalign>
#include <cstdarg>
#include <cstdbool>
#include <cs... | [["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 17, 48]] | 1 | 398 |
#include <algorithm>
#include <cmath>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
cout << M_PI * r * r << endl;
return 0;
}
| #include <algorithm>
#include <cmath>
#include <iostream>
using namespace std;
int main() {
double r;
cin >> r;
cout << 2 * M_PI * r << endl;
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 | 36 |
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
#define fi first
#define se second
#define mp make_pair
#define pb push_back
#define fbo find_by_order
#define ook order_of_key
#define M_PI 3.14159265358979323846 /... | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
#define fi first
#define se second
#define mp make_pair
#define pb push_back
#define fbo find_by_order
#define ook order_of_key
#define M_PI 3.14159265358979323846 /... | [["-", 0, 43, 49, 50, 51, 16, 31, 16, 31, 22], ["+", 0, 43, 49, 50, 51, 16, 31, 16, 31, 13], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 128 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int R;
cin >> R;
double ans;
ans = R * 3.1415926535;
cout << ans << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int R;
cin >> R;
double ans;
ans = R * 3.1415926535 * 2;
cout << ans << endl;
} | [["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 48], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 34 |
#define PI 3.14159265359
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 1; i < (n + 1); ++i)
using namespace std;
using ll = long long;
using p = pair<int, int>;
double r;
int main() {
cin >> r;
cout << 2 * PI;
return 0;
} | #define PI 3.14159265359
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 1; i < (n + 1); ++i)
using namespace std;
using ll = long long;
using p = pair<int, int>;
double r;
int main() {
cin >> r;
cout << r * 2 * PI;
return 0;
}
| [["+", 0, 1, 0, 16, 12, 16, 31, 16, 31, 22], ["+", 0, 1, 0, 16, 12, 16, 31, 16, 17, 48]] | 1 | 55 |
import macpath
R = int(input())
print(R*2*math.pi) | import math
R = int(input())
print(R*2*math.pi) | [["-", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22], ["+", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22]] | 5 | 20 |
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
import numpy as np
def main():
import math
R = int(read())
print(math.pi * (R ** 2))
return
if __name__ == '__main__':
main()
| import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
import numpy as np
def main():
import math
R = int(read())
print(math.pi * (R * 2))
return
if __name__ == '__main__':
main()
| [["-", 3, 4, 0, 657, 12, 23, 0, 657, 17, 578], ["+", 3, 4, 0, 657, 12, 23, 0, 657, 17, 48]] | 5 | 71 |
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int compare_int(const void *a, const void *b) {
return *(int *)a - *(int *)b;
// return *(long long*)a - *(long long*)b;
}
// qsort(A, b, sizeof(int), compare_int);
// long long factorial(long long n) {
// if (n > 0) {
// ... | #include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int compare_int(const void *a, const void *b) {
return *(int *)a - *(int *)b;
// return *(long long*)a - *(long long*)b;
}
// qsort(A, b, sizeof(int), compare_int);
// long long factorial(long long n) {
// if (n > 0) {
// ... | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 449 |
#include <bits/stdc++.h>
/*
#include<boost/multiprecision/cpp_int.hpp>
namespace mp=boost::multiprecision;
*/
using namespace std;
#define ll long long int
#define lo mp::cpp_int
#define pb push_back
#define pob pop_back
//#define mp make_pair
#define endl "\n"
#define ce(x) cout << x << "\n"
#define fill(s, v) memset(... | #include <bits/stdc++.h>
/*
#include<boost/multiprecision/cpp_int.hpp>
namespace mp=boost::multiprecision;
*/
using namespace std;
#define ll long long int
#define lo mp::cpp_int
#define pb push_back
#define pob pop_back
//#define mp make_pair
#define endl "\n"
#define ce(x) cout << x << "\n"
#define fill(s, v) memset(... | [["-", 0, 14, 8, 9, 0, 14, 49, 53, 49, 22], ["-", 8, 9, 0, 14, 49, 53, 54, 55, 0, 24], ["-", 0, 14, 49, 53, 54, 55, 0, 56, 39, 78], ["-", 8, 9, 0, 14, 49, 53, 54, 55, 0, 25], ["-", 0, 14, 8, 9, 0, 14, 8, 9, 0, 45], ["-", 0, 14, 8, 9, 0, 14, 8, 9, 0, 46]] | 1 | 1,332 |
// include,namespace
#include <bits/stdc++.h>
#include <iostream>
#include <queue>
#include <string>
#include <vector>
using namespace std;
// REPmacro
#define all(x) (x).begin(), (x).end() //ソート
#define FOR(i, x, n) for (int i = (x); i < (n); i++)
#define FOR_R(i, x, n) for (int i = (n - 1); i >= (x); i--)
#define REP... | // include,namespace
#include <bits/stdc++.h>
#include <iostream>
#include <queue>
#include <string>
#include <vector>
using namespace std;
// REPmacro
#define all(x) (x).begin(), (x).end() //ソート
#define FOR(i, x, n) for (int i = (x); i < (n); i++)
#define FOR_R(i, x, n) for (int i = (n - 1); i >= (x); i--)
#define REP... | [["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 17, 48]] | 1 | 268 |
#include <bits/stdc++.h>
using namespace std;
int main() {
double r;
cin >> r;
cout << r * (3.14) << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
double r;
cin >> r;
cout << r * (6.28) << endl;
}
| [["-", 0, 16, 31, 16, 12, 16, 12, 23, 0, 13], ["+", 0, 16, 31, 16, 12, 16, 12, 23, 0, 13]] | 1 | 29 |
# coding: utf-8
import math
def solve(*args: str) -> str:
r = int(args[0])
return str(2*math.pi()*r)
if __name__ == "__main__":
print(solve(*(open(0).read().splitlines())))
| # coding: utf-8
import math
def solve(*args: str) -> str:
r = int(args[0])
return str(2*math.pi*r)
if __name__ == "__main__":
print(solve(*(open(0).read().splitlines())))
| [["-", 0, 657, 31, 657, 12, 652, 3, 4, 0, 24], ["-", 0, 657, 31, 657, 12, 652, 3, 4, 0, 25]] | 5 | 64 |
#include <stdio.h>
int main(void) {
unsigned int r;
scanf("%d", &r);
printf("%f\n", r * 3.14);
return 0;
} | #include <stdio.h>
int main(void) {
int r;
scanf("%d", &r);
printf("%f\n", r * 3.14 * 2);
return 0;
} | [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 87], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 48], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13]] | 0 | 38 |
#include <iostream>
using namespace std;
int main() {
int r;
cin >> r;
int ans = 2 * 3.1415 * r;
cout << ans << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int r;
cin >> r;
double ans = 2 * 3.1415 * r;
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 | 37 |
n = int(input())
print(n*3.1415926535) |
n = int(input())
print(n*2*3.1415926535) | [["+", 0, 652, 3, 4, 0, 657, 31, 657, 12, 612], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 17, 48]] | 5 | 14 |
#include <bits/stdc++.h>
#define _GLIBCXX_DEBUG
using namespace std;
typedef long long ll;
int main() {
int a;
cin >> a;
cout << (double)a * 3.14 << setprecision(2);
}
| #include <bits/stdc++.h>
#define _GLIBCXX_DEBUG
using namespace std;
typedef long long ll;
int main() {
int a;
cin >> a;
cout << (double)a * 6.28 << setprecision(2);
}
| [["-", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13]] | 1 | 40 |
#include <bits/stdc++.h>
typedef long long ll;
typedef double ld;
using namespace std;
void solve() {
ll n;
cin >> n;
ld pie = 6.28318530717958623200;
pie /= 2;
pie *= 2;
cout << setprecision(10) << fixed << pie << endl;
}
int main() {
int t = 1;
// cin>>t;
while (t--) {
solve();
}
return 0;... |
#include <bits/stdc++.h>
typedef long long ll;
typedef double ld;
using namespace std;
void solve() {
ll n;
cin >> n;
ld pie = 6.28318530717958623200;
pie *= n;
cout << setprecision(10) << fixed << pie << endl;
}
int main() {
int t = 1;
// cin>>t;
while (t--) {
solve();
}
return 0;
} | [["-", 0, 14, 8, 9, 0, 1, 0, 11, 17, 90], ["-", 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, 12, 22]] | 1 | 80 |
#include <stdio.h>
int main() {
int R;
long double p = 0;
scanf("%d", &R);
p = R * 3.1415926535897932384626433832795028 * 2;
printf("%ld", p);
return 0;
} | #include <stdio.h>
int main() {
int R;
float p = 0;
scanf("%d", &R);
p = R * 3.1415926535897932384626433832795028 * 2;
printf("%f", p);
return 0;
} | [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 47 |
import math
R = int(input)
ans = math.pi*2*R
print(ans) | import math
R = int(input())
ans = math.pi*2*R
print(ans) | [["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 21 |
#include <bits/stdc++.h>
using namespace std;
int main() {
float r;
cin >> r;
cout << r * 3.14 << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
double r;
cin >> r;
cout << r * 6.28 << 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, 31, 16, 12, 16, 12, 13], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13]] | 1 | 30 |
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
cout << 3.1416 * n;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
// freopen(".in","r",stdin);
// freopen(".out","w",stdout);
int n;
cin >> n;
cout << 2 * 3.1416 * n;
return 0;
}
| [["+", 0, 1, 0, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 16, 12, 16, 31, 16, 17, 48]] | 1 | 28 |
r = int(input())
answer = r*2*3/1415926535
print(answer) | r = int(input())
answer = r*2*3.1415926535
print(answer)
| [["-", 0, 1, 0, 662, 12, 657, 31, 657, 12, 612], ["-", 0, 656, 0, 1, 0, 662, 12, 657, 17, 85], ["-", 0, 656, 0, 1, 0, 662, 12, 657, 12, 612], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 12, 531]] | 5 | 21 |
//#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define pp pair<int, int>
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)++)
#define ld long double
#define al(a) (a).begin(), (a).end()
#define mk make_pair
#define check cout << "?" << endl;
ll MOD = 1000000007;
ll mod = 9... | //#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define pp pair<int, int>
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)++)
#define ld long double
#define al(a) (a).begin(), (a).end()
#define mk make_pair
#define check cout << "?" << endl;
ll MOD = 1000000007;
ll mod = 9... | [["+", 0, 16, 31, 16, 12, 16, 31, 16, 12, 13], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 48]] | 1 | 82 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
double P;
P = 3.1415 * N;
cout << P;
}
|
#include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
double P = 0;
P = 2 * 3.14159 * N;
cout << P;
} | [["+", 0, 14, 8, 9, 0, 43, 49, 50, 0, 32], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 31, 13], ["+", 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]] | 1 | 32 |
#include <stdio.h>
int main() {
float r;
scanf("%f", &r);
printf("%f", 3.1415 * r);
return 0;
} | #include <stdio.h>
int main() {
float r;
scanf("%f", &r);
printf("%f", 3.1415 * 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 | 35 |
// https://codeforces.com/contest/1335/problem/
#include <bits/stdc++.h>
#define ll long long int
#define pll pair<ll, ll>
#define pii pair<int, int>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
double tpi = 6.28318530717958623200;
double x;
cin >> x;... | // https://codeforces.com/contest/1335/problem/
#include <bits/stdc++.h>
#define ll long long int
#define pll pair<ll, ll>
#define pii pair<int, int>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
double tpi = 6.28318530717958623200;
double x;
cin >> x;... | [["-", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22]] | 1 | 82 |
#include <bits/stdc++.h>
using namespace std;
int main(void) {
double R;
cin >> R;
cout << R * R * 3.141592653589 << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main(void) {
double R;
cin >> R;
cout << R * 2 * 3.141592653589 << endl;
return 0;
} | [["-", 0, 16, 31, 16, 12, 16, 31, 16, 12, 22], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 12, 13]] | 1 | 33 |
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <deque>
#include <iostream>
#include <numeric>
#include <queue>
#include <string>
#include <utility>
#include <vector>
using namespace std;
#define ALL(a) (a).begin(), (a).end()
#define REP(i, n) for (size_t i = 0; i < (n); i++)
#define nvec(T, v, n) ... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <deque>
#include <iostream>
#include <numeric>
#include <queue>
#include <string>
#include <utility>
#include <vector>
using namespace std;
#define ALL(a) (a).begin(), (a).end()
#define REP(i, n) for (size_t i = 0; i < (n); i++)
#define nvec(T, v, n) ... | [["-", 0, 1, 0, 16, 12, 16, 31, 16, 12, 22], ["+", 0, 1, 0, 16, 12, 16, 31, 16, 12, 13]] | 1 | 866 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); ++i)
#define rep2(i, s, n) for (int i = (s); i < (int)(n); i++)
int main() {
int a;
cin >> a;
double b = 3.141592;
cout << a * b << endl;
}
| #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); ++i)
#define rep2(i, s, n) for (int i = (s); i < (int)(n); i++)
int main() {
int a;
cin >> a;
double b = 3.141592;
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 | 50 |
import math
a = float(input())
pi = math.pi
api = a * pi
print (str(api)) | import math
a = float(input())
pi = math.pi
api = 2 * a * pi
print (str(api)) | [["+", 0, 1, 0, 662, 12, 657, 31, 657, 31, 612], ["+", 0, 1, 0, 662, 12, 657, 31, 657, 17, 48]] | 5 | 27 |
#include <bits/stdc++.h>
#define int long long
#define PI acos(-1)
using namespace std;
main() {
int n;
cin >> n;
double ans = 4 * PI * n;
printf("%0.12lf\n", ans);
}
| #include <bits/stdc++.h>
#define PI acos(-1)
using namespace std;
main() {
int n;
cin >> n;
double ans = 2 * PI * n;
printf("%0.12lf\n", ans);
}
| [["-", 36, 36, 36, 36, 0, 30, 0, 58, 141, 22], ["-", 36, 36, 36, 36, 0, 30, 0, 58, 51, 59], ["-", 36, 36, 36, 36, 0, 30, 0, 58, 0, 148], ["-", 0, 43, 49, 50, 51, 16, 31, 16, 31, 13], ["+", 0, 43, 49, 50, 51, 16, 31, 16, 31, 13]] | 1 | 43 |
r = gets.to_i
puts r * Math::PI | r = gets.to_i
puts 2 * r * Math::PI
| [["+", 0, 652, 3, 4, 0, 738, 31, 738, 31, 612], ["+", 0, 652, 3, 4, 0, 738, 31, 738, 17, 48]] | 4 | 11 |
#include <bits/stdc++.h>
//#include <boost/array.hpp>
//#include <boost/range/numeric.hpp>
//#include <boost/range/algorithm.hpp>
//#include <boost/multiprecision/cpp_int.hpp>
#pragma GCC optimize("Ofast")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
using namespace std;
// using name... | #include <bits/stdc++.h>
//#include <boost/array.hpp>
//#include <boost/range/numeric.hpp>
//#include <boost/range/algorithm.hpp>
//#include <boost/multiprecision/cpp_int.hpp>
#pragma GCC optimize("Ofast")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
using namespace std;
// using name... | [["-", 0, 16, 31, 16, 12, 16, 31, 16, 17, 85], ["-", 0, 16, 31, 16, 12, 16, 31, 16, 12, 22], ["-", 0, 1, 0, 16, 31, 16, 12, 16, 17, 85], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 17, 48], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 48], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 12, 22]] | 1 | 328 |
import java.util.Scanner;
public class Main {
public static void main(String[] arg) {
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
double a = 3.14159265358979;
System.out.println(n * a);
}
}
| import java.util.Scanner;
public class Main {
public static void main(String[] arg) {
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
double a = 3.14159265358979;
System.out.println(2 * n * a);
}
}
| [["+", 0, 492, 3, 4, 0, 16, 31, 16, 31, 499], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 17, 48]] | 3 | 60 |
import math
R = int(input())
print(math.pi*R) | import math
R = int(input())
print(math.pi*2*R) | [["+", 0, 652, 3, 4, 0, 657, 31, 657, 12, 612], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 17, 48]] | 5 | 18 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int x;
double pi = 3.14159;
cin >> x;
cout << (double)x * pi;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
double pi = 3.14159;
cin >> x;
cout << (double)x * pi * 2;
return 0;
} | [["+", 8, 9, 0, 1, 0, 16, 12, 16, 17, 48], ["+", 8, 9, 0, 1, 0, 16, 12, 16, 12, 13]] | 1 | 36 |
#include <iostream>
using namespace std;
int main() {
double R;
cin >> R;
double ans;
ans = R * 3.141592;
cout << ans;
} | #include <iostream>
using namespace std;
int main() {
double R;
cin >> R;
double ans;
ans = 2 * R * 3.141592;
cout << ans;
} | [["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 17, 48]] | 1 | 32 |
#include <bits/stdc++.h>
#define _GLIBCXX_DEBUG
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep2(i, s, n) for (int i = s; i < (int)(n); i++)
typedef long long ll;
typedef vector<vector<ll>> vvl;
typedef vector<ll> vl;
typedef vector<vector<char>> vvc;
typedef vector<char> vc;
typed... | #include <bits/stdc++.h>
#define _GLIBCXX_DEBUG
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep2(i, s, n) for (int i = s; i < (int)(n); i++)
typedef long long ll;
typedef vector<vector<ll>> vvl;
typedef vector<ll> vl;
typedef vector<vector<char>> vvc;
typedef vector<char> vc;
typed... | [["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 17, 48], ["-", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13]] | 1 | 196 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long double R, pie = 3.14159265358979;
cin >> R;
int l = 2 * R * pie;
cout << l << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long double R, pie = 3.14159265358979;
cin >> R;
long double l = 2 * R * pie;
cout << l << endl;
}
| [["-", 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]] | 1 | 39 |
#include <bits/stdc++.h>
#include <iomanip>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
double r;
cin >> r;
cout << r * 3.1415 << endl;
return 0;
} | #include <bits/stdc++.h>
#include <iomanip>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
double r;
cin >> r;
cout << 2 * r * 3.1415 << endl;
return 0;
}
| [["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 17, 48]] | 1 | 56 |
package main
import (
"fmt"
"math"
)
func main() {
var n float64
fmt.Scan(&n)
fmt.Println(n * n * math.Pi)
}
| package main
import (
"fmt"
"math"
)
func main() {
var n float64
fmt.Scan(&n)
fmt.Println(n * 2 * math.Pi)
}
| [["-", 0, 2, 3, 4, 0, 16, 31, 16, 12, 22], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 12, 433]] | 7 | 47 |
r = int(input())
print(math.pi * 2 * r) | import math
r = int(input())
print(math.pi * 2 * r) | [["+", 36, 36, 36, 36, 0, 656, 0, 596, 0, 487], ["+", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22]] | 5 | 18 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; ++i)
#define INF 100100100
using namespace std;
using ll = long long;
using P = pair<int, int>;
using Graph = vector<vector<int>>;
const double pi = acos(-1);
int main() {
double r;
double ans = 2 * pi * r;
cout << fixed << setprecision(10);
co... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; ++i)
#define INF 100100100
using namespace std;
using ll = long long;
using P = pair<int, int>;
using Graph = vector<vector<int>>;
const double pi = acos(-1);
int main() {
double r;
cin >> r;
double ans = 2 * pi * r;
cout << fixed << setprecisi... | [["+", 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 | 89 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
const double PI = 3.14159265358979323846;
int main() {
int r;
cin >> r;
int ans = 2 * PI * r;
printf("%.3f", ans);
} | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
const double PI = 3.14159265358979323846;
int main() {
int r;
cin >> r;
double ans = 2 * PI * r;
printf("%.3f", ans);
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 51 |
#include <bits/stdc++.h>
#define FOR(a, b, c) for (int a = (b); a < (c); ++a)
#define REP(i, n) FOR(i, 0, n)
#define ll long long
#define pii pair<int, int>
#define x first
#define y second
#define pb push_back
#define lf double
using namespace std;
const int MAX = (int)1e6 + 5;
int main() {
int n;
scanf("%d", ... | #include <bits/stdc++.h>
#define FOR(a, b, c) for (int a = (b); a < (c); ++a)
#define REP(i, n) FOR(i, 0, n)
#define ll long long
#define pii pair<int, int>
#define x first
#define y second
#define pb push_back
#define lf double
using namespace std;
const int MAX = (int)1e6 + 5;
int main() {
int n;
scanf("%d", ... | [["+", 0, 2, 3, 4, 0, 16, 31, 16, 31, 13], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 17, 48]] | 1 | 87 |
const Main = input => {
const R = Number(input);
const result = Math.PI * 2 * R;
console.log(result);
};
Main(require('fs').readFileSync('/div/stdin', 'utf8'));
| const Main = input => {
const R = Number(input);
const result = Math.PI * 2 * R;
console.log(result);
};
Main(require('fs').readFileSync('/dev/stdin', 'utf8'));
| [["-", 3, 3, 0, 2, 3, 3, 0, 557, 0, 491], ["+", 3, 3, 0, 2, 3, 3, 0, 557, 0, 491]] | 2 | 55 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int a;
cin >> a;
cout << 3.1415 * a * a << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a;
cin >> a;
cout << 3.1415926535 * 2 * a << endl;
} | [["-", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13], ["+", 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 |
import java.util.*;
class Main {
/**
* @param args
*/
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int R = sc.nextInt();
// int b = sc.nextInt();
// String s = sc.next();
// if ((a * b) % 2 == 0)
// System.out.println("... | import java.util.*;
class Main {
/**
* @param args
*/
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int R = sc.nextInt();
// int b = sc.nextInt();
// String s = sc.next();
// if ((a * b) % 2 == 0)
// System.out.println("... | [["+", 0, 492, 3, 4, 0, 16, 31, 16, 31, 499], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 17, 48]] | 3 | 63 |
#include <bits/stdc++.h>
using namespace std;
#define endl '\n'
#define ll long long
const ll mod = 1e9 + 7;
const ll maxn = 2e5 + 5;
const double pi =
3.1415926535897932384626433832795028841971693993751058209749445923078;
// iostream::sync_with_stdio(false);
int main() {
double r;
cin >> r;
printf("%.4l... | #include <bits/stdc++.h>
using namespace std;
#define endl '\n'
#define ll long long
const ll mod = 1e9 + 7;
const ll maxn = 2e5 + 5;
const double pi =
3.1415926535897932384626433832795028841971693993751058209749445923078;
// iostream::sync_with_stdio(false);
int main() {
double r;
cin >> r;
printf("%.4l... | [["-", 0, 2, 3, 4, 0, 16, 31, 16, 31, 22], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 31, 13]] | 1 | 64 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
cout << (n * acos(-1)) << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
cout << (2 * n * acos(-1)) << endl;
} | [["+", 31, 16, 12, 23, 0, 16, 31, 16, 31, 13], ["+", 31, 16, 12, 23, 0, 16, 31, 16, 17, 48]] | 1 | 32 |
#include <stdio.h>
#include <stdlib.h>
int max(int a, int b) { return a > b ? a : b; }
int min(int a, int b) { return a < b ? a : b; }
int main(void) {
int r;
scanf("%d", &r);
printf("%f", r * 3.1415);
} | #include <stdio.h>
#include <stdlib.h>
int max(int a, int b) { return a > b ? a : b; }
int min(int a, int b) { return a < b ? a : b; }
int main(void) {
int r;
scanf("%d", &r);
printf("%f", 2 * r * 3.1415);
}
| [["+", 0, 2, 3, 4, 0, 16, 31, 16, 31, 13], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 17, 48]] | 0 | 75 |
#pragma GCC optimize("O3")
#include <bits/stdc++.h>
#define ll long long
#define rep(i, n) for (ll i = 0; i < (n); i++)
#define pll pair<ll, ll>
#define pq priority_queue
#define pb push_back
#define eb emplace_back
#define fi first
#define se second
#define ios ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
#d... | #pragma GCC optimize("O3")
#include <bits/stdc++.h>
#define ll long long
#define rep(i, n) for (ll i = 0; i < (n); i++)
#define pll pair<ll, ll>
#define pq priority_queue
#define pb push_back
#define eb emplace_back
#define fi first
#define se second
#define ios ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
#d... | [["+", 0, 16, 31, 16, 12, 16, 31, 16, 12, 22], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 48]] | 1 | 174 |
#include <bits/stdc++.h>
#define M_PI 3.14159265358979323846
using namespace std;
signed main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
double r;
cin >> r;
cout << fixed << setprecision(12) << (2 * M_PI * r * r) << '\n';
return 0;
}
| #include <bits/stdc++.h>
#define M_PI 3.14159265358979323846
using namespace std;
signed main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
double r;
cin >> r;
cout << fixed << setprecision(12) << (2 * M_PI * r) << '\n';
return 0;
}
| [["-", 0, 16, 31, 16, 12, 23, 0, 16, 17, 48], ["-", 0, 16, 31, 16, 12, 23, 0, 16, 12, 22]] | 1 | 62 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) \
; \
for (int i = 0; i < (int)(n); i++)
#define all(x) (x).begin(), (x).end()
int main() {
int r;
cin >> r;
... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) \
; \
for (int i = 0; i < (int)(n); i++)
#define all(x) (x).begin(), (x).end()
int main() {
int r;
cin >> r;
... | [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 50 |
// C++ おまじない
#include <bits/stdc++.h>
using namespace std;
int main() {
// input
float a;
cin >> a;
// output
cout << (a * 3.14) << endl;
return 0;
}
| // C++ おまじない
#include <bits/stdc++.h>
using namespace std;
int main() {
// input
float a;
cin >> a;
// output
cout << (a * 3.14 * 2.00) << endl;
return 0;
}
| [["+", 0, 16, 31, 16, 12, 23, 0, 16, 17, 48], ["+", 0, 16, 31, 16, 12, 23, 0, 16, 12, 13]] | 1 | 35 |
#include <algorithm>
#include <cmath>
#include <iostream>
int main() {
double R;
std::cin >> R;
std::cout << R * 3.14159 << std::endl;
return 0;
}
| #include <algorithm>
#include <cmath>
#include <iostream>
int main() {
double R;
std::cin >> R;
std::cout << 2.0 * R * 3.14159 << std::endl;
return 0;
}
| [["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 17, 48]] | 1 | 36 |
import math
a=int(input().split())
print(2*math.pi*a) | import math
a=int(input())
print(2*math.pi*a) | [["-", 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 | 24 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
void Solve() {
ll n, pi = 3.1415;
cin >> n;
cout << 2 * pi * n;
}
int main() {
ll t = 1;
// cin>>t;
while (t--)
Solve();
return 0;
} | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
void Solve() {
double n, pi = 3.14159265358979323846;
cin >> n;
cout << 2.0 * pi * n;
}
int main() {
ll t = 1;
// cin>>t;
while (t--)
Solve();
return 0;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 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], ["-", 0, 1, 0, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 16, 12, 16, 31, 16, 31, 13]] | 1 | 60 |
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define FOR(i, l, r) for (i = l; i < r; i++)
#define REP(i, n) FOR(i, 0, n)
#define ALL(x) x.begin(), x.end()
#define P pair<ll, ll>
#define F first
#define S second
#define VEC vector
#define V VEC<ll>
signed main() {
double R;
cin... | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define FOR(i, l, r) for (i = l; i < r; i++)
#define REP(i, n) FOR(i, 0, n)
#define ALL(x) x.begin(), x.end()
#define P pair<ll, ll>
#define F first
#define S second
#define VEC vector
#define V VEC<ll>
signed main() {
double R;
cin... | [["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 17, 48], ["-", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13]] | 1 | 75 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const ll INF = ll(1e12);
const ll mod = ll(1e9) + 7;
#define rep0(i, n) for (ll(i) = 0; (i) < (n); ++(i))
#define rrep0(i, n) for (ll(i) = (n)-1; (i) >= 0; --(i))
#define rep1(i, n) for (ll(i) = 1; (i) <= (n); ++(i))
#define rrep1(i, n) for (ll(i) = (n... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
const ll INF = ll(1e12);
const ll mod = ll(1e9) + 7;
#define rep0(i, n) for (ll(i) = 0; (i) < (n); ++(i))
#define rrep0(i, n) for (ll(i) = (n)-1; (i) >= 0; --(i))
#define rep1(i, n) for (ll(i) = 1; (i) <= (n); ++(i))
#define rrep1(i, n) for (ll(i) = (n... | [["-", 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, 17, 48], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 12, 13]] | 1 | 372 |
r = int(input())
import math
print(math.pi * R * 2) | r = int(input())
import math
print(math.pi * r * 2) | [["-", 0, 652, 3, 4, 0, 657, 31, 657, 12, 22], ["+", 0, 652, 3, 4, 0, 657, 31, 657, 12, 22]] | 5 | 20 |
#include <bits/stdc++.h>
using namespace std;
int main() {
double r;
cin >> r;
cout << fixed << setprecision(6) << r * r * 3.141592;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
double r;
cin >> r;
cout << fixed << setprecision(6) << r * 2.0 * 3.141592;
} | [["-", 0, 1, 0, 16, 12, 16, 31, 16, 12, 22], ["+", 0, 1, 0, 16, 12, 16, 31, 16, 12, 13]] | 1 | 34 |
#include <stdio.h>
int main() {
int r;
scanf("%d", &r);
printf("%d", 2 * r * 3.141592);
return 0;
} | #include <stdio.h>
int main() {
int r;
scanf("%d", &r);
printf("%lf", 2 * r * 3.141592);
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 37 |
#include <bits/stdc++.h>
#define ll long long
#define inf 0x7fffffff
#define clr(c) memset(c, 0, sizeof(c))
using namespace std;
int mod = 998244353;
const int M = 1e6 + 10;
const int N = 1e5 + 10;
inline ll read() {
ll b = 1, sum = 0;
char c = getchar();
while (!isdigit(c)) {
if (c == '-')
b = -1;
... | #include <bits/stdc++.h>
#define ll long long
#define inf 0x7fffffff
#define clr(c) memset(c, 0, sizeof(c))
using namespace std;
int mod = 998244353;
const int M = 1e6 + 10;
const int N = 1e5 + 10;
inline ll read() {
ll b = 1, sum = 0;
char c = getchar();
while (!isdigit(c)) {
if (c == '-')
b = -1;
... | [["-", 0, 2, 3, 4, 0, 16, 31, 16, 31, 22], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 31, 13]] | 1 | 184 |
import math
r = float(input())
print(r*math.pi) | import math
r = float(input())
print(r*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 |
//#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
#define PI 3.14159265359
using namespace std;
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
const long long INF = 1e+18 + 1;
typedef long long ll;
typedef vector<ll> vl;
typedef vector<vector<ll>> vvl;
typedef pair<ll, ll> P;
typedef tuple<ll, ll, ll> T;
const ll M... | //#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
#define PI 3.14159265359
using namespace std;
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
const long long INF = 1e+18 + 1;
typedef long long ll;
typedef vector<ll> vl;
typedef vector<vector<ll>> vvl;
typedef pair<ll, ll> P;
typedef tuple<ll, ll, ll> T;
const ll M... | [["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 17, 48]] | 1 | 110 |
#include <bits/stdc++.h>
using namespace std;
int main() {
double a = 0;
cin >> a;
a = 3.14 * a;
cout << a << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
double a = 0;
cin >> a;
a = 2 * 3.14 * a;
cout << a << endl;
} | [["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 17, 48]] | 1 | 33 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long double x;
cin >> x;
cout << setprecision(10) << fixed << x * 3.14159265359 << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
cout << setprecision(2) << fixed << 2 * x * 3.14159265359 << endl;
}
| [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 31, 16, 31, 16, 12, 2, 3, 4, 0, 13], ["+", 31, 16, 31, 16, 12, 2, 3, 4, 0, 13], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 17, 48]] | 1 | 35 |
#include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < int(n); i++)
#define FOR(i, n, m) for (int i = n; i < int(m); i++)
#define ALL(v) (v).begin(), (v).end()
#define pb push_back
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
typedef vector<int> vi;
typedef v... | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < int(n); i++)
#define FOR(i, n, m) for (int i = n; i < int(m); i++)
#define ALL(v) (v).begin(), (v).end()
#define pb push_back
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
typedef vector<int> vi;
typedef v... | [["+", 0, 16, 31, 16, 12, 16, 31, 16, 31, 13], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 17, 48]] | 1 | 223 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.