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 |
|---|---|---|---|---|
s = input().split()
a = int(s[0])
b = round(float(s[1]), 2)
print(int(a * b))
| import decimal
s = input().split()
a = int(s[0])
b = round(decimal.Decimal(s[1]), 2)
print(int(a * b))
| [["+", 36, 36, 36, 36, 0, 656, 0, 596, 0, 487], ["+", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22], ["-", 0, 662, 12, 652, 3, 4, 0, 652, 63, 22], ["+", 12, 652, 3, 4, 0, 652, 63, 319, 500, 22], ["+", 12, 652, 3, 4, 0, 652, 63, 319, 0, 131], ["+", 12, 652, 3, 4, 0, 652, 63, 319, 319, 22]] | 5 | 41 |
#define _USE_MATH_DEFINES
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <string>
using namespace std;
int main() {
uint64_t A;
double B;
cin >> A >> B;
uint64_t result = (double)A * B;
cout << result;
return 0;
} | #define _USE_MATH_DEFINES
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <string>
using namespace std;
int main() {
uint64_t A;
long double B;
cin >> A >> B;
uint64_t result = A * B;
cout << result;
return 0;
} | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 0, 43, 49, 50, 51, 16, 31, 74, 0, 24], ["-", 49, 50, 51, 16, 31, 74, 39, 77, 39, 40], ["-", 0, 43, 49, 50, 51, 16, 31, 74, 0, 25]] | 1 | 51 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll a;
double b;
cin >> a >> b;
ll x = a * b * 100;
cout << x / 100 << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll a;
long double b;
cin >> a >> b;
ll x = a * b * 100;
cout << x / 100 << endl;
return 0;
} | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 50 |
#include <bits/stdc++.h>
using namespace std;
void Main() {
int64_t A;
cin >> A;
double B;
cin >> B;
/*int64_t iB = B * 100;
int64_t mul = A * iB;
int64_t mod = mul % 100;
cout << (mul - mod) / 100 << endl;*/
cout << (int64_t)floor((double)A * B) << endl;
}
int main() { Main(); }
| #include <bits/stdc++.h>
using namespace std;
void Main() {
int64_t A;
cin >> A;
long double B;
cin >> B;
/*int64_t iB = B * 100;
int64_t mul = A * iB;
int64_t mod = mul % 100;
cout << (mul - mod) / 100 << endl;*/
cout << (int64_t)floorl((long double)A * B) << endl;
}
int main() { Main(); }
| [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 0, 16, 31, 16, 12, 74, 51, 2, 63, 22], ["+", 0, 16, 31, 16, 12, 74, 51, 2, 63, 22], ["+", 0, 16, 31, 74, 39, 77, 39, 86, 0, 96]] | 1 | 54 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long int a, c;
double b;
cin >> a >> b;
c = a * b;
cout << c << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int a, c;
long double b;
cin >> a >> b;
c = a * b;
cout << c << endl;
} | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 40 |
from decimal import *
getcontext().prec = 2
a,b= input().split()
d = Decimal(a)*Decimal(b)
print(Decimal(d).quantize(Decimal('0'), rounding=ROUND_DOWN)) | from decimal import *
getcontext().prec = 32
a,b= input().split()
d = Decimal(a)*Decimal(b)
print(Decimal(d).quantize(Decimal('0'), rounding=ROUND_DOWN)) | [["-", 36, 36, 0, 656, 0, 1, 0, 662, 12, 612], ["+", 36, 36, 0, 656, 0, 1, 0, 662, 12, 612]] | 5 | 54 |
#include <math.h>
#include <stdio.h>
int main() {
long long A;
double B;
scanf("%lld %lf", &A, &B);
long double result;
modfl(A * B, &result);
printf("%.0Lf", result);
return 0;
} | #include <math.h>
#include <stdio.h>
int main() {
long double A;
long double B;
scanf("%Le %LF", &A, &B);
long double result;
modfl(A * B, &result);
printf("%.0Lf", result);
return 0;
} | [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 56 |
#include <bits/stdc++.h>
// BIAR MANTAB LAH YA
#define Willy using
#define Indrayana namespace
#define Komara std
Willy Indrayana Komara;
using ll = long long int;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll a;
double b;
cin >> a >> b;
cout << a * ll(b * 100) / 100 << '\n';
} |
#include <bits/stdc++.h>
// BIAR MANTAB LAH YA
#define Willy using
#define Indrayana namespace
#define Komara std
Willy Indrayana Komara;
using ll = long long int;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll a;
double b;
cin >> a >> b;
// cout << (ll)round(b*100) << endl;
cout <<... | [["+", 31, 16, 12, 16, 31, 16, 12, 74, 0, 24], ["+", 31, 16, 12, 16, 31, 16, 12, 74, 0, 25], ["+", 12, 16, 31, 16, 12, 74, 51, 2, 63, 22]] | 1 | 72 |
#pragma GCC optimize("Ofast")
#include <bits/stdc++.h>
#define timer_start() \
chrono::system_clock::time_point start, end; \
start = chrono::system_clock::now();
#define timer_wrap() ... | #pragma GCC optimize("Ofast")
#include <bits/stdc++.h>
#define timer_start() \
chrono::system_clock::time_point start, end; \
start = chrono::system_clock::now();
#define timer_wrap() ... | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 182 |
def cc():
a, b = map(str, input().split())
a2 = int(a)
b2 = int(b.replace('.', ''))
c = a2 * b2
ans = str(c)[0:-2] if len(c) > 2 else 0
print(ans)
if __name__ == "__main__":
cc()
| def cc():
a, b = map(str, input().split())
a2 = int(a)
b2 = int(b.replace('.', ''))
c = a2 * b2
ans = str(c)[0:-2] if len(str(c)) > 2 else 0
print(ans)
if __name__ == "__main__":
cc()
| [["+", 0, 666, 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 | 83 |
import math
a,b=map(lambda x:x,input().split())
a=int(a)
b=int(float(b)*100)
print(a*b//100) | import math
a,b=map(lambda x:x,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]] | 5 | 46 |
import math
a,b=map(lambda x:x,input().split())
a=int(a)
b=int(float(b)*100)
print(a*b//100) | import math
a,b=map(lambda x:x,input().split())
a=int(a)
b=round(float(b)*100)
print(int(a*b//100)) | [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 652, 3, 4, 0, 652, 63, 22], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 46 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long a;
double b;
cin >> a;
cin >> b;
// count << a;
// count << b;
long double rtn = 0;
rtn = (long double)(a * b);
long rtn2 = rtn;
cout << rtn2;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long double a;
long double b;
cin >> a;
cin >> b;
// count << a;
// count << b;
long double rtn = 0;
rtn = (long double)(a * b);
long rtn2 = rtn;
cout << rtn2;
return 0;
} | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 58 |
import math
A = list(input().split())
for i in range(2):
if i == 0:
A[i] = int(A[i])
elif i == 1:
A[i] = float(A[i])
ans = A[0] * A[1]
print(math.floor(ans)) | from decimal import Decimal
import math
A = list(input().split())
for i in range(2):
if i == 0:
A[i] = int(A[i])
elif i == 1:
A[i] = Decimal(A[i])
ans = A[0] * A[1]
print(math.floor(ans)) | [["+", 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], ["-", 64, 196, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 64, 196, 0, 1, 0, 662, 12, 652, 63, 22]] | 5 | 76 |
from decimal import *
def main():
a, b = input().split()
a = Decimal(a)
b = Decimal(b)
print(a * b)
if __name__ == "__main__":
main()
| from decimal import *
def main():
a, b = input().split()
a = Decimal(a)
b = Decimal(b)
print(int(a * b))
if __name__ == "__main__":
main()
| [["+", 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 | 48 |
#include <stdio.h>
int main(void) {
int a, x;
double b, y;
scanf("%d %lf", &a, &b);
y = a * b;
x = y;
printf("%d\n", x);
return 0;
} | #include <stdio.h>
int main(void) {
long int a, x;
long double b, y;
scanf("%ld %Lf", &a, &b);
y = a * b;
x = y;
printf("%ld\n", x);
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]] | 0 | 55 |
#include <bits/stdc++.h>
#define int long long
#define max3(a, b, c) max(a, max(b, c))
#define min3(a, b, c) min(a, min(b, c))
#define vi vector<int>
#define vstr vector<string>
#define vdb vector<double>
#define vbool vector<bool>
#define vvi vector<vector<int>>
#define mii map<int, int>
#define pb push_back
#define p... | #include <bits/stdc++.h>
#define int long long
#define max3(a, b, c) max(a, max(b, c))
#define min3(a, b, c) min(a, min(b, c))
#define vi vector<int>
#define vstr vector<string>
#define vdb vector<double>
#define vbool vector<bool>
#define vvi vector<vector<int>>
#define mii map<int, int>
#define pb push_back
#define p... | [["+", 0, 52, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 304 |
import math
a,b = [float(i) for i in input().split()]
print(math.floor(a*b)) | import math
import decimal
a,b = [decimal.Decimal(i) for i in input().split()]
print(math.floor(a*b)) | [["+", 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, 658, 8, 652, 63, 22], ["+", 0, 662, 12, 658, 8, 652, 63, 319, 500, 22], ["+", 0, 662, 12, 658, 8, 652, 63, 319, 0, 131], ["+", 0, 662, 12, 658, 8, 652, 63, 319, 319, 22]] | 5 | 33 |
#include <bits/stdc++.h>
#include <iomanip>
using namespace std;
#define ll long long int
#define lf long double
#define vi vector<int>
#define vl vector<long long int>
#define pii pair<int, int>
#define pll pair<long long int, long long int>
#define vpii vector<pair<int, int>>
#define vpll vector<pair<long long int, l... | #include <bits/stdc++.h>
#include <iomanip>
using namespace std;
#define ll long long int
#define lf long double
#define vi vector<int>
#define vl vector<long long int>
#define pii pair<int, int>
#define pll pair<long long int, long long int>
#define vpii vector<pair<int, int>>
#define vpll vector<pair<long long int, l... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["-", 49, 50, 51, 16, 31, 74, 39, 77, 39, 40], ["+", 49, 50, 51, 16, 31, 74, 39, 77, 39, 78]] | 1 | 261 |
import math
a, b = input().split()
a = int(a)
n = 1
if '.' in b:
if b[-2] == '.':
n = 10
elif b[-3] == '.':
n = 100
b = b.replace('.', '')
b = int(b)
print(math.floor(a*b/n))
| import math
a, b = input().split()
a = int(a)
n = 1
if '.' in b:
if b[-2] == '.':
n = 10
elif b[-3] == '.':
n = 100
b = b.replace('.', '')
b = int(b)
print(math.floor(a*b//n))
| [["-", 3, 4, 0, 652, 3, 4, 0, 657, 17, 85], ["+", 3, 4, 0, 652, 3, 4, 0, 657, 17, 676]] | 5 | 89 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> P;
typedef pair<int, int> i_i;
#define reps(i, s, n) for (int i = s; i < n; i++)
#define rep(i, n) reps(i, 0, n)
#define ALL(v) v.begin(), v.end()
#define SZ(x) ((ll)(x).size())
const double PI = acos(-1.0);
const double EPS = 1e... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> P;
typedef pair<int, int> i_i;
#define reps(i, s, n) for (int i = s; i < n; i++)
#define rep(i, n) reps(i, 0, n)
#define ALL(v) v.begin(), v.end()
#define SZ(x) ((ll)(x).size())
const double PI = acos(-1.0);
const double EPS = 1e... | [["+", 51, 2, 3, 4, 0, 16, 31, 23, 0, 24], ["+", 3, 4, 0, 16, 31, 23, 0, 16, 17, 72], ["+", 3, 4, 0, 16, 31, 23, 0, 16, 12, 13], ["+", 51, 2, 3, 4, 0, 16, 31, 23, 0, 25]] | 1 | 210 |
#include <bits/stdc++.h>
using namespace std;
#define repr(i, a, b) for (int i = a; i < b; i++)
#define rep(i, n) for (int i = 0; i < n; i++)
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
return false;
}
template <class T> inline bool chmax(T &a, T b) {
if (a < b... | #include <bits/stdc++.h>
using namespace std;
#define repr(i, a, b) for (int i = a; i < b; i++)
#define rep(i, n) for (int i = 0; i < n; i++)
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
return false;
}
template <class T> inline bool chmax(T &a, T b) {
if (a < b... | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 174 |
#include <iostream>
using namespace std;
int main(void) {
double A, B, C;
cin >> A >> B;
C = A * B;
int D;
D = (int)C;
cout << D;
} | #include <iostream>
using namespace std;
int main(void) {
long double A, B, C;
cin >> A >> B;
C = A * B;
long int D;
D = (long int)C;
cout << D;
} | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 11, 12, 74, 39, 77, 39, 86, 0, 96]] | 1 | 46 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
long a;
cin >> a;
double b;
cin >> b;
long ans;
ans = a * b;
cout << ans << endl;
} | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
long double a;
cin >> a;
long double b;
cin >> b;
long double ans;
ans = a * b;
cout << (ll)ans << endl;
} | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 1, 0, 16, 31, 16, 12, 74, 0, 24], ["+", 0, 16, 31, 16, 12, 74, 39, 77, 39, 78], ["+", 0, 1, 0, 16, 31, 16, 12, 74, 0, 25]] | 1 | 47 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
const int inf = 1000000000;
int main() {
ll a;
double b;
cin >> a >> b;
/*double syousuu = b-ll(b);
ll syousuuseki = syousuu*a;
cout << a*ll(b)+syousuuseki << endl;*/
cout << ll(a * b... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
const int inf = 1000000000;
int main() {
ll a;
long double b;
cin >> a >> b;
/*double syousuu = b-ll(b);
ll syousuuseki = syousuu*a;
cout << a*ll(b)+syousuuseki << endl;*/
cout << ll(... | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 55 |
from math import floor
a,b = [e for e in input().split(" ")]
a = int(a)
b = float(b)
r = a*b
print(floor(r)) | from math import floor
from decimal import Decimal
a,b = [e for e in input().split(" ")]
a = int(a)
b = Decimal(b)
r = a*b
print(floor(r)) | [["+", 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 | 48 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
double b;
long long c;
cin >> a >> b;
b *= 100;
c = (long long)b;
c = (long long)((long long)a * (long long)c);
c = c / 100;
cout << c << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
double b;
long long c;
cin >> a >> b;
b *= 100.00001;
c = (long long)b;
c = (long long)((long long)a * (long long)c);
c = c / 100;
cout << c << endl;
// long long a;
// double b;
// long long c1,c2,c3;
// cin >> a ... | [["-", 0, 14, 8, 9, 0, 1, 0, 11, 12, 13], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 12, 13]] | 1 | 73 |
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <queue>
#include <set>
#include <string>
#include <vector>
using namespace std;
int main() {
double a;
double b;
cin >> a >> b;
cout << (long long)(a * b) << endl;
} | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <queue>
#include <set>
#include <string>
#include <vector>
using namespace std;
int main() {
long double a;
long double b;
cin >> a >> b;
cout << (long long)(a * b) << endl;
} | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 52 |
A, B = map(float, input().split())
# A = 10 ** 15
# B = 9.99
# A = int(A)
X = float(A*B)
# print(X)
X = int(X)
# print(A)
# print(B)
print(X)
| from decimal import Decimal
A, B = map(Decimal, input().split())
# A = 10 ** 15
# B = 9.99
# A = int(A)
X = Decimal(A*B)
# print(X)
X = int(X)
# print(A)
# print(B)
print(X)
| [["+", 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, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22... | 5 | 40 |
#include <bits/stdc++.h>
using namespace std;
typedef unsigned long long ull;
typedef long long ll;
#define ll long long
#define dd double
#define MOD1 1000000007
#define MOD2 998244353
#define nl cout << endl
#define rt ll Q[100005] = {0}
#define mp make_pair
#define test() ... | #include <bits/stdc++.h>
using namespace std;
typedef unsigned long long ull;
typedef long long ll;
#define ll long long
#define dd double
#define MOD1 1000000007
#define MOD2 998244353
#define nl cout << endl
#define rt ll Q[100005] = {0}
#define mp make_pair
#define test() ... | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 353 |
#include <iostream>
int main(int argc, const char *argv[]) {
long long A = 0;
double B = 0.0;
scanf("%lld %lf", &A, &B);
long long ans = A * B;
std::cout << ans;
return 0;
}
| #include <iostream>
int main(int argc, const char *argv[]) {
long long A = 0;
long double B = 0.0;
scanf("%lld %llf", &A, &B);
long long ans = A * B;
std::cout << ans;
return 0;
}
| [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 58 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main(void) {
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;
int main(void) {
ll a;
long double b;
cin >> a >> b;
ll ans = (ll)a * b;
cout << ans << endl;
return 0;
} | [["+", 0, 30, 0, 360, 39, 77, 39, 86, 39, 40], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 43, 49, 50, 51, 16, 31, 74, 0, 24], ["+", 49, 50, 51, 16, 31, 74, 39, 77, 39, 78], ["+", 0, 43, 49, 50, 51, 16, 31, 74, 0, 25]] | 1 | 47 |
def main():
ab = input().split()
a, b = int(ab[0]), float(ab[1])
print(int(a * b))
if __name__ == "__main__":
main()
| def main():
import decimal
ab = input().split()
a, b = int(ab[0]), decimal.Decimal(ab[1])
print(int(a * b))
if __name__ == "__main__":
main()
| [["+", 0, 656, 0, 14, 8, 196, 0, 596, 0, 487], ["+", 0, 14, 8, 196, 0, 596, 141, 673, 0, 22], ["-", 0, 1, 0, 662, 12, 432, 0, 652, 63, 22], ["+", 0, 662, 12, 432, 0, 652, 63, 319, 500, 22], ["+", 0, 662, 12, 432, 0, 652, 63, 319, 0, 131], ["+", 0, 662, 12, 432, 0, 652, 63, 319, 319, 22]] | 5 | 52 |
import math,decimal
arr = list(input().split())
A=int(arr[0])
B=decimal.Decimal(arr[1])
C=A * B
D=math.floor(C)
print(C)
print(D) | import math,decimal
arr = list(input().split())
A=int(arr[0])
B=decimal.Decimal(arr[1])
C=A * B
D=math.floor(C)
#print(C)
print(D) | [["-", 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 | 57 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long double a, b;
cin >> a >> b;
long double res = a * b;
cout << trunc(res) << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long double a, b;
cin >> a >> b;
long long int res = a * b;
cout << res << endl;
return 0;
}
| [["-", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40], ["-", 0, 1, 0, 16, 31, 16, 12, 2, 63, 22], ["-", 0, 16, 31, 16, 12, 2, 3, 4, 0, 24], ["-", 0, 16, 31, 16, 12, 2, 3, 4, 0, 25]] | 1 | 44 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long x;
double y;
cin >> x;
cin >> y;
long long ans;
ans = x * y;
cout << ans;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long double x;
long double y;
cin >> x;
cin >> y;
long long ans;
ans = x * y;
cout << ans;
} | [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 41 |
a,b = input().split()
a=int(a);b,d=map(int,b.spit('.'))
print(a*b+a*d//100) | a,b = input().split()
a=int(a);b,d=map(int,b.split('.'))
print(a*b+a*d//100) | [["-", 12, 652, 3, 4, 0, 652, 63, 319, 319, 22], ["+", 12, 652, 3, 4, 0, 652, 63, 319, 319, 22]] | 5 | 47 |
#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;
long double ans = A * B;
cout << (ll)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;
long double B;
cin >> A >> B;
long double ans = A * B;
cout << (ll)ans << endl;
return 0;
}
| [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 68 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
double b;
cin >> a >> b;
b *= a;
a = b;
cout << a << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
long double b;
cin >> a >> b;
b *= a;
a = b;
cout << a << endl;
return 0;
}
| [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 42 |
import sys
from decimal import *
import math
sys.setrecursionlimit(10 ** 7)
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
A, B = map(float, input().split())
if A == 0:
print(0)
exit()
getcontext().prec = 10 ** 10
ANS = Decimal(A) * Decimal(B)
prin... | import sys
from decimal import *
import math
sys.setrecursionlimit(10 ** 7)
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
A, B = input().split()
if A == "0":
print(0)
exit()
getcontext().prec = 10 ** 10
ANS = Decimal(A) * Decimal(B)
print((math.fl... | [["-", 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], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25], ["+", 0, 656, 0, 57, 15, 666, 0, 557, 0, 654], ["+", 0, 656, 0, 57, 15, 666, 0, 557, 0, 655]] | 5 | 102 |
#include <iostream>
using namespace std;
int main() {
int a, ans;
double b;
cin >> a >> b;
ans = (int)(a * b);
cout << ans;
} | #include <iostream>
using namespace std;
int main() {
long long int a, ans;
long double b;
cin >> a >> b;
ans = (long long int)(a * b);
cout << ans;
}
| [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 11, 12, 74, 39, 77, 39, 86, 0, 96]] | 1 | 41 |
#include <bits/stdc++.h>
#define FOR(i, num) for (i = 0; i < num; i++)
#define REP(i, n) for (int i = 0; i < (n); ++i)
#define ALL(obj) (obj).begin(), (obj).end()
using namespace std;
int main() {
long long int a;
string nb;
int b;
cin >> a >> nb;
char cb[3][2];
cb[0][0] = nb[0];
cb[1][0] = nb[1];
... | #include <bits/stdc++.h>
#define FOR(i, num) for (i = 0; i < num; i++)
#define REP(i, n) for (int i = 0; i < (n); ++i)
#define ALL(obj) (obj).begin(), (obj).end()
using namespace std;
int main() {
long long int a;
string nb;
int b;
cin >> a >> nb;
char cb[3][2];
cb[0][0] = nb[0];
cb[1][0] = nb[2];
... | [["-", 0, 1, 0, 11, 12, 69, 341, 342, 0, 13], ["+", 0, 1, 0, 11, 12, 69, 341, 342, 0, 13], ["-", 31, 2, 3, 4, 0, 69, 341, 342, 0, 13], ["+", 31, 2, 3, 4, 0, 69, 341, 342, 0, 13], ["-", 12, 2, 3, 4, 0, 69, 341, 342, 0, 13], ["+", 12, 2, 3, 4, 0, 69, 341, 342, 0, 13]] | 1 | 189 |
#include <bits/stdc++.h>
#define rep(i, a, b) for (auto i = (a); i < (b); i++)
#define per(i, a, b) for (auto i = (a); i >= (b); i--)
#define Min(a, b) ((a) < (b) ? (a) : (b))
#define Max(a, b) ((a) > (b) ? (a) : (b))
#define int_inf 0x3f3f3f3f
#define int_max 2147483647
#define ll_max 9223372036854775807
#define ull_m... | #include <bits/stdc++.h>
#define rep(i, a, b) for (auto i = (a); i < (b); i++)
#define per(i, a, b) for (auto i = (a); i >= (b); i--)
#define Min(a, b) ((a) < (b) ? (a) : (b))
#define Max(a, b) ((a) > (b) ? (a) : (b))
#define int_inf 0x3f3f3f3f
#define int_max 2147483647
#define ll_max 9223372036854775807
#define ull_m... | [["+", 36, 36, 0, 30, 0, 43, 39, 86, 0, 96], ["+", 36, 36, 36, 36, 0, 30, 0, 43, 0, 35], ["+", 36, 36, 36, 36, 0, 30, 0, 43, 39, 78], ["+", 36, 36, 0, 30, 0, 43, 49, 50, 49, 22], ["+", 36, 36, 0, 30, 0, 43, 49, 50, 0, 32], ["+", 36, 36, 0, 30, 0, 43, 49, 50, 51, 13]] | 1 | 383 |
#include <iostream>
using namespace std;
long long a;
long double b;
int main() {
cin >> a >> b;
long long c = b * 100;
cout << a * c / 100 << endl;
return 0;
} | #include <iostream>
using namespace std;
long long a;
long double b;
int main() {
cin >> a >> b;
long long c = b * 100 + 0.0001;
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 | 47 |
#include <bits/stdc++.h>
size_t strlen(const char *s);
#define rep(i, n) for (long long int i = 0; i < n; i++)
#define sz(x) ((int)(x).size())
using namespace std;
std::vector<int> graph[10050]; // graph頂点数のsize
const int N = 200010;
// const ll P=1000000007;
const long long P = 998244353;
using ll = long long;
vector... | #include <bits/stdc++.h>
size_t strlen(const char *s);
#define rep(i, n) for (long long int i = 0; i < n; i++)
#define sz(x) ((int)(x).size())
using namespace std;
std::vector<int> graph[10050]; // graph頂点数のsize
const int N = 200010;
// const ll P=1000000007;
const long long P = 998244353;
using ll = long long;
vector... | [["+", 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 | 335 |
# N = int(input())
A, B = [float(i) for i in input().split()]
print(int(A*B))
| import decimal
# N = int(input())
A, B = [decimal.Decimal(i) for i in input().split()]
print(int(A*B))
| [["+", 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, 658, 8, 652, 63, 22], ["+", 0, 662, 12, 658, 8, 652, 63, 319, 500, 22], ["+", 0, 662, 12, 658, 8, 652, 63, 319, 0, 131], ["+", 0, 662, 12, 658, 8, 652, 63, 319, 319, 22]] | 5 | 30 |
#include <bits/stdc++.h>
#define ref(i, n) for (int i = 0; i < n; i++)
#define INF 1000000000000000000
typedef long long ll;
using namespace std;
ll a, b;
double x;
int main() {
cin >> a >> x;
b = ll(x * 100) + 1e-9;
a *= b;
a /= 100;
cout << a << endl;
return 0;
}
| #include <bits/stdc++.h>
#define ref(i, n) for (int i = 0; i < n; i++)
#define INF 1000000000000000000
typedef long long ll;
using namespace std;
ll a, b;
double x;
int main() {
cin >> a >> x;
b = x * 100 + 1e-9;
a *= b;
a /= 100;
cout << a << endl;
return 0;
} | [["-", 0, 1, 0, 11, 12, 16, 31, 2, 63, 22], ["-", 0, 11, 12, 16, 31, 2, 3, 4, 0, 24], ["-", 0, 11, 12, 16, 31, 2, 3, 4, 0, 25]] | 1 | 70 |
#include <bits/stdc++.h>
#define ref(i, n) for (int i = 0; i < n; i++)
typedef long double ll;
using namespace std;
ll a, b;
int main() {
cin >> a >> b;
cout << ll(a * b);
return 0;
}
| #include <bits/stdc++.h>
#define ref(i, n) for (int i = 0; i < n; i++)
typedef long double ll;
typedef long long lll;
using namespace std;
ll a, b;
int main() {
cin >> a >> b;
cout << lll(a * b);
return 0;
}
| [["+", 36, 36, 36, 36, 0, 30, 0, 134, 0, 157], ["+", 36, 36, 0, 30, 0, 134, 39, 86, 0, 96], ["+", 36, 36, 36, 36, 0, 30, 0, 134, 49, 78], ["+", 36, 36, 36, 36, 0, 30, 0, 134, 0, 35], ["-", 8, 9, 0, 1, 0, 16, 12, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 16, 12, 2, 63, 22]] | 1 | 48 |
#include "bits/stdc++.h"
using namespace std;
int main() {
long A, ans;
double B;
cin >> A >> B;
ans = floor(A * B);
cout << ans << endl;
}
| #include "bits/stdc++.h"
using namespace std;
int main() {
long A, ans;
long double B;
cin >> A >> B;
ans = floor(A * B);
cout << ans << endl;
}
| [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 43 |
from math import floor
a, b = input().split()
a = int(a)
b = float(b)
#print(a, b)
#print(type(a), type(b))
print(floor(a * b)) | from math import floor
import decimal
a, b = input().split()
a = int(a)
b = decimal.Decimal(b)
#print(a, b)
#print(type(a), type(b))
print(floor(a * b)) | [["+", 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 | 38 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
cin >> a;
double b;
cin >> b;
int c = b * 100;
a *= c;
a /= 100;
cout << a << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
cin >> a;
double b;
cin >> b;
int c = b * 100 + 0.5;
a *= c;
a /= 100;
cout << a << endl;
} | [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 48 |
a, b = input().split()
a = int(a)
b = int(int(b[0])*100 + int(b[2])*10 + int(b[3]))
print(int(a*b / 100))
| a, b = input().split()
a = int(a)
b = int(int(b[0])*100 + int(b[2])*10 + 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 | 60 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
double b;
cin >> a >> b;
cout << (long long)(a * b) << "\n";
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
long double b;
cin >> a >> b;
cout << (long long)(a * b) << "\n";
} | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 41 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b = 0;
cin >> a;
string s;
cin >> s;
for (int i = 0; i < s.size(); i++) {
if (s.at(i) != '.')
b = b * 10 + s.at(i) - 48;
}
cout << a * b / 100 << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int a, b = 0;
cin >> a;
string s;
cin >> s;
for (int i = 0; i < s.size(); i++) {
if (s.at(i) != '.')
b = b * 10 + s.at(i) - 48;
}
cout << a * b / 100 << endl;
} | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 88 |
A, B = input().split()
B = B.replace(".", "")
A, B = map(int, [A, B])
print(int(A * B / 100)) | A, B = input().split()
B = B.replace(".", "")
A, B = map(int, [A, B])
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 | 49 |
A, B = input().split()
B = B.replace(".", "")
A, B = map(int, [A, B])
print(int(A * B / 100)) | A, B = input().split()
B = B.replace(".", "")
A, B = map(int, [A, B])
print(int(A * B // 100)) | [["-", 3, 4, 0, 652, 3, 4, 0, 657, 17, 85], ["+", 3, 4, 0, 652, 3, 4, 0, 657, 17, 676]] | 5 | 49 |
from decimal import *
from math import floor
A, B = map(float, input().split())
temp = Decimal(A) * Decimal(B)
print(floor(temp)) | from decimal import *
from math import floor
A, B = map(float, input().split())
temp = Decimal(str(A)) * Decimal(str(B))
print(floor(temp)) | [["+", 12, 657, 31, 652, 3, 4, 0, 652, 63, 22], ["+", 31, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["+", 31, 652, 3, 4, 0, 652, 3, 4, 0, 25], ["+", 0, 662, 12, 657, 12, 652, 3, 4, 0, 24], ["+", 12, 657, 12, 652, 3, 4, 0, 652, 63, 22], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 42 |
#!python3
iim = lambda: map(int, input().rstrip().split())
def resolve():
a, b = input().split()
a = int(a); b = float(b)
print(int(a*b))
if __name__ == "__main__":
resolve()
| #!python3
iim = lambda: map(int, input().rstrip().split())
from decimal import Decimal
def resolve():
a, b = input().split()
a = int(a); b = Decimal(b)
print(int(a*b))
if __name__ == "__main__":
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, 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 | 69 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
float b;
cin >> a >> b;
long long x = (b * 100 + 0.1);
cout << x;
printf("%lld", a * x / 100);
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
float b;
cin >> a >> b;
long long x = (b * 100 + 0.1);
// cout << x;
printf("%lld", a * x / 100);
}
| [["-", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 17, 151], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["-", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]] | 1 | 54 |
/*
ID: sixathofpain
TASK: friday
LANG: C++
*/
//#pragma GCC optimize("Ofast")
//#pragma GCC optimize ("unroll-loops")
//#pragma GCC target("avx,avx2,fma")
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
using ... |
/*
ID: sixathofpain
TASK: friday
LANG: C++
*/
//#pragma GCC optimize("Ofast")
//#pragma GCC optimize ("unroll-loops")
//#pragma GCC target("avx,avx2,fma")
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
using ... | [["-", 8, 9, 0, 1, 0, 11, 12, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 11, 12, 2, 63, 22]] | 1 | 303 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long long int lli;
#define BOOST \
ios_base::sync_with_stdio(false); \
cin.tie(NULL);
#define rep0(i, n) for (i = 0; i < n; i++)
#de... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long long int lli;
#define BOOST \
ios_base::sync_with_stdio(false); \
cin.tie(NULL);
#define rep0(i, n) for (i = 0; i < n; i++)
#de... | [["-", 8, 9, 0, 52, 8, 9, 0, 43, 39, 78], ["-", 8, 9, 0, 52, 8, 9, 0, 43, 49, 22], ["-", 8, 9, 0, 52, 8, 9, 0, 43, 0, 35], ["+", 0, 52, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 8, 9, 0, 52, 8, 9, 0, 43, 49, 22], ["+", 8, 9, 0, 52, 8, 9, 0, 43, 0, 21]] | 1 | 103 |
#include <stdio.h>
int main() {
long long a;
double b;
scanf("%lld%Lf", &a, &b);
a *= b;
printf("%lld\n", a);
return 0;
} | #include <stdio.h>
int main() {
long long a;
long double b;
scanf("%lld%Lf", &a, &b);
a *= b;
printf("%lld\n", a);
return 0;
} | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 0 | 45 |
A, B = map(float, input().split())
A = int(A)
B = int(B * 100)
res = A * B // 100
print(int(res)) | A, B = map(float, input().split())
A = int(A)
B = round(B * 100)
res = A * B // 100
print(res)
| [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["-", 0, 1, 0, 652, 3, 4, 0, 652, 63, 22], ["-", 0, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["-", 0, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 44 |
A, B = map(float, input().split())
A = int(A)
B = int(B * 100)
res = A * B // 100
print(int(res)) | A, B = map(float, input().split())
A = int(A)
B = round(B * 100)
res = A * B // 100
print(int(res)) | [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22]] | 5 | 44 |
#include <bits/stdc++.h>
using namespace std;
#define endl "\n"
#define int long long
#define vec(x) vector<x>
#define pb push_back
#define pii pair<int, int>
#define vi vector<int>
#define vii vector<pair<int, int>>
#define matrix(x) vector<vector<x>>
#define all(v) v.begin(), v.end()
#define mem(a, b) memset(a, b, s... | #include <bits/stdc++.h>
using namespace std;
#define endl "\n"
#define int long long
#define vec(x) vector<x>
#define pb push_back
#define pii pair<int, int>
#define vi vector<int>
#define vii vector<pair<int, int>>
#define matrix(x) vector<vector<x>>
#define all(v) v.begin(), v.end()
#define mem(a, b) memset(a, b, s... | [["-", 31, 23, 0, 16, 31, 69, 341, 342, 0, 13], ["+", 31, 23, 0, 16, 31, 69, 341, 342, 0, 13], ["-", 12, 23, 0, 16, 31, 69, 341, 342, 0, 13], ["+", 12, 23, 0, 16, 31, 69, 341, 342, 0, 13]] | 1 | 365 |
from decimal import *
A,B = map(float,input().split())
print(int(Decimal(A)*Decimal(B))) | from decimal import Decimal
A,B = input().split()
print(int(Decimal(A)*Decimal(B))) | [["-", 36, 36, 0, 656, 0, 686, 0, 690, 0, 48], ["+", 36, 36, 0, 656, 0, 686, 141, 673, 0, 22], ["-", 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 |
import decimal
a,b = input().split()
a = int(a)
b = decimal(b)
b = b*100
b = int(b)
ans = a*b
ans //= 100
print(int(ans)) | import decimal
a,b = input().split()
a = int(a)
b = decimal.Decimal(b)
b = b*100
b = int(b)
ans = a*b
ans //= 100
print(int(ans)) | [["+", 0, 1, 0, 662, 12, 652, 63, 319, 0, 131], ["+", 0, 1, 0, 662, 12, 652, 63, 319, 319, 22]] | 5 | 51 |
# -*- coding: utf-8 -*-
import math
from decimal import *
A, B = map(float,input().split())
print(math.floor(Decimal(A)*Decimal(B))) | # -*- coding: utf-8 -*-
import math
from decimal import *
A, B = map(Decimal,input().split())
print(math.floor(Decimal(A)*Decimal(B))) | [["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22]] | 5 | 40 |
A, B = input().split()
A = int(A)
B = int(float(B) * 100.00)
ans = (A * B) // 100
print(ans)
| A, B = input().split()
A = int(A)
B = round(float(B) * 100.00)
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 | 41 |
a,b=input().split()
a=int(a)
b=int(b[0]+b[2:])
print(int(a*b/100)) | a,b=input().split()
a=int(a)
b=int(b[0]+b[2:])
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 | 43 |
/*BISMILLAH
THE WHITE WOLF
NO DREAM IS TOO BIG AND NO DREAMER IS TOO SMALL*/
#include <bits/stdc++.h>
using namespace std;
#define io ios_base::sync_with_stdio(false)
#define ll long long
#define ull unsigned long long
#define vi vector<int>
#define vll vector<long long>
#define pb push_back
#define mod 1000000007
#d... | /*BISMILLAH
THE WHITE WOLF
NO DREAM IS TOO BIG AND NO DREAMER IS TOO SMALL*/
#include <bits/stdc++.h>
using namespace std;
#define io ios_base::sync_with_stdio(false)
#define ll long long
#define ull unsigned long long
#define vi vector<int>
#define vll vector<long long>
#define pb push_back
#define mod 1000000007
#d... | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 67 |
#include <algorithm>
#include <cmath>
#include <cstdlib>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <string>
#include <utility>
#include <vector>
const double PI = acos(-1);
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;... | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <string>
#include <utility>
#include <vector>
const double PI = acos(-1);
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;... | [["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 689 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define repi(i, a, b) for (int i = int(a); i < int(b); ++i)
typedef long long ll;
long long mod = 1e9 + 7;
const int iINF = 0x3f3f3f3f;
const long long INF = 1LL << 60;
using namespace std;
template <class T> inline bool chmin(T &a, T b) {
... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define repi(i, a, b) for (int i = int(a); i < int(b); ++i)
typedef long long ll;
long long mod = 1e9 + 7;
const int iINF = 0x3f3f3f3f;
const long long INF = 1LL << 60;
using namespace std;
template <class T> inline bool chmin(T &a, T b) {
... | [["-", 31, 23, 0, 16, 31, 69, 341, 342, 0, 13], ["+", 31, 23, 0, 16, 31, 69, 341, 342, 0, 13]] | 1 | 197 |
a,b=input().split()
a=int(a)
i,f=b.split('.')
print(int(a*(int(i)*100+int(f))/100)) | a,b=input().split()
a=int(a)
i,f=b.split('.')
print(a*(int(i)*100+int(f))//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 | 52 |
#include <cmath>
#include <iostream>
using namespace std;
int main() {
long double a;
double b, res;
cin >> a >> b;
res = a * b;
long long int del = (long long int)res;
cout << (del) << endl;
}
| #include <cmath>
#include <iostream>
using namespace std;
int main() {
long double a, b, res;
cin >> a >> b;
res = a * b;
long long int del = (long long int)res;
cout << (del) << endl;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 21]] | 1 | 55 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long int ans = 0, a;
double b;
cin >> a >> b;
ans = (long long int)(a * b);
cout << ans << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long int ans = 0;
long double a, b;
cin >> a >> b;
ans = (long long int)(a * b);
cout << ans << endl;
return 0;
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 21], ["-", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["+", 0, 14, 8, 9, 0, 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 | 52 |
#include <bits/stdc++.h>
using namespace std;
int main() {
double A;
double B;
cin >> A >> B;
double C = A * B;
int64_t c = C;
cout << c;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long double A;
long double B;
cin >> A >> B;
long double C = A * B;
int64_t c = C;
cout << c;
} | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 40 |
#include <algorithm>
#include <iomanip>
#include <iostream>
#include <math.h>
#include <queue>
#include <stack>
#include <stdlib.h>
#include <string>
#include <vector>
using namespace std;
#define PI 3.14159265358979
typedef unsigned long long ll;
#define rep(i, n) for (int i = 0; i < n; i++)
#include <set>
int main(vo... | #include <algorithm>
#include <iomanip>
#include <iostream>
#include <math.h>
#include <queue>
#include <stack>
#include <stdlib.h>
#include <string>
#include <vector>
using namespace std;
#define PI 3.14159265358979
typedef unsigned long long ll;
#define rep(i, n) for (int i = 0; i < n; i++)
#include <set>
int main(vo... | [["-", 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 | 124 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define REP(i, n) for (int i = 1; i <= (n); i++)
typedef long long ll;
typedef pair<int, int> pii;
int main() {
ll a;
double b;
cin >> a >> b;
ll fb = (ll)floor(b);
ll hb = (ll)((b - fb) * 100);
cout << a * fb + (... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define REP(i, n) for (int i = 1; i <= (n); i++)
typedef long long ll;
typedef pair<int, int> pii;
int main() {
ll a;
double b;
cin >> a >> b;
ll fb = (ll)floor(b);
ll hb = (ll)((b - fb) * 100 + 0.05);
cout << a *... | [["+", 49, 50, 51, 2, 3, 4, 0, 16, 17, 72], ["+", 49, 50, 51, 2, 3, 4, 0, 16, 12, 13]] | 1 | 100 |
#include <bits/stdc++.h>
#define ll long long
#define pb push_back
#define dbug printf("I am here\n");
#define Fast \
ios_base::sync_with_stdio(false); \
cin.tie(0);
static const long double pi = 3.141592653... | #include <bits/stdc++.h>
#define ll long long
#define pb push_back
#define dbug printf("I am here\n");
#define Fast \
ios_base::sync_with_stdio(false); \
cin.tie(0);
static const long double pi = 3.141592653... | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 21], ["-", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22]] | 1 | 73 |
a,b=input().split()
a=int(a)
print(b)
b=int(b[0] + b[2] + b[3])
print(a * b // 100)
| a,b=input().split()
a=int(a)
b=int(b[0] + b[2] + b[3])
print(a * b // 100)
| [["-", 36, 36, 0, 656, 0, 1, 0, 652, 63, 22], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 24], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 22], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 25]] | 5 | 48 |
#include <bits/stdc++.h>
using namespace std;
#define repr(i, a, b) for (int i = a; i < b; i++)
#define rep(i, n) for (int i = 0; i < n; i++)
typedef long long ll;
#define mod 1000000007
ll gcd(ll x, ll y) { return y ? gcd(y, x % y) : x; }
ll lcm(ll x, ll y) { return x / gcd(x, y) * y; }
int main() {
double a, b;
... | #include <bits/stdc++.h>
using namespace std;
#define repr(i, a, b) for (int i = a; i < b; i++)
#define rep(i, n) for (int i = 0; i < n; i++)
typedef long long ll;
#define mod 1000000007
ll gcd(ll x, ll y) { return y ? gcd(y, x % y) : x; }
ll lcm(ll x, ll y) { return x / gcd(x, y) * y; }
int main() {
long double a,... | [["+", 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 | 118 |
#include <bits/stdc++.h>
#define lint long long
#define ALL(x) (x).begin(), (x).end()
#define PB push_back
#define MP make_pair
using namespace std;
int main() {
// cout << fixed << setprecision(12);
lint A;
double B;
cin >> A >> B;
B *= 100.0;
// cout << B << endl;
lint C = B / 1;
// cout << C << endl... | #include <bits/stdc++.h>
#define lint long long
#define ALL(x) (x).begin(), (x).end()
#define PB push_back
#define MP make_pair
using namespace std;
int main() {
// cout << fixed << setprecision(12);
lint A;
double B;
cin >> A >> B;
B *= 100;
B += 0.1;
// cout << B << endl;
lint C = B / 1;
// cout <<... | [["-", 0, 14, 8, 9, 0, 1, 0, 11, 12, 13], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 12, 13], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 17, 107]] | 1 | 70 |
a,b=map(float,input().replace(".","").split())
print(int(a*b//100)) | a,b=map(int,input().replace(".","").split())
print(a*b//100) | [["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["-", 0, 1, 0, 652, 3, 4, 0, 652, 63, 22], ["-", 0, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["-", 0, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 37 |
#include "bits/stdc++.h"
#include <set>
using namespace std;
#define FOR(i, a, b) for (int i = (a); i < (b); i++)
#define RFOR(i, a, b) for (int i = (b)-1; i >= (a); i--)
#define rep(i, n) for (int i = 0; i < (n); i++)
#define rep1(i, n) for (int i = 1; i < (n); i++)
#define rrep(i, n) for (int i = (n)-1; i >= 0; i--)... | #include "bits/stdc++.h"
#include <set>
using namespace std;
#define FOR(i, a, b) for (int i = (a); i < (b); i++)
#define RFOR(i, a, b) for (int i = (b)-1; i >= (a); i--)
#define rep(i, n) for (int i = 0; i < (n); i++)
#define rep1(i, n) for (int i = 1; i < (n); i++)
#define rrep(i, n) for (int i = (n)-1; i >= 0; i--)... | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 205 |
a,b=map(str,input().split())
a=int(a)
b=int(b[0]+b[2]+b[3])
print(int((a*b)/100)) | a,b=map(str,input().split())
a=int(a)
b=int(b[0]+b[2]+b[3])
print(int((a*b)//100)) | [["-", 3, 4, 0, 652, 3, 4, 0, 657, 17, 85], ["+", 3, 4, 0, 652, 3, 4, 0, 657, 17, 676]] | 5 | 54 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long int a;
double b;
cin >> a >> b;
cout << (long long int)(a * b);
return 0;
}
/*
Get-Content in.txt | ./a > out.txt
*/
| #include <bits/stdc++.h>
using namespace std;
int main() {
long double a, b;
cin >> a >> b;
cout << (long long int)(a * b);
return 0;
}
/*
Get-Content in.txt | ./a > out.txt
*/
| [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40], ["-", 0, 30, 0, 14, 8, 9, 0, 43, 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, 21]] | 1 | 43 |
/*
* Project: AtCoder Beginners Contest 169 C - Multiplication 3
* Author: toms74209200 <https://github.com/toms74209200>
*
* Created on 2020/05/31
* Copyright (c) 2020 toms74209200
*
* This software is released under the MIT License.
* http://opensource.org/licenses/mit-license.php
*/
#include <cmath>
#includ... | /*
* Project: AtCoder Beginners Contest 169 C - Multiplication 3
* Author: toms74209200 <https://github.com/toms74209200>
*
* Created on 2020/05/31
* Copyright (c) 2020 toms74209200
*
* This software is released under the MIT License.
* http://opensource.org/licenses/mit-license.php
*/
#include <cmath>
#includ... | [["-", 0, 1, 0, 2, 3, 4, 0, 16, 31, 22], ["+", 0, 2, 3, 4, 0, 16, 31, 74, 0, 24], ["+", 0, 16, 31, 74, 39, 77, 39, 86, 0, 96], ["+", 0, 2, 3, 4, 0, 16, 31, 74, 0, 25], ["+", 0, 2, 3, 4, 0, 16, 31, 74, 51, 22]] | 1 | 94 |
from sys import stdin
input = stdin.readline
a, b = map(str, input().split())
a = int(a)
b = int(float(b) * 100)
ans = int(a * b // 100)
print(ans)
| from sys import stdin
input = stdin.readline
a, b = map(str, input().split())
a = int(a)
b = int(float(b) * 100.001)
ans = int(a * b // 100)
print(ans)
| [["-", 0, 662, 12, 652, 3, 4, 0, 657, 12, 612], ["+", 0, 662, 12, 652, 3, 4, 0, 657, 12, 531]] | 5 | 56 |
from sys import stdin
input = stdin.readline
a, b = map(str, input().split())
a = int(a)
b = int(float(b) * 100)
ans = int(a * b // 100)
print(ans)
| from sys import stdin
input = stdin.readline
a, b = map(str, input().split())
a = int(a)
b = int((float(b) + 0.001) * 100)
ans = int(a * b // 100)
print(ans)
| [["+", 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 | 56 |
import math
a,b = [i for i in input().split()]
a = int(a)
b = float(b)
print(math.floor(a*b)) | import math
from decimal import Decimal
a,b = [i for i in input().split()]
a = Decimal(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 | 42 |
#include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <string>
#include <vector>
typedef long long ll;
using namespace std;
// problem_C
int main() {
double a;
double b;
cin >> a >> b;
cout << ll(floor(a * b)) << endl;
} | #include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <string>
#include <vector>
typedef long long ll;
using namespace std;
// problem_C
int main() {
long double a;
long double b;
cin >> a >> b;
cout << ll(floor(a * b)) << endl;
} | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 54 |
#include <algorithm>
#include <cassert>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
using namespace std;
#define FOR(__I, __N) for (int __I = 0; __I < __N; ++__I)
typedef long long int64;
typedef pair<int, ... | #include <algorithm>
#include <cassert>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
using namespace std;
#define FOR(__I, __N) for (int __I = 0; __I < __N; ++__I)
typedef long long int64;
typedef pair<int, ... | [["+", 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 | 101 |
A,B = input().split()
iA = int(A)
iB = int(float(B) * 100)
ans = (iA * iB) // 100
print(ans) | A,B = input().split()
iA = int(A)
iB = int(float(B) * 100 + 0.5)
ans = (iA * iB) // 100
print(ans)
| [["+", 0, 662, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 662, 12, 652, 3, 4, 0, 657, 12, 531]] | 5 | 41 |
#include <iostream>
using namespace std;
typedef unsigned long long ll;
int main(void) {
ll A;
double B;
cin >> A >> B;
int b = B * 100.0;
cout << (ll)(b * A / 100) << endl;
return 0;
}
| #include <iostream>
using namespace std;
typedef unsigned long long ll;
int main(void) {
ll A;
double B;
cin >> A >> B;
int b = B * 100.0 + 0.01;
cout << (ll)(b * A / 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 | 56 |
#include <iomanip>
#include <iostream>
typedef long long ll;
using namespace std;
const ll INF = 1e9;
const ll MOD = 1e9 + 7;
#define repi(i, n, init) for (ll i = init; i < (n); i++)
int main() {
double a, b;
cin >> a >> b;
cout << ll(a * b) << endl;
return 0;
} | #include <iomanip>
#include <iostream>
typedef long long ll;
using namespace std;
const ll INF = 1e9;
const ll MOD = 1e9 + 7;
#define repi(i, n, init) for (ll i = init; i < (n); i++)
int main() {
ll a;
long double b;
cin >> a >> b;
cout << ll(a * b) << endl;
return 0;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 21], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40]] | 1 | 68 |
#include <bits/stdc++.h>
#define rep(i, n) for (int(i) = 0; i < (n); ++(i))
using ll = long long int;
const ll MOD = 1e9 + 7;
int main() {
ll A;
double B;
std::cin >> A >> B;
std::cout << A * ll(B * 100) / 100 << '\n';
}
| #include <bits/stdc++.h>
#define rep(i, n) for (int(i) = 0; i < (n); ++(i))
using ll = long long int;
const ll MOD = 1e9 + 7;
int main() {
ll A;
double B;
std::cin >> A >> B;
std::cout << A * ll(B * 100 + 0.001) / 100 << '\n';
}
| [["+", 31, 16, 12, 2, 3, 4, 0, 16, 17, 72], ["+", 31, 16, 12, 2, 3, 4, 0, 16, 12, 13]] | 1 | 64 |
#include <algorithm>
#include <bits/stdc++.h>
#include <cmath>
#include <cstdio>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <stack>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < n; i++)
using ll = long long;
using namespace std;
void solve() {}
int ma... | #include <algorithm>
#include <bits/stdc++.h>
#include <cmath>
#include <cstdio>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <stack>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < n; i++)
using ll = long long;
using namespace std;
void solve() {}
int ma... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 136 |
a,b=map(str,input().split())
a=int(a)
b=float(b)
print(int(a*(100*b)//100)) | a,b=map(str,input().split())
a=int(a)
b=float(b)
print(int(a*int(100*b+0.5)//100)) | [["+", 3, 4, 0, 657, 31, 657, 12, 652, 63, 22], ["+", 31, 657, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 31, 657, 12, 652, 3, 4, 0, 657, 12, 531]] | 5 | 43 |
#include <math.h>
#include <stdio.h>
int main() {
unsigned long long A, ans, M;
double B, N;
scanf("%llu %lf", &A, &B);
ans = (unsigned long long)(A * B);
printf("%llu", ans);
return 0;
} | #include <math.h>
#include <stdio.h>
int main() {
unsigned long long A, ans, M;
long double B, N;
scanf("%llu %Lf", &A, &B);
ans = (unsigned long long)(A * B + 0.001);
printf("%llu", 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], ["+", 0, 11, 12, 74, 51, 23, 0, 16, 17, 72], ["+", 0, 11, 12, 74, 51, 23, 0, 16, 12, 13]] | 0 | 62 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.