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

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

print(int(A * B))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
import decimal
def c169(a, b):

    return math.floor(a*b)

def main():
    a, b = map(decimal.Decimal, input().split())
    print(c169(a, b))

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math,itertools,fractions,heapq,collections,bisect,sys,queue,copy

sys.setrecursionlimit(10**7)
inf=10**20
mod=10**9+7
dd=[(-1,0),(0,1),(1,0),(0,-1)]
ddn=[(-1,0),(-1,1),(0,1),(1,1),(1,0),(1,-1),(0,-1),(-1,-1)]

def LI(): return [int(x) for x in sys.stdin.readline().split()]
# def LF(): return [float(x) for x in sys.stdin.readline().split()]
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def LS(): return sys.stdin.readline().split()
def S(): return input()

def main():
  a,b=LS()

  a=int(a)
  b=int(b.replace('.',''))

  x=str(a*b)[:-2]
  if x=='':
    return 0
  return x

# main()
print(main())

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import *
import math

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

print(math.floor(Decimal(a)*Decimal(b)))

Submission status: Accepted

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

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:


def main(numbers: list):
    a = int(numbers[0])
    b = int(numbers[1].replace('.', ''))
    ans = a * b // 100
    print(ans)


# N = int(input())
line = list(map(str, input().split()))
main(line)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
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(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)
# 664706138336385 9.79
# 6507473094313209

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

ans = a*b // 100

print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

A = num[0]
B = ''
for b in num[1]:
  if b != '.':
    B += b
    

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

if len(ans) < 3 :
  print('0')
