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 <bits/stdc++.h>
using namespace std;
using ll = long long;
const ll INF = 1LL << 60;
int main() {
ll a;
string bs;
cin >> a >> bs;
int b =
(int)(bs[0] - '0') * 100 + (int)(bs[2] - '0') * 10 + (int)(bs[2] - '0');
cout << a * b / 100 << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
const ll INF = 1LL << 60;
int main() {
ll a;
string bs;
cin >> a >> bs;
int b =
(int)(bs[0] - '0') * 100 + (int)(bs[2] - '0') * 10 + (int)(bs[3] - '0');
cout << a * b / 100 << endl;
return 0;
} | [["-", 51, 23, 0, 16, 31, 69, 341, 342, 0, 13], ["+", 51, 23, 0, 16, 31, 69, 341, 342, 0, 13]] | 1 | 100 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const long long INF = 1LL << 60;
int main() {
ll A;
double b;
cin >> A >> b;
ll B = b * 100;
cout << (A * B) / 100 << endl;
} | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
const long long INF = 1LL << 60;
int main() {
ll A;
double b;
cin >> A >> b;
ll ib = b * 100 + 0.5; //暗黙の型変換をするが切り捨て
cout << (A * ib) / 100 << endl;
} | [["-", 0, 14, 8, 9, 0, 43, 49, 50, 49, 22], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 49, 22], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["-", 31, 16, 12, 16, 31, 23, 0, 16, 12, 22], ["+", 31, 16, 12, 16, 31, 23, 0, 16, 12, 22]] | 1 | 58 |
inputs = input().split()
a = int(inputs[0])
b = inputs[1]
b = 100 * int(b[0]) + 10 * int(b[2]) + int(b[3])
print(int(a * b / 100)) | inputs = input().split()
a = int(inputs[0])
b = inputs[1]
b = 100 * int(b[0]) + 10 * int(b[2]) + int(b[3])
print(a * 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 | 64 |
A, B = input().split()
A = int(A)
B = float(B)
B = int(B*100)
ans = A*B//100
print(ans)
| A, B = input().split()
A = int(A)
B = float(B)
B = int(B*100+0.5)
ans = A*B//100
print(ans) | [["+", 0, 662, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 662, 12, 652, 3, 4, 0, 657, 12, 531]] | 5 | 42 |
a,b=input().split()
A=int(a)
bb=b.replace(".","")
B=int(bb)
C=A*B
c=C/100
print(int(c)) | a,b=input().split()
A=int(a)
bb=b.replace(".","")
B=int(bb)
C=A*B
c=C//100
print(int(c)) | [["-", 0, 656, 0, 1, 0, 662, 12, 657, 17, 85], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 17, 676]] | 5 | 53 |
#include <bits/stdc++.h>
#define rep(i, a, n) for (int i = (a); i < (n); i++)
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
int main() {
ll a;
double b;
cin >> a >> b;
ll aa = a;
int bb = b * 100;
printf("%lld\n", (aa * bb) / 100);
return 0;
}
| #include <bits/stdc++.h>
#define rep(i, a, n) for (int i = (a); i < (n); i++)
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
int main() {
ll a;
double b;
cin >> a >> b;
ll aa = a;
int bb = b * 100 + 0.1;
printf("%lld\n", (aa * bb) / 100);
return 0;
}
| [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 79 |
# https://atcoder.jp/contests/abc169/tasks/abc169_c
A, B = gets.split.map(&:to_f)
ans = (A * (B * 100)).to_i / 100
puts ans
| # https://atcoder.jp/contests/abc169/tasks/abc169_c
A, B = gets.split.map(&:to_r)
ans = (A * (B * 100)).to_i / 100
puts ans
| [["-", 0, 662, 12, 652, 3, 4, 0, 752, 0, 753], ["+", 0, 662, 12, 652, 3, 4, 0, 752, 0, 753]] | 4 | 31 |
import math
import decimal
a,b=input().split()
a=int(a)
b=decimal.Decimal(b)
print(a*b)
print(math.floor(a*b)) | import math
import decimal
a,b=input().split()
a=int(a)
b=decimal.Decimal(b)
print(math.floor(a*b)) | [["-", 0, 1, 0, 652, 3, 4, 0, 657, 31, 22], ["-", 0, 1, 0, 652, 3, 4, 0, 657, 17, 48], ["-", 0, 1, 0, 652, 3, 4, 0, 657, 12, 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 | 46 |
#import sys
#import numpy as np
import math
#from fractions import Fraction
import itertools
from collections import deque
from collections import Counter
import heapq
from math import gcd
#input=sys.stdin.readline
#import bisect
a,b=input().split()
a=int(a)
ans=math.floor(((a*int(b[0]))*100+(a*int(b[2]))*10+(a*int(b[3... | #import sys
#import numpy as np
import math
#from fractions import Fraction
import itertools
from collections import deque
from collections import Counter
import heapq
from math import gcd
#input=sys.stdin.readline
#import bisect
a,b=input().split()
a=int(a)
ans=math.floor(((a*int(b[0]))*100+(a*int(b[2]))*10+(a*int(b[3... | [["-", 0, 662, 12, 652, 3, 4, 0, 657, 17, 85], ["+", 0, 662, 12, 652, 3, 4, 0, 657, 17, 676]] | 5 | 94 |
a,b = input().split()
a = int(a)
b_list = list(b)
b_list.pop(1)
b_list = [int(s) for s in b_list]
p_100 = a*b_list[0]*100 + a*b_list[1]*10 + a*b_list[2]
p = p_100/100
print(int(p)) | a,b = input().split()
a = int(a)
b_list = list(b)
b_list.pop(1)
b_list = [int(s) for s in b_list]
p_100 = a*b_list[0]*100 + a*b_list[1]*10 + a*b_list[2]
p = p_100//100
print(p) | [["-", 0, 656, 0, 1, 0, 662, 12, 657, 17, 85], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 17, 676], ["-", 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 | 79 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const static ll INF = 1e15;
// __uint128_t
int main() {
double A, B, C;
cin >> A >> B;
C = A * B;
cout << (ll)C << endl;
} | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const static ll INF = 1e15;
// __uint128_t
int main() {
long double A, B, C;
cin >> A >> B;
C = A * B;
cout << (ll)C << endl;
} | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 53 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const static ll INF = 1e15;
// __uint128_t
int main() {
double A, B;
cin >> A >> B;
cout << setprecision(20) << (ll)floor(A * B) << endl;
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const static ll INF = 1e15;
// __uint128_t
int main() {
long double A, B;
cin >> A >> B;
cout << setprecision(31) << (ll)floor(A * B) << endl;
} | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 31, 16, 31, 16, 12, 2, 3, 4, 0, 13], ["+", 31, 16, 31, 16, 12, 2, 3, 4, 0, 13]] | 1 | 55 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(void) {
ll A;
double B;
cin >> A >> B;
ll C = B * 100;
ll ans = (A * C) / 100;
cout << ans << endl;
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(void) {
ll A;
double B;
cin >> A >> B;
int C = B * 100 + 0.1;
ll ans = (A * C) / 100;
cout << ans << endl;
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 54 |
#include <algorithm>
#include <bitset>
#include <cmath>
#include <ctime>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <tuple>
#include <vector>
#define rip(i, n) for (int i = 0... | #include <algorithm>
#include <bitset>
#include <cmath>
#include <ctime>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <tuple>
#include <vector>
#define rip(i, n) for (int i = 0... | [["-", 8, 9, 0, 1, 0, 11, 12, 23, 0, 24], ["-", 12, 23, 0, 16, 31, 69, 341, 342, 0, 13], ["+", 12, 23, 0, 16, 31, 69, 341, 342, 0, 13], ["-", 0, 11, 12, 23, 0, 16, 12, 23, 0, 25]] | 1 | 499 |
#define _GLIBCXX_DEBUG //提出時に消す
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
using pull = pair<ull, ll>;
#define INF 1000000
#define LLINF 10000000000000000ll
#define MOD 1000000007LL
bool dbgflag = false;
int... | #define _GLIBCXX_DEBUG //提出時に消す
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
using pull = pair<ull, ll>;
#define INF 1000000
#define LLINF 10000000000000000ll
#define MOD 1000000007LL
bool dbgflag = false;
int... | [["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 117 |
A,B= list(input().split())
a = int(B[0])
b = int(B[2])
c = int(B[3])
if int(A) > 1000:
e = int(A[-2])
f = int(A[-1])
d = (int(A)- 10 * e - f)/100
error = 10 * (c * e + b * f) + c * f
error = int(error/100)
ans = int(A) * a + 10 * d * b + e * b + c * d + error
print(int(ans))
else:
print(int(int(... | A,B= list(input().split())
a = int(B[0])
b = int(B[2])
c = int(B[3])
if int(A) > 1000:
e = int(A[-2])
f = int(A[-1])
d = int((int(A)- 10 * e - f)/100)
error = 10 * (c * e + b * f) + c * f
error = int(error/100)
ans = int(A) * a + 10 * d * b + e * b + c * d + error
print(int(ans))
else:
print(int... | [["+", 64, 196, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 12, 652, 3, 4, 0, 657, 31, 23, 0, 24], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25]] | 5 | 158 |
#include <iostream>
#include <math.h>
#include <string>
using ll = long long;
#define rep(i, a, b) for (ll i = a; i < ll(b); i++)
#define repr(i, a, b) for (ll i = a; i >= ll(b); i--)
#define endl "\n"
#define ALL(x) x.begin(), x.end()
#define ALLR(x) x.rbegin(), x.rend()
using namespace std;
ll a;
double b;
int main(... | #include <iostream>
#include <math.h>
#include <string>
using ll = long long;
#define rep(i, a, b) for (ll i = a; i < ll(b); i++)
#define repr(i, a, b) for (ll i = a; i >= ll(b); i--)
#define endl "\n"
#define ALL(x) x.begin(), x.end()
#define ALLR(x) x.rbegin(), x.rend()
using namespace std;
ll a;
double b;
int main(... | [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 96 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int64_t A;
double b;
cin >> A >> b;
if (A == 0 || b == 0) {
cout << 0 << endl;
} else {
int64_t B = b * 100;
int64_t C = A * B / 100;
cout << C << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int64_t A;
double b;
cin >> A >> b;
if (A == 0 || b == 0) {
cout << 0 << endl;
} else {
int64_t B = b * 100 + 0.5;
int64_t C = A * B / 100;
cout << C << endl;
}
}
| [["+", 0, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 0, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 67 |
#include <bits/stdc++.h>
#define _GLIBCXX_DEBUG
using namespace std;
typedef long long ll;
typedef long double ld;
int main() {
ll a;
double b;
cin >> a >> b;
ll bb = b * 100 + 0.1;
ll ans = a * b;
cout << ans / 100;
} | #include <bits/stdc++.h>
#define _GLIBCXX_DEBUG
using namespace std;
typedef long long ll;
typedef long double ld;
int main() {
ll a;
double b;
cin >> a >> b;
ll bb = b * 100 + 0.1;
ll ans = a * bb;
cout << ans / 100;
} | [["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 22], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 22]] | 1 | 58 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll a;
double b;
cin >> a >> b;
ll ans = a * b;
cout << ans << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
long double a, b;
cin >> a >> b;
ll ans = a * b;
cout << ans << endl;
return 0;
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["-", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 21]] | 1 | 46 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long int a;
float b;
long int c;
cin >> a >> b;
c = b * 100;
cout << (a * c - (a * c) % 100) / 100 << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long int a;
float b;
long int c;
cin >> a >> b;
c = b * 100 + 0.1;
cout << (a * c - (a * c) % 100) / 100 << endl;
} | [["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 72], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 55 |
a, b = map(float, input().split())
print((int(a) * int(b * 100)) // 100)
| a, b = map(float, input().split())
print(round(a) * round(b * 100) // 100)
| [["-", 0, 652, 3, 4, 0, 657, 31, 23, 0, 24], ["-", 0, 657, 31, 23, 0, 657, 31, 652, 63, 22], ["+", 3, 4, 0, 657, 31, 657, 31, 652, 63, 22], ["-", 0, 657, 31, 23, 0, 657, 12, 652, 63, 22], ["+", 3, 4, 0, 657, 31, 657, 12, 652, 63, 22], ["-", 31, 23, 0, 657, 12, 652, 3, 4, 0, 25]] | 5 | 34 |
a, b = map(float, input().split())
b *= 100
b = round(b)
print(a*b//100) | a, b = map(float, input().split())
a = int(a)
b *= 100
b = round(b)
print(a*b//100) | [["+", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22], ["+", 36, 36, 0, 656, 0, 1, 0, 662, 0, 32], ["+", 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, 25]] | 5 | 33 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
using ll = long long;
using p = pair<int, int>;
typedef vector<int> vi;
int main() {
ll a;
double b;
cin >> a >> b;
ll int_b = b * 100; // 切り捨てで壊れないよに
a *= int_b;
a /= 100;
printf("%lld\n", a);
return 0;
... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
using ll = long long;
using p = pair<int, int>;
typedef vector<int> vi;
int main() {
ll a;
double b;
cin >> a >> b;
ll int_b = b * 100 + 0.1; // 切り捨てで壊れないよに
a *= int_b;
a /= 100;
printf("%lld\n", a);
retu... | [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 84 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define lower(s) transform(s.begin(), s.end(), s.begin(), ::tolower)
using namespace std;
using ll = long long;
int INF = 1001001001;
int main() {
ll a;
double b;
cin >> a >> b;
ll ib = (b * 100 + 0.5);
ll temp = a * b;
ll ans = temp ... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define lower(s) transform(s.begin(), s.end(), s.begin(), ::tolower)
using namespace std;
using ll = long long;
int INF = 1001001001;
int main() {
ll a;
double b;
cin >> a >> b;
ll ib = (b * 100 + 0.5);
ll temp = a * ib;
ll ans = temp... | [["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 22], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 22]] | 1 | 83 |
#include <iostream>
using namespace std;
int main() {
long long int a, bi, ans;
double b;
cin >> a >> b;
bi = b + 0.5;
ans = a * (100 * bi) / 100;
cout << ans;
} | #include <iostream>
using namespace std;
int main() {
long long int a, bi, ans;
double b;
cin >> a >> b;
bi = 100 * b + 0.5;
ans = (a * bi) / 100;
cout << ans;
} | [["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 17, 48], ["-", 0, 1, 0, 11, 12, 16, 31, 16, 31, 22], ["-", 0, 1, 0, 11, 12, 16, 31, 16, 17, 48], ["-", 12, 16, 31, 16, 12, 23, 0, 16, 31, 13], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 31, 22]] | 1 | 52 |
import decimal
Deci = decimal.Decimal
A,B = map(float,input().split())
x,y = Deci(A),Deci(B)
ans = int(x*y)
print(ans) | import decimal
Deci = decimal.Decimal
A,B = input().split()
x,y = Deci(A),Deci(B)
ans = int(x*y)
print(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 | 48 |
a,b=map(float,input().split())
a=int(a)
b=int(b*100)
k=int(a*b//100)
print(k)
| a,b=map(float,input().split())
a=int(a)
b=round(b*100)
k=int((a*b)//100)
print(k)
| [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 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, 657, 31, 23, 0, 25]] | 5 | 44 |
require 'bigdecimal'
a, b = gets.split.map(&:to_d)
puts (a * b).to_i
| require 'bigdecimal'
require 'bigdecimal/util'
a, b = gets.split.map(&:to_d)
puts (a * b).to_i
| [["+", 36, 36, 36, 36, 0, 493, 0, 652, 735, 22], ["+", 0, 493, 0, 652, 3, 4, 0, 557, 0, 62], ["+", 0, 493, 0, 652, 3, 4, 0, 557, 0, 6]] | 4 | 25 |
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <vector>
using namespace std;
using P = pair<int, int>;
#define rep(i, n) for (int i = 0; i < (n); i++)
typedef long long ll;
int main() {
long double a;
long double b;
cin >> a >> b;
cout << (a * b + 0.001) << endl;
return 0;
}
| #include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <vector>
using namespace std;
using P = pair<int, int>;
#define rep(i, n) for (int i = 0; i < (n); i++)
typedef long long ll;
int main() {
long double a;
long double b;
cin >> a >> b;
cout << (ll)(a * b + 0.001) << endl;
return 0... | [["+", 0, 16, 31, 16, 12, 2, 63, 23, 0, 22], ["+", 0, 16, 31, 16, 12, 2, 63, 23, 0, 25], ["+", 0, 16, 31, 16, 12, 2, 3, 4, 0, 24]] | 1 | 72 |
A,B = list(input().split())
A = int(A)
B = int(float(B)*100)
print(A*B//100) | A,B = list(input().split())
A = int(A)
B = int((float(B)+0.005)*100)
print(A*B//100) | [["+", 12, 652, 3, 4, 0, 657, 31, 23, 0, 24], ["+", 31, 23, 0, 657, 31, 652, 3, 4, 0, 25], ["+", 3, 4, 0, 657, 31, 23, 0, 657, 17, 72], ["+", 3, 4, 0, 657, 31, 23, 0, 657, 12, 531]] | 5 | 39 |
#include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
long long a;
double b;
cin >> a;
cin >> b;
long long b_long = b * 100;
cout << setprecision(0) << a * b_long / 100 << endl;
} | #include <cmath>
#include <iomanip>
#include <iostream>
using namespace std;
int main() {
long long a;
double b;
cin >> a;
cin >> b;
long long b_long = (b * 100 + 0.001);
cout << setprecision(0) << a * b_long / 100 << endl;
} | [["+", 8, 9, 0, 43, 49, 50, 51, 23, 0, 24], ["+", 0, 43, 49, 50, 51, 23, 0, 16, 17, 72], ["+", 0, 43, 49, 50, 51, 23, 0, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 23, 0, 25]] | 1 | 54 |
#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;
cin >> a;
double b;
cin >> b;
ll tmp = b * 100 + 0.5;
ll ans = (a * b) / 100;
cout << ans << endl;
return 0;
}
| #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
int main() {
ll a;
cin >> a;
double b;
cin >> b;
ll tmp = b * 100 + 0.5;
ll ans = (a * tmp) / 100;
cout << ans << endl;
return 0;
}
| [["-", 49, 50, 51, 16, 31, 23, 0, 16, 12, 22], ["+", 49, 50, 51, 16, 31, 23, 0, 16, 12, 22]] | 1 | 69 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long A;
double B;
cin >> A >> B;
cout << A * (long long)(B * 100) / 100 << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long A;
double B;
cin >> A >> B;
cout << A * (long long)(B * 100 + 0.001) / 100 << endl;
}
| [["+", 31, 16, 12, 74, 51, 23, 0, 16, 17, 72], ["+", 31, 16, 12, 74, 51, 23, 0, 16, 12, 13]] | 1 | 43 |
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();
long ans = a * (long)(b * 100);
System.out.println(ans / 100);
}
}
| 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();
long ans = a * (long)(b * 100 + 0.5);
System.out.println(ans / 100);
}
}
| [["+", 51, 16, 12, 74, 51, 23, 0, 16, 17, 72], ["+", 51, 16, 12, 74, 51, 23, 0, 16, 12, 515]] | 3 | 78 |
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();
long bb = (long)((double)100 * b);
long ans = (a * bb) / (long)100;
System.out.println(ans);
}
}
| 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();
long bb = (long)((double)100 * b + 0.1);
long ans = (a * bb) / (long)100;
System.out.println(ans);
}
} | [["+", 49, 200, 51, 74, 51, 23, 0, 16, 17, 72], ["+", 49, 200, 51, 74, 51, 23, 0, 16, 12, 515]] | 3 | 91 |
A, B = input().split()
A = int(A)
B = float(B)
print(int(A * round(B * 100) / 100))
| A, B = input().split()
A = int(A)
B = float(B)
print(A * round(B * 100) // 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 | 39 |
#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 < (int)(n); i++)
#define repr(i, l, r) for (int i = l; i <= (int)(r); i++)
#define chmin(x, y) x = min(x, y)
#define chmax(x, y) x = max(x, y)
#define all(v) v.begin(), v.end()
#define MOD (... | #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 < (int)(n); i++)
#define repr(i, l, r) for (int i = l; i <= (int)(r); i++)
#define chmin(x, y) x = min(x, y)
#define chmax(x, y) x = max(x, y)
#define all(v) v.begin(), v.end()
#define MOD (... | [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 49, 50, 51, 2, 3, 4, 0, 16, 17, 72], ["+", 49, 50, 51, 2, 3, 4, 0, 16, 12, 13]] | 1 | 114 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long x;
float y;
cin >> x >> y;
int c = int(y * 100);
cout << x * c / 100;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long x;
float y;
cin >> x >> y;
int c = int(y * 100 + 0.01);
cout << x * c / 100;
return 0;
}
| [["+", 49, 50, 51, 2, 3, 4, 0, 16, 17, 72], ["+", 49, 50, 51, 2, 3, 4, 0, 16, 12, 13]] | 1 | 46 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll INF = (ll)(1000000000000000000);
int main() {
ll a;
long double b;
cin >> a >> b;
b *= 100 + 0.1;
ll res;
res = a * b;
res /= 100;
printf("%lld\n", res);
return 0;
} | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll INF = (ll)(1000000000000000000);
int main() {
ll a;
long double b;
cin >> a >> b;
ll ib = b * 100 + 0.1;
ll res;
res = a * ib;
res /= 100;
printf("%lld\n", res);
return 0;
} | [["+", 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, 1, 0, 11, 17, 108], ["+", 0, 43, 49, 50, 51, 16, 31, 16, 17, 48], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 22]] | 1 | 73 |
#include <algorithm>
#include <bits/stdc++.h>
#include <stack>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
int main() {
ll a;
double b;
cin >> a >> b;
ll ib = b * 100 + 0.5;
a *= b;
a /= 100;
printf("%lld\n", a);
return 0;
} | #include <algorithm>
#include <bits/stdc++.h>
#include <stack>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
int main() {
ll a;
double b;
cin >> a >> b;
ll ib = b * 100 + 0.1;
a *= ib;
a /= 100;
printf("%lld\n", a);
return 0;
} | [["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["-", 0, 14, 8, 9, 0, 1, 0, 11, 12, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 12, 22]] | 1 | 67 |
#include <algorithm>
#include <cmath>
#include <iostream>
#include <stdio.h>
#include <vector>
typedef long long ll;
using namespace std;
int main() {
ll A;
double B;
cin >> A >> B;
ll ans = A * (ll)(B * 100 + 1);
cout << ans / 100 << endl;
return 0;
} | #include <algorithm>
#include <cmath>
#include <iostream>
#include <stdio.h>
#include <vector>
typedef long long ll;
using namespace std;
int main() {
ll A;
double B;
cin >> A >> B;
ll ans = A * (ll)(B * 100 + 0.9);
cout << ans / 100 << endl;
return 0;
} | [["-", 51, 16, 12, 2, 3, 4, 0, 16, 12, 13], ["+", 51, 16, 12, 2, 3, 4, 0, 16, 12, 13]] | 1 | 64 |
#include <algorithm>
#include <cmath>
#include <iostream>
#include <stdio.h>
#include <vector>
typedef long long ll;
using namespace std;
int main() {
ll A;
double B;
cin >> A >> B;
ll ans = A * (ll)(B * 100);
cout << ans / 100 << endl;
return 0;
} | #include <algorithm>
#include <cmath>
#include <iostream>
#include <stdio.h>
#include <vector>
typedef long long ll;
using namespace std;
int main() {
ll A;
double B;
cin >> A >> B;
ll ans = A * (ll)(B * 100 + 0.1);
cout << ans / 100 << endl;
return 0;
} | [["+", 51, 16, 12, 2, 3, 4, 0, 16, 17, 72], ["+", 51, 16, 12, 2, 3, 4, 0, 16, 12, 13]] | 1 | 62 |
#include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; (i) < (int)(n); ++(i))
#define REP3(i, m, n) for (int i = (m); (i) < (int)(n); ++(i))
#define REP_R(i, n) for (int i = (int)(n)-1; (i) >= 0; --(i))
#define REP3R(i, m, n) for (int i = (int)(n)-1; (i) >= (int)(m); --(i))
#define ALL(x) ::std::begin(x), ::std::en... | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; (i) < (int)(n); ++(i))
#define REP3(i, m, n) for (int i = (m); (i) < (int)(n); ++(i))
#define REP_R(i, n) for (int i = (int)(n)-1; (i) >= 0; --(i))
#define REP3R(i, m, n) for (int i = (int)(n)-1; (i) >= (int)(m); --(i))
#define ALL(x) ::std::begin(x), ::std::en... | [["+", 0, 43, 49, 50, 51, 23, 0, 16, 17, 72], ["+", 0, 43, 49, 50, 51, 23, 0, 16, 12, 13]] | 1 | 142 |
def main():
a, b = input().split()
a = int(a)
b = int(float(b) * 100)
print(int(a * b // 100))
if __name__ == "__main__":
main()
| def main():
a, b = input().split()
a = int(a)
b = round(float(b) * 100)
print(int(a * b // 100))
if __name__ == "__main__":
main()
| [["-", 8, 196, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 8, 196, 0, 1, 0, 662, 12, 652, 63, 22]] | 5 | 54 |
from decimal import Decimal
# t = '1000000000000000 9.99'
a = list(map(Decimal, t.split()))
print(int(a[0]*a[1])) | from decimal import Decimal
# t = '1000000000000000 9.99'
a = list(map(Decimal, input().split()))
# a = list(map(Decimal, t.split()))
print(int(a[0]*a[1])) | [["-", 0, 652, 3, 4, 0, 652, 63, 319, 500, 22], ["+", 3, 4, 0, 652, 63, 319, 500, 652, 63, 22], ["+", 0, 652, 63, 319, 500, 652, 3, 4, 0, 24], ["+", 0, 652, 63, 319, 500, 652, 3, 4, 0, 25]] | 5 | 35 |
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();
long ans = (A * ((long)(B * 100))) / 100;
System.out.println(ans);
}
} | 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();
long ans = (A * ((long)(B * 100 + 0.5))) / 100;
System.out.println(ans);
}
} | [["+", 12, 23, 0, 74, 51, 23, 0, 16, 17, 72], ["+", 12, 23, 0, 74, 51, 23, 0, 16, 12, 515]] | 3 | 82 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)++)
int main() {
ll A;
cin >> A;
double B;
cin >> B;
ll ans = (A * B * 100.0) + 0.4;
cout << ans << endl;
}
| #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)++)
int main() {
ll A;
cin >> A;
long double B;
cin >> B;
ll ans = A * B * 100.0 + 0.4;
cout << ans / 100 << endl;
}
| [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 0, 43, 49, 50, 51, 16, 31, 23, 0, 24], ["-", 0, 43, 49, 50, 51, 16, 31, 23, 0, 25], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 85], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13]] | 1 | 65 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)++)
int main() {
ll A;
cin >> A;
double B;
cin >> B;
ll ans = (A * B * 100.0) + 0.4;
cout << ans << endl;
}
| #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)++)
int main() {
ll A;
cin >> A;
long double B;
cin >> B;
ll ans = (A * B * 100.0) + 0.4;
cout << ans / 100 << endl;
}
| [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 85], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13]] | 1 | 65 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
int main() {
ll A;
double B;
cin >> A >> B;
ll ans = (A * B * 100.0) + 0.4;
cout << ans / 100 << endl;
}
| #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
int main() {
ll A;
ld B;
cin >> A >> B;
ll ans = (A * B * 100.0) + 0.4;
cout << ans / 100 << endl;
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78]] | 1 | 57 |
#pragma GCC optimize("O3")
#pragma GCC optimize("unroll-loops")
#pragma GCC target("sse4")
#include "bits/stdc++.h"
using namespace std;
typedef long long ll;
#define int ll
#define all(x) x.begin(), x.end()
#define trav(i, a) for (auto &i : a)
inline int in() {
int x;
scanf("%lld", &x);
return x;
}
int32_t main(... | #pragma GCC optimize("O3")
#pragma GCC optimize("unroll-loops")
#pragma GCC target("sse4")
#include "bits/stdc++.h"
using namespace std;
typedef long long ll;
#define int ll
#define all(x) x.begin(), x.end()
#define trav(i, a) for (auto &i : a)
inline int in() {
int x;
scanf("%lld", &x);
return x;
}
int32_t main(... | [["+", 49, 50, 51, 74, 51, 23, 0, 16, 17, 72], ["+", 49, 50, 51, 74, 51, 23, 0, 16, 12, 13]] | 1 | 104 |
#include <iostream>
#include <vector>
using namespace std;
int main(void) {
long long a;
long double b;
int c = 0;
cin >> a >> b;
c = (int)(b * 100);
cout << a * c / 100 << endl;
return 0;
} | #include <iostream>
#include <vector>
using namespace std;
int main(void) {
long long a;
double b;
int c = 0;
cin >> a >> b;
c = (int)(b * 100 + 0.1);
cout << a * c / 100 << endl;
return 0;
} | [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 11, 12, 74, 51, 23, 0, 16, 17, 72], ["+", 0, 11, 12, 74, 51, 23, 0, 16, 12, 13]] | 1 | 58 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using ll = long long;
using vi = vector<int>;
using vvi = vector<vi>;
int main() {
int64_t a;
double b;
cin >> a >> b;
int64_t ans = (int64_t)a * b;
cout << ans << endl;
}
| #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using ll = long long;
using vi = vector<int>;
using vvi = vector<vi>;
int main() {
int64_t a;
long double b;
cin >> a >> b;
int64_t ans = (int64_t)a * b;
cout << ans << endl;
}
| [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 70 |
#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() {
ll a;
double b;
cin >> a >> b;
int c = b * 100 + 0.01;
ll ans = a * b / 100;
cout << ans << endl;
return 0;
} | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
ll a;
double b;
cin >> a >> b;
int c = b * 100 + 0.01;
ll ans = a * c / 100;
cout << ans << endl;
return 0;
} | [["-", 0, 43, 49, 50, 51, 16, 31, 16, 12, 22], ["+", 0, 43, 49, 50, 51, 16, 31, 16, 12, 22]] | 1 | 75 |
import sys
import math
A,B = map(float,input().split())
print(math.floor(A*B)) | import sys
import math
from decimal import *
A,B = map(Decimal,input().split())
print(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, 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 | 31 |
x,y = input().split()
x = int(x)
y = int(y.replace(".",""))
print(x*y/100)
| x,y = input().split()
x = int(x)
y = int(y.replace(".",""))
print(x*y//100)
| [["-", 0, 1, 0, 652, 3, 4, 0, 657, 17, 85], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 17, 676]] | 5 | 41 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
double b;
cin >> a >> b;
long long bb = round(b * 100);
long long sum = a * b;
cout << sum / 100 << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
double b;
cin >> a >> b;
long long bb = round(b * 100);
long long sum = a * bb;
cout << sum / 100 << endl;
return 0;
}
| [["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 22], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 22]] | 1 | 55 |
# import sys
# input = sys.stdin.readline
import itertools
import collections
from decimal import Decimal
# 持っているビスケットを叩き、1枚増やす
# ビスケット A枚を 1円に交換する
# 1円をビスケット B枚に交換する
def main():
a, b = input_list()
print(int(a*b))
def bfs(H, W, black_cells, dist):
d = 0
while black_cells:
h, w = black_cells... | # import sys
# input = sys.stdin.readline
import itertools
import collections
from decimal import Decimal
# 持っているビスケットを叩き、1枚増やす
# ビスケット A枚を 1円に交換する
# 1円をビスケット B枚に交換する
def main():
a, b = input_list()
print(int(a*b))
def bfs(H, W, black_cells, dist):
d = 0
while black_cells:
h, w = black_cells... | [["-", 0, 652, 3, 4, 0, 652, 3, 4, 0, 22], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 22]] | 5 | 218 |
import math
def main():
a, b = input_list()
print(int(a*b))
def yogen(a, b, angle):
coss = math.cos((angle/180)*math.pi)
return math.sqrt(a**2 + b**2 - 2*a*b*coss)
def get_angle(hour, minute):
h = (hour * 360) / 12 + (minute * 360) / (12 * 60)
m = (minute * 360) / 60
angle = abs(h-m)
... | import math
from decimal import *
def main():
a, b = input_list()
print(int(a*b))
def yogen(a, b, angle):
coss = math.cos((angle/180)*math.pi)
return math.sqrt(a**2 + b**2 - 2*a*b*coss)
def get_angle(hour, minute):
h = (hour * 360) / 12 + (minute * 360) / (12 * 60)
m = (minute * 360) / 60
... | [["+", 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, 652, 3, 4, 0, 652, 3, 4, 0, 22], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 22]] | 5 | 178 |
a,b = map(float,input().split())
a = int(a)
b = int(b*100)
print((a*b)//100) | a,b = map(float,input().split())
a = int(a)
b = round(float(b)*100)
print((a*b)//100) | [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 12, 652, 3, 4, 0, 657, 31, 652, 63, 22], ["+", 3, 4, 0, 657, 31, 652, 3, 4, 0, 24], ["+", 3, 4, 0, 657, 31, 652, 3, 4, 0, 25]] | 5 | 40 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main(void) {
ll a;
long double b;
cin >> a >> b;
ll c = b * 100;
cout << a * c / 100 << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main(void) {
ll a;
long double b;
cin >> a >> b;
ll c = b * 100 + 0.01;
cout << a * c / 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 | 52 |
import sys
input = sys.stdin.readline
a,b = input().strip().split()
a = int(a)
b = b.replace('.','')
ans = (a*b)//100
print(ans)
| import sys
input = sys.stdin.readline
a,b = input().strip().split()
a = int(a)
b = b.replace('.','')
ans = (a*int(b))//100
print(ans)
| [["+", 12, 657, 31, 23, 0, 657, 12, 652, 63, 22], ["+", 31, 23, 0, 657, 12, 652, 3, 4, 0, 24], ["+", 31, 23, 0, 657, 12, 652, 3, 4, 0, 25]] | 5 | 56 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define all(v) begin(v), end(v)
using ll = long long;
int main() {
ll a;
double b;
cin >> a >> b;
double c = b * 100 + 0.5;
ll ans = a * c / 100;
cout << ans << endl;
} | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define all(v) begin(v), end(v)
using ll = long long;
int main() {
ll a;
double b;
cin >> a >> b;
ll c = b * 100 + 0.5;
ll ans = a * c / 100;
cout << ans << endl;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78]] | 1 | 68 |
#include "bits/stdc++.h"
#include "math.h"
using namespace std;
typedef long long ll;
typedef vector<ll> vll;
typedef vector<vll> vvll;
typedef vector<bool> vb;
typedef vector<vb> vvb;
typedef vector<int> vin;
typedef pair<ll, ll> P;
typedef vector<P> vp;
#define rep(i, a, b) for (ll i = (a); i < (b); ++i)
#define dre... | #include "bits/stdc++.h"
#include "math.h"
using namespace std;
typedef long long ll;
typedef vector<ll> vll;
typedef vector<vll> vvll;
typedef vector<bool> vb;
typedef vector<vb> vvb;
typedef vector<int> vin;
typedef pair<ll, ll> P;
typedef vector<P> vp;
#define rep(i, a, b) for (ll i = (a); i < (b); ++i)
#define dre... | [["+", 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 | 176 |
#include "bits/stdc++.h"
#define rep(i, n) for (int i = 0; i < n; i++)
#define cint(a) \
int a; \
cin >> a;
#define cstr(str) ... | #include "bits/stdc++.h"
#define rep(i, n) for (int i = 0; i < n; i++)
#define cint(a) \
int a; \
cin >> a;
#define cstr(str) ... | [["-", 8, 9, 0, 43, 49, 50, 51, 16, 31, 22], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 31, 22], ["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 22], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 22]] | 1 | 114 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
int main() {
ll a;
double b;
cin >> a >> b;
ll b100 = ll(b * 100);
cout << a * b100 / 100 << endl;
}
| #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
int main() {
ll a;
double b;
cin >> a >> b;
ll b100 = ll(b * 100 + 0.00001);
cout << a * b100 / 100 << endl;
}
| [["+", 49, 50, 51, 2, 3, 4, 0, 16, 17, 72], ["+", 49, 50, 51, 2, 3, 4, 0, 16, 12, 13]] | 1 | 58 |
a,b = input().split()
aa = int(a)
bb = b.replace(".","")
print(aa*bb//100) | a,b = input().split()
aa = int(a)
bb = int(b.replace(".",""))
print(aa*bb//100) | [["+", 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 | 38 |
import java.util.*;
interface aisatu {
final String str = "こんにちは";
void mesod();
}
public class Main {
static public void main(String args[]) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
String str = sc.next();
int b = (int)(Double.parseDouble(str) * 100);
System.out.prin... |
import java.util.*;
interface aisatu {
final String str = "こんにちは";
void mesod();
}
public class Main {
static public void main(String args[]) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
String str = sc.next();
int b = (int)(Double.parseDouble(str) * 100 + 0.01);
System.o... | [["+", 49, 200, 51, 74, 51, 23, 0, 16, 17, 72], ["+", 49, 200, 51, 74, 51, 23, 0, 16, 12, 515]] | 3 | 102 |
import java.util.*;
interface aisatu {
final String str = "こんにちは";
void mesod();
}
public class Main {
static public void main(String args[]) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = (int)(sc.nextDouble() * 100 + 0.01);
System.out.print((a * b) / 100);
}
}
|
import java.util.*;
interface aisatu {
final String str = "こんにちは";
void mesod();
}
public class Main {
static public void main(String args[]) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
int b = (int)(sc.nextDouble() * 100 + 0.01);
System.out.print((a * b) / 100);
}
}
| [["-", 0, 195, 8, 196, 0, 503, 39, 506, 0, 507], ["+", 0, 195, 8, 196, 0, 503, 39, 506, 0, 96], ["-", 8, 196, 0, 503, 49, 200, 51, 492, 141, 22], ["+", 8, 196, 0, 503, 49, 200, 51, 492, 141, 22]] | 3 | 94 |
#include <bits/stdc++.h>
#define ll long long int
using namespace std;
int main() {
ll a;
double b;
cin >> a >> b;
ll c = b * 100;
c = c * a;
c = c / 100;
cout << c << endl;
return 0;
}
| #include <bits/stdc++.h>
#define ll long long int
using namespace std;
int main() {
ll a;
long double b;
cin >> a >> b;
ll c = round(b * 100);
c = c * a;
c = c / 100;
cout << c << endl;
return 0;
}
| [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 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 | 55 |
from math import floor
A= input().split()
p = int(A[0])
q = round(float(A[1])*100)
t = p*q
t //= 100
print(p) | from math import floor
A= input().split()
p = int(A[0])
q = round(float(A[1])*100)
t = p*q
t //= 100
print(t) | [["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 22], ["+", 0, 656, 0, 1, 0, 652, 3, 4, 0, 22]] | 5 | 48 |
import math
def c169(a, b):
return math.floor(a*b)
def main():
a, b = map(float, input().split())
print(c169(a, b))
if __name__ == '__main__':
main() | import math
import decimal
def c169(a, b):
return math.floor(a*b)
def main():
a, b = map(decimal.Decimal, input().split())
print(c169(a, b))
if __name__ == '__main__':
main() | [["+", 36, 36, 36, 36, 0, 656, 0, 596, 0, 487], ["+", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 0, 662, 12, 652, 3, 4, 0, 319, 500, 22], ["+", 0, 662, 12, 652, 3, 4, 0, 319, 0, 131], ["+", 0, 662, 12, 652, 3, 4, 0, 319, 319, 22]] | 5 | 59 |
import math
a, b = map(str, input().split())
a2 = int(a)
b2 = int(b.replace('.', ''))
print(int((a2 * b2)/100)) | import math
a, b = map(str, input().split())
a2 = int(a)
b2 = int(b.replace('.', ''))
print(int((a2 * b2)//100)) | [["-", 3, 4, 0, 652, 3, 4, 0, 657, 17, 85], ["+", 3, 4, 0, 652, 3, 4, 0, 657, 17, 676]] | 5 | 53 |
#include <algorithm>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define REP(i, n) for (long long i = 0; i < n; ++i)
#define REPR(i, n)... | #include <algorithm>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define REP(i, n) for (long long i = 0; i < n; ++i)
#define REPR(i, n)... | [["+", 0, 1, 0, 11, 12, 16, 31, 23, 0, 24], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 17, 72], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 12, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 23, 0, 25]] | 1 | 201 |
#include <bits/stdc++.h>
#define rep2(x, fr, to) for (int x = (fr); x < (to); x++)
#define rep(x, to) for (int x = 0; x < (to); x++)
#define repr(x, fr, to) for (int x = (fr); x >= (to); x--)
#define all(c) c.begin(), c.end()
#define sz(v) (int)v.size()
using namespace std;
typedef long long ll;
typedef vector<int> V... | #include <bits/stdc++.h>
#define rep2(x, fr, to) for (int x = (fr); x < (to); x++)
#define rep(x, to) for (int x = 0; x < (to); x++)
#define repr(x, fr, to) for (int x = (fr); x >= (to); x--)
#define all(c) c.begin(), c.end()
#define sz(v) (int)v.size()
using namespace std;
typedef long long ll;
typedef vector<int> V... | [["+", 0, 43, 49, 50, 51, 16, 31, 23, 0, 24], ["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 22], ["+", 49, 50, 51, 16, 31, 23, 0, 16, 12, 22], ["+", 0, 43, 49, 50, 51, 16, 31, 23, 0, 25], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 85], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 192 |
a, b = map(float, input().split())
print(int(a*(b*(100+0.5))//100)) | a, b = map(float, input().split())
print(int(a)*int(b*100+0.5)//100) | [["+", 0, 657, 31, 657, 31, 652, 3, 4, 0, 25], ["+", 3, 4, 0, 657, 31, 657, 12, 652, 63, 22], ["-", 31, 657, 12, 23, 0, 657, 12, 23, 0, 24], ["-", 3, 4, 0, 657, 31, 657, 12, 23, 0, 25], ["-", 0, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 35 |
#include <iostream>
using namespace std;
typedef long long ll;
int main() {
double x;
ll a, b;
cin >> a >> x;
b = x * 100;
a = a * b / 100;
cout << a << endl;
return 0;
}
| #include <iostream>
using namespace std;
typedef long long ll;
int main() {
double x;
ll a, b;
cin >> a >> x;
b = x * 100 + 0.5;
a = a * b / 100;
cout << a << endl;
return 0;
}
| [["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 72], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 54 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
double b;
cin >> a >> b;
long long ib = b * 100;
a *= ib;
a /= 100;
printf("%lld\n", a);
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
double b;
cin >> a >> b;
long long ib = b * 100 + 0.5;
a *= ib;
a /= 100;
printf("%lld\n", a);
return 0;
}
| [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 54 |
function main(input) {
let [A, B] = input.split(' ').map(Number);
A = BigInt(A);
B = BigInt(parseInt(B * 100));
console.log(String(A * B / 100n));
//.replace('n', '')
}
main(require('fs').readFileSync('/dev/stdin', 'utf8').trim());
| function main(input) {
let [A, B] = input.split(' ').map(Number);
A = BigInt(A);
B = BigInt(parseInt(B * 100 + 0.5));
console.log(String(A * B / 100n));
//.replace('n', '')
}
main(require('fs').readFileSync('/dev/stdin', 'utf8').trim());
| [["+", 3, 3, 0, 2, 3, 3, 0, 16, 17, 72], ["+", 3, 3, 0, 2, 3, 3, 0, 16, 12, 555]] | 2 | 87 |
#include <algorithm>
#include <bits/stdc++.h>
#include <cmath>
#include <iostream>
#include <string>
#include <unordered_map>
#include <unordered_set>
using namespace std;
#define ll long long
#define rep(i, n) for (ll i = 0; i < (n); i++)
#define FOR(i, a, b) for (ll i = (a); i < (b); i++)
#define FORR(i, a, b) for (l... | #include <algorithm>
#include <bits/stdc++.h>
#include <cmath>
#include <iostream>
#include <string>
#include <unordered_map>
#include <unordered_set>
using namespace std;
#define ll long long
#define rep(i, n) for (ll i = 0; i < (n); i++)
#define FOR(i, a, b) for (ll i = (a); i < (b); i++)
#define FORR(i, a, b) for (l... | [["-", 3, 4, 0, 16, 31, 23, 0, 16, 12, 22], ["+", 3, 4, 0, 16, 31, 23, 0, 16, 12, 22]] | 1 | 352 |
a,b = input().split()
a = int(a)
b = int(float(b)*100)
ans = a*b // 100
print(ans) | a,b = input().split()
a = int(a)
b = round(float(b)*100)
ans = a*b // 100
print(ans) | [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22]] | 5 | 39 |
a, b = input().split()
a, b = int(a), int(float(b) * 100)
ans = int(a * b // 100)
print(ans)
| a, b = input().split()
a, b = int(a), round(float(b) * 100)
ans = int(a * b // 100)
print(ans)
| [["-", 0, 1, 0, 662, 12, 432, 0, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 432, 0, 652, 63, 22]] | 5 | 43 |
import math
a,b = input().split()
A = int(a)
B = float(b)
print(math.floor(A*B)) | import math
from decimal import Decimal
a,b = input().split()
A = int(a)
B = Decimal(b)
print(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 | 36 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long int
int main() {
ll a, ans;
double b;
scanf("%lld %lf", &a, &b);
ans = (a * (ll)(b * 100)) / 100;
printf("%lld\n", ans);
} | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
int main() {
ll a, ans;
double b;
scanf("%lld %lf", &a, &b);
ans = (a * (ll)(b * 100 + .5)) / 100;
printf("%lld\n", ans);
return 0;
} | [["+", 0, 16, 12, 2, 3, 4, 0, 16, 17, 72], ["+", 0, 16, 12, 2, 3, 4, 0, 16, 12, 13], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 38], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 13]] | 1 | 63 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long int
int main() {
ll a, ans;
double b;
scanf("%lld %lf", &a, &b);
ans = (a * (ll)(b * 100)) / 100;
printf("%lld\n", ans);
} | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
int main() {
ll a, ans;
double b;
scanf("%lld %lf", &a, &b);
ans = (a * (ll)(b * 100 + .5)) / 100;
printf("%lld\n", ans);
} | [["+", 0, 16, 12, 2, 3, 4, 0, 16, 17, 72], ["+", 0, 16, 12, 2, 3, 4, 0, 16, 12, 13]] | 1 | 63 |
#include <algorithm>
#include <bits/stdc++.h>
#include <string>
#include <vector>
using namespace std;
vector<string> split(const string &s, char delim) {
vector<string> elems;
string item;
for (char ch : s) {
if (ch == delim) {
if (!item.empty()) {
elems.push_back(item);
}
item.cl... | #include <algorithm>
#include <bits/stdc++.h>
#include <string>
#include <vector>
using namespace std;
vector<string> split(const string &s, char delim) {
vector<string> elems;
string item;
for (char ch : s) {
if (ch == delim) {
if (!item.empty()) {
elems.push_back(item);
}
item.cl... | [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 620 |
#include <bits/stdc++.h>
using namespace std;
typedef long long lol;
//マクロ
// forループ関係
//引数は、(ループ内変数,動く範囲)か(ループ内変数,始めの数,終わりの数)、のどちらか
// Dがついてないものはループ変数は1ずつインクリメントされ、Dがついてるものはループ変数は1ずつデクリメントされる
#define REP(i, n) for (lol i = 0; i < lol(n); i++)
#define REPD(i, n) for (lol i = n - 1; i >= 0; i--)
#define FOR(i, a, b) fo... | #include <bits/stdc++.h>
using namespace std;
typedef long long lol;
//マクロ
// forループ関係
//引数は、(ループ内変数,動く範囲)か(ループ内変数,始めの数,終わりの数)、のどちらか
// Dがついてないものはループ変数は1ずつインクリメントされ、Dがついてるものはループ変数は1ずつデクリメントされる
#define REP(i, n) for (lol i = 0; i < lol(n); i++)
#define REPD(i, n) for (lol i = n - 1; i >= 0; i--)
#define FOR(i, a, b) fo... | [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 230 |
a, b = [float(x) for x in input().split()]
c = a*b
print(int(c)) | from decimal import Decimal
a, b = [Decimal(x) for x in input().split()]
c = a*b
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, 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>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
int main() {
ll a, b;
double tmp;
cin >> a >> tmp;
b = tmp * 100;
ll ans = a * b / 100;
cout << ans << endl;
return 0;
} | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
int main() {
ll a, b;
double tmp;
cin >> a >> tmp;
b = tmp * 100 + 0.5;
ll ans = a * b / 100;
cout << ans << endl;
return 0;
} | [["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 72], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 64 |
// https://atcoder.jp/contests/abc169/tasks/abc169_c
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
string b;
cin >> a >> b;
b.erase(b.size() - 3, 1);
long long bb = stoi(b);
// int bb = static_cast<int> (b*100);
// double an = static_cast<double>(a*bb);
// long long ans = a*bb... | // https://atcoder.jp/contests/abc169/tasks/abc169_c
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
string b;
cin >> a >> b;
b.erase(b.size() - 3, 1);
long long bb = stoi(b);
// int bb = static_cast<int> (b*100);
// double an = static_cast<double>(a*bb);
// long long ans = a*bb... | [["-", 0, 16, 31, 16, 12, 74, 51, 2, 63, 22]] | 1 | 73 |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str[] = br.readLine().split(" ");
long a = Long.... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str[] = br.readLine().split(" ");
long a = Long.... | [["+", 31, 16, 12, 74, 51, 23, 0, 16, 17, 72], ["+", 31, 16, 12, 74, 51, 23, 0, 16, 12, 515]] | 3 | 134 |
#include <stdio.h>
int main(void) {
double B;
unsigned long long int A;
scanf("%lld", &A);
scanf("%lf", &B);
printf("%lld", (A * (long long int)(100 * B + 100)) / 100);
return 0;
} | #include <stdio.h>
int main(void) {
double B;
unsigned long long int A;
scanf("%lld", &A);
scanf("%lf", &B);
printf("%lld", (A * (long long int)(100 * B + 0.5)) / 100);
return 0;
} | [["-", 0, 16, 12, 74, 51, 23, 0, 16, 12, 13], ["+", 0, 16, 12, 74, 51, 23, 0, 16, 12, 13]] | 0 | 67 |
#include <bits/stdc++.h>
#define rep(i, f, n) for (ll i = (f); (i) < (n); i++)
#define repe(i, f, n) for (ll i = (f); (i) <= (n); i++)
using namespace std;
using ll = long long;
ll INF = 1e+18;
int iINF = 1e9;
int main() {
ll A;
double B;
cin >> A >> B;
ll B100 = B * 100;
ll ans = A * B100;
ans /= 100;
... | #include <bits/stdc++.h>
#define rep(i, f, n) for (ll i = (f); (i) < (n); i++)
#define repe(i, f, n) for (ll i = (f); (i) <= (n); i++)
using namespace std;
using ll = long long;
ll INF = 1e+18;
int iINF = 1e9;
int main() {
ll A;
double B;
cin >> A >> B;
ll B100 = B * 100 + 0.5;
ll ans = A * B100;
ans /= 1... | [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 84 |
#include <iostream>
using namespace std;
using LL = long long;
using ULL = unsigned long long;
using LD = long double;
using pii = pair<int, int>;
using pll = pair<LL, LL>;
const double &eps = 1e5;
int main() {
cin.sync_with_stdio(0);
LD A, B;
cin >> A >> B;
cout << LL(A * B + eps);
} | #include <iostream>
using namespace std;
using LL = long long;
using ULL = unsigned long long;
using LD = long double;
using pii = pair<int, int>;
using pll = pair<LL, LL>;
const double &eps = 1e-4;
int main() {
cin.sync_with_stdio(0);
LD A, B;
cin >> A >> B;
cout << LL(A * B + eps);
} | [["-", 36, 36, 0, 30, 0, 43, 49, 50, 51, 13], ["+", 36, 36, 0, 30, 0, 43, 49, 50, 51, 13]] | 1 | 87 |
# C Multiplication 3
ab = input().split()
a = int(ab[0])
b = float(ab[1])
print(int(a*b))
| # C Multiplication 3
from decimal import Decimal
ab = input().split()
a = int(ab[0])
b = Decimal(ab[1])
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, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22]] | 5 | 37 |
from math import floor
A, B = input().split()
A = int(A)
B = float(B)
B = int(B*100)
print (A*B // 100) | from math import floor
A, B = input().split()
A = int(A)
B = float(B)
B = round(B*100)
print (A*B // 100) | [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22]] | 5 | 43 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long A;
cin >> A;
double B;
cin >> B;
long long p = A * (long long)(B * 100);
cout << p / 100 << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long A;
cin >> A;
double B;
cin >> B;
long long p = A * (long long)round(B * 100);
cout << p / 100 << endl;
} | [["+", 49, 50, 51, 16, 12, 74, 51, 2, 63, 22]] | 1 | 51 |
#include <bits/stdc++.h>
using namespace std;
#define all(x) (x).begin(), (x).end()
typedef long long ll;
void solve() {
ll a, b;
double c;
cin >> a >> c;
b = (c * 100);
ll res = (a * b);
res /= 100;
cout << res;
}
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
solve()... | #include <bits/stdc++.h>
using namespace std;
#define all(x) (x).begin(), (x).end()
typedef long long ll;
void solve() {
ll a, b;
double c;
cin >> a >> c;
b = (c * 100 + .5);
ll res = (a * b);
res /= 100;
cout << res;
}
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
so... | [["+", 0, 1, 0, 11, 12, 23, 0, 16, 17, 72], ["+", 0, 1, 0, 11, 12, 23, 0, 16, 12, 13]] | 1 | 96 |
#include <bits/stdc++.h>
#include <string>
#include <vector>
#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() {
// string a;
// float b;
// cin >> a >> b;
// ll ans = 0;
// int n = a.size();
// vector<ll> s(n);
// rep(i,n-2){
... | #include <bits/stdc++.h>
#include <string>
#include <vector>
#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() {
// string a;
// float b;
// cin >> a >> b;
// ll ans = 0;
// int n = a.size();
// vector<ll> s(n);
// rep(i,n-2){
... | [["-", 0, 43, 49, 50, 51, 16, 31, 16, 12, 22], ["+", 0, 43, 49, 50, 51, 16, 31, 16, 12, 22]] | 1 | 98 |
#include <bits/stdc++.h>
#include <string>
#include <vector>
#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() {
string a;
float b;
cin >> a >> b;
ll ans = 0;
int n = a.size();
vector<ll> s(n);
rep(i, n - 2) {
ans *= 10;
... | #include <bits/stdc++.h>
#include <string>
#include <vector>
#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() {
string a;
float b;
cin >> a >> b;
ll ans = 0;
int n = a.size();
vector<ll> s(n);
rep(i, n - 2) {
ans *= 10;
... | [["-", 64, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 64, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["-", 0, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 0, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 208 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.