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 <iomanip>
#include <iostream>
using namespace std;
int main() {
int L;
cin >> L;
cout << setprecision(6) << (L * L * L) / 27 << endl;
} | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double L;
cin >> L;
cout << fixed << setprecision(6) << (L * L * L) / 27 << endl;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 17, 151], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 12, 22]] | 1 | 40 |
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
int L;
cin >> L;
cout << fixed << setprecision(6) << (L * L * L) / 27 << endl;
} | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double L;
cin >> L;
cout << fixed << setprecision(6) << (L * L * L) / 27.0 << endl;
} | [["-", 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 | 42 |
##C
L = int(input())
(L/3)**3 | ##C
L = int(input())
print((L/3)**3) | [["+", 36, 36, 0, 656, 0, 1, 0, 652, 63, 22], ["+", 0, 652, 3, 4, 0, 657, 31, 23, 0, 24], ["+", 0, 656, 0, 1, 0, 652, 3, 4, 0, 25]] | 5 | 16 |
#include <bits/stdc++.h>
using namespace std;
int main() {
double L;
cin >> L;
double V = pow(L, 3);
V = V / 27.000000000000000;
printf("[%.7lf]", V);
} | #include <bits/stdc++.h>
using namespace std;
int main() {
double L;
cin >> L;
double V = pow(L, 3);
V = V / 27.000000000000000;
printf("%.7lf\n", V);
} | [["-", 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, 5, 0, 44]] | 1 | 44 |
def resolve():
L = float(input())
print((L+L+L)/27)
if __name__ == '__main__':
resolve() | def resolve():
L = float(input())
print((L**3)/27)
if __name__ == '__main__':
resolve() | [["-", 0, 657, 31, 23, 0, 657, 31, 657, 17, 72], ["-", 0, 657, 31, 23, 0, 657, 31, 657, 12, 22], ["-", 3, 4, 0, 657, 31, 23, 0, 657, 17, 72], ["-", 3, 4, 0, 657, 31, 23, 0, 657, 12, 22], ["+", 3, 4, 0, 657, 31, 23, 0, 657, 17, 578], ["+", 3, 4, 0, 657, 31, 23, 0, 657, 12, 612]] | 5 | 35 |
#include <bits/stdc++.h>
using namespace std;
typedef long long int lli;
#define fastio \
ios_base::sync_with_stdio(false); \
cin.tie(0); \
co... | #include <bits/stdc++.h>
using namespace std;
typedef long long int lli;
#define fastio \
ios_base::sync_with_stdio(false); \
cin.tie(0); \
co... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["-", 0, 1, 0, 16, 12, 2, 3, 4, 0, 13], ["+", 0, 1, 0, 16, 12, 2, 3, 4, 0, 13]] | 1 | 86 |
/// ببِسْمِ اللَّهِ الرَّحْمَنِ الرَّحِيم
#include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll int i, n, t, p = INT_MAX, j = 0, x, a = 0, b, l = 0, r = 0, y, k, c;
double sv;
cin >> n;
sv = double(n / 3);
sv = sv * sv * sv;
p... | /// ببِسْمِ اللَّهِ الرَّحْمَنِ الرَّحِيم
#include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll int i, n, t, p = INT_MAX, j = 0, x, a = 0, b, l = 0, r = 0, y, k, c;
double sv, st;
cin >> st;
sv = double(st / 3);
sv = sv * sv * s... | [["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 21], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["-", 0, 11, 12, 2, 3, 4, 0, 16, 31, 22], ["+", 0, 11, 12, 2, 3, 4, 0, 16, 31, 22]] | 1 | 104 |
#include <bits/stdc++.h>
using namespace std;
#define EPS (1e-7)
#define INF (1e9)
#define PI (acos(-1))
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
typedef long long ll;
void solve(long long L) {
double len = L / 3;
printf("%8.12lf\n", len * len * len);
}
int main() {
long long L;
scanf("%lld", &... | #include <bits/stdc++.h>
using namespace std;
#define EPS (1e-7)
#define INF (1e9)
#define PI (acos(-1))
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
typedef long long ll;
void solve(long long L) {
double len = L / 3.0;
printf("%8.12lf\n", len * len * len);
}
int main() {
long long L;
scanf("%lld",... | [["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 86 |
#include <algorithm>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <string>
#include <vector>
using namespace std;
// DP用
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
return false;... | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <string>
#include <vector>
using namespace std;
// DP用
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
return false;... | [["-", 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, 39, 86, 0, 96], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 374 |
#include <stdio.h>
#include <string.h>
int main(void) {
int L;
scanf("%d", &L);
double x = L / 3;
printf("%lf", x * x * x);
return 0;
} | #include <stdio.h>
#include <string.h>
int main(void) {
double L;
scanf("%lf", &L);
double x = L / 3;
printf("%lf", x * x * x);
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]] | 0 | 47 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using ll = long long;
using namespace std;
int main() {
int L;
ll V;
cin >> L;
V = L * L * L / 27;
cout << fixed << setprecision(6) << V << endl;
return 0;
} | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using ll = long long;
using namespace std;
int main() {
int L;
double V;
cin >> L;
V = L * L * L / 27.00000000000;
cout << fixed << setprecision(7) << V << endl;
return 0;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["-", 31, 16, 31, 16, 12, 2, 3, 4, 0, 13], ["+", 31, 16, 31, 16, 12, 2, 3, 4, 0, 13]] | 1 | 62 |
#include <algorithm>
#include <cmath>
#include <fstream>
#include <functional>
#include <initializer_list>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <limits.h>
#include <map>
#include <math.h>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unord... | #include <algorithm>
#include <cmath>
#include <fstream>
#include <functional>
#include <initializer_list>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <limits.h>
#include <map>
#include <math.h>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unord... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["-", 0, 14, 8, 9, 0, 43, 0, 42, 0, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22]] | 1 | 86 |
def maxvolume(s):
length = int(s / 3)
s -= length
breadth = s / 2
height = s - breadth
return "{:.12f}".format(length * breadth * height)
s = int(input())
print(maxvolume(s)) | def maxvolume(s):
length = s / 3
s -= length
breadth = s / 2
height = s - breadth
return "{:.12f}".format(length * breadth * height)
s = int(input())
print(maxvolume(s)) | [["-", 8, 196, 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, 25]] | 5 | 55 |
#include <bits/stdc++.h>
#include <fstream>
#include <iostream>
#include <string>
#include <vector>
/*
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
#define ordered_set tree<int, null_type,less<int>,
rb_tree_tag,tree_order_statistics_node_upd>
//order_of_key (... | #include <bits/stdc++.h>
#include <fstream>
#include <iostream>
#include <string>
#include <vector>
/*
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
#define ordered_set tree<int, null_type,less<int>,
rb_tree_tag,tree_order_statistics_node_upd>
//order_of_key (... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78]] | 1 | 152 |
#include <algorithm>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <math.h>
#include <numeric>
#include <set>
#include <string>
#include <vector>
using namespace std;
int main() {
double L;
cin >> L;
cout << (L / 3) * (L / 3) * (L / 3) << endl;
return 0;
} | #include <algorithm>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <math.h>
#include <numeric>
#include <set>
#include <string>
#include <vector>
using namespace std;
int main() {
double L;
cin >> L;
cout << to_string((L / 3) * (L / 3) * (L / 3)) << endl;
return 0;
} | [["+", 0, 1, 0, 16, 31, 16, 12, 2, 63, 22], ["+", 3, 4, 0, 16, 31, 16, 31, 23, 0, 24], ["+", 12, 2, 3, 4, 0, 16, 12, 23, 0, 25]] | 1 | 62 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int l;
cin >> l;
double n = l / 3;
printf("%f\n", pow(n, 3));
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
double l;
cin >> l;
double n = l / 3;
printf("%f\n", pow(n, 3));
return 0;
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 44 |
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
double rs = (n * n * n) / 27;
cout << fixed << setprecision(6) << rs;
return 0;
}
| #include <iomanip>
#include <iostream>
using namespace std;
int main() {
double n;
cin >> n;
double rs = (n * n * n) / 27;
cout << fixed << setprecision(6) << rs;
return 0;
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 48 |
#include <cstdio>
using namespace std;
int l;
int main() {
scanf("%d", &l);
double a = l / 3;
double b = l - a - a;
printf("%.12f", a * a * b);
return 0;
} | #include <cstdio>
using namespace std;
double l;
int main() {
scanf("%lf", &l);
double a = l / 3;
double b = l - a - a;
printf("%.12f", a * a * b);
return 0;
} | [["-", 36, 36, 36, 36, 0, 30, 0, 43, 39, 40], ["+", 36, 36, 36, 36, 0, 30, 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 | 57 |
#include <bits/stdc++.h>
#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() {
int L;
cin >> L;
double ans = L * L * L / 27;
cout << fixed;
cout << setprecision(6) << ans << 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;
using P = pair<int, int>;
int main() {
int L;
cin >> L;
long double ans = L * L * L / 27.000000;
cout << fixed;
cout << setprecision(10) << ans << endl;
return 0;
} | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["-", 31, 16, 31, 16, 12, 2, 3, 4, 0, 13], ["+", 31, 16, 31, 16, 12, 2, 3, 4, 0, 13]] | 1 | 72 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int L;
cin >> L;
double ans;
ans = pow((double)(L / 3), 3);
cout << fixed << setprecision(9) << ans << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
double L;
cin >> L;
double ans;
ans = pow((double)(L / 3.0), 3);
cout << fixed << setprecision(9) << ans << endl;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 3, 4, 0, 74, 51, 23, 0, 16, 12, 13], ["+", 3, 4, 0, 74, 51, 23, 0, 16, 12, 13]] | 1 | 51 |
#include <bits/stdc++.h>
#define ll long long
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int l;
cin >> l;
cout << fixed << setprecision(12);
long double ans = l / 3;
ans = pow(ans, 3);
cout << ans;
return 0;
} | #include <bits/stdc++.h>
#define ll long long
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
long double l;
cin >> l;
cout << fixed << setprecision(12);
long double ans = l / 3;
ans = pow(ans, 3);
cout << ans;
return 0;
} | [["-", 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 | 69 |
#include <bits/stdc++.h>
#include <string>
#include <vector>
/* 変数i を n回繰り返すマクロ */
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
int main() {
cout << fixed << setprecision(10); //小数点以下10桁出力
int l;
cin >> l;
long double hen = l / 3;
// cout << hen << endl;
long double ans = hen * hen *... | #include <bits/stdc++.h>
#include <string>
#include <vector>
/* 変数i を n回繰り返すマクロ */
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
int main() {
cout << fixed << setprecision(10); //小数点以下10桁出力
int l;
cin >> l;
long double hen = (long double)l / 3;
// cout << hen << endl;
long double ans ... | [["+", 0, 43, 49, 50, 51, 16, 31, 74, 0, 24], ["+", 51, 16, 31, 74, 39, 77, 39, 86, 0, 96], ["+", 51, 16, 31, 74, 39, 77, 39, 86, 39, 40], ["+", 0, 43, 49, 50, 51, 16, 31, 74, 0, 25]] | 1 | 70 |
#include <algorithm>
#include <cctype>
#include <cmath>
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <string>
#include <vector>
using namespace std;
int main() {
int n;
cin >> n;
double ans;
double temp = n / 3;
ans = pow(temp, 3);
printf("%.7lf\n", ans);
return 0;
} | #include <algorithm>
#include <cctype>
#include <cmath>
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <string>
#include <vector>
using namespace std;
int main() {
double n;
cin >> n;
double ans;
double temp = n / 3;
ans = pow(temp, 3);
printf("%.7lf\n", ans);
return 0;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 65 |
n=int(input())
m=n/3
o=o**3
print(o)
| n=int(input())
m=n/3
o=m**3
print(o)
| [["-", 0, 656, 0, 1, 0, 662, 12, 657, 31, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 31, 22]] | 5 | 22 |
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
int l;
cin >> l;
double a;
a = l / 3;
double s;
s = a * a * a;
printf("%.7f\n", s);
} | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
double l;
cin >> l;
double a;
a = l / 3;
double s;
s = a * a * a;
printf("%.7f\n", s);
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 51 |
#!/usr/bin/env python3
import collections
import itertools as it
import math
import numpy as np
# A = input()
A = int(input())
# A = map(int, input().split())
# A = list(map(int, input().split()))
# A = [int(input()) for i in range(N)]
#
# c = collections.Counter()
print(A//3 * A//3 * (A-(A//3)*2)) | #!/usr/bin/env python3
import collections
import itertools as it
import math
import numpy as np
# A = input()
A = int(input())
# A = map(int, input().split())
# A = list(map(int, input().split()))
# A = [int(input()) for i in range(N)]
#
# c = collections.Counter()
print(A/3 * A/3 * (A-(A/3)*2)) | [["-", 0, 657, 31, 657, 31, 657, 31, 657, 17, 676], ["+", 0, 657, 31, 657, 31, 657, 31, 657, 17, 85], ["-", 0, 652, 3, 4, 0, 657, 31, 657, 17, 676], ["+", 0, 652, 3, 4, 0, 657, 31, 657, 17, 85], ["-", 0, 657, 12, 657, 31, 23, 0, 657, 17, 676], ["+", 0, 657, 12, 657, 31, 23, 0, 657, 17, 85]] | 5 | 49 |
l = int(input())
a = l//3
b = (l-a)//2
c = l-(a+b)
print (a*b*c) | l = int(input())
a = l/3
b = (l-a)/2
c = l-(a+b)
print (a*b*c) | [["-", 0, 656, 0, 1, 0, 662, 12, 657, 17, 676], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 17, 85]] | 5 | 39 |
n = int(input())
l = n/3
print(l*3) | n = int(input())
l = n/3
print(l**3) | [["-", 0, 1, 0, 652, 3, 4, 0, 657, 17, 48], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 17, 578]] | 5 | 19 |
l = gets.to_i
M = l / 3
ANS = M**3
puts ANS
| l = gets.to_f
M = l / 3
ANS = M**3
puts ANS
| [["-", 36, 36, 0, 493, 0, 662, 12, 652, 735, 22], ["+", 36, 36, 0, 493, 0, 662, 12, 652, 735, 22]] | 4 | 17 |
#include <bits/stdc++.h>
typedef long long int lli;
typedef unsigned long long int ulli;
typedef long double ldb;
#define pb push_back
#define popb pop_back
#define si size()
#define be begin()
#define en end()
#define le length()
#define mp make_pair
#define mt make_tuple
#define fi
#define se second
#define forz(i... | #include <bits/stdc++.h>
typedef long long int lli;
typedef unsigned long long int ulli;
typedef long double ldb;
#define pb push_back
#define popb pop_back
#define si size()
#define be begin()
#define en end()
#define le length()
#define mp make_pair
#define mt make_tuple
#define fi
#define se second
#define forz(i... | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 136 |
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
int main() {
ll l;
cin >> l;
double k = (l * l * l) / 27;
cout << fixed;
cout << k << setprecision(9);
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
int main() {
double l;
cin >> l;
double k = (l * l * l) / 27;
cout << fixed;
cout << k << setprecision(9);
return 0;
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 54 |
#include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <tuple>
#include <utility>
#include <vector>
using namespace std;
typedef long long ll;
int main() {
ll l;
cin ... | #include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <tuple>
#include <utility>
#include <vector>
using namespace std;
typedef long long ll;
int main() {
double l;
... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 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 | 95 |
#include <stdio.h>
int main() {
int l;
double k, V;
scanf("%d", &l);
k = l / 3;
V = k * k * k;
printf("%.12lf", V);
} | #include <stdio.h>
int main() {
int l;
double k, V;
scanf("%d", &l);
k = 1.0 * l / 3;
V = k * k * k;
printf("%.12lf", V);
} | [["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 17, 48]] | 1 | 49 |
l = int(input())
a = l//3
b = l//3
c = l - a - b
cub = a * b * c
print(cub) | l = int(input())
a = l/3
b = l/3
c = l - a - b
cub = a * b * c
print(cub) | [["-", 0, 656, 0, 1, 0, 662, 12, 657, 17, 676], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 17, 85]] | 5 | 36 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int L;
cin >> L;
int VV = L * L * L;
double V = VV / 27;
cout << fixed << setprecision(8);
cout << V << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int L;
cin >> L;
double VV = L * L * L;
double V = VV / 27;
cout << fixed << setprecision(8);
cout << V << endl;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 50 |
#include <iostream>
int main(int argc, char *argv[]) {
int L;
std::cin >> L;
double n = L / 3;
printf("%f\n", n * n * n);
}
| #include <iostream>
int main(int argc, char *argv[]) {
double L;
std::cin >> L;
double n = L / 3;
printf("%f\n", n * n * n);
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 46 |
l = gets.chomp.to_i
small = l / 3
large = l - 2 * small
puts small * small * large
| l = gets.chomp.to_f
small = l / 3
large = l - 2 * small
puts small * small * large
| [["-", 36, 36, 0, 493, 0, 662, 12, 652, 735, 22], ["+", 36, 36, 0, 493, 0, 662, 12, 652, 735, 22]] | 4 | 25 |
#include <bits/stdc++.h>
using namespace std;
int main() {
double s;
cin >> s;
double length = s / 3;
s -= length;
double breadth = s / 2;
int height = s - breadth;
double volume = length * breadth * height;
cout << fixed << setprecision(12) << volume << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
double s;
cin >> s;
double length = s / 3;
s -= length;
double breadth = s / 2;
double height = s - breadth;
double volume = length * breadth * height;
cout << fixed << setprecision(12) << volume << endl;
return 0;
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 69 |
import decimal
getcontext().prec = 20
S = decimal.Decimal(input())
s = S/3
print(decimal.Decimal(s**3)) | import decimal
decimal.getcontext().prec = 20
S = decimal.Decimal(input())
s = S/3
print(decimal.Decimal(s**3)) | [["+", 0, 662, 31, 319, 500, 652, 63, 319, 500, 22], ["+", 0, 662, 31, 319, 500, 652, 63, 319, 0, 131]] | 5 | 35 |
#include <algorithm>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <string>
#include <vector>
typedef long long ll;
#define rep(i, a, n) for (int i = a; i < n; i++)
#define ALL(a) begin(a), end(a)
#define mii map<int, int>
#define msi map<string, int... | #include <algorithm>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <string>
#include <vector>
typedef long long ll;
#define rep(i, a, n) for (int i = a; i < n; i++)
#define ALL(a) begin(a), end(a)
#define mii map<int, int>
#define msi map<string, int... | [["-", 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], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 273 |
#include <stdio.h>
int main(void) {
int L, i;
long double L3;
scanf("%d", &L);
L3 = L / 3;
printf("%.12Lf\n", L3 * L3 * L3);
return 0;
} | #include <stdio.h>
int main(void) {
int L, i;
long double L3;
scanf("%d", &L);
L3 = (long double)L / 3;
printf("%.12Lf\n", L3 * L3 * L3);
return 0;
} | [["+", 0, 1, 0, 11, 12, 16, 31, 74, 0, 24], ["+", 12, 16, 31, 74, 39, 77, 39, 86, 0, 96], ["+", 12, 16, 31, 74, 39, 77, 39, 86, 39, 40], ["+", 0, 1, 0, 11, 12, 16, 31, 74, 0, 25]] | 0 | 51 |
import math
import itertools
import statistics
#n, m = list(map(int, input().split()))
L = int(input())
x = L//3
ans = (x*x*(L-x*2))
print(float(ans)) |
import math
import itertools
import statistics
#n, m = list(map(int, input().split()))
L = int(input())
x = L/3
ans = (x*x*(L-x*2))
#y = L/3
#a = (y*y*y)
#print(ans)
print(ans) | [["-", 0, 656, 0, 1, 0, 662, 12, 657, 17, 676], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 17, 85], ["-", 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 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long A;
double a = 0;
cin >> A;
A = (A * A * A);
a = (double)A / 3.0;
cout << fixed << setprecision(12) << a << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long A;
double a = 0;
cin >> A;
A = (A * A * A);
a = (double)A / 27.0;
cout << fixed << setprecision(12) << a << endl;
return 0;
} | [["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 60 |
l = gets.to_i
a = l / 3
b = a
c = a
a += l - (a + b + c)
puts a * b * c
| l = gets.to_f
a = l / 3.0
b = a
c = a
a += l - (a + b + c)
puts a * b * c
| [["-", 36, 36, 0, 493, 0, 662, 12, 652, 735, 22], ["+", 36, 36, 0, 493, 0, 662, 12, 652, 735, 22], ["-", 36, 36, 0, 493, 0, 662, 12, 738, 12, 612], ["+", 36, 36, 0, 493, 0, 662, 12, 738, 12, 531]] | 4 | 33 |
#include <algorithm>
#include <bits/stdc++.h>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdio.h>
#include <string>
#include <vector>
using na... | #include <algorithm>
#include <bits/stdc++.h>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdio.h>
#include <string>
#include <vector>
using na... | [["+", 0, 43, 49, 50, 51, 16, 31, 2, 63, 22], ["+", 49, 50, 51, 16, 31, 2, 3, 4, 0, 24], ["+", 49, 50, 51, 16, 31, 2, 3, 4, 0, 25]] | 1 | 2,058 |
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <vector>
using namespace std;
#define inf 0x3f3f3f
typedef long long ll;
const int maxn = 109;
int l;
int main() {
scanf("%d", &l);
double a, b, c;
a = b = c =... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <vector>
using namespace std;
#define inf 0x3f3f3f
typedef long long ll;
const int maxn = 109;
int l;
int main() {
scanf("%d", &l);
double a, b, c;
a = b = c =... | [["-", 0, 11, 12, 11, 12, 11, 12, 16, 12, 13], ["+", 0, 11, 12, 11, 12, 11, 12, 16, 12, 13]] | 1 | 89 |
#include <algorithm>
#include <bitset>
#include <cmath>
#include <complex>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
template <class T> inline boo... | #include <algorithm>
#include <bitset>
#include <cmath>
#include <complex>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
template <class T> inline boo... | [["-", 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 | 233 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long int
int main() {
int l;
cin >> l;
double n = l / 3;
cout << setprecision(10) << n * n * n << endl;
} | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
int main() {
double l;
cin >> l;
double n = l / 3;
cout << setprecision(17) << n * n * n << endl;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 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]] | 1 | 44 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int s;
cin >> s;
s = (double)s;
double l;
std::cout << std::fixed;
l = s / 3;
double ans = l * l * l;
std::cout.precision(12);
cout << ans << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int s;
cin >> s;
s = (double)s;
double l;
std::cout << std::fixed;
l = (double)s / 3.0;
double ans = l * l * l;
std::cout.precision(12);
cout << ans << endl;
return 0;
} | [["+", 0, 1, 0, 11, 12, 16, 31, 74, 0, 24], ["+", 0, 11, 12, 16, 31, 74, 39, 77, 39, 40], ["+", 0, 1, 0, 11, 12, 16, 31, 74, 0, 25], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 70 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define pb push_back
#define all(v) (v).begin(), (v).end()
#define fi first
#define se second
#define sz(x) ((int)(x).size())
using ll = long long;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
#define MOD 1000000007
c... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define pb push_back
#define all(v) (v).begin(), (v).end()
#define fi first
#define se second
#define sz(x) ((int)(x).size())
using ll = long long;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
#define MOD 1000000007
c... | [["-", 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], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 200 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
typedef long long ll;
int main() {
int l;
cin >> l;
double v = l / 3;
cout << fixed << setprecision(15) << pow(v, 3) << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
typedef long long ll;
int main() {
long double l;
cin >> l;
long double v = l / 3;
cout << fixed << setprecision(15) << pow(v, 3) << endl;
return 0;
} | [["-", 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 | 60 |
# Python3 code to Maximize volume of
# cuboid with given sum of sides
# Return the maximum volume.
def maxvolume( s ):
# finding length
length = int(s / 3)
s -= length
# finding breadth
breadth = s / 2
# finding height
height = s - breadth
return int(length * breadth * height)
# Driven Pr... | # Python3 code to Maximize volume of
# cuboid with given sum of sides
# Return the maximum volume.
def maxvolume( s ):
# finding length
length = (s / 3)
s -= length
# finding breadth
breadth = s / 2
# finding height
height = s - breadth
return (length * breadth * height)
# Driven Program ... | [["-", 8, 196, 0, 1, 0, 662, 12, 652, 63, 22], ["-", 0, 14, 8, 196, 0, 37, 0, 652, 63, 22]] | 5 | 59 |
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
int L;
long double V;
cin >> L;
V = L * L * L / 27;
cout << fixed << setprecision(10) << V << endl;
return 0;
} | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
long double L;
long double V;
cin >> L;
V = L * L * L / 27;
cout << fixed << setprecision(10) << V << endl;
return 0;
} | [["-", 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 | 51 |
#include <algorithm>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
using namespace std;
void solve(void) {
long long int L;
cin >> L;
long double l;
l = (L / 3) * (L / 3) * (L / 3);
cout << fixed << setprecision(12) << l ... | #include <algorithm>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
using namespace std;
void solve(void) {
long double L;
cin >> L;
long double l;
l = (L / 3) * (L / 3) * (L / 3);
cout << fixed << setprecision(12) << l <<... | [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40]] | 1 | 89 |
L=gets.to_i
len = L / 3
puts len * len * len
| L=gets.to_i
len = L / 3.0
puts len * len * len
| [["-", 36, 36, 0, 493, 0, 662, 12, 738, 12, 612], ["+", 36, 36, 0, 493, 0, 662, 12, 738, 12, 531]] | 4 | 16 |
// C
#include <iostream>
using namespace std;
int main(void) {
double rslt;
int sum;
cin >> sum;
int rsltB = sum * sum * sum;
rslt = (double)rsltB / 27;
cout << rslt << endl;
}
| // C
#include <iostream>
using namespace std;
int main(void) {
double rslt;
int sum;
cin >> sum;
int rsltB = sum * sum * sum;
rslt = (double)rsltB / 27;
cout << fixed;
cout << rslt << endl;
} | [["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 31, 22], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 17, 151]] | 1 | 48 |
#include <bits/stdc++.h>
#define ll long long
#define sf(n) scanf("%lld", &n)
#define pf(n) printf("%lld\n", n)
#define sff(x, y) scanf("%lld %lld", &x, &y)
#define pff(x, y) printf("%lld %lld\n", x, y)
#define REP(I, N) for (I = 0; I < N; I++)
#define REPP(I, A, B) for (I = A; I <= B; I++)
#define MS0(X) memset(X, 0, ... | #include <bits/stdc++.h>
#define ll long long
#define sf(n) scanf("%lld", &n)
#define pf(n) printf("%lld\n", n)
#define sff(x, y) scanf("%lld %lld", &x, &y)
#define pff(x, y) printf("%lld %lld\n", x, y)
#define REP(I, N) for (I = 0; I < N; I++)
#define REPP(I, A, B) for (I = A; I <= B; I++)
#define MS0(X) memset(X, 0, ... | [["+", 0, 1, 0, 11, 12, 16, 31, 74, 0, 24], ["+", 0, 11, 12, 16, 31, 74, 39, 77, 39, 40], ["+", 0, 1, 0, 11, 12, 16, 31, 74, 0, 25], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 181 |
#include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
int l;
scanf("%d", &l);
int sum = l;
int a, b, c;
a = sum / 3;
sum -= a;
b = sum / 2;
sum -= b;
c = sum;
double ans = (a * b * c);
printf("%0.12lf\n", ans);
return 0;
} | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
int l;
scanf("%d", &l);
double sum = l;
double a, b, c;
a = sum / 3;
sum -= a;
b = sum / 2;
sum -= b;
c = sum;
double ans = (a * b * c);
printf("%0.12lf\n", ans);
return 0;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 87 |
import java.io.*;
import java.text.*;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
FastScanner sc = new FastScanner();
int sum = sc.nextInt();
double r = sum / 3;
double v = r * r * r;
DecimalFormat df = new DecimalFormat("0.000000000000");
... | import java.io.*;
import java.text.*;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
FastScanner sc = new FastScanner();
int sum = sc.nextInt();
double r = sum;
r /= 3;
double v = r * r * r;
DecimalFormat df = new DecimalFormat("0.00000000000... | [["-", 8, 196, 0, 503, 49, 200, 51, 16, 17, 85], ["+", 8, 498, 0, 195, 8, 196, 0, 503, 0, 35], ["+", 0, 195, 8, 196, 0, 1, 0, 11, 31, 22], ["+", 0, 195, 8, 196, 0, 1, 0, 11, 17, 90]] | 3 | 535 |
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <vector>
using namespace std;
#define repp(i, a, b) for (int i = (int)(a); i < (int)(b); ++i)
#define reppe(i, a, b) for (int i = (int)(a); i <= (int)(b); ++i)
#define... | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <vector>
using namespace std;
#define repp(i, a, b) for (int i = (int)(a); i < (int)(b); ++i)
#define reppe(i, a, b) for (int i = (int)(a); i <= (int)(b); ++i)
#define... | [["+", 0, 43, 49, 50, 51, 16, 12, 2, 63, 40], ["+", 49, 50, 51, 16, 12, 2, 3, 4, 0, 24], ["+", 49, 50, 51, 16, 12, 2, 3, 4, 0, 25]] | 1 | 135 |
#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
int main() {
int L;
cin >> L;
double a = L / 3;
double b = L / 3;
double c = L - a - b;
cout << fixed << setprecision(10);
cout << a * b * c << endl;
}
| #define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
int main() {
double L;
cin >> L;
double a = L / 3;
double b = L / 3;
double c = L - a - b;
cout << fixed << setprecision(10);
cout << a * b * c << endl;
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 63 |
#include <bits/stdc++.h>
using ll = long long;
using namespace std;
int main() {
int l;
cin >> l;
double g = l / 3;
cout << fixed << setprecision(20) << pow(g, 3) << endl;
} | #include <bits/stdc++.h>
using ll = long long;
using namespace std;
int main() {
double l;
cin >> l;
double g = l / 3.0;
cout << fixed << setprecision(20) << pow(g, 3) << endl;
} | [["-", 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], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 50 |
#include <cstdio>
int main() {
int l;
scanf("%d", &l);
double a, v;
a = l / 3;
v = a * a * a;
printf("%.12lf\n", v);
} | #include <cstdio>
int main() {
int l;
scanf("%d", &l);
double a, v;
a = l / 3.0;
v = a * a * a;
printf("%.12lf\n", v);
} | [["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 50 |
#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define rep(i, N) for (int i = 0; i < (int)(N); i++)
int main() {
int l;
cin >> l;
long double ans = l * l * l / 27;
cout << fixed << setprecision(20) << ans << endl;
}
| #define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define rep(i, N) for (int i = 0; i < (int)(N); i++)
int main() {
long double l;
cin >> l;
long double ans = (l * l * l) / 27;
cout << fixed << setprecision(20) << ans << 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], ["+", 0, 43, 49, 50, 51, 16, 31, 23, 0, 24], ["+", 0, 43, 49, 50, 51, 16, 31, 23, 0, 25]] | 1 | 57 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
long double ab = n / 3;
long double number = ab * ab * ab;
cout << fixed << setprecision(6) << number << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
long double ab = (double)n / (double)3;
long double number = ab * ab * ab;
cout << fixed << setprecision(6) << number << endl;
return 0;
} | [["+", 0, 43, 49, 50, 51, 16, 31, 74, 0, 24], ["+", 49, 50, 51, 16, 31, 74, 39, 77, 39, 40], ["+", 0, 43, 49, 50, 51, 16, 31, 74, 0, 25], ["+", 0, 43, 49, 50, 51, 16, 12, 74, 0, 24], ["+", 49, 50, 51, 16, 12, 74, 39, 77, 39, 40], ["+", 0, 43, 49, 50, 51, 16, 12, 74, 0, 25]] | 1 | 53 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define FOR(i, a, b) for (ll i = (a); i < (b); ++i)
#define REP(i, n) FOR(i, 0, n)
#define PRINT(item) cout << (item) << endl;
#define PRINT_VEC(V) \
for (auto v : (V)) ... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define FOR(i, a, b) for (ll i = (a); i < (b); ++i)
#define REP(i, n) FOR(i, 0, n)
#define PRINT(item) cout << (item) << endl;
#define PRINT_VEC(V) \
for (auto v : (V)) ... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 109 |
#include <bits/stdc++.h>
using namespace std;
int L;
void solve() {
double a = L / 3;
cout << fixed << setprecision(12) << a * a * a;
}
int main() {
cin >> L;
solve();
return 0;
} | #include <bits/stdc++.h>
using namespace std;
double L;
void solve() {
double a = L / 3;
cout << fixed << setprecision(12) << a * a * a;
}
int main() {
cin >> L;
solve();
return 0;
} | [["-", 36, 36, 36, 36, 0, 30, 0, 43, 39, 40], ["+", 36, 36, 36, 36, 0, 30, 0, 43, 39, 40]] | 1 | 54 |
#include <stdio.h>
int main() {
int n;
scanf("%d", &n);
double ans, tmp;
tmp = n / 3.0;
ans = tmp * tmp * tmp;
printf("%.12llf", ans);
return 0;
}
| #include <stdio.h>
int main() {
int n;
scanf("%d", &n);
double ans, tmp;
tmp = n / 3.0;
ans = tmp * tmp * tmp;
printf("%lf", ans);
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 52 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define all(v) v.begin(), v.end()
using namespace std;
using ll = long long;
using P = pair<ll, ll>;
using vl = vector<ll>;
using vvl = vector<vl>;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
int l;
cin >> l;
double ans = l * ... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define all(v) v.begin(), v.end()
using namespace std;
using ll = long long;
using P = pair<ll, ll>;
using vl = vector<ll>;
using vvl = vector<vl>;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
int l;
cin >> l;
double ans = l * ... | [["-", 8, 9, 0, 43, 49, 50, 51, 16, 17, 85], ["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 85], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13]] | 1 | 100 |
#include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
int l;
cin >> l;
l = (double)l;
double side = (double)(l / 3);
double ans = (double)(pow(side, 3));
cout << setprecision(12) << ans;
return 0;
} | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
int l;
cin >> l;
l = (double)l;
double side = (double)l / 3;
double ans = (double)(pow(side, 3));
cout << setprecision(20) << ans;
return 0;
}
| [["-", 0, 43, 49, 50, 51, 74, 51, 23, 0, 24], ["-", 0, 43, 49, 50, 51, 74, 51, 23, 0, 25], ["-", 0, 16, 31, 16, 12, 2, 3, 4, 0, 13], ["+", 0, 16, 31, 16, 12, 2, 3, 4, 0, 13]] | 1 | 69 |
L = input.chomp.to_f
print (L / 3) ** 3 | L = gets.chomp.to_f
print (L / 3) ** 3 | [["-", 0, 493, 0, 662, 12, 652, 486, 652, 486, 22], ["+", 0, 493, 0, 662, 12, 652, 486, 652, 486, 22]] | 4 | 15 |
#include <bits/stdc++.h>
using namespace std;
#define ipr pair<int, int>
#define pb push_back
#define ff first
#define ss second
#define fr(i, j, k) for (int i = j; i < k; i++)
#define rf(i, j, k) for (int i = j; i >= k; i--)
#define int long long
#define ll unsigned long long
#define ld long double
#define all(x) x.b... | #include <bits/stdc++.h>
using namespace std;
#define ipr pair<int, int>
#define pb push_back
#define ff first
#define ss second
#define fr(i, j, k) for (int i = j; i < k; i++)
#define rf(i, j, k) for (int i = j; i >= k; i--)
#define int long long
#define ll unsigned long long
#define ld long double
#define all(x) x.b... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 340 |
s = int(input())
a = s//3
b = (s-a)//2
print(a*b*(s-a-b)) | s = int(input())
a = s/3
b = (s-a)/2
print(a*b*(s-a-b)) | [["-", 0, 656, 0, 1, 0, 662, 12, 657, 17, 676], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 17, 85]] | 5 | 36 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int L;
cin >> L;
double b;
b = (L / 3) * (L / 3) * (L / 3);
cout << fixed << setprecision(12);
cout << b << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
double L;
cin >> L;
double b;
b = (L / 3) * (L / 3) * (L / 3);
cout << fixed << setprecision(12);
cout << b << endl;
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 57 |
#include <bits/stdc++.h>
#define io \
std ::ios_base ::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(0);
#define M 1000000007
#define int long... | #include <bits/stdc++.h>
#define io \
std ::ios_base ::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(0);
#define M 1000000007
#define int long... | [["+", 49, 50, 51, 23, 0, 16, 31, 2, 63, 40], ["+", 51, 23, 0, 16, 31, 2, 3, 4, 0, 24], ["+", 51, 23, 0, 16, 31, 2, 3, 4, 0, 25]] | 1 | 77 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
double a, b;
scanf("%;f", &a);
b = pow(a / 3, 3);
printf("%f", b);
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
double a, b;
scanf("%lf", &a);
b = pow(a / 3, 3);
printf("%f", b);
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 52 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int L;
// double ans;
cin >> L;
// ans = (L/3)*(L/3)*(L/3)
cout << fixed << setprecision(16) << (double)((L / 3) * (L / 3) * (L / 3))
<< endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long double L;
cin >> L;
cout << fixed << setprecision(20) << ((L / 3) * (L / 3) * (L / 3)) << endl;
return 0;
} | [["-", 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], ["-", 31, 16, 31, 16, 12, 2, 3, 4, 0, 13], ["+", 31, 16, 31, 16, 12, 2, 3, 4, 0, 13], ["-", 0, 1, 0, 16, 31, 16, 12, 74, 0, 24], ["-", 0, 16, 31, 16, 12, 74, 39, 77, 39, 40], ["-", 0, 1, 0, 16... | 1 | 58 |
L = int(input())
x = int(L/3)
print(x**3) | L = int(input())
x = float(L/3)
print(x**3) | [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22]] | 5 | 22 |
#include <bits/stdc++.h>
using namespace std;
#define IO ios_base::sync_with_stdio(false)
string s, s1, s2;
int f(string s3) {
string ss = s3;
reverse(ss.begin(), ss.end());
if (ss == s3)
return 1;
else
return 0;
}
int main() {
IO;
long double i, j, n, m, k, l, mx = 0;
cin >> n;
n /= 3;
cout... | #include <bits/stdc++.h>
using namespace std;
#define IO ios_base::sync_with_stdio(false)
string s, s1, s2;
int f(string s3) {
string ss = s3;
reverse(ss.begin(), ss.end());
if (ss == s3)
return 1;
else
return 0;
}
int main() {
IO;
long double i, j, n, m, k, l, mx = 0;
cin >> n;
n /= 3;
cout... | [["+", 0, 16, 31, 16, 31, 16, 12, 2, 63, 22], ["+", 31, 16, 31, 16, 12, 2, 3, 4, 0, 24], ["+", 31, 16, 31, 16, 12, 2, 3, 4, 0, 13], ["+", 31, 16, 31, 16, 12, 2, 3, 4, 0, 25], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 17, 151]] | 1 | 104 |
#include <iomanip>
#include <iostream>
#include <stack>
#include <string>
using namespace std;
int main() {
int input = 998;
cout << std::setprecision(10) << std::fixed
<< double(input * input * input) / 27 << endl;
}
| #include <iomanip>
#include <iostream>
#include <stack>
#include <string>
using namespace std;
int main() {
int input;
cin >> input;
cout << std::setprecision(10) << std::fixed
<< double(input * input * input) / 27 << endl;
}
| [["-", 0, 14, 8, 9, 0, 43, 49, 50, 0, 32], ["-", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["+", 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]] | 1 | 49 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int l;
cin >> l;
double max = pow((l / 3), 3);
cout << fixed << setprecision(12) << max << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
double l;
cin >> l;
double max = pow((l / 3), 3);
cout << fixed << setprecision(12) << max << endl;
return 0;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 49 |
#include <bits/stdc++.h>
#define dl long double
using namespace std;
int main() {
long long int n;
cin >> n;
dl x;
x = n / 3;
dl m = x * x * x;
cout << fixed << setprecision(6) << m << "\n";
}
| #include <bits/stdc++.h>
#define dl long double
using namespace std;
int main() {
dl n;
cin >> n;
dl x;
x = n / 3;
dl m = x * x * x;
cout << fixed << setprecision(6) << m << "\n";
}
| [["-", 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, 78]] | 1 | 57 |
#include <cmath>
#include <iomanip>
#include <iostream>
int main() {
int L;
std::cin >> L;
double Edge = L / 3;
// double Volume = pow(Edge,3);
// std::cout << Volume << std::endl;
std::cout << std::fixed << std::setprecision(12) << pow(Edge, 3) << std::endl;
return 0;
}
| #include <cmath>
#include <iomanip>
#include <iostream>
int main() {
int L;
std::cin >> L;
double Edge = (double)L / 3;
// double Volume = pow(Edge,3);
// std::cout << Volume << std::endl;
std::cout << std::fixed << std::setprecision(12) << pow(Edge, 3) << std::endl;
return 0;
}
| [["+", 0, 43, 49, 50, 51, 16, 31, 74, 0, 24], ["+", 49, 50, 51, 16, 31, 74, 39, 77, 39, 40], ["+", 0, 43, 49, 50, 51, 16, 31, 74, 0, 25]] | 1 | 59 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long int N;
long long int A, B;
double l;
string s;
bool flag = true;
cin >> N;
l = N / 3;
cout << fixed << setprecision(7);
cout << l * l * l << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int N;
long long int A, B;
double L;
double l;
string s;
bool flag = true;
cin >> L;
l = L / 3;
cout << fixed << setprecision(7);
cout << l * l * l << endl;
}
| [["+", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 31, 22], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 31, 22]] | 1 | 64 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int l;
cin >> l;
double v = (l * l * l) / (27);
cout << fixed << setprecision(12) << v << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
double l;
cin >> l;
double v = (l * l * l) / (27);
cout << fixed << setprecision(12) << v << endl;
return 0;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 50 |
L = float(input())
N = (L//3)**3
print(N) | L = int(input())
N = (L/3)**3
print(N) | [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["-", 0, 662, 12, 657, 31, 23, 0, 657, 17, 676], ["+", 0, 662, 12, 657, 31, 23, 0, 657, 17, 85]] | 5 | 21 |
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <cstdio>
#include <iostream>
#include <map>
#include <stdlib.h>
#include <string>
#include <utility>
#include <vector>
using namespace std;
int main() {
int L;
cin >> L;
double a, b, c;
b = L / 3;
a = L / 3;
c = L / 3;
double ret = L * L ... | #include <algorithm>
#include <cmath>
#include <cstdint>
#include <cstdio>
#include <iostream>
#include <map>
#include <stdlib.h>
#include <string>
#include <utility>
#include <vector>
using namespace std;
int main() {
int L;
cin >> L;
double a, b, c;
b = L / 3;
a = L / 3;
c = L / 3;
double ret = double... | [["+", 0, 43, 49, 50, 51, 16, 31, 2, 63, 40], ["+", 49, 50, 51, 16, 31, 2, 3, 4, 0, 24], ["+", 49, 50, 51, 16, 31, 2, 3, 4, 0, 25], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 86 |
#include <algorithm>
#include <assert.h>
#include <bitset>
#include <complex>
#include <cstdint>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <stdlib.h>
#incl... | #include <algorithm>
#include <assert.h>
#include <bitset>
#include <complex>
#include <cstdint>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <stdlib.h>
#incl... | [["+", 31, 16, 12, 16, 31, 74, 51, 23, 0, 25], ["-", 0, 16, 31, 16, 12, 74, 51, 23, 0, 25]] | 1 | 323 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int l;
cin >> l;
double a = 0;
a = l / 3;
double b = a * a;
b = b * a;
cout << fixed;
cout << setprecision(13) << b << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int l;
cin >> l;
double a = 0;
a = double(l) / 3;
double b = a * a;
b = b * a;
cout << fixed;
cout << setprecision(13) << b << endl;
return 0;
}
| [["+", 0, 1, 0, 11, 12, 16, 31, 2, 63, 40], ["+", 0, 11, 12, 16, 31, 2, 3, 4, 0, 24], ["+", 0, 11, 12, 16, 31, 2, 3, 4, 0, 25]] | 1 | 61 |
L = int(input())
h = L **(1/3)
print(h**3)
| L = int(input())
h = L *(1/3)
print(h**3)
| [["-", 0, 656, 0, 1, 0, 662, 12, 657, 17, 578], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 17, 48]] | 5 | 23 |
cl = input()
l = int(l)
print(l **3 / 27) | l = input()
l = int(l)
print(l **3 / 27) | [["-", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22], ["+", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22]] | 5 | 19 |
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define rep(i, n) for (int i = 0; i < n; i++)
#define rep1(i, n) for (int i = 1; i <= n; i++)
#define rep2(i, n) for (int i = 0; i <= n; i++)
#define repr(i, a, n) for (int i = a; i < n; i++)
#define all(a) a.begin(), a.end()
#define P pair<long long, ... | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define rep(i, n) for (int i = 0; i < n; i++)
#define rep1(i, n) for (int i = 1; i <= n; i++)
#define rep2(i, n) for (int i = 0; i <= n; i++)
#define repr(i, a, n) for (int i = a; i < n; i++)
#define all(a) a.begin(), a.end()
#define P pair<long long, ... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 208 |
L = int(input())
ans = L**3//27
print('{:.10f}'.format(ans)) | L = int(input())
ans = L**3/27
print('{:.8f}'.format(ans)) | [["-", 0, 656, 0, 1, 0, 662, 12, 657, 17, 676], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 17, 85], ["-", 3, 4, 0, 652, 63, 319, 500, 557, 0, 6], ["+", 3, 4, 0, 652, 63, 319, 500, 557, 0, 6]] | 5 | 26 |
L = int(input())
if L ==1:
ans = 1
else:
ans = (L/3)**3
print(ans) | L = int(input())
if L ==3:
ans = 1
else:
ans = (L/3)**3
print(ans) | [["-", 36, 36, 0, 656, 0, 57, 15, 666, 0, 612], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 0, 612]] | 5 | 31 |
#include <bits/stdc++.h>
#define SpeeD ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
#define ll long long
#define endl '\n'
// pair<int, int> *p=new pair<int, int>[n];
// std::vector<pair<int,int>> vp;
// v.push_back(make_pair(x,y))
// pair<int, int> p[1000001];
// string *s=new string [n];
// int freq[e];
// ... | #include <bits/stdc++.h>
#define SpeeD ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
#define ll long long
#define endl '\n'
// pair<int, int> *p=new pair<int, int>[n];
// std::vector<pair<int,int>> vp;
// v.push_back(make_pair(x,y))
// pair<int, int> p[1000001];
// string *s=new string [n];
// int freq[e];
// ... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["-", 0, 14, 8, 9, 0, 43, 0, 42, 0, 22], ["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 21], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22]] | 1 | 186 |
//
// Created on 2020/03/22.
//
//#include <bits/stdc++.h>
#include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <bitset> // bitset
#include <cctype> // isupper, islower, isdigit, toupper, tolower
#include <cstdint> // int64_t, int*_t
#include <cstdio> // printf
#include <... | //
// Created on 2020/03/22.
//
//#include <bits/stdc++.h>
#include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <bitset> // bitset
#include <cctype> // isupper, islower, isdigit, toupper, tolower
#include <cstdint> // int64_t, int*_t
#include <cstdio> // printf
#include <... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 148 |
package main
import (
"bufio"
"fmt"
"math"
"os"
"strconv"
"strings"
"unsafe"
)
func main() {
L := sc.nextFloat()
elem := L / float64(3)
fmt.Println(elem)
fmt.Printf("%.6f\n", elem*elem*elem)
}
var (
sc scanner
)
func init() {
sc = scanner{
buf: make([]string, 0, 0),
cur: 0,
r: bufio.NewReader(o... | package main
import (
"bufio"
"fmt"
"math"
"os"
"strconv"
"strings"
"unsafe"
)
func main() {
L := sc.nextFloat()
elem := L / float64(3)
fmt.Printf("%.6f\n", elem*elem*elem)
}
var (
sc scanner
)
func init() {
sc = scanner{
buf: make([]string, 0, 0),
cur: 0,
r: bufio.NewReader(os.Stdin),
}
}
typ... | [["-", 8, 196, 0, 1, 0, 2, 63, 438, 119, 120], ["-", 8, 196, 0, 1, 0, 2, 3, 4, 0, 24], ["-", 8, 196, 0, 1, 0, 2, 3, 4, 0, 22], ["-", 8, 196, 0, 1, 0, 2, 3, 4, 0, 25], ["-", 36, 36, 0, 434, 0, 435, 8, 196, 0, 165], ["-", 8, 196, 0, 1, 0, 2, 63, 438, 439, 22], ["-", 8, 196, 0, 1, 0, 2, 63, 438, 0, 131]] | 7 | 1,045 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int l;
cin >> l;
double lm = l / 3;
cout << fixed << setprecision(12);
cout << lm * lm * lm << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
double l;
cin >> l;
double lm = l / 3;
cout << fixed << setprecision(12);
cout << lm * lm * lm << endl;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 45 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long L;
cin >> L;
long long C = L * L * L;
double Ans = C / 27;
cout << fixed << setprecision(10);
cout << Ans << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
double L;
cin >> L;
double C = L * L * L;
double Ans = C / 27;
cout << fixed << setprecision(10);
cout << Ans << endl;
}
| [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 52 |
#include <algorithm>
#include <cassert>
#include <cmath>
#include <functional>
#include <iostream>
#include <string>
using namespace std;
int main() {
long l;
long double a, b;
cin >> l;
a = (long double)l / 3.0;
b = pow(a, 3);
cout << b << endl;
return 0;
} | #include <algorithm>
#include <cassert>
#include <cmath>
#include <functional>
#include <iostream>
#include <string>
using namespace std;
int main() {
long l;
long double a, b;
cin >> l;
a = (long double)l / 3.0;
b = pow(a, 3);
cout << fixed;
cout << b << endl;
return 0;
} | [["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 31, 22], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 17, 151]] | 1 | 63 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.