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

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


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
INT_MAX=10**11+7
MOD=10**9+7
def INPUT():return list(int(i) for i in input().split())
def LIST_1D_ARRAY(n):return [0 for _ in range(n)]
def LIST_2D_ARRAY(m,n):return [[0 for _ in range(n)]for _ in range(m)]
GETA=123
###############################################################################
from decimal import *
a,b=map(Decimal,input().split())
print(int(a*b))

Submission status: Accepted

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

Submission status: Accepted

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

A=int(A)
B_100=int(B[0])*100+int(B[2])*10+int(B[3])*1
print((A*B_100)//100)

Submission status: Accepted

Solution code:
from decimal import Decimal
import math

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
from decimal import Decimal
nums = input().split(" ")

num1 = int(nums[0])
num2 = Decimal(nums[1])

print(int(num1*num2))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

sys.setrecursionlimit(10000000)
import os
import math
import bisect
import collections
import itertools
import heapq
import re
import queue
from decimal import Decimal
# import fractions

ii = lambda: int(sys.stdin.buffer.readline().rstrip())
il = lambda: list(map(int, sys.stdin.buffer.readline().split()))
fl = lambda: list(map(float, sys.stdin.buffer.readline().split()))
dl = lambda: list(map(float, sys.stdin.buffer.readline().split()))
iln = lambda n: [int(sys.stdin.buffer.readline().rstrip()) for _ in range(n)]

iss = lambda: sys.stdin.buffer.readline().decode().rstrip()
sl = lambda: list(map(str, sys.stdin.buffer.readline().decode().split()))
isn = lambda n: [sys.stdin.buffer.readline().decode().rstrip() for _ in range(n)]

lcm = lambda x, y: (x * y) // math.gcd(x, y)
# lcm = lambda x, y: (x * y) // fractions.gcd(x, y)

MOD = 10 ** 9 + 7
MAX = float('inf')


def main():
    if os.getenv("LOCAL"):
        sys.stdin = open("input.txt", "r")

    A, B = sl()
    A = Decimal(A)
    B = Decimal(B)
    print(int(A*B))


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
import sys
import math
def I():return int(sys.stdin.readline().replace("\n",""))
def I2():return map(float,sys.stdin.readline().replace("\n","").split())
def S():return str(sys.stdin.readline().replace("\n",""))
def L():return list(sys.stdin.readline().replace("\n",""))
def Intl():return [int(k) for k in sys.stdin.readline().replace("\n","").split()]
def Lx(k):return list(map(lambda x:int(x)*-k,sys.stdin.readline().replace("\n","").split()))


a,b = input().split()
b = b.replace(".","")
a = int(a)
b = list(b)
b = [int(i) for i in b]
ans = 0
for i in range(len(b)):
    if i == 0:
        ans += a*b[i]*100
    elif i == 1:
        ans += a*b[i]*10
    elif i == 2: 
        ans += a*b[i]
print(int(ans//100))

Submission status: Accepted

Solution code:
#!/usr/bin/env python
import sys
sys.setrecursionlimit(10**9)
from collections import deque,defaultdict
import heapq
from itertools import combinations
import bisect
from decimal import Decimal


a,b=map(str,input().split())
b=Decimal(b)
a=int(a)
p=list(str(a*b))
ans=''
for i in p:
    if i=='.':
        break
    ans+=i
print(ans)

Submission status: Accepted

Solution code:
A, B = input().split()
A = int(A)
B = int(B.replace('.', ''))
ans = A * B
if ans > 99:
    print(str(ans)[:-2])
else:
    print(ans // 100)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

    B100 = int(B * 100 + 0.5)  # 0.001

    print(A * B100 // 100)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
#template
def inputlist(): return [int(j) for j in input().split()]
#template
A,B = input().split()
A = int(A)
from decimal import Decimal
B = Decimal(B)
ans = str(A*B)
n = len(ans)
ansa = ''
for i in range(n):
    if ans[i] == '.':
        break
    ansa += ans[i]
print(ansa)

Submission status: Accepted

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

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

    B100 = int(B * 100 + 0.001)  # 100倍しても1にならない数を足している?

    print(A * B100 // 100)


if __name__ == '__main__':
    main()

Submission status: Accepted

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

    A = int(A)

    B_spl = B.split('.')
    L = len(B_spl[1])  # 小数部分の桁数, int化前に桁を調べる必要がある(000xxxのケースでint後に桁数変わる)
    B_int, B_frac = map(int, B_spl)  # 整数部分, 小数部分

    ans = (A * B_int) + (A * B_frac) // pow(10, L)

    print(ans)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
AB = input()

A = int(AB.split()[0])
B0, B1 = map(int, AB.split()[1].split('.'))

print(A*B0 + A*B1//100)

Submission status: Accepted

Solution code:
from sys import stdin

def main():
  read = stdin.readline
  A,B = list(read().split(" "))
  B = 100*int(B[0]) + 10*int(B[2]) + 1 * int(B[3])
  c = int(A) * B
  print(c//100)
  
  
  
if __name__ == "__main__":
  main()

Submission status: Accepted

Solution code:
s = input()
l = s.split()
a = int(l[0])
b = 0
for i in l[1]:
    if(i!='.'):
        b = 10*b + int(i)
ans = a*b
ans = ans//100
print(int(ans))

Submission status: Accepted

Solution code:
import os
import sys
from atexit import register
from io import BytesIO
sys.stdin = BytesIO(os.read(0, os.fstat(0).st_size))
sys.stdout = BytesIO()
register(lambda: os.write(1, sys.stdout.getvalue()))
input = lambda: sys.stdin.readline().rstrip('\r\n')
raw_input = lambda: sys.stdin.readline().rstrip('\r\n')

from decimal import Decimal
a,b = (Decimal(x) for x in input().split())
print(int(a*b))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input().split()
a = int(s[0])
b, c = map(int, s[1].split('.')) if '.' in s[1] else map(int, [s[1], 0])
print(a * b + a * c // 100)

Submission status: Accepted

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


def main():
    from decimal import Decimal
    import sys
    input = sys.stdin.readline

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


if __name__ == '__main__':
    main()

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

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

Submission status: Accepted

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

print(math.floor(a*b))

Submission status: Accepted

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

a = int(a)
b = int(b.replace('.', ''))
ans = a * b
ans = ans // 100
print(ans)

Submission status: Accepted

Solution code:
from math import floor

a, b = [i for i in input().split()]
B = int(b[0] + b[2] + b[3])
print(int(a) * B // 100);

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

ans = A * B // 100

print(ans)

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 = map(float, input().split())
a = int(a)
b = int(b * 100 + 0.5)

print(a*b//100)

Submission status: Accepted

Solution code:
import math
from decimal import Decimal
AB = input().split()
a,b= int(AB[0]),Decimal(AB[1])
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:
A,B=input().split()
C=int(A)
D=int(B[0]+B[2]+B[3])
print(C*D//100)

Submission status: Accepted

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

Submission status: Accepted

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

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

div = 0
for i in range(15):
    if a % 10**i == 0:
        div = i
    else:
        break

print(int(a // 10**div * (b * 10**div)))

Submission status: Accepted

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

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

Submission status: Accepted

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

ans = math.floor(a * b)

print(ans)

Submission status: Accepted

Solution code:
a,b=input().split()
b=b[0]+b[2:]
a=int(a)
b=int(b)
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:
from decimal import Decimal as dc
a,b = map(dc, input().split())
print(int(a*b))

Submission status: Accepted

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

if '.' not in b:
    print(a*int(b))
else:
    if b[-2] == '.':
        b = b.replace('.', '')
        b = int(b)
        print(a*b//10)
    else:
        b = b.replace('.', '')
        b = int(b)
        print(a*b//100)

Submission status: Accepted

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

a = int(a)
b = int(b[0] + b[2:])

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

sys.setrecursionlimit(10 ** 9)
input = sys.stdin.readline

A, B = map(float, input().split())
A = int(A)
B = int(B * 10**2 + 0.01)

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

Submission status: Accepted

Solution code:
import sys

sys.setrecursionlimit(10 ** 9)
input = sys.stdin.readline

A, B = map(float, input().split())
A = int(A)
B = int(B * 10**2 + 0.5)

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

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:
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,copy,functools
import time,random

sys.setrecursionlimit(10**7)
inf = 10**20
eps = 1.0 / 10**10
mod = 10**9+7
mod2 = 998244353
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 list(map(int, sys.stdin.readline().split()))
def LLI(): return [list(map(int, l.split())) for l in sys.stdin.readlines()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()
def pf(s): return print(s, flush=True)
def pe(s): return print(str(s), file=sys.stderr)
def JA(a, sep): return sep.join(map(str, a))
def JAA(a, s, t): return s.join(t.join(map(str, b)) for b in a)


def main():
    a,b = LS()
    a = int(a)
    b = int(b.replace(".", ""))

    return a * b // 100

print(main())

Submission status: Accepted

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

s=str(Decimal(A*B))
print(Decimal(s).quantize(Decimal("0"),rounding=ROUND_DOWN))

Submission status: Accepted

Solution code:
import sys
import math

sys.setrecursionlimit(10 ** 9)
input = sys.stdin.readline

A, B = map(float, input().split())
A = int(A)
B_tmp = int(B * 10**2 + 0.5)

total = A * B_tmp
total //= 100
# total = math.floor(total)
print(int(total))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B = [x for x in input().split()]
A = int(A)
B = B[0] + B[2:]
B = int(B)
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:
import decimal

def multiply3(A, B):
    return int(A*B)

if __name__ == "__main__":
    A, B =  input().split()
    A = int(A)
    B = decimal.Decimal(B)
    print(multiply3(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 sys
input = sys.stdin.readline

def linput(tt=int):
	return list(map(tt,input().split()))

def gcd(a: int, b: int):
	while b: a, b = b, a%b
	return a

def lcm(a: int, b: int):
	return a * b // gcd(a, b)

def main():
	a,b = linput(str)
	A = int(a)
	B = int((float(b) + .0001) * 100)
	
	res = A * B // 100
	print(res)

if __name__ == "__main__":
	main()

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

a, b = input().split()

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

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

Submission status: Accepted

Solution code:
from decimal import Decimal
from math import floor
import sys
read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines

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

    print(floor(A * B))


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
from decimal import Decimal

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

Submission status: Accepted

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


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
from collections import Counter
import sys

sys.setrecursionlimit(10 ** 6)

mod = 1000000007
inf = int(1e18)

dx = [0, 1, 0, -1]
dy = [1, 0, -1, 0]


def inverse(a):
    return pow(a, mod - 2, mod)


def usearch(x, a):
    lft = 0
    rgt = len(a) + 1
    while rgt - lft > 1:
        mid = (rgt + lft) // 2
        if a[mid] <= x:
            lft = mid
        else:
            rgt = mid
    return lft


def main():
    a, b = input().split()
    a = int(a)
    b = b.split('.')
    if len(b) == 1:
        print(a * int(b[0]))
        return
    k = pow(10, len(b[1]))
    s = a * (int(b[0]) * k + int(b[1])) // k
    print(s)
main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    A, B = input().split()
    A = int(A)
    B_big, B_small = B.split(".")
    B_big = int(B_big)
    B_small = int(B_small)
    print(A*B_big + A*B_small//100)
 
 
if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
import sys
import math
from decimal import Decimal
sys.setrecursionlimit(10 ** 7)
f_inf = float('inf')
mod = 10 ** 9 + 7


def resolve():
    a, b = input().split()
    res = math.floor(Decimal(a) * Decimal(b))
    print(res)


if __name__ == '__main__':
    resolve()

Submission status: Accepted

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

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 = map(str, input().split())
c = b.replace('.', '')
x = int(a)
y = int(c)
d = x * y
ans = d // 100
print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#decimalは小数のこと.
import math
import decimal

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

Submission status: Accepted

Solution code:
def main():
    A, B = input().split()
    A = int(A)
    B_big, B_small = B.split(".")
    B_big = int(B_big)
    B_small = int(B_small)
    print(A*B_big + A*B_small//100)


if __name__ == "__main__":
    main()

Submission status: Accepted

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

ss = len(b)
bb = int(b[0])*100 + int(b[2:])

c = int(a*bb // 100)

print(c)

Submission status: Accepted

Solution code:
import math
from decimal import Decimal


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

Submission status: Accepted

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

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

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

print( a * b // 100 )

Submission status: Accepted

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

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
from collections import deque

# I/O
def read(): return input()
def read_int(): return int(input())
def read_array(type=int): return list(map(type, input().split()))
def read_tupple(type=None):
    tmp = input().split()
    if type is None: return map(int, tmp)
    assert len(tmp) == len(type)
    return [type[i](tmp[i]) for i in range(len(tmp))]

# Implementation
a, b = read_tupple([int, str])
b = b.split('.')
b = int(b[0]) * 100 + int(b[1])
print(a * b // 100)

Submission status: Accepted

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

a = int(a)

c1 = a * int(b[0])
c2 = a * int(b[2])
c3 = a * int(b[3])

int_c2 = (c2 - c2 % 10) // 10
d2 = c2 % 10

int_c3 = (c3 - c3 % 100) // 100
d3 = c3 % 100

d = d2 * 0.1 + d3 * 0.01
d = int(d)

ans = c1 + int_c2 + int_c3 + d

print(int(ans))

Submission status: Accepted

Solution code:
import decimal
Deci = decimal.Decimal

a, b = input().split()
x, y = Deci(a), Deci(b)
ans = int(x * y)
print(ans)

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

Submission status: Accepted

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

Submission status: Accepted

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

sys.setrecursionlimit(10 ** 7)

from collections import defaultdict

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

a, b = readline().split()
a = int(a)
b = int(float(b) * 100 + 0.5)
print(a * b // 100)

Submission status: Accepted

Solution code:
re = input().split()
a = int(re[0])
b = float(re[1])
for i in range(10):
    if i <= b <i+1:
        c = int(i)
        #d = int(100 * (b - i))
        d = int(round(100 * (b - i)))
        break
    
e = a * c
f = a * d
g = f // 100
h = e + g
print(h)

Submission status: Accepted

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

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

print(A * B // 100)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b = input().split()
a = int(a)
b = int(''.join(b.split(".")))
x = a * b
print(x // 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:
from decimal import Decimal
n1, n2 = map(Decimal, input().split())
print(int(n1*n2))