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 collections import deque,defaultdict,Counter
from heapq import heapify,heappop,heappush,heappushpop
from copy import copy,deepcopy
from itertools import product,permutations,combinations,combinations_with_replacement
from bisect import bisect_left,bisect_right
from math import sqrt,gcd,ceil,floor,factorial
# from fractions import gcd
from functools import reduce
from pprint import pprint
from statistics import mean,median,mode
import sys
sys.setrecursionlimit(10 ** 6)

INF = float("inf")

def mycol(data,col):
    return [ row[col] for row in data ]

def mysort(data,col,reverse=False):
    data.sort(key=lambda x:x[col],reverse=revese)
    return data

def mymax(data):
    M = -1*float("inf")
    for i in range(len(data)):
        m = max(data[i])
        M = max(M,m)
    return M

def mymin(data):
    m = float("inf")
    for i in range(len(data)):
        M = min(data[i])
        m = min(m,M)
    return m

def mycount(ls,x):
    # lsはソート済みであること
    l = bisect_left(ls,x)
    r = bisect_right(ls,x)
    return (r-l)

def mydictvaluesort(dictionary):
    return sorted( dictionary.items(), key=lambda x:x[1] )

def mydictkeysort(dictionary):
    return sorted( dictionary.items(), key=lambda x:x[0] )

def myoutput(ls,space=True):
    if space:
        if len(ls)==0:
            print(" ")
        elif type(ls[0])==str:
            print(" ".join(ls))
        elif type(ls[0])==int:
            print(" ".join(map(str,ls)))
        else:
            print("Output Error")
    else:
        if len(ls)==0:
            print("")
        elif type(ls[0])==str:
            print("".join(ls))
        elif type(ls[0])==int:
            print("".join(map(str,ls)))
        else:
            print("Output Error")

def I():
    return int(input())

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

def RI():
    return list(map(int,input().split()))

def CI(n):
    return [ int(input()) for _ in range(n) ]

def LI(n):
    return [ list(map(int,input().split())) for _ in range(n) ]

def S():
    return input()

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

def RS():
    return list(input())

def CS(n):
    return [ input() for _ in range(n) ]

def LS(n):
    return [ list(input()) for _ in range(n) ]

# ddict = defaultdict(lambda: 0)
# ddict = defaultdict(lambda: 1)
# ddict = defaultdict(lambda: int())
# ddict = defaultdict(lambda: list())
# ddict = defaultdict(lambda: float())

from decimal import *
a,b = MS()
a = int(a)
b = Decimal(b)
ans = int(a*b)
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal

A, B = input().split()
A = Decimal(A)
B = Decimal(B)
ans = int(A * B)
print(ans)

Submission status: Accepted

Solution code:
from fractions import Decimal, Fraction
a,b = input().split()
a = Fraction(a)
x = Decimal(b).as_integer_ratio()
b = Fraction(x[0], x[1])
print(int(a*b))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, B = input().split()
a = int(a)
i = 2
ans = 0
for b in B:
    if b == ".":
        continue
    ans += int(b) * a * 10 ** i
    i -= 1
