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 |
|---|---|---|---|---|
from decimal import Decimal
import math
a,b = map(Decimal,input().split())
ans = a*b
print(ans)
print(math.floor(ans)) | from decimal import Decimal
import math
a,b = map(Decimal,input().split())
ans = a*b
print(math.floor(ans)) | [["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 22], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 25], ["-", 36, 36, 0, 656, 0, 1, 0, 652, 63, 22], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 24]] | 5 | 40 |
A, B = input().split()
A = int(A)
B = int(float(B) * 100 + 0.5)
ans = A * B / 100
print(ans) | A, B = input().split()
A = int(A)
B = int(float(B) * 100 + 0.5)
ans = A * B // 100
print(ans) | [["-", 0, 656, 0, 1, 0, 662, 12, 657, 17, 85], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 17, 676]] | 5 | 41 |
a,b=input().split()
a=int(a)
b=int(float(b)*100+0.5)
ans=int(a*b/100)
print(ans) | a,b=input().split()
a=int(a)
b=int(float(b)*100+0.5)
ans=a*b//100
print(ans) | [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["-", 0, 662, 12, 652, 3, 4, 0, 657, 17, 85], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 17, 676], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25]] | 5 | 44 |
from decimal import Decimal
a,b = input().split()
print(Decimal(a)*Decimal(b)) | from decimal import Decimal
a,b = input().split()
print(int(Decimal(a)*Decimal(b))) | [["+", 0, 1, 0, 652, 3, 4, 0, 652, 63, 22], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["+", 3, 4, 0, 657, 12, 652, 3, 4, 0, 25]] | 5 | 27 |
import fractions
A, B = map(fractions.Fraction, input().split())
print(int(float(A*B)))
| import fractions
import math
A, B = map(fractions.Fraction, input().split())
print(int(math.floor(A*B)))
| [["+", 36, 36, 36, 36, 0, 656, 0, 596, 0, 487], ["+", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22], ["-", 3, 4, 0, 652, 3, 4, 0, 652, 63, 22], ["+", 0, 652, 3, 4, 0, 652, 63, 319, 500, 22], ["+", 0, 652, 3, 4, 0, 652, 63, 319, 0, 131], ["+", 0, 652, 3, 4, 0, 652, 63, 319, 319, 22]] | 5 | 32 |
<?PHP
fscanf(STDIN, "%d %s", $a, $b);
$b = (int) str_replace('.', '', $b);
$kotae = (int)($a * $b / 100);
echo $kotae; | <?PHP
fscanf(STDIN, "%d %s", $a, $b);
$b = (int) str_replace('.', '', $b);
$kotae = intdiv($a * $b, 100);
echo $kotae; | [["-", 0, 493, 0, 1, 0, 11, 12, 74, 0, 24], ["-", 0, 493, 0, 1, 0, 11, 12, 74, 39, 615], ["-", 0, 493, 0, 1, 0, 11, 12, 74, 0, 25], ["+", 0, 493, 0, 1, 0, 11, 12, 613, 63, 141], ["-", 0, 11, 12, 74, 51, 23, 0, 16, 17, 85], ["+", 0, 1, 0, 11, 12, 613, 3, 3, 0, 21]] | 6 | 55 |
a, b = input().split()
a = int(a)
b = float(b)
result = a*b
print(int(result)) | import decimal
a, b = input().split()
a = int(a)
b = decimal.Decimal(b)
result = a * b
print(int(result)) | [["+", 36, 36, 36, 36, 0, 656, 0, 596, 0, 487], ["+", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22], ["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 63, 319, 500, 22], ["+", 0, 1, 0, 662, 12, 652, 63, 319, 0, 131], ["+", 0, 1, 0, 662, 12, 652, 63, 319, 319, 22]] | 5 | 35 |
#include <cmath>
#include <iostream>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
using ll = long long;
int main() {
ll a;
double b;
cin >> a >> b;
ll b2 = (ll)(b * 100);
cout << a * b2 / 100 << endl;
return 0;
}
| #include <cmath>
#include <iostream>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
using ll = long long;
int main() {
ll a;
double b;
cin >> a >> b;
// 四捨五入する
ll b2 = (ll)llround((b * 100.0));
cout << a * b2 / 100 << endl;
return 0;
}
| [["+", 0, 43, 49, 50, 51, 74, 51, 2, 63, 22], ["+", 49, 50, 51, 74, 51, 2, 3, 4, 0, 24], ["-", 49, 50, 51, 2, 3, 4, 0, 16, 12, 13], ["+", 51, 2, 3, 4, 0, 23, 0, 16, 12, 13], ["+", 51, 74, 51, 2, 3, 4, 0, 23, 0, 25]] | 1 | 65 |
from decimal import Decimal
A,B = map(str, input().split())
A = int(A)
B = Decimal(B)
print(A * B) | from decimal import Decimal
A,B = map(str, input().split())
A = int(A)
B = Decimal(B)
print(int(A * B))
| [["+", 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 | 38 |
#include <algorithm>
#include <cmath>
#include <iostream>
#include <limits.h>
#include <map>
#include <utility>
#include <vector>
using namespace std;
using P = pair<int, int>;
using ll = long long;
int main() {
int a;
cin >> a;
string s;
cin >> s;
cout << a * stoi(s.substr(0, 1) + s.substr(2, 2)) / 100 << en... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <limits.h>
#include <map>
#include <utility>
#include <vector>
using namespace std;
using P = pair<int, int>;
using ll = long long;
int main() {
ll a;
cin >> a;
string s;
cin >> s;
cout << a * stoi(s.substr(0, 1) + s.substr(2, 2)) / 100 << end... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78]] | 1 | 83 |
A, B = input.split()
a = int(A)
b = round(float(B) * 100)
c = a * b // 100
print(c)
| A, B = input().split()
a = int(A)
b = round(float(B) * 100)
c = a * b // 100
print(c) | [["+", 12, 652, 63, 319, 500, 652, 3, 4, 0, 24], ["+", 12, 652, 63, 319, 500, 652, 3, 4, 0, 25]] | 5 | 37 |
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
double b = sc.nextDouble();
sc.close();
long c = (long)Math.round(b * 100);
double d = a * c;
System.out.println((long)d / 100);
... | import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
double b = sc.nextDouble();
sc.close();
long c = (long)Math.round(b * 100);
long d = a * c;
System.out.println(d / 100);
}
} | [["-", 0, 195, 8, 196, 0, 503, 39, 511, 0, 512], ["+", 0, 195, 8, 196, 0, 503, 39, 506, 0, 96], ["-", 0, 492, 3, 4, 0, 16, 31, 74, 0, 24], ["-", 3, 4, 0, 16, 31, 74, 39, 506, 0, 96], ["-", 0, 492, 3, 4, 0, 16, 31, 74, 0, 25]] | 3 | 102 |
#include <bits/stdc++.h>
using namespace std;
////////////////////////////// Begin Macros
#define all(x) (x).begin(), (x).end()
#define rep(i, N) for (int i = 0; i < (int)(N); i++)
#define reprev(i, N) for (int i = (int)(N)-1; i >= 0; i--)
#define rep1(i, N) for (int i = 1; i <= (int)(N); i++)
#define rep1rev(i, N)... | #include <bits/stdc++.h>
using namespace std;
////////////////////////////// Begin Macros
#define all(x) (x).begin(), (x).end()
#define rep(i, N) for (int i = 0; i < (int)(N); i++)
#define reprev(i, N) for (int i = (int)(N)-1; i >= 0; i--)
#define rep1(i, N) for (int i = 1; i <= (int)(N); i++)
#define rep1rev(i, N)... | [["+", 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 | 1,174 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> P;
const ll mod = 1e9 + 7, INF = mod * mod * 3; // M_PI
#define rep(i, N) for (ll i = 0; i < (N); i++)
#define rep1(i, N) for (ll i = 1; i < (N); i++)
#define pb push_back
ll A;
double B;
int main() {
cin.tie(0);
ios::sync_w... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> P;
const ll mod = 1e9 + 7, INF = mod * mod * 3; // M_PI
#define rep(i, N) for (ll i = 0; i < (N); i++)
#define rep1(i, N) for (ll i = 1; i < (N); i++)
#define pb push_back
ll A;
double B;
int main() {
cin.tie(0);
ios::sync_w... | [["+", 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 | 110 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> P;
const ll mod = 1e9 + 7, INF = mod * mod * 3; // M_PI
#define rep(i, N) for (ll i = 0; i < (N); i++)
#define rep1(i, N) for (ll i = 1; i < (N); i++)
#define pb push_back
ll A;
long double B;
int main() {
cin.tie(0);
ios::s... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> P;
const ll mod = 1e9 + 7, INF = mod * mod * 3; // M_PI
#define rep(i, N) for (ll i = 0; i < (N); i++)
#define rep1(i, N) for (ll i = 1; i < (N); i++)
#define pb push_back
ll A;
double B;
int main() {
cin.tie(0);
ios::sync_w... | [["-", 36, 36, 0, 30, 0, 43, 39, 86, 0, 96], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 111 |
#include <iostream>
int main() {
long double a, b;
std::cin >> a >> b;
std::cout << (long long)(a * b + 0.01);
} | #include <iostream>
int main() {
long double a, b;
std::cin >> a >> b;
std::cout << (long long)(a * b + 1e-3);
} | [["-", 0, 16, 12, 74, 51, 23, 0, 16, 12, 13], ["+", 0, 16, 12, 74, 51, 23, 0, 16, 12, 13]] | 1 | 38 |
#include <iostream>
int main() {
long double a, b;
std::cin >> a >> b;
std::cout << (long long)(a * b + 0.01) << "\n";
} | #include <iostream>
int main() {
long double a, b;
std::cin >> a >> b;
std::cout << (long long)(a * b + 0.001);
} | [["-", 31, 16, 12, 74, 51, 23, 0, 16, 12, 13], ["+", 0, 16, 12, 74, 51, 23, 0, 16, 12, 13], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 17, 151], ["-", 8, 9, 0, 1, 0, 16, 12, 5, 0, 62], ["-", 8, 9, 0, 1, 0, 16, 12, 5, 0, 44]] | 1 | 42 |
#include <iostream>
int main() {
long double a, b;
std::cin >> a >> b;
std::cout << (long long)(a * b + 0.01) << "\n";
} | #include <iostream>
int main() {
long double a, b;
std::cin >> a >> b;
std::cout << (long long)(a * b + 0.001) << "\n";
} | [["-", 31, 16, 12, 74, 51, 23, 0, 16, 12, 13], ["+", 31, 16, 12, 74, 51, 23, 0, 16, 12, 13]] | 1 | 42 |
#include <iostream>
int main() {
long long a;
double b;
std::cin >> a >> b;
std::cout << (long long)(a * b + 0.001) << "\n";
} | #include <iostream>
int main() {
long long a;
long double b;
std::cin >> a >> b;
std::cout << (long long)(a * b + 0.001) << "\n";
} | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 43 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
long double b;
cin >> a >> b;
cout << (long long)(a * b + 0.1) << "\n";
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
long double b;
cin >> a >> b;
cout << (long long)(a * b + 0.001) << "\n";
}
| [["-", 31, 16, 12, 74, 51, 23, 0, 16, 12, 13], ["+", 31, 16, 12, 74, 51, 23, 0, 16, 12, 13]] | 1 | 44 |
from decimal import Decimal
a,b = map(float,input().split())
print(Decimal(a*b)//1) | from decimal import Decimal
a,b = map(Decimal,input().split())
print(Decimal(a*b)//1) | [["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22]] | 5 | 31 |
/* Simplicity and Goodness */
#include <bits/stdc++.h>
using namespace std;
#define scn(n) scanf("%d", &n)
#define lscn(n) scanf("%lld", &n)
#define pri(n) printf("%d ", (int)(n))
#define prin(n) printf("%d\n", (int)(n))
#define lpri(n) printf("%lld ", n)
#define lprin(n) printf("%lld\n", n)
#define deb(x) cout << #x ... | /* Simplicity and Goodness */
#include <bits/stdc++.h>
using namespace std;
#define scn(n) scanf("%d", &n)
#define lscn(n) scanf("%lld", &n)
#define pri(n) printf("%d ", (int)(n))
#define prin(n) printf("%d\n", (int)(n))
#define lpri(n) printf("%lld ", n)
#define lprin(n) printf("%lld\n", n)
#define deb(x) cout << #x ... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["-", 0, 14, 8, 9, 0, 1, 0, 11, 31, 22], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 49, 22], ["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 22], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 22]] | 1 | 152 |
from decimal import *
a, b = map(Decimal, input().split())
print(a*b) | from decimal import *
a, b = map(Decimal, input().split())
print(int(a*b)) | [["+", 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 | 26 |
#include "bits/stdc++.h"
using namespace std;
typedef long long ll;
int main() {
ll a;
double b;
cin >> a >> b;
ll B = b * 100 + 0.5;
// ll ans = a * b+0.000001;
// ll B = b;
cout << a * B << endl;
return 0;
}
| #include "bits/stdc++.h"
using namespace std;
typedef long long ll;
int main() {
ll a;
double b;
cin >> a >> b;
ll B = b * 100 + 0.5;
// ll ans = a * b+0.000001;
// ll B = b;
cout << a * B / 100 << endl;
return 0;
}
| [["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 85], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13]] | 1 | 53 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long n, ans = 1, tmp = 1;
double f;
cin >> n >> f;
tmp = f * 100;
ans = (n * tmp) / 100;
cout << ans;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long n, ans = 1, tmp = 1;
double f;
cin >> n >> f;
tmp = round(f * 100);
ans = (n * tmp) / 100;
cout << ans;
} | [["+", 8, 9, 0, 1, 0, 11, 12, 2, 63, 22], ["+", 0, 1, 0, 11, 12, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 11, 12, 2, 3, 4, 0, 25]] | 1 | 53 |
#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 int long long
#define endl '\n'
#define pb push_back
#define fi first
#define se second
#define all(c) (c).begin(), (c).end()
typedef long long ll;
typedef long... | #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 int long long
#define endl '\n'
#define pb push_back
#define fi first
#define se second
#define all(c) (c).begin(), (c).end()
typedef long long ll;
typedef long... | [["+", 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 | 294 |
#include <iostream>
using namespace std;
int main() {
long long a;
float b;
cin >> a >> b;
long long t = (b * 100 + 0.5);
long long ans = a * b;
cout << (ans / 100);
return 0;
}
| #include <iostream>
using namespace std;
int main() {
long long a;
float b;
cin >> a >> b;
long long t = (b * 100 + 0.5);
long long ans = a * t;
cout << (ans / 100);
return 0;
}
| [["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 22], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 22]] | 1 | 56 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long A, C;
float B;
cin >> A >> B;
int D = B * 100;
C = (A / 100) * D + ((A % 100) * D) / 100;
cout << C << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long A, C;
float B;
cin >> A >> B;
int D = B * 100 + 0.5;
C = (A / 100) * D + ((A % 100) * D) / 100;
cout << C << endl;
}
| [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 62 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define REP(i, a, b) for (ll i = (a); i < (b); i++)
#define PER(i, a, b) for (ll i = (a); i >= (b); i--)
#define rep(i, n) REP(i, 0, n)
#define per(i, n) PER(i, n, 0)
#define ALL(a) (a).begin(), (a).end()
const ll INF = 1e18 + 18;
const ll MAX = 200000... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define REP(i, a, b) for (ll i = (a); i < (b); i++)
#define PER(i, a, b) for (ll i = (a); i >= (b); i--)
#define rep(i, n) REP(i, 0, n)
#define per(i, n) PER(i, n, 0)
#define ALL(a) (a).begin(), (a).end()
const ll INF = 1e18 + 18;
const ll MAX = 200000... | [["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 49, 22], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 0, 32], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 51, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 22], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 22]] | 1 | 139 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rng(i, a, b) for (int i = int(a); i < int(b); i++)
#define rep(i, b) rng(i, 0, b)
#define gnr(i, a, b) for (int i = int(b) - 1; i >= int(a); i--)
#define per(i, b) gnr(i, 0, b)
#define pb push_back
#define eb emplace_back
#define a first
#def... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rng(i, a, b) for (int i = int(a); i < int(b); i++)
#define rep(i, b) rng(i, 0, b)
#define gnr(i, a, b) for (int i = int(b) - 1; i >= int(a); i--)
#define per(i, b) gnr(i, 0, b)
#define pb push_back
#define eb emplace_back
#define a first
#def... | [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 120 |
#include <bits/stdc++.h>
using namespace std;
int main() {
unsigned long long int A;
double B;
cin >> A >> B;
unsigned long long int C = A * B;
cout << C << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
unsigned long long int A;
long double B;
cin >> A >> B;
unsigned long long int C = A * B;
cout << C << endl;
}
| [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 43 |
a, b = map(str, input().split(" "))
a = int(a)
b = int(b.replace(".", ""))
# print(a)
# print(b)
print(a*b)
| a, b = map(str, input().split(" "))
a = int(a)
b = int(b.replace(".", ""))
# print(a)
# print(b)
print(a*b//100)
| [["+", 0, 1, 0, 652, 3, 4, 0, 657, 17, 676], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 12, 612]] | 5 | 49 |
import math
A,B = input().split()
A = int(A)
B = float(B)
print(int(math.floor(A*B))) | from decimal import Decimal
import math
A,B = input().split()
A = int(A)
B = Decimal(B)
print(int(math.floor(A*B))) | [["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 314], ["+", 36, 36, 0, 656, 0, 686, 687, 673, 0, 22], ["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 487], ["+", 36, 36, 0, 656, 0, 686, 141, 673, 0, 22], ["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22]] | 5 | 39 |
#include <bits/stdc++.h>
#include <climits>
#include <math.h>
using namespace std;
int main() {
long long int a;
double b;
int new_b;
long long int sol;
cin >> a >> b;
// cout << b<<endl;
new_b = (int)(b * 100);
// cout << new_b<<endl;
sol = a * new_b;
sol = sol / 100;
cout << sol << endl;
... | #include <bits/stdc++.h>
#include <climits>
#include <math.h>
using namespace std;
int main() {
long long int a;
double b;
int new_b;
long long int sol;
cin >> a >> b;
// cout << b<<endl;
new_b = (int)(b * 100 + 0.5);
// cout << new_b<<endl;
sol = a * new_b;
sol = sol / 100;
cout << sol << ... | [["+", 0, 11, 12, 74, 51, 23, 0, 16, 17, 72], ["+", 0, 11, 12, 74, 51, 23, 0, 16, 12, 13]] | 1 | 72 |
#include <bits/stdc++.h>
#include <cstdio>
#include <map>
#include <math.h>
#include <queue>
#include <set>
using namespace std;
using ll = long long;
int main() {
double A;
double B;
cin >> A >> B;
double C = A * B;
ll D = floor(C);
cout << D << endl;
return 0;
}
| #include <bits/stdc++.h>
#include <cstdio>
#include <map>
#include <math.h>
#include <queue>
#include <set>
using namespace std;
using ll = long long;
int main() {
long double A;
long double B;
cin >> A >> B;
long double C = A * B;
ll D = floorl(C);
cout << D << endl;
return 0;
}
| [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 8, 9, 0, 43, 49, 50, 51, 2, 63, 22], ["+", 8, 9, 0, 43, 49, 50, 51, 2, 63, 22]] | 1 | 64 |
// C.
#include <algorithm>
#include <cmath>
#include <iostream>
#include <numeric>
#include <sstream>
#include <tuple>
#include <vector>
using namespace std;
typedef long long LL;
int main(int argc, char *argv[]) {
LL a, b;
double d;
cin >> a >> d;
b = (LL)(d * 100 + 1e-20);
LL ans = (a * b) / 100;
cout... | // C.
#include <algorithm>
#include <cmath>
#include <iostream>
#include <numeric>
#include <sstream>
#include <tuple>
#include <vector>
using namespace std;
typedef long long LL;
int main(int argc, char *argv[]) {
LL a, b;
double d;
cin >> a >> d;
b = (LL)(d * 100 + 1e-10);
LL ans = (a * b) / 100;
cout... | [["-", 0, 11, 12, 2, 3, 4, 0, 16, 12, 13], ["+", 0, 11, 12, 2, 3, 4, 0, 16, 12, 13]] | 1 | 85 |
#include <bits/stdc++.h>
using namespace std;
int main(void) {
long long int A, C;
double B;
vector<int> E(20);
cin >> A >> B;
C = int64_t(B * 100);
A *= C;
A /= 100;
cout << A << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main(void) {
long long int A, C;
double B;
vector<int> E(20);
cin >> A >> B;
C = int64_t(B * 100 + 0.5);
A *= C;
A /= 100;
cout << A << endl;
} | [["+", 0, 11, 12, 2, 3, 4, 0, 16, 17, 72], ["+", 0, 11, 12, 2, 3, 4, 0, 16, 12, 13]] | 1 | 61 |
A, B = input().split()
print(int(A) * int(B[0] + B[1] + B[2] + B[3]) // 100) | A, B = input().split()
print(int(A) * int(B[0] + B[2] + B[3]) // 100) | [["-", 0, 657, 31, 657, 31, 657, 12, 206, 206, 612], ["-", 0, 657, 31, 657, 31, 657, 12, 206, 0, 73], ["-", 12, 652, 3, 4, 0, 657, 31, 657, 17, 72], ["-", 3, 4, 0, 657, 31, 657, 12, 206, 51, 22], ["-", 3, 4, 0, 657, 31, 657, 12, 206, 0, 70]] | 5 | 43 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using Graph = vector<vector<int>>;
using WGraph = vector<vector<pair<int, ll>>>;
template <class T> inline bool chmax(T &a, const T &b) {
if (b > a) {
a = b;
return true;
}
return false;
}
template <class T> inline bool chmin(T &a, cons... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using Graph = vector<vector<int>>;
using WGraph = vector<vector<pair<int, ll>>>;
template <class T> inline bool chmax(T &a, const T &b) {
if (b > a) {
a = b;
return true;
}
return false;
}
template <class T> inline bool chmin(T &a, cons... | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 249 |
#include <bits/stdc++.h>
using namespace std;
// 型定義
typedef long long ll;
typedef pair<ll, ll> P;
// forループ
#define REP(i, n) for (ll i = 0; i < (ll)(n); ++i)
// 定数宣言
const int INF = 1e9;
const int MOD = 1e9 + 7;
const ll LINF = 1e18;
// グラフ表現
using Graph = vector<vector<int>>;
// グラフの辺表現
using Edge = map<pair<in... | #include <bits/stdc++.h>
using namespace std;
// 型定義
typedef long long ll;
typedef pair<ll, ll> P;
// forループ
#define REP(i, n) for (ll i = 0; i < (ll)(n); ++i)
// 定数宣言
const int INF = 1e9;
const int MOD = 1e9 + 7;
const ll LINF = 1e18;
// グラフ表現
using Graph = vector<vector<int>>;
// グラフの辺表現
using Edge = map<pair<in... | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 236 |
#include "bits/stdc++.h"
using namespace std;
#define int long long
#define REP(i, n) for (int i = 0; i < (int)n; ++i)
#define RREP(i, n) for (int i = (int)n - 1; i >= 0; --i)
#define FOR(i, s, n) for (int i = s; i < (int)n; ++i)
#define RFOR(i, s, n) for (int i = (int)n - 1; i >= s; --i)
#define ALL(a) a.begin(), a.en... | #include "bits/stdc++.h"
using namespace std;
#define int long long
#define REP(i, n) for (int i = 0; i < (int)n; ++i)
#define RREP(i, n) for (int i = (int)n - 1; i >= 0; --i)
#define FOR(i, s, n) for (int i = s; i < (int)n; ++i)
#define RFOR(i, s, n) for (int i = (int)n - 1; i >= s; --i)
#define ALL(a) a.begin(), a.en... | [["-", 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 | 229 |
from decimal import Decimal
# ----------
# ----------
A, B = map(float, input().split())
A = Decimal(A)
B = Decimal(B)
print(int(A * B))
| from decimal import Decimal
A, B = map(str, input().split())
A = Decimal(A)
B = Decimal(B)
print(int(A * B))
| [["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22]] | 5 | 43 |
#include <algorithm>
#include <cmath>
#include <deque>
#include <functional>
#include <iostream>
#include <iterator>
#include <limits>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <tuple>
#include <vector>
using namespace std;
typedef long long ll;
#def... | #include <algorithm>
#include <cmath>
#include <deque>
#include <functional>
#include <iostream>
#include <iterator>
#include <limits>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <tuple>
#include <vector>
using namespace std;
typedef long long ll;
#def... | [["-", 0, 16, 31, 16, 12, 74, 51, 2, 63, 22], ["+", 0, 16, 31, 16, 12, 74, 51, 2, 63, 22]] | 1 | 110 |
A,B = [float(i) for i in input().split(" ")]
print(int(A*B)) | from decimal import Decimal
A,B = [Decimal(i) for i in input().split(" ")]
print(int(A*B)) | [["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 314], ["+", 36, 36, 0, 656, 0, 686, 687, 673, 0, 22], ["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 487], ["+", 36, 36, 0, 656, 0, 686, 141, 673, 0, 22], ["-", 0, 1, 0, 662, 12, 658, 8, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 658, 8, 652, 63, 22]] | 5 | 32 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define ll long long
int main() {
ll a;
double b;
cin >> a >> b;
int ib = b * 100;
a = a * ib;
cout << a / 100 << endl;
} | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define ll long long
int main() {
ll a;
double b;
cin >> a >> b;
int ib = b * 100 + 0.3;
a = a * ib;
cout << a / 100 << endl;
} | [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 56 |
#include <bits/stdc++.h>
#define all(x) (x).begin(), (x).end()
using namespace std;
using ll = long long;
using vi = vector<int>;
using vii = vector<vi>;
int main() {
ll A;
double B;
cin >> A >> B;
ll ans = A * B;
cout << ans << endl;
return 0;
} | #include <bits/stdc++.h>
#define all(x) (x).begin(), (x).end()
using namespace std;
using ll = long long;
using vi = vector<int>;
using vii = vector<vi>;
int main() {
ll A;
double long B; // long
cin >> A >> B;
ll ans = A * B + 0.001;
cout << ans << endl;
return 0;
} | [["+", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 68 |
#include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main(void) {
long long int a = 0;
double b = 0;
long long int ans = 0;
scanf("%lld%lf", &a, &b);
// printf("%lld\n", a);
// printf("%lf\n", b);
b = b * 100 + 0.5;
ans = a * b;
ans /= 100;
// ans = floor(a * b);
pr... | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main(void) {
long long int a = 0;
double b = 0;
long long int ans = 0;
scanf("%lld%lf", &a, &b);
// printf("%lld\n", a);
// printf("%lf\n", b);
long long int c = b * 100 + 0.5;
ans = a * c;
ans /= 100;
// ans = floor... | [["-", 0, 14, 8, 9, 0, 1, 0, 11, 31, 22], ["+", 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, 49, 50, 49, 22], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 22]] | 1 | 81 |
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;
public class Main {
public static void main(String... args) {
Scanner scan = new Scanner(System.in);
long A = scan.nextLong();
float B = scan.nextFloat();
BigDecimal a = BigDecimal.valueOf(A);
BigDecimal b = Big... | import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;
public class Main {
public static void main(String... args) {
Scanner scan = new Scanner(System.in);
long A = scan.nextLong();
double B = scan.nextDouble();
BigDecimal a = BigDecimal.valueOf(A);
BigDecimal b = B... | [["-", 0, 195, 8, 196, 0, 503, 39, 511, 0, 531], ["+", 0, 195, 8, 196, 0, 503, 39, 511, 0, 512], ["-", 8, 196, 0, 503, 49, 200, 51, 492, 141, 22], ["+", 8, 196, 0, 503, 49, 200, 51, 492, 141, 22], ["-", 3, 4, 0, 492, 3, 4, 0, 509, 119, 22], ["+", 3, 4, 0, 492, 3, 4, 0, 509, 119, 22]] | 3 | 109 |
#!/usr/bin/python
import sys
import math
#Input Functions
#===============
input = sys.stdin.readline
def inp():
return(int(input()))
def inlt():
return(list(map(int,input().split())))
def insr():
s = input()
return(list(s[:len(s) - 1]))
def invr():
return(map(int,input().split()))
#==========... | #!/usr/bin/python
import sys
import math
#Input Functions
#===============
input = sys.stdin.readline
def inp():
return(int(input()))
def inlt():
return(list(map(int,input().split())))
def insr():
s = input()
return(list(s[:len(s) - 1]))
def invr():
return(map(int,input().split()))
#==========... | [["+", 0, 662, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 662, 12, 652, 3, 4, 0, 657, 12, 531]] | 5 | 166 |
import sys
sys.setrecursionlimit(10**6)
readline = sys.stdin.readline
#read = sys.stdin.buffer.read
def main():
N1 = list(readline().split())
N = int(N1[0]); M = float(N1[1])
ans = int(N*M)
print(ans)
if __name__ == "__main__":
main()
| import sys
from decimal import Decimal
sys.setrecursionlimit(10**6)
readline = sys.stdin.readline
#read = sys.stdin.buffer.read
def main():
N1 = list(readline().split())
N = int(N1[0]); M = Decimal(N1[1])
#M2 = float(N1[1])
ans = int(N*M)
print(ans)
#print(int(N*M2))
if __name__ == "__main__... | [["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 314], ["+", 36, 36, 0, 656, 0, 686, 687, 673, 0, 22], ["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 487], ["+", 36, 36, 0, 656, 0, 686, 141, 673, 0, 22], ["-", 8, 196, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 8, 196, 0, 1, 0, 662, 12, 652, 63, 22]] | 5 | 76 |
import sys
sys.setrecursionlimit(10**6)
readline = sys.stdin.readline
#read = sys.stdin.buffer.read
def main():
N1 = list(readline().split())
N = int(N1[0]); M = float(N1[1])
ans = int(N*M)
print(ans)
if __name__ == "__main__":
main()
| import sys
from decimal import Decimal
sys.setrecursionlimit(10**6)
readline = sys.stdin.readline
#read = sys.stdin.buffer.read
def main():
N1 = list(readline().split())
N = int(N1[0]); M = Decimal(N1[1])
ans = int(N*M)
print(ans)
if __name__ == "__main__":
main()
| [["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 314], ["+", 36, 36, 0, 656, 0, 686, 687, 673, 0, 22], ["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 487], ["+", 36, 36, 0, 656, 0, 686, 141, 673, 0, 22], ["-", 8, 196, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 8, 196, 0, 1, 0, 662, 12, 652, 63, 22]] | 5 | 76 |
def resolve():
X,Y = map(float,input().split())
print(int(X*Y))
resolve() | from decimal import *
def resolve():
X,Y = map(Decimal,input().split())
print(int(X*Y))
resolve() | [["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 314], ["+", 36, 36, 0, 656, 0, 686, 687, 673, 0, 22], ["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 487], ["+", 36, 36, 0, 656, 0, 686, 0, 690, 0, 48], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22]] | 5 | 33 |
#include <iostream>
using namespace std;
int main() {
long double b;
long long int a;
cin >> a >> b;
b = b * 100;
long long int s;
s = b;
cout << (a * s) / 100 << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
long double b;
long long int a;
cin >> a >> b;
b = b * 100 + 0.5;
long long int s;
s = b;
cout << (a * s) / 100 << endl;
return 0;
} | [["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 72], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 57 |
#include <stdio.h>
int main() {
long long a, ans;
double b;
scanf("%lld %lf", &a, &b);
ans = (long long)(a * (long double)b);
printf("%lld", ans);
return 0;
} | #include <stdio.h>
int main() {
long long a, ans;
long double b;
scanf("%lld %Lf", &a, &b);
ans = (long long)(a * b);
printf("%lld", 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], ["-", 12, 74, 51, 23, 0, 16, 12, 74, 0, 24], ["-", 0, 16, 12, 74, 39, 77, 39, 86, 0, 96], ["-", 0, 16, 12, 74, 39, 77, 39, 86, 39, 40], ["-", 12, 74, 51, 23, 0, 16, 12, 74, 0, 25]] | 0 | 58 |
#include <cstdio>
using namespace std;
typedef long long ll;
int main() {
ll a, b;
char s[5];
scanf("%lld%s", &a, &s);
b = (s[0] - '0') * 100 + (s[2] - '0') * 10 + (s[3] - '0');
printf("%lld\n", a * b);
return 0;
} | #include <cstdio>
using namespace std;
typedef long long ll;
int main() {
ll a, b;
char s[5];
scanf("%lld%s", &a, &s);
b = (s[0] - '0') * 100 + (s[2] - '0') * 10 + (s[3] - '0');
printf("%lld\n", a * b / 100);
return 0;
} | [["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 85], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13]] | 1 | 95 |
#include <cstdio>
#include <iostream>
#include <map>
#include <string>
typedef long long ll;
const ll inf = 1e18;
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
ll a;
double b;
cin >> a >> b;
cout << (ll)(a * b) << endl;
return 0;
} | #include <cstdio>
#include <iostream>
#include <map>
#include <string>
typedef long long ll;
const ll inf = 1e18;
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
long double a;
long double b;
cin >> a >> b;
cout << (ll)(a * b) << endl;
return 0;
} | [["-", 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]] | 1 | 71 |
#include <iomanip>
#include <iostream>
#include <math.h>
#include <string>
using namespace std;
#define PI 3.14159265358979323846264338327950L
long long int res;
int main() {
cin.tie(nullptr);
ios::sync_with_stdio(false);
double A;
double B;
// double floor(double);
cin >> A;
cin >> B;
res = A * B;
... | #include <iomanip>
#include <iostream>
#include <math.h>
#include <string>
using namespace std;
#define PI 3.14159265358979323846264338327950L
long long int res;
int main() {
cin.tie(nullptr);
ios::sync_with_stdio(false);
long double A;
long double B;
// double floor(double);
cin >> A;
cin >> B;
res... | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 0, 1, 0, 11, 12, 74, 51, 2, 63, 22], ["-", 0, 11, 12, 74, 51, 2, 3, 4, 0, 24], ["-", 0, 11, 12, 74, 51, 2, 3, 4, 0, 25]] | 1 | 82 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
cin >> a;
double b;
cin >> b;
long long c = (long long)(b * 100);
long long ans = (a * c) / 100;
cout << ans << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
cin >> a;
double b;
cin >> b;
long long c = (long long)(b * 100.00 + 0.5);
long long ans = (a * c) / 100;
cout << ans << endl;
return 0;
}
| [["-", 49, 50, 51, 74, 51, 23, 0, 16, 12, 13], ["+", 51, 74, 51, 23, 0, 16, 31, 16, 12, 13], ["+", 49, 50, 51, 74, 51, 23, 0, 16, 17, 72], ["+", 49, 50, 51, 74, 51, 23, 0, 16, 12, 13]] | 1 | 62 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
ll solve() {
ll A;
double B;
cin >> A >> B;
ll b100 = (ll)(B * 100);
ll ans = A * b100 / 100;
return ans;
}
int main() {
auto ans = solve();
cout << ans << "\n";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
ll solve() {
ll A;
double B;
cin >> A >> B;
ll b100 = (ll)(B * 100 + 0.5);
ll ans = A * b100 / 100;
return ans;
}
int main() {
auto ans = solve();
cout << ans << "\n";
return 0;
} | [["+", 49, 50, 51, 2, 3, 4, 0, 16, 17, 72], ["+", 49, 50, 51, 2, 3, 4, 0, 16, 12, 13]] | 1 | 78 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
double a, b;
cin >> a >> b;
cout << (ll)(a * b) << endl;
} | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
long double a, b;
cin >> a >> b;
cout << (ll)(a * b) << endl;
} | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 41 |
a,b = map(str,input().split())
b = list(b)
del b[-3]
b = "".join(b)
print(round(int(a)*int(b)/100)) | a,b = map(str,input().split())
b = list(b)
del b[-3]
b = "".join(b)
print(int(a)*int(b)//100) | [["-", 0, 1, 0, 652, 3, 4, 0, 652, 63, 22], ["-", 0, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["-", 3, 4, 0, 652, 3, 4, 0, 657, 17, 85], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 17, 676], ["-", 0, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 54 |
#include <bits/stdc++.h>
#include <iomanip>
using namespace std;
#define reps(i, s, n) for (int i = s; i < n; i++)
#define rep(i, n) reps(i, 0, n)
#define Rreps(i, n, e) for (int i = n - 1; i >= e; --i)
#define Rrep(i, n) Rreps(i, n, 0)
#define ALL(a) a.begin(), a.end()
#define fi first
#define se second
typedef long l... | #include <bits/stdc++.h>
#include <iomanip>
using namespace std;
#define reps(i, s, n) for (int i = s; i < n; i++)
#define rep(i, n) reps(i, 0, n)
#define Rreps(i, n, e) for (int i = n - 1; i >= e; --i)
#define Rrep(i, n) Rreps(i, n, 0)
#define ALL(a) a.begin(), a.end()
#define fi first
#define se second
typedef long l... | [["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 85], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13]] | 1 | 158 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using ll = long long;
int main() {
ll A;
long double B;
cin >> A >> B;
int C;
C = 100 * B;
int D = B;
D *= 100;
int E = C - D;
ll F = E * A;
ll G = D * A;
ll ans = F + G;
ans /= 100;
cout << an... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using ll = long long;
int main() {
ll A;
long double B;
cin >> A >> B;
int C;
C = 100 * B + 0.5;
int D = B;
D *= 100;
int E = C - D;
ll F = E * A;
ll G = D * A;
ll ans = F + G;
ans /= 100;
cout... | [["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 72], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 95 |
import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner scn = new Scanner(System.in);
long a = scn.nextLong();
double b = scn.nextDouble();
double b2 = Math.round(b);
long B = (long)(b2 * 100);
long ans = a * B;
long ans2 = ans / 100;
System.... | import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner scn = new Scanner(System.in);
long a = scn.nextLong();
double b = scn.nextDouble();
double b2 = Math.round(b * 100);
long B = (long)b2;
long ans = a * B;
long ans2 = ans / 100;
System.ou... | [["+", 49, 200, 51, 492, 3, 4, 0, 16, 17, 48], ["+", 49, 200, 51, 492, 3, 4, 0, 16, 12, 499], ["-", 0, 503, 49, 200, 51, 74, 51, 23, 0, 24], ["-", 49, 200, 51, 74, 51, 23, 0, 16, 17, 48], ["-", 49, 200, 51, 74, 51, 23, 0, 16, 12, 499], ["-", 0, 503, 49, 200, 51, 74, 51, 23, 0, 25]] | 3 | 104 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long A = sc.nextLong();
double B = sc.nextDouble();
sc.close();
long hyakubaiB = (long)(B * 100);
System.out.println((A * hyakubaiB) / 100);
}
}
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long A = sc.nextLong();
double B = sc.nextDouble();
sc.close();
long hyakubaiB = (long)(Math.round(B * 100));
System.out.println((A * hyakubaiB) / 100);
}
}
| [["+", 49, 200, 51, 74, 51, 23, 0, 492, 500, 22], ["+", 49, 200, 51, 74, 51, 23, 0, 492, 0, 131], ["+", 49, 200, 51, 74, 51, 23, 0, 492, 141, 22], ["+", 51, 74, 51, 23, 0, 492, 3, 4, 0, 24], ["+", 51, 74, 51, 23, 0, 492, 3, 4, 0, 25]] | 3 | 86 |
#include <iostream>
using namespace std;
int main() {
int64_t a;
double b;
cin >> a >> b;
int64_t c = b * 100 + 0.5;
cout << a * c << endl;
}
| #include <iostream>
using namespace std;
int main() {
int64_t a;
double b;
cin >> a >> b;
int64_t c = b * 100 + 0.5;
cout << a * c / 100 << endl;
}
| [["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 85], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13]] | 1 | 41 |
#ifdef _MSC_VER
#include "stdc++.h"
#endif
#ifdef __GNUC__
#include <bits/stdc++.h>
#endif
using namespace std;
using ll = long long;
// vector
using vi = vector<int>;
using vii = vector<vi>;
using vll = vector<ll>;
using vvll = vector<vll>;
// constant
const double EPS = 1e-10;
#define REP(i, n) for (ll i = 0; i <... | #ifdef _MSC_VER
#include "stdc++.h"
#endif
#ifdef __GNUC__
#include <bits/stdc++.h>
#endif
using namespace std;
using ll = long long;
// vector
using vi = vector<int>;
using vii = vector<vi>;
using vll = vector<ll>;
using vvll = vector<vll>;
// constant
const double EPS = 1e-10;
#define REP(i, n) for (ll i = 0; i <... | [["+", 51, 16, 31, 16, 12, 74, 51, 2, 63, 22], ["+", 12, 74, 51, 2, 3, 4, 0, 16, 17, 72], ["+", 12, 74, 51, 2, 3, 4, 0, 16, 12, 13]] | 1 | 326 |
def main(*, int=int, input=input):
a, b = map(float, input().split())
bi = round(b*100)
ai = int(a)
x = ai*bi
x = x // 100
print(bi)
if __name__ == "__main__":
import io, sys
if "_INPUT" in locals():
sys.stdin = io.StringIO(_INPUT)
main() | def main(*, int=int, input=input):
a, b = map(float, input().split())
bi = round(b*100)
ai = int(a)
x = ai*bi
x = x // 100
print(x)
if __name__ == "__main__":
import io, sys
if "_INPUT" in locals():
sys.stdin = io.StringIO(_INPUT)
main() | [["-", 8, 196, 0, 1, 0, 652, 3, 4, 0, 22], ["+", 8, 196, 0, 1, 0, 652, 3, 4, 0, 22]] | 5 | 91 |
from decimal import *
a, b = map(int, input().split())
ans = Decimal(a) * Decimal(b)
print(int(ans))
| from decimal import *
a, b = input().split()
ans = Decimal(a) * Decimal(b)
print(int(ans))
| [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 21], ["-", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 38 |
#include <algorithm>
#include <bitset>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <sstream>
#include <string>
#include <vector>
#define PI 3.141592653589793
const int MOD = 1e9 + 7;
typedef long long ll;
using namespace std;
int main() {
ll a, ... | #include <algorithm>
#include <bitset>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <sstream>
#include <string>
#include <vector>
#define PI 3.141592653589793
const int MOD = 1e9 + 7;
typedef long long ll;
using namespace std;
int main() {
ll a, ... | [["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 72], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 80 |
#include <cfloat>
#include <iostream>
using namespace std;
int main() {
long long a, ans;
double b;
cin >> a;
cin >> b;
// Bを100倍する際に微小な数epilonを足して切り捨ててもらう
ans = (a * (long long)(b * 100 + DBL_EPSILON)) / 100;
cout << ans << endl;
} | //浮動小数点数として掛け算を行うと精度が足りません。
// B を 100 倍して、 (A × (B ×
// 100))/100とすることで、整数の範囲で誤差なく計算することができます。
// 64bit整数は、64bit分整数の情報が詰め込まれてるんだけど、
// double型などの倍精度浮動小数点数だと、符号に1bit、指数を表すのに11bitで、
//整数情報は残りの52bitしか残されない。なのでこの問題の答えを正確に計算できない
//////→いわゆる丸め誤差?近似値を用いるしかなくなって切り捨てられたりしちゃう誤差?
//////→double型でも精度はせいぜい15桁程度であり、上述の通り整数との計算でも容易に... | [["-", 12, 74, 51, 23, 0, 16, 31, 16, 12, 13], ["+", 12, 74, 51, 23, 0, 16, 31, 16, 12, 13], ["-", 0, 16, 12, 74, 51, 23, 0, 16, 12, 22], ["+", 0, 16, 12, 74, 51, 23, 0, 16, 12, 13]] | 1 | 58 |
#include <cfloat>
#include <iostream>
using namespace std;
int main() {
long long a, ans;
double b;
cin >> a;
cin >> b;
// Bを100倍する際に微小な数epilonを足して切り捨ててもらう
ans = (a * (long long)(b * 100 + DBL_EPSILON)) / 100;
cout << ans << endl;
} | #include <cfloat>
#include <iostream>
using namespace std;
int main() {
long long a, ans;
double b;
cin >> a;
cin >> b;
// Bを100倍する際に微小な数を足して切り捨ててもらう
ans = (a * (long long)(b * 100.0 + 0.001)) / 100;
cout << ans << endl;
} | [["-", 12, 74, 51, 23, 0, 16, 31, 16, 12, 13], ["+", 12, 74, 51, 23, 0, 16, 31, 16, 12, 13], ["-", 0, 16, 12, 74, 51, 23, 0, 16, 12, 22], ["+", 0, 16, 12, 74, 51, 23, 0, 16, 12, 13]] | 1 | 58 |
#include <iostream>
using namespace std;
int main() {
// freopen("input.txt", "r", stdin);
// freopen("output.txt", "w", stdout);
long long A, B;
double b;
cin >> A;
cin >> b;
B = b * 100;
cout << (A * B) / 100 << endl;
} | #include <iostream>
using namespace std;
int main() {
// freopen("input.txt", "r", stdin);
// freopen("output.txt", "w", stdout);
long long A, B;
double b;
cin >> A;
cin >> b;
B = b * 100 + 1e-7;
// cout << B << endl;
cout << (A * B) / 100 << endl;
} | [["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 72], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 49 |
#include <bits/stdc++.h>
using namespace std;
int main(void) {
long long a;
double b;
cin >> a >> b;
auto lb = (long long)(100 * b);
auto ans = (a * lb) / 100LL;
printf("%lld\n", ans);
} | #include <bits/stdc++.h>
using namespace std;
int main(void) {
long long a;
double b;
cin >> a >> b;
auto lb = (long long)(100 * b + 0.001);
auto ans = (a * lb) / 100;
printf("%lld\n", ans);
} | [["+", 49, 50, 51, 74, 51, 23, 0, 16, 17, 72], ["+", 49, 50, 51, 74, 51, 23, 0, 16, 12, 13], ["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 60 |
from decimal import *
a, b = map(float, input().split())
print(int(Decimal(a) * Decimal(b)))
| from decimal import *
a, b = input().split()
print(int(Decimal(a) * Decimal(b)))
| [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 21], ["-", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 35 |
def main():
a, b = input().split()
a = int(a)
b = float(b)
res = int(a*b)
print(res)
main()
| from decimal import Decimal
def main():
a, b = input().split()
a = Decimal(a)
b = Decimal(b)
res = int(a*b)
print(res)
main()
| [["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 314], ["+", 36, 36, 0, 656, 0, 686, 687, 673, 0, 22], ["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 487], ["+", 36, 36, 0, 656, 0, 686, 141, 673, 0, 22], ["-", 8, 196, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 8, 196, 0, 1, 0, 662, 12, 652, 63, 22]] | 5 | 43 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
double b;
cin >> a >> b;
long long ans = floor(a * b);
cout << (long long)ans << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
long double b;
cin >> a >> b;
long double ans = floor(a * b);
cout << (long long)ans << endl;
}
| [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40]] | 1 | 46 |
#include "bits/stdc++.h"
using namespace std;
int main() {
int64_t a, b;
double b_syousuu;
cin >> a >> b_syousuu;
b = b_syousuu * 100;
cout << a * b / 100 << endl;
return 0;
} | #include "bits/stdc++.h"
using namespace std;
int main() {
int64_t a, b;
double b_syousuu;
cin >> a >> b_syousuu;
b = b_syousuu * 100 + 0.5;
cout << a * b / 100 << endl;
return 0;
} | [["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 72], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 47 |
import math
A,B = map(str,input().split())
A_float = float(A)
B_float = float(B)
C = A_float * B_float
print(int(C)) | import math
from fractions import Fraction
A,B = map(str,input().split())
A_float = int(A)
B_float = Fraction(B)
C = A_float * B_float
print(int(C)) | [["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 314], ["+", 36, 36, 0, 656, 0, 686, 687, 673, 0, 22], ["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 487], ["+", 36, 36, 0, 656, 0, 686, 141, 673, 0, 22], ["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22]] | 5 | 42 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
int main() {
ll a;
string b;
cin >> a >> b;
long long b100 = (b[0] - '0') * 100 + (b[1] - '0') * 10 + (b[0] - '0') * 1;
cout << a * b100 / 100 << endl;
return 0;
} | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
int main() {
ll a;
string b;
cin >> a >> b;
long long b100 = (b[0] - '0') * 100 + (b[2] - '0') * 10 + (b[3] - '0') * 1;
cout << a * b100 / 100 << endl;
return 0;
} | [["-", 31, 23, 0, 16, 31, 69, 341, 342, 0, 13], ["+", 31, 23, 0, 16, 31, 69, 341, 342, 0, 13]] | 1 | 94 |
from decimal import Decimal
m,n=map(Decimal,input().split(''))
print(int(m*n)) | from decimal import Decimal
m,n=map(Decimal,input().split(' '))
print(int(m*n)) | [["+", 3, 4, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 31 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long A, C;
double B;
cin >> A >> B;
C = B * 100;
A *= C;
A /= 100;
cout << A << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long A, C;
double B;
cin >> A >> B;
C = B * 100 + 0.1;
A *= C;
A /= 100;
cout << A << endl;
}
| [["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 72], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 47 |
#include <algorithm>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#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... | #include <algorithm>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#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... | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 31, 23, 0, 16, 12, 2, 63, 23, 0, 24], ["-", 31, 23, 0, 16, 12, 2, 63, 23, 0, 22], ["-", 31, 23, 0, 16, 12, 2, 63, 23, 0, 25], ["+", 12, 16, 31, 23, 0, 16, 12, 2, 63, 22]] | 1 | 165 |
#include <algorithm>
#include <array>
#include <bitset>
#include <cmath>
#include <complex>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set... | #include <algorithm>
#include <array>
#include <bitset>
#include <cmath>
#include <complex>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set... | [["-", 12, 74, 51, 2, 3, 4, 0, 16, 12, 13], ["+", 12, 74, 51, 2, 3, 4, 0, 16, 12, 13]] | 1 | 2,789 |
#include <algorithm>
#include <bitset>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
using namespace std;
typedef long ... | #include <algorithm>
#include <bitset>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
using namespace std;
typedef long ... | [["-", 51, 16, 31, 16, 31, 16, 31, 16, 31, 22], ["+", 51, 16, 31, 16, 31, 16, 31, 16, 31, 22], ["-", 12, 23, 0, 16, 31, 16, 31, 16, 31, 22], ["+", 12, 23, 0, 16, 31, 16, 31, 16, 31, 22]] | 1 | 220 |
from decimal import Decimal
A,B = input().split()
#print(A*B)
ans = math.floor(Decimal(A)*Decimal(B))
print(ans) | from decimal import Decimal
import math
A,B = input().split()
#print(A*B)
ans = math.floor(Decimal(A)*Decimal(B))
print(ans) | [["+", 36, 36, 36, 36, 0, 656, 0, 596, 0, 487], ["+", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22]] | 5 | 36 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
typedef long long ll;
int main() {
ll a;
double b;
cin >> a >> b;
ll ans = a * b;
cout << ans << endl;
} | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
typedef long long ll;
int main() {
ll a;
long double b;
cin >> a >> b;
ll ans = a * b;
cout << ans << endl;
} | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 50 |
#include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
long long A;
double B;
cin >> A >> B;
cout << fixed << setprecision(0) << floor(B * A) << endl;
}
| #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
long long A;
long double B;
cin >> A >> B;
cout << fixed << setprecision(0) << floor(B * A) << endl;
}
| [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 47 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
int main(void) {
ll a;
double b;
cin >> a >> b;
int ib = b * 100;
cout << (a * ib) / 100 << endl;
return 0;
}
| #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
int main(void) {
ll a;
double b;
cin >> a >> b;
int ib = b * 100 + 0.5;
cout << (a * ib) / 100 << endl;
return 0;
}
| [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 61 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
typedef long long ll;
int main() {
ll a;
cin >> a;
double b;
cin >> b;
int c = b * 100;
ll ans = (a * c) / 100;
cout << ans << endl;
} | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
typedef long long ll;
// One case remains WA
int main() {
ll a;
cin >> a;
double b;
cin >> b;
int c = b * 100 + 0.5;
ll ans = (a * c) / 100;
cout << ans << endl;
} | [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 63 |
#include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <set>
#include <vector>
using namespace std;
#define rep(i, a, b) for (int i = a; i < (b); ++i)
int main() {
long long A;
double B;
cin >> A >> B;
long long iB = B * 100;
long long ans = (A * iB) / 100;
cout << ans << endl;
... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <set>
#include <vector>
using namespace std;
#define rep(i, a, b) for (int i = a; i < (b); ++i)
int main() {
long long A;
double B;
cin >> A >> B;
long long iB = B * 100 + 0.5;
long long ans = (A * iB) / 100;
cout << ans << e... | [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 74 |
#define _USE_MATH_DEFINES
#include <algorithm>
#include <climits>
#include <cmath>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <memory>
#include <numeric>
#include <set>
#include <string>
#include <utility>
#include <vector>
#define rep(i, a, b) for (int i = a; i < b; ++i)
#define ... |
#define _USE_MATH_DEFINES
#include <algorithm>
#include <climits>
#include <cmath>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <memory>
#include <numeric>
#include <set>
#include <string>
#include <utility>
#include <vector>
#define rep(i, a, b) for (int i = a; i < b; ++i)
#define ... | [["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 22]] | 1 | 647 |
def main():
A, B = map(float, input().split())
print(int(A * B))
if __name__ == '__main__':
main()
# import sys
# input = sys.stdin.readline
#
# sys.setrecursionlimit(10 ** 7)
#
# (int(x)-1 for x in input().split())
# rstrip()
#
# def binary_search(*, ok, ng, func):
# while abs(ok - ng) > 1:
# ... | def main():
from decimal import Decimal
A, B = map(Decimal, input().split())
print(int(A * B))
if __name__ == '__main__':
main()
# import sys
# input = sys.stdin.readline
#
# sys.setrecursionlimit(10 ** 7)
#
# (int(x)-1 for x in input().split())
# rstrip()
#
# def binary_search(*, ok, ng, func):
# ... | [["+", 0, 656, 0, 14, 8, 196, 0, 686, 0, 314], ["+", 0, 14, 8, 196, 0, 686, 687, 673, 0, 22], ["+", 0, 656, 0, 14, 8, 196, 0, 686, 0, 487], ["+", 0, 14, 8, 196, 0, 686, 141, 673, 0, 22], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22]] | 5 | 56 |
#include <algorithm>
#include <bitset>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> P;
typedef pair<ll, P> P1;
typedef pair<P, P> P2;
#define pu ... | #include <algorithm>
#include <bitset>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> P;
typedef pair<ll, P> P1;
typedef pair<P, P> P2;
#define pu ... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 178 |
#include <iostream>
#include <string>
using namespace std;
int main() {
long long a;
double b;
{
string s;
cin >> s;
a = atoll(s.c_str());
}
{
string s;
cin >> s;
b = atof(s.c_str());
}
long long c = b * 100;
long long ans = (a * c) / 100;
cout << ans << endl;
return 0;... | #include <iostream>
#include <string>
using namespace std;
int main() {
long long a;
double b;
{
string s;
cin >> s;
a = atoll(s.c_str());
}
{
string s;
cin >> s;
b = atof(s.c_str());
}
long long c = (b + 0.0001) * 100; // 0.0001 は若干不足する場合用
long long ans = (a * c) / 100;
c... | [["+", 0, 43, 49, 50, 51, 16, 31, 23, 0, 24], ["+", 49, 50, 51, 16, 31, 23, 0, 16, 17, 72], ["+", 49, 50, 51, 16, 31, 23, 0, 16, 12, 13], ["+", 0, 43, 49, 50, 51, 16, 31, 23, 0, 25]] | 1 | 90 |
#include <stdio.h>
int main() {
long long int a;
double b;
scanf("%lld %lf", &a, &b);
long long int ib = b * 100 + 0.5;
long long int ans = a * b / 100;
printf("%lld", ans);
return 0;
}
| #include <stdio.h>
int main() {
long long int a;
double b;
scanf("%lld %lf", &a, &b);
long long int c = b * 100 + 0.5;
long long int ans = (a * c) / 100;
printf("%lld", ans);
return 0;
}
| [["-", 0, 14, 8, 9, 0, 43, 49, 50, 49, 22], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 49, 22], ["+", 0, 43, 49, 50, 51, 16, 31, 23, 0, 24], ["-", 0, 43, 49, 50, 51, 16, 31, 16, 12, 22], ["+", 49, 50, 51, 16, 31, 23, 0, 16, 12, 22], ["+", 0, 43, 49, 50, 51, 16, 31, 23, 0, 25]] | 0 | 63 |
#include <iostream>
using namespace std;
int main() {
long double a, b;
cin >> a >> b;
b += 1e18;
cout << (long long int)(a * b) << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
long double a, b;
cin >> a >> b;
b += 1e-18;
cout << (long long int)(a * b) << endl;
return 0;
}
| [["-", 0, 14, 8, 9, 0, 1, 0, 11, 12, 13], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 12, 13]] | 1 | 46 |
#include <cstdio>
#include <iostream>
using namespace std;
using ll = long long;
int main() {
ll A, B, x, y;
scanf("%lld %lld.%lld", &A, &x, &y);
B = x * 100 + y;
cout << A / 100 * B << endl;
return 0;
}
| #include <cstdio>
#include <iostream>
using namespace std;
using ll = long long;
int main() {
ll A, B, x, y;
scanf("%lld %lld.%lld", &A, &x, &y);
B = x * 100 + y;
cout << A * B / 100 << endl;
return 0;
}
| [["-", 0, 16, 31, 16, 12, 16, 31, 16, 17, 85], ["-", 0, 16, 31, 16, 12, 16, 31, 16, 12, 13], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 85], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13]] | 1 | 66 |
from sys import stdin
def main():
read = stdin.readline
A,B = list(read().split(" "))
B = 100*int(B[0]) + 10*int(B[2]) + 1 * int(B[3])
c = int(A) * B
print(int(c/100))
if __name__ == "__main__":
main() | from sys import stdin
def main():
read = stdin.readline
A,B = list(read().split(" "))
B = 100*int(B[0]) + 10*int(B[2]) + 1 * int(B[3])
c = int(A) * B
print(c//100)
if __name__ == "__main__":
main() | [["-", 0, 1, 0, 652, 3, 4, 0, 652, 63, 22], ["-", 0, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["-", 3, 4, 0, 652, 3, 4, 0, 657, 17, 85], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 17, 676], ["-", 0, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 89 |
#include <bits/stdc++.h>
using namespace std;
#define _overload3(_1, _2, _3, _4, name, ...) name
#define _rep(i, n) repi(i, 0, n)
#define repi(i, a, n) for (int i = a; i < n; i++)
#define per(i, a, n, s) for (int i = a; s > 0 ? i < n : i > n; i += s)
#define rep(...) _overload3(__VA_ARGS__, per, repi, _rep, )(__VA_ARGS... | #include <bits/stdc++.h>
using namespace std;
#define _overload3(_1, _2, _3, _4, name, ...) name
#define _rep(i, n) repi(i, 0, n)
#define repi(i, a, n) for (int i = a; i < n; i++)
#define per(i, a, n, s) for (int i = a; s > 0 ? i < n : i > n; i += s)
#define rep(...) _overload3(__VA_ARGS__, per, repi, _rep, )(__VA_ARGS... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 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, 49, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 158 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.