else :
  print(ans[:-2])

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:
#!/usr/bin/env python3
import sys
import math as Math


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 main():
    a, b = input().split()
    a = int(a)
    b = int(b.replace(".", ""))
    print(int(a*b//100))


# oj t -c "pypy3 main.py"
# acc s main.py -- --guess-python-interpreter pypy
main()

Submission status: Accepted

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

A = int(inp[0])
B=''
for b in inp[1]:
    if b!='.':
        B+=b
B=int(B)


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

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 = input().split()
A = int(A)

from decimal import Decimal

Db = Decimal(B)
B100 = int(Db * 100)
ans = A * B100
print(int(ans // 100))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal

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

Submission status: Accepted

Solution code:
a, b = map(str, input().split())
a = int(a)
b = int(b.replace(".", ""))
ans = a*b
if ans <= 99:
  print(0)
else:
  print(str(ans)[:-2])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
import math
import itertools
import bisect
from copy import copy
from collections import deque,Counter
from decimal import Decimal
import functools
def s(): return input()
def k(): return int(input())
def S(): return input().split()
def I(): return map(int,input().split())
def X(): return list(input())
def L(): return list(input().split())
def l(): return list(map(int,input().split()))
def lcm(a,b): return a*b//math.gcd(a,b)
sys.setrecursionlimit(10 ** 9)
mod = 10**9+7
cnt = 1
ans = 0
inf = float("inf")

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

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

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 = b.replace(".","")
print(a*int(b)//100)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from math import floor,ceil,sqrt,factorial,log
from collections import Counter, deque
from functools import reduce
import numpy as np
def S(): return input()
def I(): return int(input())
def MS(): return map(str,input().split())
def MI(): return map(float,input().split())
def FLI(): return [int(i) for i in input().split()]
def LS(): return list(MS())
def LI(): return list(MI())
def LLS(): return [list(map(str, l.split() )) for l in input()]
def LLI(): return [list(map(int, l.split() )) for l in input()]
def LLSN(n: int): return [LS() for _ in range(n)]
def LLIN(n: int): return [LI() for _ in range(n)]

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

print(A*B // 100)

Submission status: Accepted

Solution code:
import decimal

a, b = map(decimal.Decimal, input().split())
print(a * b // 1)

Submission status: Accepted

Solution code:
# C Multiplication 3

from decimal import Decimal

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

print(int(a*b))

Submission status: Accepted

Solution code:
import decimal

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

Submission status: Accepted

Solution code:
from math import floor

A, B = input().split()
A = int(A)
B = float(B)
B = round(B*100)
print (A*B // 100)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys 
import numpy as np
import math 

readline = sys.stdin.readline 

AB = readline().split()
a = AB[0]
b = AB[1].replace('.', '')

out = int(a)*int(b)//int(100)

print(out)

Submission status: Accepted

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

print(a * c // 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[0] + b[2:4])
print(a*b//100)

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

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

Submission status: Accepted

Solution code:
import math
a,b=input().split()
c=int(a)
d1=100*c*int(b[0])
d2=10*c*int(b[2])
d3=1*c*int(b[3])
ds=d1+d2+d3
if ds<100:
  print(0)
else:
  print(str(ds)[:-2])

Submission status: Accepted

Solution code:
a,b = map(str,input().split())
a = int(a)
b = int(b[0]+b[2:4])

print(a*b//100)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

a,b = int(a), int(b.replace(".",""))

print(a*b//100)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B = input().split()
A = int(A)
B = int(''.join(B.split('.')))#配列の間を埋める
# B = int(100*B)ですら100をかけた場合誤差が出る
print(A*B//100)

Submission status: Accepted

Solution code:
from decimal import Decimal

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

main()

Submission status: Accepted

Solution code:
def main():
    astr, bstr = input().split()
    a = int(astr)
    b = int(''.join(c for c in bstr if c != '.'))
    trunc = (a * b) // 100
    print(trunc)


main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

x = int(A)
y = round(float(B) * 100)

print(x*y//100)

Submission status: Accepted

Solution code:
import math
A,B = map(str,input().split())
A = int(A)
B = float(B)
n=int(2)
B = (B*10**n)
B = round(B)
ans = A*B
ans = ans//10**n
print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

if __name__ == "__main__":
    a, b = input().split()
    print(int(a)*int(b.replace('.', ''))//100)

Submission status: Accepted

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

Submission status: Accepted

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

a = int(a)

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

print((ans*a)//100)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import decimal

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

print(int(a * b))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
c=input("").split(" ")
a=int(c[0])

e=100*int(c[1][0])+10*int(c[1][2])+int(c[1][3])

d=int(a*e)
s=str(d)
if (len(s)<3):
    f="0"
else:
    f=s[:len(s)-2]

print(f)

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(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:
import decimal
N , M = input().split()
m = decimal.Decimal(M)
n = int(N)
print(int(m*n))

Submission status: Accepted

Solution code:
#入力:N,M(int:整数)
def input2():
	return map(float,input().split())
  
a,b=input2()
ans=int(a)*round(b*100)
print(int(ans//100))

Submission status: Accepted

Solution code:
from sys import stdin
nii=lambda:map(int,stdin.readline().split())
lnii=lambda:list(map(int,stdin.readline().split()))

from decimal import Decimal

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

Submission status: Accepted

Solution code:
import sys
import math

def main():
    input = sys.stdin.readline
    #1行に複数の入力の時は.split()使う
    AB = input().split()
    A, B = int(AB[0]),int(AB[1].replace(".",""))
    print(A*B // 100)
    return


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal as dec

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

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:
import math

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

A = int(A)
B = round(float(B) * 100)
print(math.floor(A * B // 100))

Submission status: Accepted

Solution code:
A,b = input().split()
A = int(A)
B = round(float(b)*100)
#print(A,b,B)
B = int(B)
if A != 0 and B != 0:
  print(A*B//100)
else:
  print(0)

Submission status: Accepted

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

Submission status: Accepted

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

print(a * b // 100)

Submission status: Accepted

Solution code:
import numpy as np
import math
from decimal import *
#from numba import njit

def getVar():
    return map(int, input().split())
def getVar(c):
    return map(c, input().split())
def getArray():
    return list(map(int, input().split()))
def getArray(c):
    return list(map(c, input().split()))
def getNumpy():
    return np.array(list(map(int, input().split())), dtype='int64')
def getNumpy(c):
    return np.array(list(map(c, input().split())))

def main():
    str = input().split()
    A = Decimal(str[0])
    B = Decimal(str[1])

    print(math.floor(A*B))


main()

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

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

#パソコンは数値は2進数で表現しますが、2進数では小数点を正確に表現することができないため
#10進数表記に変える
#小数点を文字列型で定義する
a=Decimal(a)
b=Decimal(b)

print(math.floor(a*b))

Submission status: Accepted

Solution code:
words = input().split()
a = int(words[0])
b = float(words[1])
bb = round(b * 100)
abb = a * bb
ans = abb // 100
print(ans)

Submission status: Accepted

Solution code:
# -*- codinf: utf-8 -*-
A, B = map(float, input().split())
a = int(A)
b = int(round(B * 100, 0))
x = a * b
y = x // 100
print(y)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal
import math

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

a=Decimal(a)
b=Decimal(b)

print(math.floor(a*b))

Submission status: Accepted

Solution code:
#ABC169: C-Multiplication3
class Calc():
  def multi(self,x,y):
    x, y, sign, rslt = str(x)+".", str(y)+".",1 ,""
    if x[0]=="-":
      sign*=-1
      x=x[1:]
    if y[0]=="-":
      sign*=-1
      y=y[1:]
    x,y=x.split("."),y.split(".")
    x2 = [int(x[1][-i-1]) for i in range(len(x[1]))] + [int(x[0][-i-1]) for i in range(len(x[0]))]
    y2 = [int(y[1][-i-1]) for i in range(len(y[1]))] + [int(y[0][-i-1]) for i in range(len(y[0]))]
    sum=[0]*(len(x2)+len(y2))
    for i, p in enumerate(y2):
      for j, q in enumerate(x2):
        K=i+j
        sum[K]+=p*q
        while sum[K]>9:
          sum[K+1], sum[K] = sum[K+1] + int(sum[K]/10) , sum[K]%10
          K+=1
    for i in range(len(sum)): rslt+=str(sum[-i-1])
    dclen=len(x[1])+len(y[1])
    if dclen>0: rslt=rslt[:len(rslt)-dclen]+"."+rslt[len(rslt)-dclen:len(rslt)]
    for i in range(len(rslt)):
      if rslt[i]=="0" and (rslt[i+1] if i<len(rslt)-1 else ".")!="." : continue
      else:
        rslt=rslt[max(i,0):]
        break
    if "." in rslt: rslt=rslt[:rslt.index(".")] #(小数点以下切捨て)
    return ("-" if sign==-1 else "")+rslt

A,B=input().split()
print( Calc().multi(A,B) )

Submission status: Accepted

Solution code:
A, B = map(str, input().split()) # take the input in one line
A = int(A) # convert A into integer
C = B[0]+B[2]+B[3]
C = int(C)
print(A*C//100) # printing the output

# time complixity O(1)

Submission status: Accepted

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

a, b = map(Decimal, input().split())
print(__import__('math').floor(a * b))

Submission status: Accepted

Solution code:
#ABC169 C-Multiplication3
class Calc():
  def multi(self,x,y):
    x, y, sign, rslt = str(x)+".", str(y)+".",1 ,""
    if x[0]=="-":
      sign*=-1
      x=x[1:]
    if y[0]=="-":
      sign*=-1
      y=y[1:]
    x,y=x.split("."),y.split(".")
    x2 = [int(x[1][-i-1]) for i in range(len(x[1]))] + [int(x[0][-i-1]) for i in range(len(x[0]))]
    y2 = [int(y[1][-i-1]) for i in range(len(y[1]))] + [int(y[0][-i-1]) for i in range(len(y[0]))]
    sum=[0]*(len(x2)+len(y2))
    for i, p in enumerate(y2):
      for j, q in enumerate(x2):
        K=i+j
        sum[K]+=p*q
        while sum[K]>9:
          sum[K+1], sum[K] = sum[K+1] + int(sum[K]/10) , sum[K]%10
          K+=1
    for i in range(len(sum)): rslt+=str(sum[-i-1])
    dclen=len(x[1])+len(y[1])
    if dclen>0: rslt=rslt[:len(rslt)-dclen]+"."+rslt[len(rslt)-dclen:len(rslt)]
    for i in range(len(rslt)):
      if rslt[i]=="0" and (rslt[i+1] if i<len(rslt)-1 else ".")!="." : continue
      else:
        rslt=rslt[max(i,0):]
        break
    if "." in rslt: rslt=rslt[:rslt.index(".")] #(小数点以下切捨て)
    return ("-" if sign==-1 else "")+rslt

A,B=input().split()
print( Calc().multi(A,B) )

Submission status: Accepted

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

Submission status: Accepted

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

result = int(a) * int(b.replace(".", "")) // 100
print(int(result))

Submission status: Accepted

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

prod = A * B // 100

print(prod)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b = input().split()
print(int(a)*(round(float(b)*100))//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:
import math
line = input().split()
a = int(line[0])
b = round(100 * float(line[1]))

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

# for n in range(10):
#     for j in range(100):
#         b2 = n+j/100
#         b2 = b2 * 100
#         if round(b2) != math.floor(b2):
            
#             print('!?')
#             print(b2)
#             print(round(b2),math.floor(b2))

print((a*b)//100)

Submission status: Accepted

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

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
line = input().split()
a = int(line[0])
b = round(100 * float(line[1]))
# c = round(a * b) = a * (b * 100)  / 100
print(int(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
line = input().split()
a = int(line[0])
b = round(100 * float(line[1]))


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

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 = input().split()
a = int(a)
b = round(100*float(b))
print(a*b//100)

Submission status: Accepted

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

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

ans=ans//100
print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#cited from tanon710
A, B = map(str,input().split())
A = int(A)
B = 100 * int(B[0]) + 10 * int(B[2]) + 1 * int(B[3])
print((A * B) // 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:
#create date: 2020-06-30 09:34

import sys
stdin = sys.stdin

def ns(): return stdin.readline().rstrip()
def ni(): return int(ns())
def na(): return list(map(int, stdin.readline().split()))

def main():
    a, b = ns().split()
    a = int(a)
    b = int(float(b)*100+0.5)
    print(a*b//100)

if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#from statistics import median
#import collections
#aa = collections.Counter(a) # list to list || .most_common(2)で最大の2個とりだせるお a[0][0]
from fractions import gcd
from itertools import combinations,permutations,accumulate # (string,3) 3回
#from collections import deque
from collections import deque,defaultdict,Counter
import decimal
import re
#import bisect
#
#    d = m - k[i] - k[j]
#    if kk[bisect.bisect_right(kk,d) - 1] == d:
#
#
#
# pythonで無理なときは、pypyでやると正解するかも！！
#
#

import sys
sys.setrecursionlimit(10000000)
mod = 10**9 + 7
#mod = 9982443453
def readInts():
  return list(map(int,input().split()))
def I():
  return int(input())
a,b = map(decimal.Decimal,input().split())
print(int(a*b))

Submission status: Accepted

Solution code:
import sys
from decimal import Decimal

sys.setrecursionlimit(10 ** 8)
ini = lambda: int(sys.stdin.readline())
inm = lambda: map(int, sys.stdin.readline().split())
inl = lambda: list(inm())
ins = lambda: sys.stdin.readline().rstrip()
debug = lambda *a, **kw: print("\033[33m", *a, "\033[0m", **dict(file=sys.stderr, **kw))

A, B = map(Decimal, ins().split())
print(int(A * B))

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=map(str,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()

b_list = b.split('.')
b = int(b_list[0])*100 + int(b_list[1])
ans = int(a)*b
print(ans//100)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
import sys

stdin = sys.stdin

ns = lambda: stdin.readline().rstrip()
ni = lambda: int(stdin.readline().rstrip())
nm = lambda: map(int, stdin.readline().split())
nl = lambda: list(map(int, stdin.readline().split()))
mod = 10**9 + 7 
sys.setrecursionlimit(1000010)

AS, BS = stdin.readline().split()
A = int(AS)
B100 = int(BS.replace(".",""))

print((A * B100)//100)

Submission status: Accepted

Solution code:
from sys import stdin,stdout
LI=lambda:list(map(int,input().split()))
MAP=lambda:map(int,input().split())
IN=lambda:int(input())
S=lambda:input()
import math
from collections import Counter,defaultdict

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

a, b = map(Decimal, input().split())
print(math.floor(a * b))

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

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 Decimal
a,b = input().split()
a = int(a)
b = Decimal(b)
p = a*b % 1
ans = int(a*b - p)
print(ans)

Submission status: Accepted

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

print(math.floor(jou))

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

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

Submission status: Accepted

Solution code:
#import sys
#import numpy as np
#from collections import defaultdict
#import math
#from collections import deque

#input = sys.stdin.readline
import decimal

def main():

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



if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
#169C
#Multiplication3

A,B=input().split()
a=int(A)
b=int(B.replace('.',''))
print(a*b//100)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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())

print(int(a*b))

Submission status: Accepted

Solution code:
from decimal import *
a,b=[_ for _ in input().split()]
c=Decimal(a)*Decimal(b)
print(c.quantize(Decimal("1"),rounding=ROUND_DOWN))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
from decimal import Decimal
from sys import stdin
data = stdin.readline().rstrip()

product = Decimal(data.split()[0]) * Decimal(data.split()[1])
print(math.floor(product))

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
from decimal import Decimal as dec

def main():
    a, b = map(dec,input().split())
    print(int(a*b))
        
if __name__ =="__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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