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: Accepted

Solution code:
from decimal import Decimal
 
a, b = input().split()
a = int(a)
b = Decimal(b)
print(int(a * b // 1))

Submission status: Accepted

Solution code:
a, b = input().split()
b1, b2 = b.split('.')
a = int(a)
b1 = int(b1)
b2 = int(b2)
c = int(('{:0=3}'.format(a * b2))[:-2])
print(a * b1 +c)

Submission status: Accepted

Solution code:
a,b=input().split();print(int(a)*int(b[0]+b[-2:])//100)

Submission status: Accepted

Solution code:
from decimal import Decimal

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

print(int(a*b))

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(10**8)
def ii(): return int(sys.stdin.readline())
def mi(): return map(int, sys.stdin.readline().split())
def li(): return list(map(int, sys.stdin.readline().split()))
def li2(N): return [list(map(int, sys.stdin.readline().split())) for i in range(N)]
def dp2(ini, i, j): return [[ini]*i for i2 in range(j)]
def dp3(ini, i, j, k): return [[[ini]*i for i2 in range(j)] for i3 in range(k)]
#import bisect #bisect.bisect_left(B, a)
#from collections import defaultdict #d = defaultdict(int) d[key] += value
#from collections import Counter # a = Counter(A).most_common()
#from itertools import accumulate #list(accumulate(A))

## floatは16桁までしか保証しない
## B*100がダメなのは 2.51*100 = 250.99999999999997 のようになる場合があるから
from decimal import Decimal
'''
A, B = map(str, sys.stdin.readline().split())
A = Decimal(A)
B = Decimal(B)
print(A * B//1)
'''

'''
四捨五入で誤差の影響をなくす
A, B = map(str, sys.stdin.readline().split())
A = int(A)
B = int(round(float(B)*100))
print(A*B//100)
'''

'''
#微小な数を足してあげることで誤差の影響をなくす
A, B = map(str, sys.stdin.readline().split())
A = int(A)
B = int(float(B)*100+0.1)
print(A*B//100)
'''


#微小な数を足してあげることで誤差の影響をなくす
A, B = map(str, sys.stdin.readline().split())
A = int(A)
if B[0] == '0':
    B = int(B[2:])
else:
    B = int(B.replace('.', ''))
print(A*B//100)

Submission status: Accepted

Solution code:
x,y = list(map(str,input().split()))
yy=y.replace(".","")
xy=str(int(x)*int(yy))
print(xy[:len(xy)-2] if len(xy)>2 else 0)

Submission status: Accepted

Solution code:
AB=input().split(" ")
A=int(AB[0])
B=int(AB[1].replace(".",""))

print(A*B//100)

Submission status: Accepted

Solution code:
S=input().split()
A=int(S[0])
B=int("".join(S[1].split(".")))

#print(A,B)
print(((A*B)//100))

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(10**8)
def ii(): return int(sys.stdin.readline())
def mi(): return map(int, sys.stdin.readline().split())
def li(): return list(map(int, sys.stdin.readline().split()))
def li2(N): return [list(map(int, sys.stdin.readline().split())) for i in range(N)]
def dp2(ini, i, j): return [[ini]*i for i2 in range(j)]
def dp3(ini, i, j, k): return [[[ini]*i for i2 in range(j)] for i3 in range(k)]
#import bisect #bisect.bisect_left(B, a)
#from collections import defaultdict #d = defaultdict(int) d[key] += value
#from collections import Counter # a = Counter(A).most_common()
#from itertools import accumulate #list(accumulate(A))
import math
from decimal import Decimal
'''
A, B = map(str, sys.stdin.readline().split())
A = Decimal(A)
B = Decimal(B)
print(A * B//1)
'''
A, B = map(str, sys.stdin.readline().split())
A = int(A)
B = int(round(float(B)*100))
print(A*B//100)

Submission status: Accepted

Solution code:
a, b = input().split()
b = (ord(b[0]) - 48)*100 + (ord(b[2]) - 48)*10 + (ord(b[3]) - 48)*1 
print(int(int(a) * b // 100))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from fractions import Fraction

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

from decimal import *

a = Decimal(A)
b = Decimal(B)
getcontext().prec = 28
ans = a * b
print(int(ans))

Submission status: Accepted

Solution code:
from decimal import Decimal
a,b=map(Decimal,input().split())
a=int(a)
print(int((a*(b*100))//100))

Submission status: Accepted

Solution code:
def resolve():
    from decimal import Decimal
    import math
    a,b=input().split()
    a=Decimal(a)
    b=Decimal(b)
    print(int(a*b))
resolve()

Submission status: Accepted

Solution code:
import math
a,b=map(str,input().split())
a=int(a)
d=int(b[0])*100+int(b[2])*10+int(b[3])
c=(a*d)//100
if (c+1)*100<=(a*d):
  c+=1
print(c)

Submission status: Accepted

Solution code:
from decimal import *
a,b=input().split()
print(int(Decimal(a)*Decimal(b)))

Submission status: Accepted

Solution code:
def c_multiplication_3():
    from decimal import Decimal
    A, B = [Decimal(i) for i in input().split()]
    return A * B // 1

print(c_multiplication_3())

Submission status: Accepted

Solution code:
A,B=input().split()
A=int(A)
Bi=int(B[:len(B)-3])
Bf=int(B[len(B)-2:])
res=(100*Bi+Bf)*A//100
print(res)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(10**8)
def ii(): return int(sys.stdin.readline())
def mi(): return map(int, sys.stdin.readline().split())
def li(): return list(map(int, sys.stdin.readline().split()))
def li2(N): return [list(map(int, sys.stdin.readline().split())) for i in range(N)]
def dp2(ini, i, j): return [[ini]*i for i2 in range(j)]
def dp3(ini, i, j, k): return [[[ini]*i for i2 in range(j)] for i3 in range(k)]
#import bisect #bisect.bisect_left(B, a)
#from collections import defaultdict #d = defaultdict(int) d[key] += value
#from collections import Counter # a = Counter(A).most_common()
#from itertools import accumulate #list(accumulate(A))
import math
from decimal import Decimal
'''
A, B = map(str, sys.stdin.readline().split())
A = Decimal(A)
B = Decimal(B)
print(A * B//1)
'''
A, B = map(str, sys.stdin.readline().split())
A = int(A)
B = int(float(B)*100+0.1)
print(A*B//100)

Submission status: Accepted

Solution code:
A,B=input().split()
A=int(A)
B=int(B[:-3])*100+int(B[-2:])

print((A*B)//100)

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(10**8)
def ii(): return int(sys.stdin.readline())
def mi(): return map(int, sys.stdin.readline().split())
def li(): return list(map(int, sys.stdin.readline().split()))
def li2(N): return [list(map(int, sys.stdin.readline().split())) for i in range(N)]
def dp2(ini, i, j): return [[ini]*i for i2 in range(j)]
def dp3(ini, i, j, k): return [[[ini]*i for i2 in range(j)] for i3 in range(k)]
#import bisect #bisect.bisect_left(B, a)
#from collections import defaultdict #d = defaultdict(int) d[key] += value
#from collections import Counter # a = Counter(A).most_common()
#from itertools import accumulate #list(accumulate(A))
import math
from decimal import Decimal
'''
A, B = map(str, sys.stdin.readline().split())
A = Decimal(A)
B = Decimal(B)
print(A * B//1)
'''
A, B = map(str, sys.stdin.readline().split())
A = int(A)
B = int(float(B)*100+0.5)
print(A*B//100)

Submission status: Accepted

Solution code:
a,b =input().split()
a=int(a)
b=int(b.replace(".",""))


print(a*b//100)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import decimal
A, B = map(decimal.Decimal, input().split())
ans = A * B
print(int(ans))

Submission status: Accepted

Solution code:
a, b = input().split()
a = int(a) * 100
b = int(b[0] + b[2] + b[3])
ab = a*b//10000

print(ab)

Submission status: Accepted

Solution code:
from decimal import *

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

a = Decimal(str(a))
b = Decimal(str(b))
b *= Decimal(str(100))
ans = a * b
ans //= Decimal(str(100))

print(ans)

Submission status: Accepted

Solution code:
import decimal

A, B = map(decimal.Decimal, input().split())

print(int(A*B))

Submission status: Accepted

Solution code:
from decimal import Decimal
a,b=map(Decimal,input().split())
b=100*b
print(a*b//100)

Submission status: Accepted

Solution code:
a, b = input().split()
a = int(a)
b = b.split('.')
b = int(b[0] + b[1])
ans = str(a * b)
if len(ans) <= 2:
    print(0)
else:
    print(ans[:-2])

Submission status: Accepted

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

a=int(a)

bi=int(b[0])*100+int(b[2])*10+int(b[3])

print(a*bi//100)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
import math
from decimal import Decimal
a, b = map(Decimal,input().split())

print(math.floor(a * b))

Submission status: Accepted

Solution code:
s = input().split()
A = int(s[0])
B100 = int(s[1].replace(".",""))
print(A * B100 // 100)

Submission status: Accepted

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

b1, b2 = map(str, b.split("."))
d = len(b2)

ans = int(a) * int(b1 + b2) // 10**d
print(ans)

Submission status: Accepted

Solution code:
a, b = input().strip().split()
a = int(a)
b100 = int(float(b) * 100. + 0.5)
ans = int(a * b100//100)

print(ans)

Submission status: Accepted

Solution code:
import sys, re, os
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians, acos, atan, asin, log, log10, gcd, floor
from itertools import permutations, combinations, product, accumulate, combinations_with_replacement
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from decimal import *
#from fractions import gcd
def debug(*args):
    if debugmode:
        print(*args)
def input(): return sys.stdin.readline().strip()
def STR(): return input()
def INT(): return int(input())
def FLOAT(): return float(input())
def MAP(): return map(int, input().split())
def S_MAP(): return map(str, input().split())
def LIST(): return list(map(int, input().split()))
def S_LIST(): return list(map(str, input().split()))
def lcm(a, b): return a * b // gcd(a, b)
sys.setrecursionlimit(10 ** 9)
inf = sys.maxsize
mod = 10 ** 9 + 7
dx = [0, 1, 0, -1, 1, -1, -1, 1]
dy = [1, 0, -1, 0, 1, -1, 1, -1]
debugmode = True

t = input().split()
a, b = int(t[0]), Decimal(t[1])
ans = int(a * b)
print(ans)

Submission status: Accepted

Solution code:
from decimal import Decimal
a,b=input().split()
a,b=Decimal(a),Decimal(b)
print(int(a*b))

Submission status: Accepted

Solution code:
a,b = input().split()
a = int(a)
b = "".join([s for s in b.split(".")])
b = int(b)
n = a*b
print(n//100)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import *

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

res = a * b

print(res.quantize(Decimal('0'), rounding=ROUND_DOWN))

Submission status: Accepted

Solution code:
a, b = input().split()
a = int(a)
b = int(b[0] + b[2] + b[3])
print(a*b//100)

Submission status: Accepted

Solution code:
import math
import pprint
import fractions
import collections
import itertools
from decimal import *
A,B=map(str,input().split())
A=int(A)
B=str(B)
num=int(B[0])*100+int(B[2])*10+int(B[3])
#print(A,num)
print((A*num)//100)

Submission status: Accepted

Solution code:
import decimal
def main():
    A,B = map(decimal.Decimal,input().split())
    ans =int(A * B)
    print(ans)

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
import math
import pprint
import fractions
import collections
import itertools
from decimal import *
A,B=map(str,input().split())
#print(A*B)
getcontext().prec=40
A=int(A)
#print(Decimal(A)*Decimal(B))

A=str(A)
A=list(map(int,A))
b=list(str(B))
B=[0]*3
#print(A,b)
N=len(A)                #Aの桁数
table=[[0 for _ in range(len(A)+1)] for _ in range(10)]
for i in range(1,10):
    career=0
    for j in range(N,0,-1):
        buf=A[j-1]*i+career
        career=buf//10
        table[i][j]=buf%10
    table[i][0]=career
#print(table)
A=list(A)
A.insert(0,0)
A.insert(len(A),0)
A.insert(len(A),0)

#print(A)
ans=[0]*(len(A))
B=[int(b[0]),int(b[2]),int(b[3])]
#print(B)
#print(ans)
for i in range(2,-1,-1):
    piv=B[i]
    buf=[]
    buf = table[piv]
    #print(buf)
    career=0
    for j in range(N,-1,-1):
        num=ans[j+i]+buf[j]+career
        career=num//10
        ans[j+i]=num%10
    #print(ans)
    #input()
ans=map(str,ans)
s="".join(ans)
print(int(s[:len(s)-2]))

Submission status: Accepted

Solution code:
A,B = input().split()
from decimal import Decimal,ROUND_DOWN
A = Decimal(A)
B = Decimal(B)
N = A*B
print(N.quantize(Decimal('1'),rounding=ROUND_DOWN))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
import sys

sr = lambda: sys.stdin.readline().rstrip()
ir = lambda: int(sr())
lr = lambda: list(map(int, sr().split()))

A, B = sr().split()
A = int(A)
B = B.replace('.', '')
B = int(B)
answer = A*B // 100
print(answer)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import decimal

a, b = input().split()
a = int(a)
b = str(b).replace('.', '')

r = a*int(b[0])

if a >= 10 and len(b) > 1:
    r += decimal.Decimal(a * int(b[1])/10)

if a >= 100 and len(b) > 2:
    r += decimal.Decimal(a * int(b[2])/100)

print(int(r))

Submission status: Accepted

Solution code:
def solve():
    N, M = input().split()

    n = int(N)
    m = int(M.replace('.', ''))

    return n * m // 100


def main():
    print(solve())


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
# coding: utf-8
import sys

sr = lambda: sys.stdin.readline().rstrip()
ir = lambda: int(sr())
lr = lambda: list(map(int, sr().split()))

A, B = sr().split()
A = int(A)
B = int(float(B)*100 + 0.5)
answer = A*B // 100
print(answer)

Submission status: Accepted

Solution code:
from decimal import Decimal

A, B = [Decimal(x) for x in input().split()]
print(int(A * B))

Submission status: Accepted

Solution code:
A,B=input().split()
print(int(A)*int(B[:1]+B[-2:])//100)

Submission status: Accepted

Solution code:
def solve() :
    a, b = input().split()

    a = int(a)
    b = b.replace('.', '')
    b100 = int(b[0])*100 + int(b[1])*10 + int(b[2])

    print(a*b100//100)
    return


if __name__ == "__main__" :
    solve()

Submission status: Accepted

Solution code:
from decimal import Decimal
A,B = map(Decimal,input().split())
print(int(A*B))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B = input().split()
from decimal import Decimal,ROUND_DOWN
A = Decimal(A)
B = Decimal(B)
N = A*B
print(N.quantize(Decimal('1.'),rounding=ROUND_DOWN))

Submission status: Accepted

Solution code:
A,B = input().split()
from decimal import Decimal,ROUND_DOWN
A = Decimal(A)
B = Decimal(B)
N = A*B
print(N.quantize(Decimal('1'),rounding=ROUND_DOWN))

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

from decimal import *
import math

getcontext().prec = 50
A = Decimal(0)
B= Decimal(0)
A,B = list(map(Decimal,input().split()))


print(math.floor(A*B))

Submission status: Accepted

Solution code:
A, B = input().split()
A = int(A)
B = int(B[0] + B[2:])
ans = (A * B) // 100

print(ans)

Submission status: Accepted

Solution code:
from decimal import Decimal
a, b = map(Decimal,input().split())
print(a * (b * 100) // 100)

Submission status: Accepted

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

Submission status: Accepted

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

print(int(A) * int(float(B) * 100 + 0.5) // 100)

Submission status: Accepted

Solution code:
from collections import deque
import math

def Next(): return input()
def NextInt(): return int(Next())
def NextInts(): return map(int,input().split())
def Nexts(): return map(str,input().split())
def NextIntList(): return list(map(int,input().split()))
def RowInts(n): return [input() for i in range(n)]


a,b = map(str,input().split())
d = int(b[0]+b[2:])
c = int(a)
print(c*d//100)

Submission status: Accepted

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

c = int(a)
d = int(float(b) * 1000)

e = c * d

ans = e // 1000
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

from decimal import Decimal

a, b = input().rstrip().split()
a = Decimal(a)
b = Decimal(b)
print(int(a*b))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal

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

c = (a)*(b*100)//100

print(c)

Submission status: Accepted

Solution code:
a, b = [float(s) for s in input().split(" ")]
a = int(a)
b = round(b*100)
print(a*b//100)

Submission status: Accepted

Solution code:
from decimal import Decimal

a,b = map(float,input().split())
b = round(b*100)
c = int(a)*int(b)//100

print(c)

Submission status: Accepted

Solution code:
#C
from decimal import Decimal
A,B=input().split()
A=Decimal(A)
B=Decimal(B)

print(int(A*B))

Submission status: Accepted

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

Submission status: Accepted

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

ans = A*B//100
print (ans)

Submission status: Accepted

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

ans = A*B//1000
print (ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b=map(int, input().replace(".","").split());print((a*b)//100)

Submission status: Accepted

Solution code:
from decimal import Decimal

a,b = input().split()
b = b.replace(".","")
c = int(a)*int(b)//100

print(c)

Submission status: Accepted

Solution code:
"""
import decimal
import math
decimal.getcontext().prec = 100
a, b = map(str, input().split())
c = decimal.Decimal(str(int((int(a) * float(b).as_integer_ratio()[1] * float(b).as_integer_ratio()[0]))))
d = decimal.Decimal(str(float(b).as_integer_ratio()[1] ** 2))
print(math.floor(c/d))
"""
import decimal
import math
decimal.getcontext().prec = 100
a, b = map(str, input().split())
a = decimal.Decimal(a)
b = decimal.Decimal(b)
print(math.floor(a*b))
# 遊びで、浮動小数点でなんとかならないかなと思ったけど無理だった なんで？？？？？

Submission status: Accepted

Solution code:
import math
from decimal import Decimal
A,B=list(input().split())
A = int(A)
B =int(B.replace('.',''))
# print(A* B)
hoge=str(A  * B)
if int(hoge) >= 100:

    print(int(str(A  * B)[:-2]))
else:
    print(0)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
import math
a, b = input().split()
a = int(a)
ans = 0

ans = a*int(b[0])*100
ans += a*int(b[2])*10
ans += a*int(b[3])
print(ans//100)
# ans = str(ans/100)
# print(ans[0:ans.find('.')])

Submission status: Accepted

Solution code:
import sys
def input():
    return sys.stdin.readline()[:-1]
a, b= input().split()
a = int(a)
# floatをそのまま掛け算すると精度が足りずに誤差が生じるため、.を消してintにする。
if '.' in b[-2:]: 
    b = int(b.replace(".", "")) * 10
else:
    b = int(b.replace(".", ""))
output = a * b // 100
# 小数点は2桁までで確定なので、100で切り捨て除算する。
print(output)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#import math
#from decimal import *
#getcontext().prec = 28
a,b=input().split()
#a_ = Decimal(a)
#b_ = Decimal(b)
a = int(a)
b = int(float(b)*1000)
#print(round(Decimal(Decimal(a)*Decimal(b))))
ans = a*b
print(ans//1000)
#print(math.floor(Decimal(a)*Decimal(b)/Decimal(100.0)))

Submission status: Accepted

Solution code:
s,t =input().split()
a = int(s)
b = int(float(t)*1000)
ans = a*b
print(ans//1000)

Submission status: Accepted

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

a = int(a)
b = int(float(b)*100+0.5)

print(a*b//100)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
a,b = map(str,input().split())
a = int(a)
b_ =str()
for i in b:
    if(i != "."):
        b_ = b_ +i
# print(b_)
b_ = int(b_)
ans = (a*b_)//100
print(ans)

Submission status: Accepted

Solution code:
import math

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

print(math.floor((a*b)//1000))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import decimal
a, b = map(decimal.Decimal, input().split())
r = int(a*b)
print(r)

# # a = int(a)

# print(float(b)*100)
# print(float(b)*1000)

# b = int(float(b)*1000)
# r = int((a*b)//1000)
#print(r)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import decimal
import math
decimal.getcontext().prec = 100
a, b = map(str, input().split())
a = decimal.Decimal(a)
b = decimal.Decimal(b)
print(math.floor(a*b))

Submission status: Accepted

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

Submission status: Accepted

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

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

    B100 = int(B * 100 + 0.001)

    print(A * B100 // 100)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
import sys

read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 9)
INF = 1 << 60


def main():
    A, B = readline().split()
    A = int(A)
    B = int(B.replace('.', ''))
    print(A * B // 100)

    return


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(10 ** 6)
# input = sys.stdin.readline    ####
def int1(x): return int(x) - 1
def II(): return int(input())

def MI(): return map(int, input().split())
def MI1(): return map(int1, input().split())

def LI(): return list(map(int, input().split()))
def LI1(): return list(map(int1, input().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]

def SI(): return input().split()

def printlist(lst, k='\n'): print(k.join(list(map(str, lst))))
INF = float('inf')

from math import ceil, floor, log2
from collections import deque
from itertools import combinations as comb, combinations_with_replacement as comb_w, accumulate, product
from heapq import heapify, heappop, heappush
from decimal import Decimal

def solve():
    a, b = input().split()
    a = int(a)
    b = int(b.replace('.', ''))

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


if __name__ == '__main__':
    solve()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal

def main():
  a, b = map(Decimal, input().split())
  print(int(a*b))
  return


if __name__ == "__main__":
  main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
from decimal import Decimal

read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 9)
INF = 1 << 60


def main():
    A, B = map(Decimal, readline().split())
    print(int(A * B))

    return


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
from sys import stdin
A,B=stdin.readline().rstrip().split()
print(int(A)*int(B.replace(".", ""))//100)

Submission status: Accepted

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

print(ans//1000)

Submission status: Accepted

Solution code:
from decimal import *

s,t =input().split()
a = int(s)
b = int(float(t)*1000)
ans = Decimal(0)
for si in s:
    ai = int(si)
    ans = ans * 10 + ai*b
print(ans//1000)

Submission status: Accepted

Solution code:
#!/bin/python3

import sys
input = sys.stdin.readline

def main():
  a, b = input().strip().split()
  a, b = int(a), round(float(b)*100)
  result = a * b //100
  print(result)

main()

Submission status: Accepted

Solution code:
import sys
def input():
    return sys.stdin.readline()[:-1]
a, b= input().split()
a = int(a)
b = int(b.replace(".", ""))
# floatをそのまま掛け算すると大きい計算で誤差が生じるため、.を消してintにする。
output = a * b // 100
# 小数点は2桁までで確定なので、100で切り捨て除算する。
print(output)

Submission status: Accepted

Solution code:
a,b=input().split()
a=int(a)
b=int(b[0]+b[2:])
print(a*b//100)

Submission status: Accepted

Solution code:
a , b = input().split()
a = int(a)
b = int(b.replace("." , ""))

print(a*b//100)

Submission status: Accepted

Solution code:
import math
import re
a=input().split()
#print(a[0])
ia=int(a[0])
#print(a)
c=re.sub(r'\D','',a[1])
#print(c)

ib=int(c)

b=ia*ib//100

print(b)

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(10 ** 6)
# input = sys.stdin.readline    ####
def int1(x): return int(x) - 1
def II(): return int(input())

def MI(): return map(int, input().split())
def MI1(): return map(int1, input().split())

def LI(): return list(map(int, input().split()))
def LI1(): return list(map(int1, input().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]

def SI(): return input().split()

def printlist(lst, k='\n'): print(k.join(list(map(str, lst))))
INF = float('inf')

from math import ceil, floor, log2
from collections import deque
from itertools import combinations as comb, combinations_with_replacement as comb_w, accumulate, product
from heapq import heapify, heappop, heappush
from decimal import Decimal

def solve():
    a, b = map(Decimal, input().split())

    print(int(a * b))


if __name__ == '__main__':
    solve()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline

a, b = map(float, readline().split())

a = int(a)
b = int(float(b) * 100 + .5)

t = a * b // 100
print(t)

Submission status: Accepted

Solution code:
from sys import stdin, setrecursionlimit
from decimal import Decimal


def main():
    input = stdin.readline
    a, b = map(str, input().split())
    a = Decimal(a)
    b = Decimal(b)
    print(int(a * b))


if __name__ == "__main__":
    setrecursionlimit(10000)
    main()

Submission status: Accepted

Solution code:
import decimal

AB = input().split()
A = int(AB[0])
B = decimal.Decimal(AB[1])

print(int(A * B))

Submission status: Accepted

Solution code:
A, B = map(float, input().split())
print("{}".format(int(A) * (int(B * 1000)) // 1000))

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(10 ** 6)
# input = sys.stdin.readline    ####
def int1(x): return int(x) - 1
def II(): return int(input())

def MI(): return map(int, input().split())
def MI1(): return map(int1, input().split())

def LI(): return list(map(int, input().split()))
def LI1(): return list(map(int1, input().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]

def SI(): return input().split()

def printlist(lst, k='\n'): print(k.join(list(map(str, lst))))
INF = float('inf')

from math import ceil, floor, log2
from collections import deque
from itertools import combinations as comb, combinations_with_replacement as comb_w, accumulate, product
from heapq import heapify, heappop, heappush
from decimal import Decimal

def solve():
    a, b = input().split()

    print(int(Decimal(a) * Decimal(b)))


if __name__ == '__main__':
    solve()

Submission status: Accepted

Solution code:
a, b = input().split()
a = int(a)
b = list(b)
b.remove(".")
b = "".join(b)
b = int(b)
print(a*b//100)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal

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

print(int(a * b))

Submission status: Accepted

Solution code:
a,b=input().split()
b=list(b)
b.remove('.')
b=''.join(b)
print(int(a)*int(b)//100)

Submission status: Accepted

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

Submission status: Accepted

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

print(A*B//100)

Submission status: Accepted

Solution code:
a, b = input().split()
a = int(a)
b = int(b.replace('.', ''))

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

Submission status: Accepted

Solution code:
import math
from decimal import Decimal

it = input()
it = it.split()
a = int(it[0])
b = Decimal(it[1])

print(math.floor(a*b))

Submission status: Accepted

Solution code:
a, b = input().split()  # まず文字列で受け取ります
p = int(a) # aはそのままint型にします
q = int(b[0] + b[2] + b[3])  # b[0] + b[2] + b[3]を整数に変換すれば、bの100倍を正確に得られます

print(p * q // 100)  # 2つを掛けて100で整数の割り算をすれば終わりです

Submission status: Accepted

Solution code:
from decimal import Decimal
import math


def main():
    a, b = input().split()
    a = int(a)
    b = Decimal(b) # bは小数点以下第2位まで
    ans = math.floor(a * b)
    print(f'{ans}')


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
A, B = map(str, input().split())
A = int(A)
b = int(B.replace('.',''))
print(A*b//100)

Submission status: Accepted

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

Submission status: Accepted

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

A = int(A)
B = B.replace(".", "")

ans = A * int(B)

print(ans // 100)