print(ans // 100)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import *
import math

A, B = input().split()
a = Decimal(A)
b = Decimal(B)
ib = Decimal(100*b)

print(math.floor((a*ib)/Decimal(100)))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3

A, B = list(input().split())
a = int(A)
b = int(B.replace(".", ""))

ans = (a * b) // 100

print(ans)

Submission status: Accepted

Solution code:
from decimal import Decimal
import math

A,B = map(Decimal, input().split())
#ans = math.floor(A*B)
print(math.floor(A*B))

Submission status: Accepted

Solution code:
A,B=input().split()
A=int(A)
B=list(B)
N=B[0]+B[2]+B[3]
N=int(N)
C=int(A*N//100)
print(C)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#C - Multiplication 3 WA
import decimal 
A,B = input().split()
A,B = map(decimal.Decimal,[A,B])
ans = A*B
print(int(ans))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal
if __name__ == '__main__':

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

	s = str(a*b)
	ind = s.index(".")
	print(s[:ind])

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 decimal import Decimal
import math
a, b = input().split()
print(math.floor(int(a) * Decimal(b)))

Submission status: Accepted

Solution code:
A,B = input().split()
A = int(A)
B = list(B)
B.pop(-3)
B = int("".join(B))
print((A*B)//100)

Submission status: Accepted

Solution code:
import decimal

def main():
    
    
    A, B = map(decimal.Decimal,input().split())
    
    if A == 0:
        return 0

    else:
        AB = A*B
        return int(AB)
        
    
print(main())

Submission status: Accepted

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

print(int(a*b))

Submission status: Accepted

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

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:
# C - Multiplication 3

a,b=map(int,input().replace('.','').split())
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(".", ""))

print((A*B)//100)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b = map(str,input().split())
#print(b[:-3]+b[-2:])
tmp = int(a) * int(b[:-3]+b[-2:])
print(tmp//100)

Submission status: Accepted

Solution code:
a0, b0 = input().split()
a = int(a0)
b = int(b0[0]+b0[2]+b0[3])

print(a * b // 100)

Submission status: Accepted

Solution code:
n,m = input().split()

n=int(n)
m=float(m)*100+0.5
m=int(m)

ans = int(n*m//100)

print(ans)

Submission status: Accepted

Solution code:
a,b=map(str,input().split())
a=int(a)
b=100*int(b[0])+10*int(b[2])+1*int(b[3]) #bを100倍した値(整数)に直す
print((a*b)//100)

Submission status: Accepted

Solution code:
from decimal import Decimal
import math

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

print(math.floor(a * b))

Submission status: Accepted

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

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:
A,B = map(int, input().replace('.','').split())

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 sys
import math
def input(): return sys.stdin.readline().rstrip()
from decimal import Decimal

A,B = input().split()
A = int(A)
B = Decimal(B)

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

Submission status: Accepted

Solution code:
import sys
def input(): return sys.stdin.readline().rstrip()
def main():
    a, b = input().split()
    a = int(a)
    b = int(b[0]+b[2:4])
    print(a*b//100)

if __name__=='__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

import decimal as d
d.getcontext().rounding = d.ROUND_DOWN
ans = round(d.Decimal(A)*d.Decimal(B),0)
print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal

A,B = input().split()

A = int(A)
B = Decimal(B)
#print (A)
#print (B)

print (int(A*B))

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
from decimal import Decimal
'''
def main():
    a, b = input().split(" ")
    a = int(a)
    b = Decimal(b)
    print(int(a*b))
   '''
def main():
    a, b = input().split(" ")
    a = int(a)
    b = int(b.replace(".","") )
    print(a*b // 100)

if __name__ == "__main__":
    main()

Submission status: Accepted

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

if __name__ == "__main__":
    main()

Submission status: Accepted

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

print((a*b100)//100)

Submission status: Accepted

Solution code:
from decimal import Decimal
A,B=input().split()
A=int(A)
B=Decimal(B)
Bint=int(B)
B1=int((B-Bint)*100)
result=A*Bint+A*B1//100
print(result)

Submission status: Accepted

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

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:
def resolve():
    IN = input().split()
    A = int(IN[0])
    B = int(IN[1].replace(".", ""))
    print((int(A)*int(B))//100)

if '__main__' == __name__:
    resolve()

Submission status: Accepted

Solution code:
from sys import exit
import math
ii = lambda : int(input())
mi = lambda : map(int,input().split())
li = lambda : list(map(int,input().split()))

n = list(input().split())

b=0
keta = 2
for i in range(len(n[1])):
    if n[1][i] == '.':
        continue
    b += int(n[1][i]) * 10 ** keta
    keta -= 1

print(int(n[0])*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 decimal import Decimal
A, B = input().split()
A = int(A)
B = Decimal(B)
print(int(A * B))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
AB = input().split()
A = int(AB[0])
B = AB[1].split('.')
B = int(B[0]) * 100 + int(B[1])

print(A * B // 100)

Submission status: Accepted

Solution code:
from fractions import Fraction 
from math import floor
X,Y = input().split()
X = int(X)
Y = Fraction(Y)
print( floor(X*Y) )

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

A, B = map(str, input().split())
A = int(A)
B = int(B.replace(".",""))
ans = A * B // 100

print(ans)

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*B] = [A*(100*B)/100]と見る
# Bを100倍して整数に直す操作は、文字列のまま行う
A = int(A)
B = int(B.replace('.', ''))
 
# 100で割った整数部分を求める操作は、100で割った商を求めることと同じ
ans = (A*B) // 100
print(ans)

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:
A, B = input().split()

# 方針：少数の計算を避け、整数の範囲で計算する
# [A*B] = [A*(100*B)/100]と見る
# Bを100倍して整数に直す操作は、文字列のまま行う
A = int(A)
B = int(B.replace('.', ''))

# 100で割り、小数点を切り捨てる操作は、100で割った商を求めることと同じ
ans = (A*B) // 100
print(ans)

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:
a, b = input().split()
a = int(a)
b = int(b[0])*100 + int(b[2])*10 + int(b[3])
print((a*b)//100)

Submission status: Accepted

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

a=int(a)
b=Decimal(b)
import math
print(math.floor(a*b))

Submission status: Accepted

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

a=int(a)
b=round(float(b)*100)

print(a*b//100)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x, y = input().split() 
x = int(x)
z = round(float(y)*100)
print(x*z//100)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B = map(str,input().split())
A = int(A)
B = int(B[0])*100+int(B[2])*10+int(B[3])
print(int(A*B//100))

Submission status: Accepted

Solution code:
st = input().strip().split()
 
a = int(st[0])
b = 0
d = 0
 
for x in st[1]:
  if x == '.':
    d = 1
  else:
    b = b*10 + int(x)
    d = d*10

print(a*b//d)

Submission status: Accepted

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

for i in range(len(b)):
    if b[i] == '.':
        t = 10 ** (len(b)-1-i)
        nb = int(b[:i] + b[i+1:])

print(a*nb//t)

Submission status: Accepted

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

Submission status: Accepted

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

print(int(A)*int(B)//100)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
from itertools import chain
# from itertools import combinations as comb
# form bisect import bisect_left, bisect_right, insort_left, insort_right
# from collections import Counter
# import numpy as np


def solve(A: int, B: str):
    B = int(B.replace('.', ''))
    ans = A * B
    return ans // 100

def main():
    tokens = chain(*(line.split() for line in sys.stdin))
    A = int(next(tokens))  # type: int
    B = next(tokens)  # type: str
    answer = solve(A, B)
    print(answer)

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

a = int(a)
b,c = map(int,b.split("."))

print(a*(100*b+c)//100)

Submission status: Accepted

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

Submission status: Accepted

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

A = int(A)
B1,B2 = B.split(".")
answer = A * (int(B1) * 100 + int(B2))

print(answer // 100)

Submission status: Accepted

Solution code:
li = input().split()
a = int(li[0])
b = str(li[1])
b = int(b.replace('.',''))

print(a*b//100)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
import math
input = sys.stdin.readline
ins = lambda: input().rstrip()
ini = lambda: int(input().rstrip())
inm = lambda: map(float, input().split())
inl = lambda: list(map(int, input().split()))
out = lambda x: print('\n'.join(map(str, x)))

a, b = inm()
a = int(a)
b = int(b * 100 + 0.1)
print(a*b // 100)

Submission status: Accepted

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

Submission status: Accepted

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

A = int(A)
B = int(B * 100 + 0.01)
print((A * B) // 100)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
inputs = input().split()
a = int(inputs[0])
b = inputs[1]
b = 100 * int(b[0]) + 10 * int(b[2]) + int(b[3])

print(a * b // 100)

Submission status: Accepted

Solution code:
a, b = map(str, input().split())
a = int(a)
c, d = map(int, b.split('.'))
b = c * 100 + d
b *= a
print(int(("00" + str(b))[:-2]))

Submission status: Accepted

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

Submission status: Accepted

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

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:
print(int((s:=input())[:-4])*int(s[-4]+s[-2:])//100)

Submission status: Accepted

Solution code:
a,b=input().split()
A=int(a)
bb=b.replace(".","")
B=int(bb)
C=A*B
c=C//100
print(int(c))

Submission status: Accepted

Solution code:
a,b=input().split()
A=int(a)
bb=b.replace(".","")
B=int(bb)
#print(B)
c=A*B
C=str(c)
if C[:-2]=='':
  print(0)
else:
  print(C[:-2])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal

a,b = input().split()

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

Submission status: Accepted

Solution code:
from decimal import Decimal
from math import floor

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

Submission status: Accepted

Solution code:
a,b=input().split()
a=int(a)
b,c=map(int,b.split('.'))
print(a*(b*100+c)//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
import decimal
a,b=input().split()

a=int(a)
b=decimal.Decimal(b)

print(math.floor(a*b))

Submission status: Accepted

Solution code:
#import sys
#import numpy as np
import math
#from fractions import Fraction
import itertools
from collections import deque
from collections import Counter
import heapq
from fractions  import gcd
#input=sys.stdin.readline
#import bisect
a,b=input().split()
a=int(a)
ans=math.floor(((a*int(b[0]))*100+(a*int(b[2]))*10+(a*int(b[3])))//100)
print(ans)

Submission status: Accepted

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

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_list = list(b)
b_list.pop(1)
b_list = [int(s) for s in b_list]

p_100 = a*b_list[0]*100 + a*b_list[1]*10 + a*b_list[2]
p = p_100//100

print(p)

Submission status: Accepted

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

a = int(nums[0])
b = int(nums[1].replace('.', ''))

result = str(a * b)
if len(result) < 3:
  print(0)
else:
  print(result[:-2])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B= list(input().split())
a = int(B[0])
b = int(B[2])
c = int(B[3])
if int(A) > 1000:
   e = int(A[-2])
   f = int(A[-1])
   d = int((int(A)- 10 * e - f)/100)
   error = 10 * (c * e + b * f) + c * f
   error = int(error/100)
   ans = int(A) * a + 10 * d * b + e * b + c * d + error
   print(int(ans))
else:
   print(int(int(A)*float(B)))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b = input().split()
a = int(a)
q, r = map(int, b.split('.'))
a *= q * 100 + r
a = a // 100
print(a)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B = input().split()
A = int(A)
B1, B2 = map(int, B.split('.'))
ans = A * B1 + A * B2 // 100
print(ans)

Submission status: Accepted

Solution code:
import math
arr = input().split( )
a = int(arr[0])
b1, b2 = arr[1].split('.')
b = int(b1)*100 + int(b2)
print(a*b//100)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

a = round(a)
b = round(b*100)

print(a * b // 100)

Submission status: Accepted

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

a = round(a)
b = round(b*100)
ans = a*b
ans = str(ans)[:-2]

if ans == "":
    ans = 0

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal
import sys
input = sys.stdin.readline

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

main()

Submission status: Accepted

Solution code:
A,B=input().split()
list_B=list(B)
if not '.' in B:
    print(0)
else:
    place = list_B.index('.')
    del list_B[place]
    if list_B[0]=='0' and list_B[1]=='0':
        del list_B[0]
        del list_B[0]
    elif list_B[0]=='0':
        del list_B[0]
    new_B = ''.join(list_B)
    number_B=int(new_B)
    answer=int(A)*number_B//100
    print(answer)

Submission status: Accepted

Solution code:
from decimal import Decimal

n = input().split()
print(int(Decimal(n[0]) * Decimal(n[1])))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B = map(str, input().split())
A=int(A)
B=int(B[0]+B[2]+B[3])


print(A*B//100)

Submission status: Accepted

Solution code:
A, B = map(str, input().split())
A = int(A)
B = int(B[0] + B[2] + B[3])


print((A*B//100))

Submission status: Accepted

Solution code:
from decimal import Decimal

A,B = input().split()

A = int(A)
B = Decimal(B)

ans = int(A*B)
print(ans)

Submission status: Accepted

Solution code:
a, b = input().split()
print(int(a) * round(float(b) * 100) // 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:
from decimal import Decimal
A,B = input().split()
ans = Decimal(A)*Decimal(B)
print(int(ans))

Submission status: Accepted

Solution code:
import math
from decimal import Decimal
A, B = input().split()
A = int(A)
B = Decimal(B)
C = A * B
ans = math.floor(C)
print(ans)

Submission status: Accepted

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

b = str(b)
b = int(b[0]+b[2]+b[3])
print(a*b//100)

Submission status: Accepted

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

Submission status: Accepted

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)'''
from decimal import Decimal
a,b= input().split()
a=int(a)
b=int(Decimal(b)*100)

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:
from decimal import Decimal

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
in_A,in_B = map(str,input().split())
A = int(in_A)
B = int(in_B[0]+in_B[2:])
print(int(A*B//100))

Submission status: Accepted

Solution code:
import fractions

def main():
    a, b = map(str, input().split())
    a = int(a)
    b = fractions.Fraction(b)
    print(int(a*b))

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
from math import floor
from fractions import Fraction
a,b=map(str,input().split())
a=int(a)
b=Fraction(b)
print(int(a*b))

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()
#print(a,b)
A = int(a)
x,y = b.split('.')
B = int(x)*100+int(y)

print(int(A*B)//100)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B = input().split()
A = int(A)
b = tuple(map(int, B.split(".")))
ans = A * b[0] + (A * b[1] // 100)
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

if __name__ == "__main__":
    solve()

Submission status: Accepted

Solution code:
from decimal import *
from math import *
n,m=map(str,input().split())
p=Decimal(n)*Decimal(m)
print(floor(p))

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:
import math
from decimal import Decimal
A, B = list(map(str, input().split()))
print(math.floor(Decimal(A) * Decimal(B)))

Submission status: Accepted

Solution code:
import math
from decimal import *
A, B = list(map(str, input().split()))
print(math.floor(Decimal(A) * Decimal(B)))

Submission status: Accepted

Solution code:
def main():
    a, b = input().split()
    a = int(a)
    b_1 = ''
    b_1 += b[0]
    b_1 += b[2:]
    b_1 = int(b_1)

    answer = (a * b_1) // 100
    print(answer)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
import math

A, B = input().split()

A = int(A)
B_p = int(B.split(".")[0])
B_c = int(B.split(".")[1])

if (A == 0) or (B == 0):
  print(0)
else:
  ABp = A * B_p
  ABc = int(str(A * B_c)[:-2]) if len(str(A * B_c))>2 else 0
  print(ABp+ABc)

Submission status: Accepted

Solution code:
A,B = input().split()
from decimal import Decimal
A = Decimal(A)
B = Decimal(B)
ans = A*B
ans = str(ans)
n = len(ans)
s = ''
for i in range(n):
    if ans[i] == '.':
        break
    s += ans[i]
print(s)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(a * b // 100)

Submission status: Accepted

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

if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

A = int(inp[0])
B = int(inp[1].replace('.',''))

print(A*B//100)

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
A,B=map(float,input().split())

print((int(A)*int(round(B*100)))//100)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    a, b = map(lambda x: int(x.replace('.','')), input().split())
    print(a*b//100)

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Bt = B[0]+B[2]+B[3]
Bt = int(Bt)
ans1=int(A)*int(Bt)
print(ans1//100)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal

a,b = map(str,input().split())
a = Decimal(a)
b = Decimal(b)
ans = (a*b)
print(int(ans))