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

# t = '1000000000000000 9.99'
a = list(map(Decimal, input().split()))
# a = list(map(Decimal, t.split()))

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

Submission status: Accepted

Solution code:
x = input().split()
a = int(x[0])
c = ''
for i in range(len(x[1])):
    if (x[1][i] != '.'):
        c += x[1][i]
b = int(c)
print(a * b // 100)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
A,B=[i for i in input().split()]
f2i = int(float(B)*100 + 0.5)
print( (int(A)*f2i) // 100 )

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
from decimal import Decimal

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

print(int(a * b))

Submission status: Accepted

Solution code:
from decimal import Decimal
from math import floor
A, B = input().split()
A = Decimal(A)
B = Decimal(B)
print(floor(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 = map(str, input().split())
A = int(A)
B = B.replace(".", "")
B = int(B)
print((A*B)//100)

Submission status: Accepted

Solution code:
from decimal import Decimal
from math import floor

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

main()

Submission status: Accepted

Solution code:
from decimal import Decimal
from math import floor

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

print(floor(a*b))

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
re = input().split()
a = int(re[0])
b = Decimal(re[1])
print(int(a*b))

Submission status: Accepted

Solution code:
import math
import decimal
b, c = map(decimal.Decimal, input().split())

print(math.floor(b * c))

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Sat Jun 13 19:59:49 2020

@author: kawati
"""

a, b = input().split()

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

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python
"""AtCoder Beginner Contest 169: C - Multiplication 3
https://atcoder.jp/contests/abc169/tasks/abc169_c
"""

from decimal import Decimal


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

    print(int(A * B))


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
ls = input().rstrip().split()
A = int(ls[0])
B = int(float(ls[1]) * 100 + 0.1)

print((A * B) // 100)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import *
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)
c = a*b*100//100
print(int(c))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

pair = input().split()
num1 = int(pair[0])
num2 = int(pair[1].replace('.',''))
result = num1 * num2
print(result//100)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
  A, B = input().split()
  #  return int(A) * int(B[:-3] + B[-2:]) // 100
  return int(A) * int(round(float(B) * 100)) // 100

print(main())

Submission status: Accepted

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

Submission status: Accepted

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

print(main())

Submission status: Accepted

Solution code:
import math
from decimal import Decimal

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

Submission status: Accepted

Solution code:
import math
from decimal import Decimal

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

Submission status: Accepted

Solution code:
from math import floor
from decimal import Decimal

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import math
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=b.replace('.','')
print(a*int(b)//100)

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

Submission status: Accepted

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

Submission status: Accepted

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

b=int(a[0])
lst=list(a[1])

del lst[-3]

c=""
for i in lst:
    c=c+i
c=int(c)

print (int(b*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.replace('.', ''))

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
  
    a, b = map(str, input().split())
    res = int(a) * round((float(b)) * 100) // 100
    print(res)
 
if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import *

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

print(int(a*b))

Submission status: Accepted

Solution code:
import decimal

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

print((a * b).quantize(decimal.Decimal("0"), rounding=decimal.ROUND_FLOOR))

Submission status: Accepted

Solution code:
from decimal import Decimal


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

print(str(A * B).split('.')[0])

Submission status: Accepted

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

n =int(n)
m =round( m *100)
ans = n * m // 100
print(round(ans))

Submission status: Accepted

Solution code:
from math import floor
from fractions import Fraction

if __name__ == "__main__":
  a, b = input().split()
  a = int(a)
  b = Fraction(b)
  print(floor(a * b))

Submission status: Accepted

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

from decimal import Decimal
import math

A, B = map(str, input().split())
dea, deb = Decimal(A), Decimal(B)
print(math.floor(dea * deb))

Submission status: Accepted

Solution code:
a, b = input().split()
b=float(b)
c=int(b*100+0.1)
a=int(a)
d=str(a*c)
if len(d)<=2:
    print(0)
else:
    print(d[:-2])

Submission status: Accepted

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

# S = list(input().split())
# a = int(S[0])
# b = S[1].replace('.', '')
# B = int(b)
#
# ans = (a * B) // 100
# print(ans)

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

# S = list(input().split())
# a = int(S[0])
# b = float(S[1])  # 小数点をfloat型にすると限りなく近似された値が2進数として処理されるが厳密に等しくなるわけではない
#
# ans = int((a * b) // 1)
# print(ans)

Submission status: Accepted

Solution code:
S = list(input().split())
a = int(S[0])
b = S[1].replace('.', '')
B = int(b)

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

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

Submission status: Accepted

Solution code:
# S = list(input().split())
# a = int(S[0])
# b = S[1].replace('.', '')
# B = int(b)
#
# ans = (a * B) // 100
# print(ans)

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

Submission status: Accepted

Solution code:
import math
from decimal import Decimal
a,b = 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] + b[3])
c = str(a*b)
if len(c) <= 2:
    print(0)
else:
    for i in range(len(c)):
        if i == len(c)-2:
            break
        print(c[i], end='')
    print('')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
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 = input().split()
a = Decimal(a)
b = Decimal(b)
print(math.floor(a * b))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 7)

A,B = map(str,readline().rstrip().split())
A = int(A)
B_i,B_d = map(int,B.split("."))
B = B_i*100+B_d
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:
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:
from decimal import Decimal

A, B = map(Decimal, input().split())
print(str(A*B)[:-3])

Submission status: Accepted

Solution code:
from sys import stdin
from math import floor

def make_b(b_str):
    if '.' in b_str:
        b_split = b_str.split('.')
        b_int = int(b_split[0])
        b_float = int(b_split[1])
    else:
        b_int = int(b_str)
        b_float = 0
    return b_int * 100 + b_float

def main():
    for line in stdin:
        factors_str = line.split()
        break

    a = int(factors_str[0])
    b = make_b(factors_str[1])

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

main()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal as dec

x0, x1 = list(map(dec, input().split()))
print(int(x0*x1))

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

Submission status: Accepted

Solution code:
from decimal import *
import math

if __name__ == "__main__":
    A, B = input().split()
    A = Decimal(A)
    B_ = B[:-3] + B[-2:]
    B = Decimal(B_)
    ans = str(B*A)[:-2]
    print(0 if len(ans)==0 else ans)

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 numpy as np

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:
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)
b = float(b)
b = round(b * 100)
print(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)
c,d = b.split('.')
c = int(c)
d = int(d)
ans = a * (c*100+d)
print(ans // 100)

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

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline

value_list = input().split()

A = int(value_list[0])
B = float(value_list[1])

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

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:
A, B = input().split()
A = int(A)
B_int, B_frac = B.split('.')
new_b = int(B_int) * 100 + int(B_frac)
print(A * new_b // 100)

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

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, getcontext
import math
n = input().split()

def cal(a,b):
  if '.' in list(a):
    c = Decimal(a)
  else:
    c = int(a)
  
  if '.' in list(b):
    d = Decimal(b)
  else:
    d = int(b)
    
  return c*d


print(math.floor(cal(n[0],n[1])))

Submission status: Accepted

Solution code:
import sys
S, T = map(str, input().split())
 
S1 = int(S)
T1 = T.replace(".", "")


print(S1*int(T1)//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
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 = B.replace(".","")

import math
print(math.floor(a*int(b)//100))

Submission status: Accepted

Solution code:
nums = input().split()
x = int(nums[0])
y = int(''.join(nums[1].split(".")))
print(x * y // 100)

Submission status: Accepted

Solution code:
from decimal import Decimal

def decimal_mul(vals):
  return Decimal(vals[0]) * Decimal(vals[1])

N = input().split()
print(int(decimal_mul(N)))

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:
A, B = map(str, input().split())
A = int(A)
B = int(''.join(B.split('.')))
print(A * B // 100)

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

A = int(A)
B = int(''.join(B.split('.')))
print(A*B//100)

Submission status: Accepted

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

n,m=0,0
for c in B:
  m*=10
  if c!='.':
    n=n*10+int(c)
  else:
    m=1

print((int(A)*n)//m)

Submission status: Accepted

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

print(a * b // 100)

Submission status: Accepted

Solution code:
#coding: utf-8
#C
a, b = map(str,input().split())

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

b = int(b)

print(a*b//100)

Submission status: Accepted

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

b100 = b.replace(".", "")

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

Submission status: Accepted

Solution code:
from decimal import Decimal

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
sta,stb=[str(i) for i in input().split()]
a = int(sta)
b = int(stb[0])*100
if stb[1] == '.':
  #小数
  if len(stb) >= 3:
    b+=int(stb[2])*10
  if len(stb) == 4:
    b+=int(stb[3])
print(a*b//100)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal
from sys import stdin
A, B = [Decimal(_) for _ in stdin.readline().rstrip().split()]
print(int(A*B))

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

Submission status: Accepted

Solution code:
# coding: utf-8
from decimal import Decimal
import math

a,b = (Decimal(x) for x in input().split())

print(math.floor(a*b))

Submission status: Accepted

Solution code:
#!/usr/bin/env python
# coding: utf-8

import sys
import re
import argparse
import math
import decimal


def f(a: int, b_str: str) -> int:
    """
    >>> f(198, '1.10')
    217
    >>> f(1, '0.1')
    0
    >>> f(1000000000000000, '9.99')
    9990000000000000
    >>> f(0, '0.0')
    0
    >>> f(999999999999900, '9.25')
    9249999999999075
    >>> f(1000000000000000, '9.95')
    9950000000000000
    """
    b = decimal.Decimal(b_str)
    result = math.floor(a * b)
    return result


def main():
    line = sys.stdin.readline()
    a_str, b_str = line.rstrip().split(' ')
    a = int(a_str)
    print(f(a, b_str))


if __name__ == '__main__':
    parser = argparse.ArgumentParser()
    parser.add_argument('--doctest', action='store_true', default=False)
    args = parser.parse_args()
    if args.doctest:
        import doctest
        doctest.testmod(verbose=True)
        sys.exit()
    main()

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

Submission status: Accepted

Solution code:
inputs= list(input().split())
A=int(inputs[0])
B=float(inputs[1])
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 = list(map(int, b.split('.')))
b = b[0]*100+b[1]
ans = a*b
if ans<100:
  print(0)
else:
  print(str(ans)[:-2])

Submission status: Accepted

Solution code:
ab = input().split()
a = int(ab[0])
b = list(map(int, ab[1].split('.')))

print(b[0]*a+(b[1]*a)//100)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

A = int(C[0])
B = int(float(C[1])*100+0.1)



E = A*B



if E < 100:
    print(0)
elif E < 200:
    print(1)
elif E < 300:
    print(2)
else:
    F = str(E)
    print(F[0:len(F)-2])

Submission status: Accepted

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

A = int(C[0])
B = int(float(C[1])*100+0.5)



E = A*B



if E < 100:
    print(0)
elif E < 200:
    print(1)
elif E < 300:
    print(2)
else:
    F = str(E)
    print(F[0:len(F)-2])

Submission status: Accepted

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

Submission status: Accepted

Solution code:

from decimal import Decimal

def main():
    str_num = input()
    num_list = str_num.split()
    A = int(num_list[0])
    B = Decimal(num_list[1])
    
    answer = int(A*B)
    print(answer)

main()

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])*1)
print((a*b)//100)

Submission status: Accepted

Solution code:
#
import sys
import math
import numpy as np
import itertools

a, b = (i for i in input().split())

aa = int(a)
bb = float(b)
bb = int(bb * 100+0.1)

print(aa*bb//100)

Submission status: Accepted

Solution code:
from decimal import Decimal, ROUND_FLOOR

a, b = map(Decimal, input().split())
ans = (a * b).quantize(Decimal('0'), ROUND_FLOOR)
print(ans)

Submission status: Accepted

Solution code:
a,b=input().split()
a=int(a)
x=b.index('.')
ans=a*(int(b[:x]))
c=int(b[x+1:])*a
ans+=c//100
print(ans)

Submission status: Accepted

Solution code:
import math
NUM=input().split()
A=int(NUM[0])
B=round(float(NUM[1])*100)
S=A*B
print(int(S//100))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
import fractions

a, b = input().split()
a = int(a)
b = fractions.Fraction(b)

print(math.floor(a*b))

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:
from decimal import *
getcontext().prec = 18
x = input().split()

aa = Decimal(x[0])*Decimal(x[1])

print(int(aa))

Submission status: Accepted

Solution code:
from decimal import Decimal as dec

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

if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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 = input().split()
a = int(a)
b1, b2 = map(int, b.split('.'))
b = int(b1) * 100 + int(b2)
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:
#!/usr/bin/env python3
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)
x = 0
for i in range(4):
    if i == 1: continue
    c = int(b[i])
    if i == 0: x += 100 * c
    elif i == 2: x += 10 * c
    else: x += c
ans = a * x
ans //= 100
print(ans)

Submission status: Accepted

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

a = int(a)

b1,b2 = map(int, b.split('.'))
b = b1*100 + b2

ans = (a*b)//100

print(int(ans))

Submission status: Accepted

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

Submission status: Accepted

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

# int*floatは誤差が出る
# bは今回少数第2位なので100倍(b[0]+b[2:])した
# ものでint同士の計算を行い、100で割る
print((int(a)*int(b[0]+b[2:]))//100)

Submission status: Accepted

Solution code:
a,b=list(input().split())
a=int(a)
b=int(b[0]+b[2:])
print(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 = input().split()
A = int(a)
B = int(b.replace(".", ""))
print(A*B//100)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

A = input().split()

a1 = int(A[0])
a2 = int(int(A[1][0])*100 + int(A[1][2])*10 + int(A[1][3]))

print(int(a1*a2)//100)

Submission status: Accepted

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

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

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

Submission status: Accepted

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

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

main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
GI = lambda: int(input()); GIS = lambda: map(int, input().split()); LGIS = lambda: list(GIS())

def main():
    s = input().split()
    a = int(s[0])
    b = int(s[1].replace('.', ''))
    p = a * b
    print(p//100)

main()

Submission status: Accepted

Solution code:
from decimal import Decimal

A, B = map(Decimal, input().split())
print(f"{A * B:.2f}"[:-3])

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
a, b = input().split()
b_arr = b.split('.')
print(int(a)*int(b_arr[0])+int(a)*int(b_arr[1])//100)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
a, b = input().split()
print(int(a)*int(b.replace('.', ''))//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:
import math


def solve():
    A, B = input().split()
    print(int(A) * int(B[-4] + B[-2:]) // 100)



if __name__ == '__main__':
    solve()

Submission status: Accepted

Solution code:
from decimal import Decimal
a=list(map(Decimal, input().split()))
a[0]=int(a[0])
print(int(a[0]*a[1]))

Submission status: Accepted

Solution code:
a = input().split()
for i in range(2):
    a[i] = int(a[i]) if i == 0 else round(float(a[i])*100)
print(int(a[0] * a[1] // 100))

Submission status: Accepted

Solution code:
from fractions import Fraction
a, b = input().split()
a = int(a)
b = Fraction(b) * 100
ans = (a * b) // 100
print(ans)

Submission status: Accepted

Solution code:
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()
B = int(B.replace(".",""))
A = int(A)
print(int(A*B//100))

Submission status: Accepted

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

Submission status: Accepted

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

c=b.replace(".","")
ans=int(a)*int(c)
ANS=int(ans//100)
print(ANS)

Submission status: Accepted

Solution code:
def resolve():
    a, b = input().split()
    a = int(a)
    b1 = []
    for i in b:
        if i == ".":
            continue
        else:
            b1.append(i)
    b1 = int("".join(b1))
    print(int(a*b1//100))
resolve()

Submission status: Accepted

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