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 <algorithm>
#include <iostream>
#include <math.h>
#include <string>
using namespace std;
int main() {
long double s;
cin >> s;
long double outp = (s * s * s) / 27;
printf("%.12f", outp);
return 0;
}
| #include <algorithm>
#include <iostream>
#include <math.h>
#include <string>
using namespace std;
int main() {
double s;
cin >> s;
double outp = (s * s * s) / 27;
printf("%.12f", outp);
return 0;
}
| [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 52 |
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
long long int l;
cin >> l;
printf("%.12lf\n", (l * l * l) / 27);
} | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
double l;
cin >> l;
printf("%.12lf\n", (l * l * l) / 27);
} | [["-", 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]] | 1 | 49 |
#include "bits/stdc++.h"
using namespace std;
#define fast_cin() \
ios_base::sync_with_stdio(false); \
cin.tie(NULL)
#define reP(i, x, n) for (int i = x; i < n; i++)
#define aLL(x) x.begin(), x.end()
#define pB ... | #include "bits/stdc++.h"
using namespace std;
#define fast_cin() \
ios_base::sync_with_stdio(false); \
cin.tie(NULL)
#define reP(i, x, n) for (int i = x; i < n; i++)
#define aLL(x) x.begin(), x.end()
#define pB ... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 174 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Main main = new Main();
main.run();
}
public void run() {
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
double l = n / 3;
System.out.printf("%.12f\n", Math.pow(l, 3));
sc.close();
... |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Main main = new Main();
main.run();
}
public void run() {
Scanner sc = new Scanner(System.in);
double n = sc.nextLong();
double l = n / 3;
System.out.printf("%.12f\n", Math.pow(l, 3));
sc.close()... | [["-", 0, 195, 8, 196, 0, 503, 39, 506, 0, 96], ["+", 0, 195, 8, 196, 0, 503, 39, 511, 0, 512]] | 3 | 99 |
#include <bits/stdc++.h>
using namespace std;
#define INF 0x3f3f3f3f
#define endl "\n"
#define MAXN 100010
#define F first
#define S second
#define abs(a, b) ((a > b) ? a - b : b - a)
#define rep(i, a, b) for (int i = (a); i <= (b); i++)
typedef long long int ll;
bool is(string s) {
string t = s;
reverse(t.begi... | #include <bits/stdc++.h>
using namespace std;
#define INF 0x3f3f3f3f
#define endl "\n"
#define MAXN 100010
#define F first
#define S second
#define abs(a, b) ((a > b) ? a - b : b - a)
#define rep(i, a, b) for (int i = (a); i <= (b); i++)
typedef long long int ll;
bool is(string s) {
string t = s;
reverse(t.begi... | [["-", 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 | 139 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long L;
cin >> L;
double a = L / 3, b = L / 3, c = L / 3;
printf("%.10f\n", a * b * c);
} | #include <bits/stdc++.h>
using namespace std;
int main() {
double L;
cin >> L;
double a = L / 3, b = L / 3, c = L / 3;
printf("%.10f\n", a * b * c);
}
| [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 53 |
#include <bits/stdc++.h>
#define endl '\n'
using namespace std;
string reverse(string input, int length);
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
int l;
cin >> l;
double edge = l / 3;
double vol = pow(edge, 3);
cout << fixed << setprecision(12) << vol;
} | #include <bits/stdc++.h>
#define endl '\n'
using namespace std;
string reverse(string input, int length);
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
double l;
cin >> l;
double edge = l / 3;
double vol = pow(edge, 3);
cout << fixed << setprecision(12) << vol;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 74 |
l = int(input())
print(int((l / 3)*(l / 3)*(l / 3))) | l = int(input())
print((l / 3)*(l / 3)*(l / 3)) | [["-", 0, 1, 0, 652, 3, 4, 0, 652, 63, 22], ["-", 3, 4, 0, 657, 31, 657, 31, 23, 0, 24], ["-", 0, 652, 3, 4, 0, 657, 12, 23, 0, 25]] | 5 | 31 |
n = int(input())
N = n//3
print(N*N*N)
| n = int(input())
N = n/3
print(N*N*N)
| [["-", 0, 656, 0, 1, 0, 662, 12, 657, 17, 676], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 17, 85]] | 5 | 21 |
#include <bits/stdc++.h>
using namespace std;
int main() {
cout << fixed << setprecision(6);
int n;
cin >> n;
double first = n / 3;
double res = first * first * first;
cout << res;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
cout << fixed << setprecision(6);
double n;
cin >> n;
double first = n / 3;
double res = first * first * first;
cout << res;
return 0;
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 51 |
L = int(input())
print(L**3 / 9) | L = int(input())
print(L**3 / 27) | [["-", 0, 1, 0, 652, 3, 4, 0, 657, 12, 612], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 12, 612]] | 5 | 16 |
#include <bits/stdc++.h>
using namespace std;
int main() {
double L, V;
cin >> L;
V = L * L * L / 27;
cout << V << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
double L, V;
cin >> L;
V = L * L * L / 27;
cout << fixed << V << endl;
} | [["+", 0, 1, 0, 16, 31, 16, 31, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 17, 151]] | 1 | 37 |
// I am so vegetable
//#define _LOCAL_
#pragma GCC optimize(2)
#include <bits/stdc++.h>
#define FIO ios::sync_with_stdio(false), cin.tie(0), cout.tie(0)
#define PB push_back
#define IN insert
#define CT count
#define EP empty
#define _for(i, a, b) for (ll i = (a); i < (b); ++i)
#define _rfor(i, a, b) for (int i = (a); ... | // I am so vegetable
//#define _LOCAL_
#pragma GCC optimize(2)
#include <bits/stdc++.h>
#define FIO ios::sync_with_stdio(false), cin.tie(0), cout.tie(0)
#define PB push_back
#define IN insert
#define CT count
#define EP empty
#define _for(i, a, b) for (ll i = (a); i < (b); ++i)
#define _rfor(i, a, b) for (int i = (a); ... | [["-", 0, 16, 31, 16, 12, 2, 3, 4, 0, 13], ["+", 0, 16, 31, 16, 12, 2, 3, 4, 0, 13], ["-", 8, 9, 0, 1, 0, 16, 12, 16, 17, 33], ["-", 8, 9, 0, 1, 0, 16, 12, 16, 12, 22]] | 1 | 207 |
def m( s ):
length = int(s / 3)
s -= length
breadth = s / 2
height = s - breadth
return (length * breadth * height)
x=int(input())
print("{:.12f}".format(m(x))) | def m( s ):
length = s / 3
s -= length
breadth = s / 2
height = s - breadth
return (length * breadth * height)
x=int(input())
print("{:.6f}".format(m(x))) | [["-", 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], ["-", 3, 4, 0, 652, 63, 319, 500, 557, 0, 6], ["+", 3, 4, 0, 652, 63, 319, 500, 557, 0, 6]] | 5 | 57 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int l;
cin >> l;
double v = l * l * l / 27;
cout << fixed << setprecision(13) << v << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int l;
cin >> l;
double v = (double)l * l * l / 27;
cout << fixed << setprecision(13) << v << endl;
return 0;
} | [["+", 51, 16, 31, 16, 31, 16, 31, 74, 0, 24], ["+", 31, 16, 31, 16, 31, 74, 39, 77, 39, 40], ["+", 51, 16, 31, 16, 31, 16, 31, 74, 0, 25]] | 1 | 46 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define repr(i, n) for (int i = (n); i >= 0; i--)
#define ALL(x) (x).begin(), (x).end()
typedef long long ll;
typedef unsigned long long ull;
const ll INF = 1LL << 60;
const int MINF = 1e9;
const int MOD = 1e9 + 7;
using v... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define repr(i, n) for (int i = (n); i >= 0; i--)
#define ALL(x) (x).begin(), (x).end()
typedef long long ll;
typedef unsigned long long ull;
const ll INF = 1LL << 60;
const int MINF = 1e9;
const int MOD = 1e9 + 7;
using v... | [["-", 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 | 252 |
#include <algorithm>
#include <cmath>
#include <ctime>
#include <deque>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <map>
#include <set>
#include <stack>
#include <stdlib.h>
#include <string>
#include <vector>
using namespace std;
int main() {
long long n;
cin >> n;
cou... | #include <algorithm>
#include <cmath>
#include <ctime>
#include <deque>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <map>
#include <set>
#include <stack>
#include <stdlib.h>
#include <string>
#include <vector>
using namespace std;
int main() {
long double n;
cin >> n;
c... | [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40]] | 1 | 64 |
#include <bits/stdc++.h>
using namespace std;
int main() {
double n;
cin >> n;
printf("%.12f\n", n * n * n / 9.0);
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
double n;
cin >> n;
printf("%.12f\n", n * n * n / 27.0);
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13]] | 1 | 35 |
// INCLUDE
//------------------------------------------
#include <bits/stdc++.h>
// DEFINE
//------------------------------------------
#define ll long long
#define ld long double
#define ALLv(a) (a).begin(), (a).end()
#define ALL(a, n) (a), (a) + n
#define vi vector<long long>
#define vd vector<long double>
#define vs... | // INCLUDE
//------------------------------------------
#include <bits/stdc++.h>
// DEFINE
//------------------------------------------
#define ll long long
#define ld long double
#define ALLv(a) (a).begin(), (a).end()
#define ALL(a, n) (a), (a) + n
#define vi vector<long long>
#define vd vector<long double>
#define vs... | [["+", 0, 43, 49, 50, 51, 16, 31, 16, 17, 48], ["+", 0, 43, 49, 50, 51, 16, 31, 16, 12, 13]] | 1 | 159 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define repr(i, n) for (int i = (n)-1; i >= 0; i--)
#define range(a) a.begin(), a.end()
int main() {
cin.tie(nullptr);
ios::sync_with_stdio(false);
cout << fixed << setprecision(15);
ll L;
cin ... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define repr(i, n) for (int i = (n)-1; i >= 0; i--)
#define range(a) a.begin(), a.end()
int main() {
cin.tie(nullptr);
ios::sync_with_stdio(false);
cout << fixed << setprecision(15);
ll L;
cin ... | [["+", 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]] | 1 | 87 |
#include <bits/stdc++.h>
#include <functional>
#include <iostream>
#include <math.h>
#include <queue>
#include <stdio.h>
#include <string.h>
#include <vector>
using namespace std;
#define rep(i, a, n) for (int i = a; i <= n; i++)
#define rep1(i, a, n) for (int i = a; i < n; i++)
#define per(i, a, n) for (int i = a; i >... | #include <bits/stdc++.h>
#include <functional>
#include <iostream>
#include <math.h>
#include <queue>
#include <stdio.h>
#include <string.h>
#include <vector>
using namespace std;
#define rep(i, a, n) for (int i = a; i <= n; i++)
#define rep1(i, a, n) for (int i = a; i < n; i++)
#define per(i, a, n) for (int i = a; i >... | [["-", 36, 36, 0, 30, 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 | 498 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int long long l;
cin >> l;
double volume = (l * l * l) / 27;
cout << fixed << setprecision(14) << volume << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
double l;
cin >> l;
double volume = (l * l * l) / 27;
cout << fixed << setprecision(12) << volume << endl;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 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, 39, 40], ["-", 31, 16, 31, 16, 12, 2, 3, 4, 0, 13], ["+", 31, 16, 31, 16, 12, 2, 3, 4, 0, 13]] | 1 | 47 |
#include <bits/stdc++.h>
using namespace std;
// #define int long long // intで書いたけど心配なときにlong longに変換する
struct Fast {
Fast() {
std::cin.tie(0);
ios::sync_with_stdio(false);
}
} fast;
/* short */
#define pb push_back
#define eb emplace_back
#define mp make_pair
#define Fi first
#define Se second
#define AL... | #include <bits/stdc++.h>
using namespace std;
// #define int long long // intで書いたけど心配なときにlong longに変換する
struct Fast {
Fast() {
std::cin.tie(0);
ios::sync_with_stdio(false);
}
} fast;
/* short */
#define pb push_back
#define eb emplace_back
#define mp make_pair
#define Fi first
#define Se second
#define AL... | [["+", 0, 43, 49, 50, 51, 16, 31, 16, 17, 48], ["+", 0, 43, 49, 50, 51, 16, 31, 16, 12, 13], ["-", 31, 16, 31, 16, 12, 2, 3, 4, 0, 13], ["+", 31, 16, 31, 16, 12, 2, 3, 4, 0, 13]] | 1 | 707 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define IOS \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); \
cout.t... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define IOS \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); \
cout.t... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 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 | 95 |
L=int(input())
print(L**3//27)
| L=int(input())
print(L**3/27)
| [["-", 0, 1, 0, 652, 3, 4, 0, 657, 17, 676], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 17, 85]] | 5 | 16 |
#include <bits/stdc++.h>
using namespace std;
#define each(i, c) for (auto &i : c)
#define mkp(a, b) make_pair(a, b)
typedef long long ll;
typedef unsigned long long ull;
typedef pair<ll, ll> Pll;
const ll MOD = 1e9 + 7;
template <typename P, typename Q>
ostream &operator<<(ostream &os, pair<P, Q> p) {
os << "(" <... | #include <bits/stdc++.h>
using namespace std;
#define each(i, c) for (auto &i : c)
#define mkp(a, b) make_pair(a, b)
typedef long long ll;
typedef unsigned long long ull;
typedef pair<ll, ll> Pll;
const ll MOD = 1e9 + 7;
template <typename P, typename Q>
ostream &operator<<(ostream &os, pair<P, Q> p) {
os << "(" <... | [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 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 | 254 |
#include <bits/stdc++.h>
using namespace std;
double L, ans;
int main() {
cin >> L;
ans = pow(L, 3) / 27;
cout << ans << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
double L, ans;
int main() {
cin >> L;
ans = pow(L, 3) / 27;
cout << std::fixed << ans << endl;
return 0;
}
| [["+", 0, 16, 31, 16, 31, 16, 12, 343, 345, 348], ["+", 0, 16, 31, 16, 31, 16, 12, 343, 0, 349], ["+", 0, 16, 31, 16, 31, 16, 12, 343, 141, 22], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 17, 151]] | 1 | 41 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long double ans;
cin >> ans;
ans /= 3;
printf("%.12lf\n", ans * ans * ans);
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
double ans;
cin >> ans;
ans /= 3;
printf("%.12f\n", ans * ans * ans);
return 0;
} | [["-", 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 | 41 |
#include <bits/stdc++.h>
using namespace std;
typedef int64_t ll;
typedef long double ld;
const ll MOD = 1000000007;
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define change(a, b) \
do { ... | #include <bits/stdc++.h>
using namespace std;
typedef int64_t ll;
typedef long double ld;
const ll MOD = 1000000007;
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define change(a, b) \
do { ... | [["+", 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 | 200 |
#include <bits/stdc++.h>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
double l = n / 3;
double ans;
ans = l * l * l;
cout << fixed << setprecision(8) << ans << endl;
} | #include <bits/stdc++.h>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
double n;
cin >> n;
double l = n / 3;
double ans;
ans = l * l * l;
cout << fixed << setprecision(8) << ans << endl;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 54 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define ll long long
const int mod = 1000000007;
// const int mod = 998244353;
struct mint {
ll x; // typedef long long ll;
mint(ll x = 0) : x((x % mod + mod) % mod) {}
mint operator-() const { return mint(-x); }
mi... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define ll long long
const int mod = 1000000007;
// const int mod = 998244353;
struct mint {
ll x; // typedef long long ll;
mint(ll x = 0) : x((x % mod + mod) % mod) {}
mint operator-() const { return mint(-x); }
mi... | [["-", 51, 74, 51, 2, 3, 4, 0, 16, 12, 13], ["+", 51, 74, 51, 2, 3, 4, 0, 16, 12, 13], ["-", 49, 50, 51, 74, 51, 2, 3, 4, 0, 13], ["+", 49, 50, 51, 74, 51, 2, 3, 4, 0, 13]] | 1 | 701 |
#include <cstdio>
#include <iostream>
using namespace std;
int main(int argc, char *argv[]) {
int l;
scanf("%d", &l);
double ans = l * l * l / 27;
printf("%.12lf\n", ans);
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main(int argc, char *argv[]) {
int l;
scanf("%d", &l);
double ans = l * l * l / 27.0;
printf("%.12lf\n", ans);
return 0;
} | [["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 59 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define all(x) (x).begin(), (x).end()
using ll = long long;
using namespace std;
int main() {
int L;
cin >> L;
double a = L / 3;
cout << fixed << setprecision(9);
cout << a * a * a << endl;
} | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define all(x) (x).begin(), (x).end()
using ll = long long;
using namespace std;
int main() {
double L;
cin >> L;
double a = L / 3;
cout << fixed << setprecision(9);
cout << a * a * a << endl;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 65 |
#include <algorithm>
#include <climits>
#include <cmath>
#include <fstream>
#include <iostream>
#include <queue>
#include <set>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define sz(x) int(x.size())
using namespace std;
typedef long long ll;
int main() {
#ifdef RUN_LOCAL
if... | #include <algorithm>
#include <climits>
#include <cmath>
#include <fstream>
#include <iostream>
#include <queue>
#include <set>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define sz(x) int(x.size())
using namespace std;
typedef long long ll;
int main() {
#ifdef RUN_LOCAL
if... | [["+", 0, 16, 31, 16, 31, 16, 12, 343, 345, 348], ["+", 0, 16, 31, 16, 31, 16, 12, 343, 0, 349], ["+", 0, 16, 31, 16, 31, 16, 12, 343, 141, 22], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 17, 151]] | 1 | 110 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
int n;
cin >> n;
double k = n / 3;
printf("%.10f", k * k * k);
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
int n;
cin >> n;
double k = n / 3.0;
printf("%.10f", k * k * k);
return 0;
}
| [["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 47 |
#include <algorithm>
#include <cmath>
#include <cstdlib>
#include <functional>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <stdio.h>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < n; i++)
#define all(x) (x).begin(), (x).end()
#define sz(x) ((int)(x).size())... | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <functional>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <stdio.h>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < n; i++)
#define all(x) (x).begin(), (x).end()
#define sz(x) ((int)(x).size())... | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 310 |
#include <bits/stdc++.h>
#define ll long long
using namespace std;
typedef pair<ll, ll> pi;
int main() {
long double n;
cin >> n;
long double ans = (n * n * n) / (3.0 * 3.0 * 3.0);
printf("%.6lG\n", ans);
// cout << (n*n*n)/(3.0*3.0*3.0) << "\n";
return 0;
}
| #include <bits/stdc++.h>
#define ll long long
using namespace std;
typedef pair<ll, ll> pi;
int main() {
double n;
cin >> n;
double ans = (n * n * n) / (3.0 * 3.0 * 3.0);
printf("%.6f\n", ans);
return 0;
}
| [["-", 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 | 66 |
#include <algorithm>
#include <cassert>
#include <cmath>
#include <functional>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <string>
#include <tuple>
#include <vector>
#define int long long
#define mod(int) (1000000007)
using namespace... | #include <algorithm>
#include <cassert>
#include <cmath>
#include <functional>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <string>
#include <tuple>
#include <vector>
#define int long long
#define mod(int) (1000000007)
using namespace... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 111 |
#include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int L;
cin >> L;
double l = L / 3;
printf("%.12f\n", l * l * l);
}
| #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int L;
cin >> L;
double l = (double)L / 3;
printf("%.12lf\n", l * l * l);
}
| [["+", 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, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 44 |
#include <bits/stdc++.h>
using namespace std;
double n;
double sm;
int main() {
cin >> n;
sm = n / 3.0;
cout.precision(100);
cout << sm;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
double n;
double sm;
int main() {
cin >> n;
sm = n / 3.0;
cout.precision(100);
cout << sm * sm * sm;
return 0;
}
| [["+", 0, 1, 0, 16, 12, 16, 31, 16, 17, 48], ["+", 0, 1, 0, 16, 12, 16, 31, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 16, 12, 16, 17, 48], ["+", 8, 9, 0, 1, 0, 16, 12, 16, 12, 22]] | 1 | 42 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define fio() \
cin.tie(0); \
ios::sync_with_stdio(false);
#define vi vector<int>
#define vl vector<ll>
#define vii v... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define fio() \
cin.tie(0); \
ios::sync_with_stdio(false);
#define vi vector<int>
#define vl vector<ll>
#define vii v... | [["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 285 |
#include <bits/stdc++.h>
#include <algorithm>
using namespace std;
#define sqr(x) ((x) * (x))
#define all(v) (v).begin(), (v).end()
#define rall(v) (v).rbegin(), (v).rend()
typedef long long ll;
const int MOD = 1000000007;
const int INF = 1000000007;
const ll INFLL = 1000000000000000007LL;
void solve() {
int L;... | #include <bits/stdc++.h>
#include <algorithm>
using namespace std;
#define sqr(x) ((x) * (x))
#define all(v) (v).begin(), (v).end()
#define rall(v) (v).rbegin(), (v).rend()
typedef long long ll;
const int MOD = 1000000007;
const int INF = 1000000007;
const ll INFLL = 1000000000000000007LL;
void solve() {
int L;... | [["+", 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 | 115 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
#define rep(i, n) for (int i = 0; i < n; i++)
int main() {
int l;
cin >> l;
long double d = l / 3;
long double a = d * d * d;
cout << fixed;
cout << setprecision(12) << a << endl;
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
#define rep(i, n) for (int i = 0; i < n; i++)
int main() {
long double l;
cin >> l;
long double d = l / 3;
long double a = d * d * d;
cout << fixed;
cout << setprecision(12) << a << 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 | 74 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
long double x = n / 3;
long double v = pow(x, 3);
cout << fixed << setprecision(10);
cout << v << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
long double x = (double)n / 3;
long double v = (double)pow(x, 3);
cout << fixed << setprecision(10);
cout << v << endl;
}
| [["+", 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], ["+", 8, 9, 0, 43, 49, 50, 51, 74, 0, 24], ["+", 0, 43, 49, 50, 51, 74, 39, 77, 39, 40], ["+", 8, 9, 0, 43, 49, 50, 51, 74, 0, 25]] | 1 | 53 |
#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 = pow(L / 3, 3);
printf("%.12f", ans);
}
| #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() {
double L;
cin >> L;
double ans = pow(L / 3, 3);
printf("%.12f", ans);
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 64 |
L = int(input())
ans = 0
L1 = L//3
L -= L1
L2 = L//2
L -= L2
print(L1*L2*L)
| L = int(input())
ans = 0
L1 = L/3
L -= L1
L2 = L/2
L -= L2
print(L1*L2*L) | [["-", 0, 656, 0, 1, 0, 662, 12, 657, 17, 676], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 17, 85]] | 5 | 35 |
#include <bits/stdc++.h>
using namespace std;
#define MOD 1000000007
#define MOD2 998244353
float PHI = 1.6180339;
const float PI_F = 3.14159265358979f;
#define MAX 1000 m
#define endl "\n"
#define manhunt 32
// typedef long long float;
#define int long long
typedef pair<int, int> pii;
//#define float unsigned long lon... | #include <bits/stdc++.h>
using namespace std;
#define MOD 1000000007
#define MOD2 998244353
float PHI = 1.6180339;
const float PI_F = 3.14159265358979f;
#define MAX 1000 m
#define endl "\n"
#define manhunt 32
// typedef long long float;
#define int long long
typedef pair<int, int> pii;
//#define float unsigned long lon... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 459 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
using ll = long long;
int main() {
int L;
cin >> L;
double side = L / 3;
printf("%.10lf", side * side * side);
return 0;
} | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
using ll = long long;
int main() {
int L;
cin >> L;
double side = L / 3.0;
printf("%.10lf", side * side * side);
return 0;
} | [["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 56 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using ll = long long;
using namespace std;
int main() {
int l;
cin >> l;
double x = l / 3;
printf("%.6f\n", x * x * x);
return 0;
} | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using ll = long long;
using namespace std;
int main() {
int l;
cin >> l;
double x = ((double)l) / 3;
printf("%.6f\n", x * x * x);
return 0;
} | [["+", 0, 43, 49, 50, 51, 16, 31, 23, 0, 24], ["+", 49, 50, 51, 16, 31, 23, 0, 74, 0, 24], ["+", 51, 16, 31, 23, 0, 74, 39, 77, 39, 40], ["+", 49, 50, 51, 16, 31, 23, 0, 74, 0, 25], ["+", 0, 43, 49, 50, 51, 16, 31, 23, 0, 25]] | 1 | 57 |
//* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
//* vamsicool007 You are never wrong to do the right thing vamsicool007 *
//* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
#include <bits/stdc++.h>
using namespace std;
#define flash ... | //* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
//* vamsicool007 You are never wrong to do the right thing vamsicool007 *
//* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
#include <bits/stdc++.h>
using namespace std;
#define flash ... | [["-", 0, 14, 8, 9, 0, 1, 0, 2, 63, 22], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["-", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]] | 1 | 625 |
n=input()
print((n/3)**3) | n=int(input())
print((n/3)**3)
| [["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 15 |
L = int(input())
print((l/3)**(3)) | L = int(input())
print((L/3)**(3))
| [["-", 3, 4, 0, 657, 31, 23, 0, 657, 31, 22], ["+", 3, 4, 0, 657, 31, 23, 0, 657, 31, 22]] | 5 | 20 |
#include <bits/stdc++.h>
#define mod 998244353
using namespace std;
typedef long long ll;
int main() {
int n;
cin >> n;
double x = n / 3;
printf("%.6f", x * x * x);
return 0;
}
| #include <bits/stdc++.h>
#define mod 998244353
using namespace std;
typedef long long ll;
int main() {
int n;
cin >> n;
double x = (double)n / 3;
printf("%.6f", x * x * x);
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 | 50 |
s = int(input())
l = s//3
s-=l
b = s//2
h = s-b
print(l*b*h) | s = int(input())
l = s/3
s-=l
b = s/2
h = s-b
print(l*b*h) | [["-", 0, 656, 0, 1, 0, 662, 12, 657, 17, 676], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 17, 85]] | 5 | 34 |
#include <bits/stdc++.h>
using namespace std;
#define LL long long int
#define LD long double
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
LL n;
cin >> n;
LD a = n / 3;
a = a * a * a;
cout << fixed << setprecision(12) << a << endl;
} | #include <bits/stdc++.h>
using namespace std;
#define LL long long int
#define LD long double
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
LL n;
cin >> n;
LD a = (LD)n / 3;
a = a * a * a;
cout << fixed << setprecision(12) << a << endl;
} | [["+", 0, 43, 49, 50, 51, 16, 31, 74, 0, 24], ["+", 49, 50, 51, 16, 31, 74, 39, 77, 39, 78], ["+", 0, 43, 49, 50, 51, 16, 31, 74, 0, 25]] | 1 | 67 |
#define _USE_MATH_DEFINES
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <math.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
int L;
cin >> L;
double l = L / 3;
double out = l * l * l;
cout << fixed << setprecision(6) << ... | #define _USE_MATH_DEFINES
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <math.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
int L;
cin >> L;
double l = L / 3.0;
double out = l * l * l;
cout << fixed << setprecision(6) <... | [["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 72 |
#include <bits/stdc++.h>
#include <chrono>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstring>
#define endl "\n"
#define ll long long int
#define vi vector<int>
#define vll vector<ll>
#define vvi vector<vi>
#define pii pair<int, int>
#define pll pair<long long, long long>
#define mod 1000000007
#de... | #include <bits/stdc++.h>
#include <chrono>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstring>
#define endl "\n"
#define ll long long int
#define vi vector<int>
#define vll vector<ll>
#define vvi vector<vi>
#define pii pair<int, int>
#define pll pair<long long, long long>
#define mod 1000000007
#de... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 133 |
/* EVERYTHING STARTS AS NOTHING ! :) */
#include <bits/stdc++.h>
using namespace std;
#define ull unsigned long long
#define ll long long
#define null NULL
#define IOS \
ios::sync_with_stdio(false); \
... | /* EVERYTHING STARTS AS NOTHING ! :) */
#include <bits/stdc++.h>
using namespace std;
#define ull unsigned long long
#define ll long long
#define null NULL
#define IOS \
ios::sync_with_stdio(false); \
... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 58 |
#include <bits/stdc++.h>
using namespace std;
int main() {
cout.setf(ios::fixed);
double d;
// cin >> d;
// l//ong long int lli;
// lli = (long long int) d;
// cout << lli;
// double after = d - lli;
cout << d * d * d / 27;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
cout.setf(ios::fixed);
double d;
cin >> d;
// l//ong long int lli;
// lli = (long long int) d;
// cout << lli;
// double after = d - lli;
cout << d * d * d / 27;
}
| [["+", 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 | 39 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int L;
cin >> L;
double x = L / 3;
double ans = pow(x, 3);
cout << fixed << setprecision(12) << ans << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int L;
cin >> L;
double x = L / 3.0;
double ans = pow(x, 3);
cout << fixed << setprecision(12) << ans << endl;
}
| [["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 49 |
#include <bits/stdc++.h>
using namespace std;
void __print(int x) { cerr << x; }
void __print(long x) { cerr << x; }
void __print(long long x) { cerr << x; }
void __print(unsigned x) { cerr << x; }
void __print(unsigned long x) { cerr << x; }
void __print(unsigned long long x) { cerr << x; }
void __print(float x) { cer... | #include <bits/stdc++.h>
using namespace std;
void __print(int x) { cerr << x; }
void __print(long x) { cerr << x; }
void __print(long long x) { cerr << x; }
void __print(unsigned x) { cerr << x; }
void __print(unsigned long x) { cerr << x; }
void __print(unsigned long long x) { cerr << x; }
void __print(float x) { cer... | [["+", 0, 14, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 524 |
#include <algorithm>
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <vector>
using namespace std;
#define MAX(x, y) (x > y ? x : y)
#define MIN(x, y) (x < y ? x : y)
#define ABS(x) (x > 0 ? x : -(x))
#define INF 1000000000
#define MOD 1000000007
void swap(i... | #include <algorithm>
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <vector>
using namespace std;
#define MAX(x, y) (x > y ? x : y)
#define MIN(x, y) (x < y ? x : y)
#define ABS(x) (x > 0 ? x : -(x))
#define INF 1000000000
#define MOD 1000000007
void swap(i... | [["+", 0, 2, 3, 4, 0, 16, 31, 74, 0, 24], ["+", 3, 4, 0, 16, 31, 74, 39, 77, 39, 40], ["+", 0, 2, 3, 4, 0, 16, 31, 74, 0, 25]] | 1 | 389 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define pb push_back
#define pll pair<ll, ll>
#define pq priority_queue
#define speed_up \
ios_base::sync_with_stdio(false); \
cin.tie(0); ... | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define pb push_back
#define pll pair<ll, ll>
#define pq priority_queue
#define speed_up \
ios_base::sync_with_stdio(false); \
cin.tie(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 | 308 |
#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 ll long long
#define uint unsigned int
#define ull unsigned long long
#define pb push_back
#define mk make_pair
#define ins insert
#define all(x) (x).begin(),... | #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 ll long long
#define uint unsigned int
#define ull unsigned long long
#define pb push_back
#define mk make_pair
#define ins insert
#define all(x) (x).begin(),... | [["-", 0, 16, 12, 16, 12, 23, 0, 16, 12, 13], ["+", 0, 16, 12, 16, 12, 23, 0, 16, 12, 13]] | 1 | 265 |
l = gets.chomp.to_i
puts (l/3).to_f**3 | l = gets.chomp.to_i
puts (l/3.to_f)**3 | [["-", 3, 4, 0, 738, 31, 652, 486, 739, 0, 25], ["+", 0, 652, 3, 4, 0, 738, 31, 739, 0, 25]] | 4 | 17 |
#include <bits/stdc++.h>
#define int long long
#define pb push_back
#define mp make_pair
using namespace std;
const int inf = 1e18 + 7;
const int N = 1e6 + 7;
const int md = 1e9 + 7;
void sol() {
double s;
cin >> s;
double length = floor(s / 3);
double width = floor((s - length) / 2);
double height = s - leng... | #include <bits/stdc++.h>
#define int long long
#define pb push_back
#define mp make_pair
using namespace std;
const int inf = 1e18 + 7;
const int N = 1e6 + 7;
const int md = 1e9 + 7;
void sol() {
double s;
cin >> s;
double length = (s / 3);
double width = (s - length) / 2;
double height = s - length - width;
... | [["-", 8, 9, 0, 43, 49, 50, 51, 2, 63, 22], ["-", 0, 43, 49, 50, 51, 2, 3, 4, 0, 24], ["-", 0, 43, 49, 50, 51, 2, 3, 4, 0, 25]] | 1 | 142 |
#include <bits/stdc++.h>
using namespace std;
typedef long double lld;
typedef pair<lld, lld> pr;
lld const mod = 1e9 + 7;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
lld L, e, V;
cin >> L;
e = L / 3.0;
V = e * e * e;
// cout<<V<<'\n';
printf("%0.5Lf\n", V);
}
| #include <bits/stdc++.h>
using namespace std;
typedef long double lld;
typedef pair<lld, lld> pr;
lld const mod = 1e9 + 7;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
lld L, e, V;
cin >> L;
e = L / 3.0;
V = e * e * e;
// cout<<V<<'\n';
printf("%0.6Lf\n", V);
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 84 |
# ANSHUL GAUTAM
# IIIT-D
from math import *
from copy import *
from string import * # alpha = ascii_lowercase
from random import * # l.sort(key=lambda l1:l1[0]-l1[1]) => ex: sort on the basis difference
from bisect import * # bisect_left(arr,x,start,end) => start and end parameters are temporary
from sys imp... | # ANSHUL GAUTAM
# IIIT-D
from math import *
from copy import *
from string import * # alpha = ascii_lowercase
from random import * # l.sort(key=lambda l1:l1[0]-l1[1]) => ex: sort on the basis difference
from bisect import * # bisect_left(arr,x,start,end) => start and end parameters are temporary
from sys imp... | [["-", 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 | 119 |
#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 len;
len = L / 3;
double ans;
ans = len * len * len;
printf("%f", ans);
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;
double len;
len = double(L) / 3;
double ans;
ans = len * len * len;
printf("%f", ans);
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 | 75 |
// #Badhi moh maya chhe!
/*
AUTHOR NAME:
,--. ____ ,--.
,--.'| ,---, ,' , `. ,---, ,--.'|
,--,: : | ' .' \ ,-+-,.' _ | ' .' \ ,--,: : |
,`--.'`| ' : / ; '. ... | // #Badhi moh maya chhe!
/*
AUTHOR NAME:
,--. ____ ,--.
,--.'| ,---, ,' , `. ,---, ,--.'|
,--,: : | ' .' \ ,-+-,.' _ | ' .' \ ,--,: : |
,`--.'`| ' : / ; '. ... | [["-", 0, 14, 49, 53, 54, 55, 0, 56, 39, 40], ["+", 0, 14, 49, 53, 54, 55, 0, 56, 39, 78]] | 1 | 230 |
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <string>
#include <vector>
typedef long long ll;
#define all(x) (x).begin(), (x).end() // sortなどの引数を省略
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define max3(x, y, z) max(x, max(y, z))
#ifdef _MSC_FULL_VER //デバッグ出力
#define... | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <string>
#include <vector>
typedef long long ll;
#define all(x) (x).begin(), (x).end() // sortなどの引数を省略
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define max3(x, y, z) max(x, max(y, z))
#ifdef _MSC_FULL_VER //デバッグ出力
#define... | [["+", 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]] | 1 | 135 |
#include <bits/stdc++.h>
using namespace std;
typedef long long in;
typedef pair<in, in> ii;
#define F first
#define S second
#define sqr(x) (x) * (x)
#define pb(x) push_back(x)
#define sz(x) (in) x.size()
#define mp(x, y) make_pair(x, y)
#define all(x) (x).begin(), (x).end()
#define rep(i, x, y) for (in i = x; i < (y)... | #include <bits/stdc++.h>
using namespace std;
typedef long long in;
typedef pair<in, in> ii;
#define F first
#define S second
#define sqr(x) (x) * (x)
#define pb(x) push_back(x)
#define sz(x) (in) x.size()
#define mp(x, y) make_pair(x, y)
#define all(x) (x).begin(), (x).end()
#define rep(i, x, y) for (in i = x; i < (y)... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 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]] | 1 | 123 |
#include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
int s;
cin >> s;
double w, l, h;
l = s / 3;
s -= l;
w = s / 2;
h = s - w;
cout << fixed << setprecision(10);
cout << l * w * h << '\n';
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
double s;
cin >> s;
double w, l, h;
l = s / 3;
s -= l;
w = s / 2;
h = s - w;
cout << fixed << setprecision(10);
cout << l * w * h << '\n';
return 0;
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 86 |
#include <algorithm>
#include <cmath>
#include <iostream>
#include <queue>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define ll long long
int main() {
ll L;
cin >> L;
double ans = (L * L * L) / 27;
printf("%.8lf\n", ans);
return 0;
}
| #include <algorithm>
#include <cmath>
#include <iostream>
#include <queue>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define ll long long
int main() {
ll L;
cin >> L;
double ans = (double)(L * L * L) / 27;
printf("%.8lf\n", ans);
return 0;
}
| [["+", 49, 50, 51, 16, 31, 74, 39, 77, 39, 40], ["+", 0, 43, 49, 50, 51, 16, 31, 74, 0, 25], ["+", 49, 50, 51, 16, 31, 74, 51, 23, 0, 24]] | 1 | 60 |
// Math = ♥
// Sometimes it is people that no one imagines anything of who do things that no
// one can imagine After all this time? Always
#include <bits/stdc++.h> // uncomment before submission
//#include <ext/pb_ds/assoc_container.hpp> // uncomment before
//submission
//#include <ext/pb_ds/tree_policy.hpp> // un... | // Math = ♥
// Sometimes it is people that no one imagines anything of who do things that no
// one can imagine After all this time? Always
#include <bits/stdc++.h> // uncomment before submission
//#include <ext/pb_ds/assoc_container.hpp> // uncomment before
//submission
//#include <ext/pb_ds/tree_policy.hpp> // un... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78]] | 1 | 185 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long double l;
cin >> l;
long double max_v = (l / 3.0) * (l / 3.0) * (l / 3.0);
printf("%lf\n", max_v);
} | #include <bits/stdc++.h>
using namespace std;
int main() {
double l;
cin >> l;
double max_v = (l / 3.0) * (l / 3.0) * (l / 3.0);
printf("%lf\n", max_v);
} | [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 52 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
typedef long long ll;
int main() {
int L;
cin >> L;
double len = L / 3;
double vol = len * len * len;
printf("%.12f\n", vol);
return 0;
} | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
typedef long long ll;
int main() {
int L;
cin >> L;
double len = L / 3.0;
double vol = len * len * len;
printf("%.12f\n", vol);
return 0;
} | [["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 61 |
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
int l;
cin >> l;
double a = l / 3;
cout << setprecision(15) << a * a * a << endl;
} | #include <iomanip>
#include <iostream>
using namespace std;
int main() {
int l;
cin >> l;
double a = l / 3.0;
cout << setprecision(15) << a * a * a << endl;
} | [["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 43 |
#include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <queue>
#include <string>
#include <tuple>
#include <vector>
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 ALL(x) x... | #include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <queue>
#include <string>
#include <tuple>
#include <vector>
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 ALL(x) x... | [["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 106 |
n=int(input())
print(int(n/3)**3) | n=int(input())
print((n/3)**3) | [["-", 0, 652, 3, 4, 0, 657, 31, 652, 63, 22]] | 5 | 19 |
#include <bits/stdc++.h>
using namespace std;
int main(void) {
int l;
cin >> l;
double a = l / 3;
printf("%.12lf\n", a * a * a);
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main(void) {
int l;
cin >> l;
double a = l / 3.0;
printf("%.12lf\n", a * a * a);
return 0;
} | [["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 44 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
using P = pair<ll, ll>;
const ll mod = 1e9 + 7;
#define ALL(x) (x).begin(), (x).end()
#define pow(x, y) modpow(x, y)
#define REP(i, n) for (ll(i) = 0; (i) < (n); (i)++)
template <class T = int> T in() {
T x;
cin >> x;
return (x);
}
signed main(... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
using P = pair<ll, ll>;
const ll mod = 1e9 + 7;
#define ALL(x) (x).begin(), (x).end()
#define pow(x, y) modpow(x, y)
#define REP(i, n) for (ll(i) = 0; (i) < (n); (i)++)
template <class T = int> T in() {
T x;
cin >> x;
return (x);
}
signed main(... | [["+", 51, 16, 31, 2, 63, 346, 3, 347, 0, 18], ["+", 31, 2, 63, 346, 3, 347, 0, 77, 39, 40], ["+", 51, 16, 31, 2, 63, 346, 3, 347, 0, 47]] | 1 | 126 |
from sys import stdin
def main():
readline=stdin.readline
L=int(readline())
print((L//3)**3)
if __name__=="__main__":
main() | from sys import stdin
def main():
readline=stdin.readline
L=int(readline())
print((L/3)**3)
if __name__=="__main__":
main() | [["-", 3, 4, 0, 657, 31, 23, 0, 657, 17, 676], ["+", 3, 4, 0, 657, 31, 23, 0, 657, 17, 85]] | 5 | 42 |
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define double long double
#define fo(a, b) for (int a = 0; a < b; a++)
#define Sort(a) sort(a.begin(), a.end())
#define rev(a) reverse(a.begin(), a.end())
#define fi first
#define se second
#define sz size()
#define bgn begin()
#define en end()
#defin... | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define double long double
#define fo(a, b) for (int a = 0; a < b; a++)
#define Sort(a) sort(a.begin(), a.end())
#define rev(a) reverse(a.begin(), a.end())
#define fi first
#define se second
#define sz size()
#define bgn begin()
#define en end()
#defin... | [["+", 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], ["-", 12, 2, 3, 4, 0, 16, 12, 23, 0, 25]] | 1 | 1,564 |
#include <bits/stdc++.h>
using namespace std;
#pragma GCC optimize("Ofast")
#pragma GCC optimize("unroll-loops")
#pragma GCC optimize("-ffloat-store") // to restrict undesirable precision
#pragma GCC optimize( \
"-fno-defer-pop") // to pop argument of functio... | #include <bits/stdc++.h>
using namespace std;
#pragma GCC optimize("Ofast")
#pragma GCC optimize("unroll-loops")
#pragma GCC optimize("-ffloat-store") // to restrict undesirable precision
#pragma GCC optimize( \
"-fno-defer-pop") // to pop argument of functio... | [["-", 0, 1, 0, 16, 31, 16, 12, 23, 0, 24], ["-", 31, 16, 12, 23, 0, 16, 31, 16, 31, 22], ["-", 31, 16, 12, 23, 0, 16, 31, 16, 17, 48], ["-", 31, 16, 12, 23, 0, 16, 31, 16, 12, 22], ["-", 0, 16, 31, 16, 12, 23, 0, 16, 17, 48], ["-", 0, 1, 0, 16, 31, 16, 12, 23, 0, 25]] | 1 | 301 |
#include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define rep(i, n) for (ll i = 0; i < n; i++)
#define rep1(i, n) for (ll i = 1; i <= n; i++)
#define mp make_pair
#define F first
#define S second
#define pf pop_front
#define IOS \
ios... | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define rep(i, n) for (ll i = 0; i < n; i++)
#define rep1(i, n) for (ll i = 1; i <= n; i++)
#define mp make_pair
#define F first
#define S second
#define pf pop_front
#define IOS \
ios... | [["-", 36, 36, 36, 36, 0, 30, 0, 43, 39, 78], ["+", 36, 36, 36, 36, 0, 30, 0, 43, 39, 40], ["-", 8, 9, 0, 52, 8, 9, 0, 43, 39, 78], ["+", 8, 9, 0, 52, 8, 9, 0, 43, 39, 40]] | 1 | 141 |
#include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
double l;
cin >> l;
cout << pow((l / 3), 3);
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
double l;
cin >> l;
cout << fixed << pow((l / 3), 3);
}
| [["+", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 151]] | 1 | 46 |
#include <bits/stdc++.h>
using namespace std;
#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, \
... | #include <bits/stdc++.h>
using namespace std;
#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, \
... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 21], ["+", 8, 9, 0, 52, 8, 9, 0, 43, 39, 78], ["+", 8, 9, 0, 52, 8, 9, 0, 43, 49, 22], ["+", 8, 9, 0, 52, 8, 9, 0, 43, 0, 35], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 278 |
#include <algorithm>
#include <bitset>
#include <cctype>
#include <cstdint>
#include <cstdio>
#include <deque>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <tuple>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#in... | #include <algorithm>
#include <bitset>
#include <cctype>
#include <cstdint>
#include <cstdio>
#include <deque>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <tuple>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#in... | [["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 568 |
#include <bits/stdc++.h>
#define IOS \
ios_base::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0);
#define max(a, b) (a > b ? a : b)
#de... | #include <bits/stdc++.h>
#define IOS \
ios_base::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0);
#define max(a, b) (a > b ? a : b)
#de... | [["-", 8, 9, 0, 52, 8, 9, 0, 43, 39, 40], ["+", 8, 9, 0, 52, 8, 9, 0, 43, 39, 40]] | 1 | 296 |
l=int(input())
a=l//3
b=l-a*2
print(a*a*b) | l=int(input())
a=l/3
b=l-a*2
print(a*a*b) | [["-", 0, 656, 0, 1, 0, 662, 12, 657, 17, 676], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 17, 85]] | 5 | 28 |
#include <iostream>
using namespace std;
#include <iomanip>
#define mod 1000000007
#define int long long int
bool palindrome(string str) {
int i, l = str.size();
for (i = 0; i < l / 2; i++) {
if (str[i] != str[l - i - 1])
return false;
}
return true;
}
int32_t main() {
int l;
cin >> l;
double a ... | #include <iostream>
using namespace std;
#include <iomanip>
#define mod 1000000007
#define int long long int
bool palindrome(string str) {
int i, l = str.size();
for (i = 0; i < l / 2; i++) {
if (str[i] != str[l - i - 1])
return false;
}
return true;
}
int32_t main() {
double l;
cin >> l;
double... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 137 |
n = int(input())
if n % 3 == 0:
print((n//3)**3)
else:
a = n//3
b = n//3
c = n - a - b
print(a * b * c) | n = int(input())
if n % 3 == 0:
print((n//3)**3)
else:
a = n/3
b = n/3
c = n - a - b
print(a * b * c) | [["-", 8, 196, 0, 1, 0, 662, 12, 657, 17, 676], ["+", 8, 196, 0, 1, 0, 662, 12, 657, 17, 85]] | 5 | 52 |
#include <bits/stdc++.h>
using namespace std;
#pragma GCC optimize("Ofast")
#define all(x) (x).begin(), (x).end()
#define rep(i, n) for (int(i) = 0; i < (n); i++)
#define REP(i, m, n) for (int(i) = (m); (i) < (n); (i)++)
#define INF INT_MAX
#define MOD 1000000007
#define fcout cout << fixed << setprecision(15)
#define ... | #include <bits/stdc++.h>
using namespace std;
#pragma GCC optimize("Ofast")
#define all(x) (x).begin(), (x).end()
#define rep(i, n) for (int(i) = 0; i < (n); i++)
#define REP(i, m, n) for (int(i) = (m); (i) < (n); (i)++)
#define INF INT_MAX
#define MOD 1000000007
#define fcout cout << fixed << setprecision(15)
#define ... | [["-", 12, 2, 3, 4, 0, 23, 0, 16, 12, 13], ["+", 12, 2, 3, 4, 0, 23, 0, 16, 12, 13]] | 1 | 342 |
import sys
rl = sys.stdin.readline
def solve():
L = int(input())
print((L // 3) ** 3)
if __name__ == '__main__':
solve()
| import sys
rl = sys.stdin.readline
def solve():
L = int(input())
print((L / 3) ** 3)
if __name__ == '__main__':
solve()
| [["-", 3, 4, 0, 657, 31, 23, 0, 657, 17, 676], ["+", 3, 4, 0, 657, 31, 23, 0, 657, 17, 85]] | 5 | 42 |
#include <bits/stdc++.h>
using namespace std;
long double volu(long double s) {
long double l = s / 3;
s = s - l;
long double b = s / 2;
long double h = s - b;
return l * b * h;
}
int main() {
long double n;
cin >> n;
cout << volu(n);
} | #include <bits/stdc++.h>
using namespace std;
long double volu(long double s) {
long double l = s / 3;
s = s - l;
long double b = s / 2;
long double h = s - b;
return l * b * h;
}
int main() {
long double n;
cin >> n;
cout << fixed;
cout << volu(n);
} | [["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 151]] | 1 | 74 |
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cctype>
#include <cmath>
#include <cstdint>
#include <cstdio>
#include <cstring>
#include <deque>
#include <fstream>
#include <functional>
#include <iostream>
#include <limits>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include ... | #include <algorithm>
#include <bitset>
#include <cassert>
#include <cctype>
#include <cmath>
#include <cstdint>
#include <cstdio>
#include <cstring>
#include <deque>
#include <fstream>
#include <functional>
#include <iostream>
#include <limits>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include ... | [["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 326 |
length = gets.chomp.to_i
puts (length/3)**3 | length = gets.chomp.to_i
puts (length.to_f/3)**3 | [["+", 0, 738, 31, 739, 0, 738, 31, 652, 17, 131], ["+", 0, 738, 31, 739, 0, 738, 31, 652, 735, 22]] | 4 | 15 |
#include <bits/stdc++.h>
using namespace std;
#define MOD 1000000007
int main() {
int L;
cin >> L;
double a = L / 3;
cout << fixed << setprecision(10);
cout << a * a * a << endl;
}
| #include <bits/stdc++.h>
using namespace std;
#define MOD 1000000007
int main() {
double L;
cin >> L;
double a = L / 3;
cout << fixed << setprecision(10);
cout << a * a * a << endl;
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 48 |
def main():
L = float(input())
ans = L**3 // 27
print(ans)
if __name__ == '__main__':
main() | def main():
L = int(input())
ans = L**3 / 27
print(ans)
if __name__ == '__main__':
main() | [["-", 8, 196, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 8, 196, 0, 1, 0, 662, 12, 652, 63, 22], ["-", 8, 196, 0, 1, 0, 662, 12, 657, 17, 676], ["+", 8, 196, 0, 1, 0, 662, 12, 657, 17, 85]] | 5 | 34 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.