Problem:


Score : 300 points

Problem Statement

Compute A \times B, truncate its fractional part, and print the result as an integer.

Constraints

0 \leq A \leq 10^{15}

0 \leq B < 10

A is an integer.

B is a number with two digits after the decimal point.

Input

Input is given from Standard Input in the following format:

A B

Output

Print the answer as an integer.

Sample Input 1

198 1.10

Sample Output 1

217

We have 198 \times 1.10 = 217.8. After truncating the fractional part, we have the answer: 217.

Sample Input 2

1 0.01

Sample Output 2

0

Sample Input 3

1000000000000000 9.99

Sample Output 3

9990000000000000



Sample input:
198 1.10


Sample output:
217

Submission status: Wrong Answer

Solution code:
a,b=map(float,input().split())
print(int(a*b))

Submission status: Wrong Answer

Solution code:

A,B = input().split()
B = float(B)


A = int(A)
B = int(B*100)
ans = str(A*B)
if len(ans) <=2:
    print(0)
else:
    print(str(A*B)[:-2])

Submission status: Wrong Answer

Solution code:
import math

aaa = list(map(float, input().split()))

A = int(aaa[0])
B = aaa[1]

print(math.floor(A * B))

Submission status: Wrong Answer

Solution code:
import math
A, B = input().strip().split()
A=int(A)
B=int(float(B)*100)
print(A*B//100)

Submission status: Wrong Answer

Solution code:
import  math
a,b=map(str,input().split())
a=int(a)
b=float(b)*100
if b==0 or a==0:
    print(0)
    exit()


ans=a*int(b)
ans//=100
print(int(ans))

Submission status: Wrong Answer

Solution code:
from math import floor
a,b=map(float,input().split())
w=a*b
s=str(w)
m=''
for i in range(len(s)):
	if s[i]!='.':
		m+=s[i]
	else:
		break
print(m)

Submission status: Wrong Answer

Solution code:
a,b = [float(x) for x in input().split()]
a = int(a)
b = int(b*100)
x = str(a*b)
if len(x)>2:
    print(x[:-2])
else:
    print(0)

Submission status: Wrong Answer

Solution code:
import math
a,b=input().split()
a=int(a)
b=str(float(b))
b1=int(b[0])
if len(b)==3 or len(b)==4:
  b2=int(b[2])
  if len(b)==4:
    b3=int(b[3])
    c=a*b1+a*b2//10+a*b3//100
  else:
    c=a*b1+a*b2//10
else:
  c=a*b1
print(c)

Submission status: Wrong Answer

Solution code:
a,b=map(float,input().split())
import math
from decimal import *
print(math.floor(Decimal(a)*Decimal(b)))

Submission status: Wrong Answer

Solution code:
a,b = map(float,input().split())
k = a*b
m = 0
if(k-int(a*b)>0.9):
  m += 1
print(int(a*b)+m)

Submission status: Wrong Answer

Solution code:
A,B=input().split()
A=int(A)
B=float(B)
B=B*100
ans=A*B
print(int((A*B)/100))

Submission status: Wrong Answer

Solution code:
import math
A,B=map(float,input().split())
B=round(B,2)
A=round(A)
b=(A*B)//1
b=int(b)
print(b)

Submission status: Wrong Answer

Solution code:
A,B = map(float,input().split())
a = int(A)
print(int(a*B))

Submission status: Wrong Answer

Solution code:
from fractions import Fraction

for _ in range(1):
    a = list(input().split(' '))
    A = int(a[0])
    B = Fraction(a[1])

ans = str(A * B)

idx = 0
for i in range(len(ans)):
    if ans[i] == '.':
        idx = i
        break
print(ans[:i])

Submission status: Wrong Answer

Solution code:
import math
a,b = map(float,input().split())
x=(a*b)
y=math.floor(x)
print(math.floor(y))

Submission status: Wrong Answer

Solution code:
A, B = input().split()
A = int(A)
B = float(B)
ans = str(int(A * B))
print(ans)

Submission status: Wrong Answer

Solution code:
from fractions import Fraction
x=input().split()
a=int(x[0])
b=float(x[-1])
a=Fraction.from_float(a)
b=Fraction.from_float(b)
print(int(a*b))

Submission status: Wrong Answer

Solution code:
A,B = map(float,input().split(' '))
print(int(A*B))

Submission status: Wrong Answer

Solution code:
A, B = map(float, input().split())

int(A)
B = int(B * 100)

ans = str(int(A * B))
print(ans[0:len(ans)-2])

Submission status: Wrong Answer

Solution code:
import sys, math
input = sys.stdin.readline

def main():
    A, B = map(float, input().split())
    print(math.floor(A * B))

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
a, b = input().split()
ans = int(a) * float(b)

print(int(ans))

Submission status: Wrong Answer

Solution code:
A,B = map(float, input().split())
answer = int(A*B)
print(answer)

Submission status: Wrong Answer

Solution code:
a,b=map(float,input().split())
a=int(a)
b=int(b*100)
c=a*b
c//=100
print(int(c))

Submission status: Wrong Answer

Solution code:
a,b=map(float,input().split())
a=int(a)
a1,a2=a//100,a%100
x=int(b*a1*100)
y=int(a2*b)
ans=x+y
print(ans)

Submission status: Wrong Answer

Solution code:
import math
N,K=input().split()
N=int(N)
after=K.split(".")[1]
before=K.split(".")[0]
after=after[0:2]
K=eval(before+"."+after)
#print(before, after, K)
print(math.trunc(N*K))

Submission status: Wrong Answer

Solution code:
import math
 
ls = list(map(float, input().split()))
 
print(int(math.floor(ls[0]*ls[1])))

Submission status: Wrong Answer

Solution code:
a,b=map(float,input().split())
x=int(a*b)
print(x)

Submission status: Wrong Answer

Solution code:
a,b=input().split()
a=int(a)
b=float(b)
print(a,b,a*b)
print(int(a*b))

Submission status: Wrong Answer

Solution code:
import math

A, B = map(float, input().split())
if A == 0 or B == 0:
  print(0)
  exit()

print(math.trunc(A*B))

Submission status: Wrong Answer

Solution code:
A, B = input().split()
A = int(A)
B = float(B)

import math
print(int(math.floor(A*B)))

Submission status: Wrong Answer

Solution code:
def solve(a, b):
    return int(a * b)


a, b = map(float, input().split())
print(solve(a, b))

Submission status: Wrong Answer

Solution code:
import math
A, B = map(float, input().split())
ans = A * B
ans = math.floor(ans)
print(ans)

Submission status: Wrong Answer

Solution code:
import math
a,b = map(float,input().split())
 
a = math.floor(a)
b = math.floor(b*100)
 
print(math.floor((a*b)/100))

Submission status: Wrong Answer

Solution code:
a,b=input().split()
A=int(a)
B=float(b)
print(int(A*B))

Submission status: Wrong Answer

Solution code:
A, B = map(str, input().split())

a = int(A)
b = int(float(B) * 100)

ab = a * b

AB = str(ab)

if ab < 100:
    print(0)
else:
    print(AB[:-2])

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
A,B = input().split()
A = int(A)
B_i, B_d = B.split('.')
B_i = int(B_i)
# calc b_d
B_d = list(B_d)
B_d = int(B_d[0])*10 + int(B_d[1])

if 1 <= B_d < 10:
    B_d *= 10
elif B_d == 0:
    pass

result_100 = A * (100*B_i+B_d)

if result_100 >= 100:
    print(str(result_100)[:-2])
else:
    print(0)

Submission status: Wrong Answer

Solution code:
a, b = input().split()
a = int(a)
b = float(b)
ans = int(a*b)
if a == 0:
    ans = 0
if b == 0:
    ans = 0
print(ans)

Submission status: Wrong Answer

Solution code:
a,b = map(float, input().split())

a = int(a)
b *= 100
b = int(b)/100
ans = int(a*b)
print(ans)

Submission status: Wrong Answer

Solution code:
A, B= input().split()
A = int(A)
B= float(B)
print(int(A*B))

Submission status: Wrong Answer

Solution code:
import math
L = input().split()
A = int(L[0])
B = float(L[1])
M = A*B
print(math.floor(M))

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline
#n = int(input())
#l = list(map(int, input().split()))
'''
A=[]
B=[]
for i in range():
    a, b = map(int, input().split())
    A.append(a)
    B.append(b)'''
import math
a, b = map(float, input().split())
a=int(a)
bn=math.floor(b)
ans=int(a*bn)
bm=int((b-bn)*100)
#print(ans,bm)
print(ans+(a*bm)//100)

Submission status: Wrong Answer

Solution code:
A,B = map(float,input().split())
a1 = A//(10**7)
a2 = A%(10**7)
ans = a1*B*10**7 + a2*B
print(int(ans//1))

Submission status: Wrong Answer

Solution code:
import math

a, b = input().split(' ')

a = int(a)
b = float(b)

b = int(b * 100)
c = math.floor(float(a * b / 100))

print(c)

Submission status: Wrong Answer

Solution code:
a, b = map(float, input().split())
c = b * 100
ans = int(a)*int(c)
ans = int(ans/100)
print(ans)

Submission status: Wrong Answer

Solution code:
import math
A, B = input().split()
A, B = int(A), float(B)
result = str(A*B)
print(int(result[:(result.index('.'))]))

Submission status: Wrong Answer

Solution code:

import math


def main():

    A, B = map(float, input().split())
    A = int(A)

    print(int(math.floor(A*B)))


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
a, b = map(float, input().split())
a = int(a)
b = int(b //0.01)

print(int(a*b)//100)

Submission status: Wrong Answer

Solution code:
import math
 
a,b = map(float,input().split())
a = int(a)
b = int(b*100)
ab = (a*b)/100


print(math.floor(ab))

Submission status: Wrong Answer

Solution code:
import math
A, B = map(float, input().split())
A = int(A)
print(math.floor(A*B))

Submission status: Wrong Answer

Solution code:
import sys
from math import factorial
from collections import Counter
from fractions import Fraction
import heapq, bisect, fractions
import math
import itertools
sys.setrecursionlimit(10 ** 5 + 10)
INF = 10**15 +5
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
MOD = 10**9 + 7


a, b = input().split()
a = int(a)
b = float(b)
b1 = b-int(b)
b2 = int(b)
c = a*b2 + math.floor(a*b1)
print(c)

Submission status: Wrong Answer

Solution code:
A, B = input().split(" ")
A = int(A)
B = int(float(B)*100)

print(int(A*B/100))

Submission status: Wrong Answer

Solution code:
A,B = (float(x) for x in input().split())
b = B * 100
ans = A * b
ans = ans // 100
print(int(ans))

Submission status: Wrong Answer

Solution code:
import math
a,b=input().split()
A=int(a)
B=float(b)
ans=A*B
print((math.floor(ans)))

Submission status: Wrong Answer

Solution code:
from decimal import *
import math

A,B = input().split()
a = int(A)
b = int(float(B)*100)

result = Decimal(str(a*b)).quantize(Decimal('.01'), rounding=ROUND_DOWN)

print(math.floor(result/100))

Submission status: Wrong Answer

Solution code:
import sys, io, os, re
import bisect
from pprint import pprint
from math import sin, cos, pi, radians, sqrt, floor
from copy import copy, deepcopy
from collections import deque
from fractions import gcd
from functools import reduce

def array1(n): return [0] * n
def array2(n, m): return [[0] * m for x in range(n)]
def array3(n, m, l): return [[[0] * l for y in xrange(m)] for x in xrange(n)]

arr = list(sys.stdin.readline().strip().split())
arr[0] = int(arr[0])
arr[1] = float(arr[1])*100

print(int(floor(arr[0]*arr[1]))/100)

Submission status: Wrong Answer

Solution code:
a,b = map(float,input().split())

print(int(a*b//1))

Submission status: Wrong Answer

Solution code:
import math
a, b = input().split()
a = int(a)
b = float(b)
a *= b
print(math.floor(a))

Submission status: Wrong Answer

Solution code:
a, b = map(float, input().split())

print(int(a*b // 1))

Submission status: Wrong Answer

Solution code:
A,B = map(float,input().split())
ans = A*B*100
a = str(ans//100)
print(a[0:len(a)-2])

Submission status: Wrong Answer

Solution code:
import math
a,b = map(float,input().split())
a = int(a)
b_int = math.floor(b)
ans = a*b_int   #整数部の計算
b_float = b-b_int
dum = str(math.floor((math.floor(b_float*100)*a*100)))
dum_len = len(dum)
if dum_len <= 4:
    amari = 0
else:
    amari = int(dum[0:dum_len-4])
print(ans+amari)

Submission status: Wrong Answer

Solution code:
import math

a,b = [i for i in input().split()]
 
a = int(a)
b = float(b)
 
print(math.floor(a*b))

Submission status: Wrong Answer

Solution code:
import math

A, B = input().split()
A = int(A)
B = float(B)
res = A * B
print(math.floor(res))

Submission status: Wrong Answer

Solution code:
line = input().rstrip().split()
import math
answer = int(line[0]) * float(line[1])
 
answer2 = math.floor(answer)
print(answer2)

Submission status: Wrong Answer

Solution code:
def readInt():
    return list(map(float, input().split()))

a,b = readInt()
a = int(a)
count = 0
while a > 10:
    a /= 10
    count += 1

# print(a,b)
ans = int((a*b) * (10**count))
print(ans)

Submission status: Wrong Answer

Solution code:
import math
A,B = map(float, input().split())
 
print(int(math.floor(A*B)))

Submission status: Wrong Answer

Solution code:
[a,b] = [float(x) for x in input().split()]

print(int(a*b))

Submission status: Wrong Answer

Solution code:
import math

a,b =map(float,input().split())
ans=a*b
print(int(math.floor(ans)))

Submission status: Wrong Answer

Solution code:
a,b = map(float, input().split())
c = int(100 * b)
a = int(a)
# print(a,c)
# print(a*c)
print(int(int(a*c)/100))

Submission status: Wrong Answer

Solution code:
def solve(A, B):
    _B = int(B * 100)
    print(A * _B // 100)


if __name__ == '__main__':
    x = input().split()
    A = int(x[0])
    B = float(x[1])
    solve(A, B)

Submission status: Wrong Answer

Solution code:
s = list(input().split())
a = int(s[0])
b = float(s[1]) * 100
p = int((a * b) // 100)
print(p)

Submission status: Wrong Answer

Solution code:
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))

Submission status: Wrong Answer

Solution code:
a, b = map(float, input().split())

c = int(a*b)
print(c)

Submission status: Wrong Answer

Solution code:
a, b = input().split(" ")
 
print(int(int(a) * float(b)))

Submission status: Wrong Answer

Solution code:
import math
a, b = map(float, input().split())
c= math.floor(a*b)
print(int(c))

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
import numpy as np
import math

A, B = map(float, input().split())
A = int(A)

print("{}".format(int(math.floor(A*B))))

Submission status: Wrong Answer

Solution code:
A,B = list(input().split())

fl = float(A)*float(B)
st = str(fl)
ans ,tr = st.split(".")

print(ans)

Submission status: Wrong Answer

Solution code:
A, B = map(float, input().split())

B = int(B * 100)
A = int(A)
ans = A*B
ans = str(ans)
if len(ans) <= 2:
    print(0)
else:
    print(ans[0:-2])

Submission status: Wrong Answer

Solution code:
from decimal import Decimal, ROUND_FLOOR


A, B = map(float, input().split())
A = int(A)
ans = A * B

ans = Decimal(str(ans)).quantize(Decimal("0"), rounding=ROUND_FLOOR)
print(ans)

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline

# n = int(input())
a,b = map(float,input().split())

print(int(a*b))

Submission status: Wrong Answer

Solution code:
import math
A, B = map(float, input().split())

A = int(A)
ans = A * B
print(math.floor(ans))

Submission status: Wrong Answer

Solution code:
from fractions import Fraction
import math

A, B = input().split()
A = int(A)
B = float(B)
C = Fraction(B)
print(int(A * C))

Submission status: Wrong Answer

Solution code:
a=input()
a=a.split()
a=[float(n) for n in a]

print(int(a[0]*a[1]))

Submission status: Wrong Answer

Solution code:
a,b=map(float,input().split())
a=int(a)
bigb=int(b*100)
a_front=a//1000
a_back=a-a_front*1000
#print(a,b,bigb,a_front,a_back)
ans_front=a_front*10*bigb
ans_back=a_back*b
ans_back=int(ans_back)
print(ans_front+ans_back)

Submission status: Wrong Answer

Solution code:
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(10 ** 7)

a, b = map(float, readline().split())
print(int(a * (b * 10 ** 10) // (10 ** 10)))

Submission status: Wrong Answer

Solution code:
from math import trunc
A, B = map(eval, input().split())
Ans = A*B
print(trunc(Ans))

Submission status: Wrong Answer

Solution code:
A,B=input().split()
A=int(A)
B=float(B)
C=int(A*B)

print(C)

Submission status: Wrong Answer

Solution code:
import math
a,b = input().split()
if int(a) == 0 or float(b)==0.00:
    print(0)
else:
    a = float(a)*100
    b = float(b)*100
    print(math.trunc(a*b/10000))

Submission status: Wrong Answer

Solution code:
import math

A, B = (float(x) for x in input().split())
(B_up, B_under) = B.as_integer_ratio()
print(math.floor((A*B_up)/B_under))

Submission status: Wrong Answer

Solution code:
k = input().split()

a = int(k[0])
b = float(k[1])

print(int(a * b))

Submission status: Wrong Answer

Solution code:
import sys
import math
 
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

A, B= map(float, read().split())

print(int(math.floor(A*B)))

Submission status: Wrong Answer

Solution code:
x = list(input().split())
a = int(x[0])
b = float(x[1])
print(int(a*b))

Submission status: Wrong Answer

Solution code:
import math
A, B = map(float, input().split())
A = int(A)
preans = A * B
print(math.floor(preans))

Submission status: Wrong Answer

Solution code:
import math

A, B = input().split()
A = int(A)
b, B = math.modf(float(B))
print(A * int(B) + A * int(b * 100) // 100)

Submission status: Wrong Answer

Solution code:
import sys
import math
import fractions
import bisect
import queue
import heapq
import collections
import itertools
sys.setrecursionlimit(4100000)

# 定数
MOD = int(1e9 + 7)
INF = 1e18
DX = [0,  0, 1, -1, 1,  1, -1, -1, 0]
DY = [1, -1, 0,  0, 1, -1,  1, -1, 0]
PI = 3.14159265358979323846264338327950288

"""=======　関数 ==============================================================="""
# 約数列挙(O(√n))
def divisor(n):
    ret = []
    for i in range(1, n+1):
        if i*i > n:
            break
        if n % i == 0:
            ret.append(i)
            if i*i != n:
                ret.append(n/i);
    return sorted(ret)

# エラトステネスの篩
def search_sosuu(n):
    sosuu = [True] * n
    sosuu[0] = sosuu[1] = False
    for i in range(2, n):
        if sosuu[i]:
            for j in range(2, n):
                if(i*j > n):
                    break
                else:
                    sosuu[i*j] = False
    return sosuu

# 素因数分解(O(√n))
def div_prime(n):
    prime_factor = []
    for i in range(2, n+1):
        if i*i > n:
            break
        count = 0
        while n % i == 0:
            count += 1
            n //= i
        if count:
            prime_factor.append((i, count))
    if n != 1:
        prime_factor.append((n, 1))
    return prime_factor

# 素数判定(O(√n))
def is_sosuu(n):
    if n < 2:
        return False
    elif n == 2:
        return True
    elif N%2 == 0:
        return False
    for i in range(3, int(math.sqrt(n)), 2):
        if n % i == 0:
            return False
    return True

# 最大公約数(O(logn))
def gcd(a, b):
    if a < b:
        a, b = b, a
    r = a % b
    while r:
        a, b = b, r
        r = a % b
    return b

# 最小公倍数(O(logn))
def lcm(a, b):
    g = gcd(a, b)
    return g * (a//g) * (b//g)

# 階乗(O(n))
def factorial(n):
    if n <= 1:
        return 1
    return (n * factorial(n-1)) % MOD

# 高速コンビネーション計算(前処理:O(N) 計算:O(1))
MAX_COMB = 200005
fac = [0] * MAX_COMB
finv = [0] * MAX_COMB
inv = [0] * MAX_COMB
com_inited = False
def COMinit():
    fac[0] = fac[1] = 1
    finv[0] = finv[1] = 1
    inv[1] = 1
    for i in range(2, MAX_COMB):
        fac[i] = fac[i-1] * i % MOD
        inv[i] = MOD - inv[MOD % i] * (MOD / i) % MOD
        finv[i] = finv[i - 1] * inv[i] % MOD

    com_inited = True
def com(n, k):
    if not com_inited:
        COMinit()
    if n < k:
        return 0
    if n < 0 or k < 0:
        return 0
    return fac[n] * (finv[k] * finv[n - k] % MOD) % MOD

# 繰り返し2乗法(O(logP))
def repeat_squaring(base, sisuu):
    if sisuu == 0:
        return 1
    if sisuu % 2 == 0:
        t = repeat_squaring(base, sisuu / 2) % MOD
        return t * t % MOD
    return base * repeat_squaring(base, sisuu - 1) % MOD

# 単発コンビネーション(O(logn))
def fast_com(a, b):
    bunshi = 1
    bunbo = 1
    for i in range(1, b + 1):
        bunbo *= i
        bunbo %= MOD

        bunshi *= (a - i + 1)
        bunshi %= MOD

    ret = bunshi * repeat_squaring(bunbo, MOD - 2) % MOD

    while ret < 0:
        ret += MOD
    return ret

# 2直線の交差判定
def is_cross(x1, y1, x2, y2, X1, Y1, X2, Y2):
    dx_ai = X1 - x1;
    dy_ai = Y1 - y1;
    dx_bi = X1 - x2;
    dy_bi = Y1 - y2;
    
    dx_ai2 = X2 - x1
    dy_ai2 = Y2 - y1
    dx_bi2 = X2 - x2
    dy_bi2 = Y2 - y2

    si = dx_ai * dy_bi - dy_ai * dx_bi
    si2 = dx_ai2 * dy_bi2 - dy_ai2 * dx_bi2
    
    si3 = dx_ai * dy_ai2 - dy_ai * dx_ai2
    si4 = dx_bi * dy_bi2 - dy_bi * dx_bi2

    return si * si2 < 0 and si3 * si4 < 0

# 木の根からの深さ
def tree_depth(edge, start_node, n_node):
    dist = [INF] * n_node
    dist[start_node] = 0

    S = queue.LifoQueue()
    S.put((start_node, 0))

    while not S.empty():
        node, d = S.get()
        dist[node] = d

        for next in edge[node]:
            if d[next] == INF:
                S.put((next, d + 1))

    return dist


'''
1行のint=====================================
N, K = map(int, input().split())

1行のstring=================================
S, T = input().split()

1行の整数配列================================
P = list(map(int,input().split()))

改行あり整数==================================
X = []
Y = []
for i in range(N):
    x1,y1=[int(i) for i in input().split()]
    X.append(x1)
    Y.append(y1)

A = []
for i in range(N):
    a=int(input())
    A.append(a)

Pair = []
for i in range(N):
    x1,y1=[int(i) for i in input().split()]
    Pair.append((x1, y1))
    
2次元整数配列=====================================
A = []
for i in range(N):
    tmp = list(map(int,input().split()))
    A.append(tmp)


N行M列の初期化====================================
dp = [[VAL] * RETU for i in range(GYO)]

'''


A, B = map(float, input().split())


ans = A*B

print(int(math.floor(ans)))

Submission status: Wrong Answer

Solution code:
import numpy as np


def main(A, B):

    ans = A*B
    ans =ans//100
    return int(ans)


A, B = map(float, input().split())
A=int(A)
B*=100
B=int(B)
print(main(A, B))

Submission status: Wrong Answer

Solution code:
a,b=map(float,input().split())
b=int(b*100)
a=int(a)
ans=(a*b)//100
print(ans)

Submission status: Wrong Answer

Solution code:
import  math
a,b=map(str,input().split())
a=int(a)
b=float(b)*100
if b==0 or a==0:
    print(0)
    exit()

df=int(b)
dv=float(b-df)
ans=a*df+math.floor(a*dv)
ans//=100
print(int(ans))

Submission status: Wrong Answer

Solution code:
a = list(map(float,input().split()))

n = a[0]
m = a[1]

print(int(n*m))

Submission status: Wrong Answer

Solution code:
import math

a, b = map(float, input().split())
c = a*b
d = math.trunc(c)
print(d)

Submission status: Wrong Answer

Solution code:
A,B = input().split()
A = int(A)
B = int(float(B)*100)
print(A*B//100)

Submission status: Wrong Answer

Solution code:
S = input().split(" ")

A = int(S[0])
B = float(S[1])
b = int(B*100)
a = A % 100
s = a * b // 100
a_2 = A - a
s_2 = int(a_2*B)
print(s + s_2)

Submission status: Wrong Answer

Solution code:
from decimal import *

A,B = map(float,input().split())
A_B = Decimal(A) * Decimal(B)
n = 0

ans = Decimal(A_B).quantize(Decimal(1), rounding=ROUND_DOWN)
print(ans)

Submission status: Wrong Answer

Solution code:
A,B = input().split()
A=int(A)
B=float(B)
B*=100
B=int(B)
print(int(A*B/100))

Submission status: Wrong Answer

Solution code:
import math
A, B = input().strip().split()
A, B = [int(A), float(B)]
if A>=0 and A<=10**15:
    if B>=0 and B<10:
        result=A*B
        new=math.floor(result)
        print(new)

Submission status: Wrong Answer

Solution code:
A,B = input().split()
print(int(int(A)*float(B)//1))

Submission status: Wrong Answer

Solution code:
a, b = input().split(' ')
a = int(a)
b = round(float(b), 2)
print(int(a*b))

Submission status: Wrong Answer

Solution code:
A, B = input().split()
A = int(A)
B = float(B)
import math
ans = A*B
ans = math.floor(ans)
print(ans)

Submission status: Wrong Answer

Solution code:
_A,_B=input().split()
A=int(_A)
B=float(_B)

dig2=str(B)

a,s=dig2.split('.')
dd=int(a)
s='0.'+s
f=float(s)
tem=float(A)*f
tem1=round(tem, 0)
print(int(tem1)+(A*dd))

Submission status: Wrong Answer

Solution code:
import sys
inp = list(map(str,input().split()))
a = int(inp[0])
b = float(inp[1])
#print(a)
#print(b)
bb = int(b * 100)
print(int(a * bb / 100))

#prod = 1
#overflow = False
#
#a = list(map(int,input().split()))
#
#for aa in a:
#  if prod * aa > 1000000 * 1000000 * 1000000:
#    overflow = True
#  else:
#    prod = prod * aa
#
#for aa in a:
#  if aa == 0:
#    overflow = False
#
#if overflow:
#  print(-1)
#else:
#  print(prod)

Submission status: Wrong Answer

Solution code:
s = input().split()
a = int(s[0])
b = float(s[1])
print(int(a * b))

Submission status: Wrong Answer

Solution code:
a,b = map(float,input().split())
s = str(a*b); l = []
for i in range(len(s)):
    if s[i]=='.': break
    else:
        l.append(s[i])
print(*l,sep='')

Submission status: Wrong Answer

Solution code:
ar = input().split() 
a = int(ar[0])
b = float(ar[1])
x = a*b
y = str(x).split('.')
print(y[0])

Submission status: Wrong Answer

Solution code:
import math
a,b = map(float,input().split())

a = int(a)
b = int(b*100)
ans = math.floor(a*b/100)

print(ans)

Submission status: Wrong Answer

Solution code:
a, b = map(float, input().split()) 
a = int(a)
b*=100
b = int(round(b))
print(a,b)
ans = a*b
ans = ans//100
print(ans)

# import math
# print(0.11*100)
# i = 0.01
# while i <= 1.00:
#     print(round(i*100))
#     i+=0.01

Submission status: Wrong Answer

Solution code:
a, b = map(float, input().split())
n = a * (b * 100)

def fl(x):
    digits = 18
    form = '%.'+str(digits-1)+'e'
    return float((form % x))

print(int(fl(n)//100))

Submission status: Wrong Answer

Solution code:
a,b=input().split()
A=int(a)
B=float(b)
c=int(100*B)%100
d=int(B)
e=A*c//100

print(int(A*d+e))

Submission status: Wrong Answer

Solution code:
a, b = map(eval, input().split())
print(f"{int(a*b)}.")

Submission status: Wrong Answer

Solution code:
a, b = input().split()
a = int(a)
b = float(b)
br, bl = divmod(b, 1)
br = int(br)
x = int(a*bl)
print(a*br+x)

Submission status: Wrong Answer

Solution code:
import math
A, B = map(float, input().split())
B = math.floor(B*100)
ans = A * B
ans = math.floor(ans/100)
print(ans)

Submission status: Wrong Answer

Solution code:
import math
a,b = map(float,input().split())
b = b*100
a = a/100
c = int(b)*float(a)
#print(c)
print(math.floor(c))

Submission status: Wrong Answer

Solution code:
import math
X , Y = map(float, input().split())
X = int(X)
print(math.floor(X * Y))

Submission status: Wrong Answer

Solution code:
import math

a, b = input().split()
a = int(a)
b = float(b)*100

n = a*b
n = n//100

print(math.floor(n))

Submission status: Wrong Answer

Solution code:
#c
import math
a,b = list(map(float,input().split()))

print(math.floor(a*b))

Submission status: Wrong Answer

Solution code:
import math

a,b = map(str,input().split())

ans = math.floor(int(a)*float(b))
print(ans)

Submission status: Wrong Answer

Solution code:
a,b = list(map(float,input().split()))
a = int(a)
print (int(a*b - (a*b)%1))

Submission status: Wrong Answer

Solution code:
a, b = map(float, input().split())
answer = 1
print(int(a*b))

Submission status: Wrong Answer

Solution code:
import sys
from decimal import Decimal

def solve():
    input = sys.stdin.readline
    A, B = map(float, input().split())
    ans = Decimal(A) * Decimal(B)
    print(int(ans))

    return 0

if __name__ == "__main__":
    solve()

Submission status: Wrong Answer

Solution code:
import sys
import math

readline = sys.stdin.readline
readall = sys.stdin.read
ns = lambda: readline().rstrip()
ni = lambda: int(readline().rstrip())
nm = lambda: map(int, readline().split())
nl = lambda: list(map(int, readline().split()))
prl = lambda x: print(*x ,sep='\n')

a,b = input().split(' ')
a = int(a)
t = str(b).replace('.','')
res = 0
for i in range(3):
    res += int(str(t)[i]) * a // (10 ** i)
print(int(res))

Submission status: Wrong Answer

Solution code:
A,B = input().split()
A = int(A)
B = float(B)
B *= 100
B = int(B)
C = A*B
print(C//100)

Submission status: Wrong Answer

Solution code:
import math
A, B = input().split()

A = int(A)
B = float(B)

if math.isclose(A * B, math.ceil(A*B)):
    print(math.ceil(A*B))
else:
    print(math.floor(A*B))

Submission status: Wrong Answer

Solution code:
a,b = input().split(' ')
a = int(a)
b = float(b)
print(int(a*b))

Submission status: Wrong Answer

Solution code:
import math
def solve():
    a, b = input().split()
    a = float(a)
    b = float(b)
    print(int(a*b))
    return 0
 
if __name__ == "__main__":
    solve()

Submission status: Wrong Answer

Solution code:
import sys
sys.setrecursionlimit(10000000)
from collections import defaultdict
import math

a, b = input().split()
a = int(a)
ans = 0.0
ans += a * int(b[-1])
ans += a * int(b[-2]) * 10
ans += a * int(b[:-3]) * 100
print(int(ans * 0.01))

Submission status: Wrong Answer

Solution code:
a,b = input().split()
a = int(a)
b = float(b)
print(int((a*b)//1))

Submission status: Wrong Answer

Solution code:
A, B = map(float, input().split())
print(int(int(A) * round(B, 2)))

Submission status: Wrong Answer

Solution code:
nums = list(map(float, input().split()))
a,b = nums[0], nums[1]

res = str(a*b)
print(res.split('.')[0])

Submission status: Wrong Answer

Solution code:
import math

alist = input().split()
a=int(alist[0])
b=float(alist[1])

bb=int(b*100)
mae=a*bb
#keta=math.log(mae, 10)
keta=1
while mae>=10**keta:
    keta+=1
#print(keta)
mae=str(mae)
#print(mae)
answer=0
for i in range(keta-2):
    answer+=int(mae[i])*(10**(keta-3-i))
print(answer)

Submission status: Wrong Answer

Solution code:
import math
A, B = input().split()
A, B = int(A), float(B)
result = str(A*B)
print(result[:(result.index('.'))])

Submission status: Wrong Answer

Solution code:
import math
a, b = map(eval, input().split())
ans = a*b
print(math.trunc(ans))

Submission status: Wrong Answer

Solution code:
A, B = map(float, input().split())
res = int(A*B)
print(res)

Submission status: Wrong Answer

Solution code:
import math

a, b = input().split()
a = int(a)
b = float(b)

print(math.floor(a * b))

Submission status: Wrong Answer

Solution code:
A, B = map(str, input().split())
out = int(A) * float(B)
print(int(out))

Submission status: Wrong Answer

Solution code:
X, Y = map(float,input().split())
print(int(X * Y))

Submission status: Wrong Answer

Solution code:
a, b = input().split()
a = int(a)
b = int(float(b) * 100)
print(int(a * b / 100))

Submission status: Wrong Answer

Solution code:
import math
A, B = input().split()
A = int(A)
B = float(B)

ans = A*B

print(math.floor(ans))
# print(type(math.floor(ans)))

Submission status: Wrong Answer

Solution code:
from sys import stdin

[a, b] = stdin.readline().split()
print(int(int(a) * float(b)))

Submission status: Wrong Answer

Solution code:
l = list(filter(None,input().split()))
a = int(l[0])
b = float(l[1])
x = int(a*b)
print(x)

Submission status: Wrong Answer

Solution code:
a,b=map(float,input().split())

ans=a*b

print(int(ans))

Submission status: Wrong Answer

Solution code:
A,B = map(float,input().split())
A = str(int(A))
L = len(A)
if L == 1:
    print(int(int(A)*B))
else:
    a1,a2 = int(A[:L//2]),int(A[L//2:])
    B = round(B,2)
    print(int(a1*B)*(10**(L-L//2))+int(a2*B))

Submission status: Wrong Answer

Solution code:
import math
import decimal
a,b = (float(x) for x in input().split())
print(math.floor(decimal.Decimal(a)*decimal.Decimal(b)))

Submission status: Wrong Answer

Solution code:
import math
i = list(map(float, input().split()))
A = int(i[0])
B = float(i[1])

C = A * B
print(math.floor(C))

Submission status: Wrong Answer

Solution code:
#n = int(input())
#a,b = map(int,input().split())
#a_L = list(map(int,input().split()))

from math import ceil
import math
a,b = map(float,input().split())

if b<1:
    print(0)
else:
    a = int(a)
    b = int(b*100)
    print(math.floor(a*b/100))

Submission status: Wrong Answer

Solution code:
from decimal import Decimal
a,b=map(float,input().split())
c=Decimal(a)
d=Decimal(b)
ans=c*d
print(int(ans))