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, ROUND_HALF_UP, ROUND_HALF_EVEN
a, b = input().split()
a = int(a)
b = (Decimal(b) * Decimal(100))
ans = int(a*b)
print(int(Decimal(ans)/Decimal(100)))

Submission status: Accepted

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

A = int(A)
B_float = int(B[2:])
B_int = int(B[0]) * 100

res = A * (B_int + B_float) // 100

print(int(res))

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

A,B = input().split()
A = Decimal(A)
B = Decimal(B)
M = A*B
if round(M)-M > 0:
    print(round(M)-1)
else:
    print(round(M))

Submission status: Accepted

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

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

if a * b >= 100:
    print(str(a*b)[:-2])
else:
    print(0)

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

main()

Submission status: Accepted

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

str_A,str_B = input().rstrip().split()

A = int(str_A)
B = Decimal(str_B)

print( int(A*B) )

Submission status: Accepted

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

str_A,str_B = input().rstrip().split()

A = int(str_A)
B = int(str_B.replace(".",""))  # B * 100

print(A*B//100)

Submission status: Accepted

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

aa = int(a)
bb = int(b[:-3]+b[-2:])
print(aa*bb//100)

Submission status: Accepted

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

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:
#Multiplication 3
A,B = list(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 = map(Decimal, input().split())
print(math.floor(a * b))

Submission status: Accepted

Solution code:
import math

def main():
    a, b = map(str, input().split())
    arr = []
    num = int(a)

    arr.append(b[0])
    arr.append(b[2])
    arr.append(b[3])

    dec = int(''.join(arr))

    print((num*dec)//100)





if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
#n=int(input())
a,b=map(str,input().split())
#t=int(input())
#al=list(map(int,input().split()))
#l=[list(map(int,input().split())) for i in range(n)]

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

print((a*b)//100)

Submission status: Accepted

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

from decimal import Decimal

import math
A=int(INPUT[0])
B=Decimal(INPUT[1])*100

Number_100=A*B
print(math.floor(Number_100/100))

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 math
A, B = map(str, input().split())
A = int(A)
B = list(B)
del B[1]
B = ''.join(B)
B_int = int(B)
print((A * B_int) // 100)

Submission status: Accepted

Solution code:
from decimal import *

A, B = list(map(Decimal, input().split()))
print(int(A * B // 1))

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

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(10 ** 9)
# input = sys.stdin.readline    ####
def int1(x): return int(x) - 1
def II(): return int(input())
def MI(): return map(int, input().split())
def MI1(): return map(int1, input().split())
def LI(): return list(map(int, input().split()))
def LI1(): return list(map(int1, input().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]
def MS(): return input().split()
def LS(): return list(input())
def LLS(rows_number): return [LS() for _ in range(rows_number)]
def printlist(lst, k=' '): print(k.join(list(map(str, lst))))
INF = float('inf')
# from math import ceil, floor, log2
# from collections import deque
# from itertools import combinations as comb, combinations_with_replacement as comb_w, accumulate, product, permutations
# from heapq import heapify, heappop, heappush
# import numpy as np
# from numpy import cumsum  # accumulate

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

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




if __name__ == '__main__':
    solve()

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

a, b = input().split()

a_dec = decimal.Decimal(a)
b_dec = decimal.Decimal(b)

ans = int(a_dec * b_dec)

print(ans)

Submission status: Accepted

Solution code:
#A,B = 664706138336385, 9.79
A, B = input().split()
A = int(A)
B = float(B)
B_ = round(B*100)
C = A*B_
C_ = str(C)
if C < 100:
    print(0)
else:
    print(C_[:-2])

Submission status: Accepted

Solution code:
import sys

stdin = sys.stdin


def ni(): return int(ns())


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


def naa(N): return [na() for _ in range(N)]


def ns(): return stdin.readline().rstrip()  # ignore trailing spaces


a = stdin.readline().split()
A = int(a[0])
B = float(a[1])


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

Submission status: Accepted

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

def slove():
    ansew = A * B // 100
    return(ansew)

print(slove())

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
[A,B]=[i for i in input().split()]
A=int(A)
a=[]
f=False
for i in range(len(B)):
	if B[i]!=".":
		a+=[B[i]]
B=int("".join(a))
print(A*B//100)

Submission status: Accepted

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

print(a * b // 100)

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()
b = Decimal(B)
print(int(int(A)*b))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
input = lambda: sys.stdin.readline().rstrip()
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()

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

Submission status: Accepted

Solution code:
from decimal import Decimal

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

print(int(ans))

Submission status: Accepted

Solution code:
a,b=[i for i in input().split()]
c=''
for i in range(len(b)):
    if b[i]=='.': 
        ind=i
        continue
    c+=b[i]
ans=int(a)*int(c)//(10**(len(b)-ind-1))
print(ans)

Submission status: Accepted

Solution code:
from decimal import Decimal
H, W = input().split()
# print(int(H))
# print(float(W))
ANS=int(H)*Decimal(W)
print(int(ANS))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
from decimal import *

def log(s):
    # print("| " + str(s), file=sys.stderr)
    pass


def output(x):
    print(x, flush=True)


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


def main():
    f = [Decimal(x) for x in input().split()]
    print(int(f[0] * f[1]))


main()

Submission status: Accepted

Solution code:
from decimal import Decimal as dec
import math

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import re

a, b = input().split()
b = b.replace('.','')
a = int(a)
b = int(b)
result = a * b 
float_r = result // 100

if type(float_r) == int:
  print(float_r)
else:
  print(re.sub('\.[0-9]*','',str(float_r)))

Submission status: Accepted

Solution code:
a,b=input().split()
b=b[:len(b)-3]+b[len(b)-2:]
b=int(b)
a=int(a)
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)
b100=int(b.replace('.',''))
print(a*b100//100)

Submission status: Accepted

Solution code:
a,b = input().split()
ai = int(a)
bi = int((float(b) + 1e-3)*100)
print(ai*bi//100)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B = 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)
b1 = int(b.split('.')[0])
b2 = int(b.split('.')[1])

print((a * b1 * 100 + a * b2) // 100)

Submission status: Accepted

Solution code:
import math

a, b = input().split()
a = int(a)
bi = int(b.split('.')[0])
bf1 = int(b.split('.')[1][0])
bf2 = int(b.split('.')[1][1])

ans = [0] * 18

c1 = list(str(a * bi))
idx = 2
while c1:
    ans[idx] += int(c1.pop())
    idx += 1

c2 = list(str(a * bf1))
idx = 1
while c2:
    ans[idx] += int(c2.pop())
    idx += 1

c3 = list(str(a * bf2))
idx = 0
while c3:
    ans[idx] += int(c3.pop())
    idx += 1

for i in range(18):
    if ans[i] >= 10:
        ans[i + 1] += ans[i] // 10
        ans[i] = int(str(ans[i])[-1])

ans = ans[2:]
while ans:
    if ans[-1] == 0:
        ans.pop()
    else:
        break

ans = [str(x) for x in ans]

if len(ans) == 0:
    print(0)
else:
    print(''.join(reversed(ans)))

Submission status: Accepted

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

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

b *= a
c = b.to_integral_value(rounding=ROUND_DOWN)
print(c)

Submission status: Accepted

Solution code:
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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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])+1*int(b[3])

print((a*b)//100)

Submission status: Accepted

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

Submission status: Accepted

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

A = int(A)
B = round(B*100)

print(A*B//100)

Submission status: Accepted

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

A = int(A)
B = B*100
B = round(B)

print(A*B//100)

Submission status: Accepted

Solution code:
import sys
input  = input().split()

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

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:
num = list(input().split())
a = int(num[0])
b = num[1].split(".")
b = int(''.join(b))

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

Submission status: Accepted

Solution code:
# N = int(input())
nums = [i for i in map(float, input().split())]
A = int(nums[0])
B = int(nums[1]*100+0.1)

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

Submission status: Accepted

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


if __name__ == '__main__':
    resolve()

Submission status: Accepted

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


if __name__ == '__main__':
    resolve()

Submission status: Accepted

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


if __name__ == "__main__":
    main()

Submission status: Accepted

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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B = input().split()
A = int(A)
B = "".join(B.split("."))
B = int(B)
result = str(A * B)
result = result[:-2]
if result == "":
    result = 0

print(result)

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:
from math import floor as f
a = input().split()
a[0] = int(a[0])
a[1] = int("".join(a[1].split(".")))

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(int(a*b))

Submission status: Accepted

Solution code:
S = input().split()
print(int(int(S[0])*int((float(S[1])*100 + 10**-8))//100))

Submission status: Accepted

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

a = int(a)

b *= 100
b = round(b)

print(a*b//100)

Submission status: Accepted

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

Submission status: Accepted

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

print(int(ans))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

a, b = input().split()
a = int(a)
b = int(100*float(b)+0.5)

print(a*b//100)

Submission status: Accepted

Solution code:
from decimal import Decimal, ROUND_FLOOR
import math
a,b=map(str,input().split())
b=b[0]+b[2:]
c=Decimal(int(a))*Decimal(float(b))
d = int(c.quantize(Decimal('0'),  rounding=ROUND_FLOOR))
print(d//100)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# 小数点は丸め誤差があるので、整数に直して最後に割る
# もしくは、decimalモジュールを使用する

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

# b=float(b)の時点で丸め誤差が生じている
# b * 100　だと丸め誤差が残ったままになる
# 整数へキャストされるときに暗黙的に切り捨てが起こるので、0.5を足す
b_100 = int(b * 100 + 0.5)

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

print((A * B) // 100)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal

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

print(int(A*B))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import*

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

Submission status: Accepted

Solution code:
from decimal import Decimal

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

# floatで掛け算すると桁落ちする
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 = [i for i in input().split(" ")]
B = B.replace(".","")
tmp = int(A) * int(B) // 100

print(tmp)

Submission status: Accepted

Solution code:
import math
from decimal import Decimal

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

ans = math.floor(A*B)

print(ans)

Submission status: Accepted

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


#sys.setrecursionlimit(10**9)
#from functools import lru_cache

def RD(): return sys.stdin.read()
def II(): return int(input())
def MI(): return map(int,input().split())
def MF(): return map(float,input().split())
def LI(): return list(map(int,input().split()))
def LF(): return list(map(float,input().split()))
def TI(): return tuple(map(int,input().split()))
# rstrip().decode()

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




if __name__ == "__main__":
	main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from math import floor

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

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(b.replace(".", ""))

print((a * b) // 100)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#ACになったコード（その2）
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)
D = int(B.replace(".", ""))

C = A*D

print(C//100)

Submission status: Accepted

Solution code:
x,t = input().split()
x = int(x)
t = t.replace(".", "")
t=int(t)
to=(x*t)//100

print(int(to))

Submission status: Accepted

Solution code:
import sys
input=sys.stdin.readline
sys.setrecursionlimit(10**6)

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

Submission status: Accepted

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

def main():
    A, B = input().strip().split()
    A = int(A)
    B = int(B.replace(".", ""))
    print(A * B // 100)


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# C - Multiplication 3
str_a, str_b = input().split()

a = int(str_a)

import decimal
b = decimal.Decimal(str_b)

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

Submission status: Accepted

Solution code:
# C - Multiplication 3
str_a, str_b = input().split()

a = int(str_a)
#print(a)

# 小数点を外した後 数値化することで、Bを誤差なく100倍できる
b = int(str_b.replace('.', ''))
#print(b)

print(a * b // 100)

Submission status: Accepted

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

print(a*b // 100)

Submission status: Accepted

Solution code:
temp = input().split()
A = int(temp[0])
B = str(temp[1][0] + temp[1][2] + temp[1][3])
B = int(B)
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])
ab = str(a * b)
if len(ab) < 3:
    print(0)
else:
    print(ab[:-2])

Submission status: Accepted

Solution code:
import math
a, b = input().split()
a = int(a)
b = int(b[0])*100 + int(b[2])*10 + int(b[3])
ab = str(a * b)
if len(ab) < 3:
    print(0)
else:
    print(ab[:-2])

Submission status: Accepted

Solution code:
from decimal import Decimal

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# encoding:utf-8
import copy
import random
import bisect #bisect_left　これで二部探索の大小検索が行える
import fractions #最小公倍数などはこっち
import math
import sys
import collections
from decimal import Decimal # 10進数で考慮できる

mod = 10**9+7
sys.setrecursionlimit(mod) # 再帰回数上限はでdefault1000

d = collections.deque()
def LI(): return list(map(float, sys.stdin.readline().split()))

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

print(math.floor(A * B))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from math import floor
inp = input()
a, b = inp.split()
b += '00000001'
a = int(a)
b = float(b)
b100 = int(b * 100)
ans100 = a * b100
ans = ans100 // 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:
#C
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 = int(B[0])*100+int(B[2])*10+int(B[3])

print(A*B//100)

Submission status: Accepted

Solution code:
A, B = map(str, input().split())
A=int(A)
b1=int(B[0])*100
b2=int(B[2])*10
b3=int(B[3])

ans=A*(b1+b2+b3)
print(ans//100)

Submission status: Accepted

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

print(int(dec_a * dec_b))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B = input().split()
A = int(A)
# B = int(B.replace(".", ""))
B = (int(B[0]) - 0) * 100 + (int(B[2]) - 0) * 10 + (int(B[3]) - 0)
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:
import math
import decimal

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

Submission status: Accepted

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

import math
from fractions import Fraction

def main():
    a, b = input().split()
    a = int(a)
    b = Fraction(b)
    print(math.floor(a*b))

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

decA = Decimal(A)
decB = Decimal(B)
print(int(decA * decB))

Submission status: Accepted

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import decimal

a, b = input().split()

a = decimal.Decimal(a)
# print(b)
b = decimal.Decimal(b)
# print(b)

print(int(a*b))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

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

print(math.floor(x))

Submission status: Accepted

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

main()

Submission status: Accepted

Solution code:
i=input().split()
i[0]=int(i[0])
i[1]=int(float(i[1])*100+0.01)
print(int(i[0]*i[1]//100))

Submission status: Accepted

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

ans = b*c // 100
print(int(ans))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
a=input().split()
x=int(a[0])
y=float(a[1])

bz=round(y*100)
ans= x * bz // 100

print(math.floor(ans))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# Problem C - Multiplication 3

import math

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

# initialization
b_1 = int(B[0])
b_2 = int(B[2])
b_3 = int(B[3])
tmp_1 = A * b_1 * 100
tmp_2 = A * b_2 * 10
tmp_3 = A * b_3
ans = math.floor((tmp_1 + tmp_2 + tmp_3) // 100)

# output
print(ans)

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
import sys
input = lambda: sys.stdin.readline().rstrip()


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
# Your code here!
from decimal import Decimal
a, b = input().split()
a = Decimal(str(a))
b = Decimal(str(b))
c = str(a * b)
index = c.find('.')
print(c[:index])

Submission status: Accepted

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

print(int(Decimal(A) * Decimal(B)))

Submission status: Accepted

Solution code:
import math
from collections import defaultdict
ml=lambda:map(float,input().split())
ll=lambda:list(map(int,input().split()))
ii=lambda:int(input())
ip=lambda:list(input())

"""========main code==============="""

a,b=input().split()
a=int(a)
b_=""
for i in str(b):
    if i!='.':
        b_+=i
      
b_=int(b_)
a*=b_
print(int(a//100))

Submission status: Accepted

Solution code:
from decimal import Decimal
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 = 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())

sum=A*B

print(int(sum))

Submission status: Accepted

Solution code:
# C - Multiplication 3
A,B = input().split()
A = int(A)
B = int(100*float(B)+0.001)
print((A*B)//100)