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: Wrong Answer

Solution code:
import math

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

# ans = math.floor(a * b)
ans = int(int(a) * b)

print(ans)

Submission status: Wrong Answer

Solution code:
a,b=map(float,input().split())
ans=a*b
s=str(ans)
a=s.split('.')
ans=a[0]
print(int(ans))

Submission status: Wrong Answer

Solution code:
from decimal import Decimal,ROUND_FLOOR
a,b = map(float,input().split())
s = a*b
x = Decimal(str(s))
y= x.quantize(Decimal('0'),rounding=ROUND_FLOOR)
print(y)

Submission status: Wrong Answer

Solution code:
import math

a,b=input().split()
a=int(a)
b=math.floor(float(b)*10**2)/10**2
#print(a,b)
print(math.floor(a*b))

Submission status: Wrong Answer

Solution code:
def main():

    A, B = input().split()
    A = int(A)
    B = float(B)
    B *= 100
    B = int(B)
    v = A * B
    return int(0.01 * A * B)

if __name__ == '__main__':
    print(main())

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
#N=int(input())
A,B = map(float,input().split())
#N=int(input())
#A = list(map(int,input().split()))
#S=str(input())
A=int(A)

c=A*B
print(math.floor(c))

Submission status: Wrong Answer

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

a, b = map(float, input().split(' '))

res = str(int(a*b*100))
if len(res) <= 2:
    res = '0'
else:
    res = res[:-2]

print(res)

Submission status: Wrong Answer

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

c = Decimal(a * b)

d = int(c)

print(d)

Submission status: Wrong Answer

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

ans = a * b
# ans = seki / (10**15)
print(int(ans))

Submission status: Wrong Answer

Solution code:
a,b = input().split()
a = int(a)
b = b.replace(".", "")
ans = 0
for i in range(len(b)):
    k = int(b[i])
    ans += a * k *(10**(-1*i))
print(int(ans))

Submission status: Wrong Answer

Solution code:
import math

def main():
  A, B = list(map(str, input().split()))
  A = int(A)
  d, f = B.split('.')
  d = int(d)

  ans = 0

  ans += A * d

  for i, e in enumerate(f):
    f = int(e)
    if(A * f >= 10 ** i):
      s = str(A * f)
      ans += int(s[:len(s) - i - 1])

  print(ans)



if __name__ == "__main__":
  main()

Submission status: Wrong Answer

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

print(math.floor(B* A/ 10* 10))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
Aa,Ba = input().split()
B = float(Ba)*100
A = float(Aa)
print(int(A*B)//100)

Submission status: Wrong Answer

Solution code:
a = 10 ** 14
b = 0.01

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

Submission status: Wrong Answer

Solution code:
a,b=input().split(' ')
a=int(a)
b=float(b)
b=int(b*100)
bb=b//100
bbb=b%100
ans=a*bb+(a*bbb)//100
print(ans)

Submission status: Wrong Answer

Solution code:
a, b = map(float, input().split())
a = int(a)
c = 1000 - b * 100

ans = a * 1000 - a * c
ans /= 10
ans = int(ans)
print(ans)

Submission status: Wrong Answer

Solution code:
import math

A,B = map(float, input().split())

A = int(A)

print(math.floor(A*B))

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!
import math
line = list(map(float,input().split()))
a=float(line[0])
b=float(line[1])
print(math.floor(a*b))

Submission status: Wrong Answer

Solution code:
import math
a, b = map(float, input().split())
print(math.trunc(a*b))

#100000012011234 9.99

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
#from decimal import *
a,b = map(float, input().split())
int(a)
b = b*100
int(b)
#b_i = float(b - math.floor(b))
#print(b_i)
ans = a*b
#Decimal(ans)
#ans_i = math.floor(a*b_i)
# ans = math.floor(Decimal(a)*Decimal(b))
print(int(ans//100))

Submission status: Wrong Answer

Solution code:
S = input().split()
print(int(float(S[0]) * float(S[1])))

Submission status: Wrong Answer

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


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

    a,b = input().split()

    A = int(a)
    B = float(b)

    IB = int(B*100)

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


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
N = list(input().split())

A = N[0]
dig_A = len(A)
B = N[1]

ans = 0
for i in range(dig_A):
    tmp1 = float(A[i])
    tmp2 = float(B) 
    tmp = tmp1*tmp2
    for j in range(dig_A-i-1):
      tmp = tmp*10
    ans = ans + tmp
    
ans = int(ans)
print(ans)

Submission status: Wrong Answer

Solution code:
A, B = open(0).read().split()
A = int(A)
B = float(B)

from math import floor
print(floor(A * B))

Submission status: Wrong Answer

Solution code:
import math

line = input().rstrip()
line = line.split(' ')
A = int(line[0])
B = float(line[1])

C = A * B
print(math.floor(C))

Submission status: Wrong Answer

Solution code:
import math
from decimal import *
getcontext().prec = 28
a,b=map(float, input().split())
b = b*100
#print(round(Decimal(Decimal(a)*Decimal(b))))
print(math.floor(Decimal(a)*Decimal(b)/Decimal(100)))

Submission status: Wrong Answer

Solution code:
import math

AB = input().split()
A = int(AB[0])
B = float(AB[1])

print(math.floor(A*B))

Submission status: Wrong Answer

Solution code:
import math
num = list(map(float,input().split(" ")))

ans = math.floor(num[0]*num[1])

print(ans)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import numpy as np
Mul = np.prod(list(map(float, input().split())))
print(int(Mul))

Submission status: Wrong Answer

Solution code:
s = input().split()
A = int(s[0])
B = float(s[1])
print(str(int(A*B)))

Submission status: Wrong Answer

Solution code:
A,B = map(float,input().split())
num = str(A*B)
ans = ''

for i in range(len(num)):
  if num[i] == '.':
    break
  ans += num[i]
print(ans)

Submission status: Wrong Answer

Solution code:
import math
a,b = input().split()
print( math.trunc(float(a)*float(b)))

Submission status: Wrong Answer

Solution code:
from math import trunc
N = input().split()

if 0 <= int(N[0]) <= pow(10, 15) and 0 <= float(N[1]) < 10 and len(N[1].rsplit('.')[-1]) == 2:
    S = int(N[0])*float(N[1])
    print(trunc(S))
else:
    print("change your input")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print((int)(a*b))

Submission status: Wrong Answer

Solution code:
import math

inputList = input().split()
a = int(inputList[0])
b = float(inputList[1])
print(math.floor(a*b))

Submission status: Wrong Answer

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

a, b = map(float,input().split())
c = int(b * 100)
d = a * c

print(int(d/100))

Submission status: Wrong Answer

Solution code:

import math

A = list(map(float, input().split()))

A[1]=A[1]*100
answer=A[0]*A[1]
answer=answer//100
print(math.floor(answer))

Submission status: Wrong Answer

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

# if A > 100:
#     B *= 100
#     ans = int(A) * int(B)
#     ans = ans//100
#     print(ans)
# else:
#     ans = A*B
#     # print(ans)
#     print(int(ans))

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

Submission status: Wrong Answer

Solution code:
# = int(input())
A, B = map(float, input().split())
# = list(map(int, input().split()))
# = [int(input()) for i in range(N)]
# = [list(map(int, input().split())) for i in range(N)]

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

AB = int(A*Bh/100)

print(AB)

Submission status: Wrong Answer

Solution code:
A,B=map(float,input().split())
A=int(A)
intB=int(B)
B_0=B-intB
B_0=round(B_0,2)
ans=A*intB+A*B_0
print(int(ans))

Submission status: Wrong Answer

Solution code:
import math

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

print(math.floor(a*b))

Submission status: Wrong Answer

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

a = int(A)
b = int(B[0])
b2 = int(B[2:4])
#print(b)
#print(b2)
#print(b)
if b == 0:
    print(0)
    exit()

b3 = b*100
bb = b3 + b2
tmp = a*bb
#print(a*b)

ans = str(tmp)

print(ans[:-2])

Submission status: Wrong Answer

Solution code:
import math

af, bf = map(float, input().split())
a = int(af)
#a2 = int(10**15 - 1)
bi = int(bf * 100)
#print(a2)
#print(bi)
#print(a2*bi)
#print(a2*bi/100)
print(int(math.floor(af*bi/100)))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = input().split()
a = int(a)
b_list = [x for x in b]
b_list[1:2] = []
goukei = 0
cnt = 1
for i in b_list:
    b = int(i)
    kei= a * b
    kei = kei // cnt
    goukei += kei
    cnt *= 10
print(goukei)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

c = (a*b)
print(round(c))

Submission status: Wrong Answer

Solution code:
from decimal import Decimal
one, two = map(float, input().split())
result = Decimal(one) * Decimal(two)

print(int(result))

Submission status: Wrong Answer

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


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

Submission status: Wrong Answer

Solution code:
import math

a = input().split()
c = int(a[0])
d = float(a[1])
print(math.floor(c*d))

Submission status: Wrong Answer

Solution code:
s = input()
A = s.split()[0]
A = int(A)
B = s.split()[1]
B = float(B)
T = A*B
T = str(T)
if A==0 or B==0.0:
    print(0)
else:
    print(T.split('.')[0])

Submission status: Wrong Answer

Solution code:
import math

a,b = map(float, input().split())  #3個の数字の入力を受け取る
print(math.floor(a*b))

Submission status: Wrong Answer

Solution code:
import operator,numpy,math
A,B = map(float,input().split())
ANS = numpy.float64(operator.mul(A, B))
print(math.floor(ANS))

Submission status: Wrong Answer

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

# print(a,b)
# print(math.floor(a*b))
# x = a * (b*100)
# print(math.floor(x//10-))
y = Decimal(a) * Decimal(b)
# print(Decimal(a) * Decimal(b))
# y = x//100
print(int(y))

Submission status: Wrong Answer

Solution code:
from math import floor
import numpy as np
inputs = input().split()
multiple = np.int64(inputs[0]) * np.float64(inputs[1])

multiple_str = str(multiple)
if '.' in multiple_str:
    ans = multiple_str.split('.')[0]
else:
    ans = multiple_str

print(ans)

Submission status: Wrong Answer

Solution code:
ab = input('')
a = int(ab.split(' ')[0])
b = float(ab.split(' ')[1])
b=int(b*100)
result =  int(a*b/ 100)
#print(a*b)
print(result)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

A, B=map(float,input().split())

print(math.floor(A*B))

Submission status: Wrong Answer

Solution code:
a,b = input().split()
a = int(a)
b = eval(b)
c = a*b
c = int(c)
print(c)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
import math

input = sys.stdin.readline
A, B = input().rstrip().split()

def main():
    result = int(A) * (float(B) * 100)
    return result // 100

ans = main()
print(int(ans))

Submission status: Wrong Answer

Solution code:
import math

a, b = map(str, input().split())
ans = 0
ans_X = []
b_float = float(b)

for i in range(len(a)):
    if i == 0:
        ans += int(a[-(i+1)])*b_float*10**i
    elif i == 1:
        ans += int(a[-(i+1)])*b_float*10**i
        ans = math.floor(ans)
    else:
        ans += int(a[-(i+1)])*b_float*10**i
        if len(str(int(ans))) < (i-1):
            ans_X.append(0)
        else:
            ans_X.append(str(int(ans))[-(i-1)])

if len(a) > 2:
    print(str(int(ans))[:2], end="")
    for i in range(len(ans_X)):
        print(ans_X[-(i+1)], end="")
    print("")
else:
    print(math.floor(ans))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b=input().split(' ')
a=int(a)
b=float(b)
print(int(a*b))
b=int(b*100)
bb=b//100
bbb=b%100
ans=a*bb+(a*bbb)//100
print(ans)

Submission status: Wrong Answer

Solution code:
a,b=input().split()
a1=int(a)
b1=float(b)
ans=int(a1*b1)
print(ans)

Submission status: Wrong Answer

Solution code:
from decimal import *
a, b = map(float, input().split())
if a >= 100:
	print(int(a * b))
else:
	res = 0
	while(a):
		res += b
		a -= 1
	print(int(res))

Submission status: Wrong Answer

Solution code:
a, b = map(float, input().split())
a = int(a)
c = 1000 - b * 100

ans = a * 10 - a * c
ans /= 10
ans = int(ans)
print(ans)

Submission status: Wrong Answer

Solution code:
import math

arr = list(map(float, input().split()))

answer = arr[0]*arr[1]

print(math.floor(answer))

Submission status: Wrong Answer

Solution code:
import math 
num = input().split()
a = int(num[0])/100
print(math.floor(a*100*float(num[1])))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print((a*b)//100)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b = map(float,input().split())
print(int(a*b),end=" ")

Submission status: Wrong Answer

Solution code:
x,y = map(float,input().split())
import math
x=int(x)
val_floor = math.floor(x*y)
print(int(val_floor))

Submission status: Wrong Answer

Solution code:
import math
hoge = list(input().split())
A = int(hoge[0])
B = int(float(hoge[1])*100)
ans = int((A*B)*0.01)
print(ans)

Submission status: Wrong Answer

Solution code:
def main():
    a, b = map(float, input().split())
    res = round(a) * round(b, 2)
    print(int(res))

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import *

A,B = input().split()

if int(A)==0:
    i_a=0
    s_a=0.
else:
    i_a = len(A)-1
    s_a = int(A)*10.**(-(i_a))

c = s_a * float(B)
if c < 10.:
    s_c = Decimal(str(c)).quantize(Decimal(str(10**(-i_a))),rounding=ROUND_DOWN)
    answer = float(s_c)* 10**(i_a)
else:
    s_c = Decimal(str(c*0.1)).quantize(Decimal(str(10**(-i_a-1))),rounding=ROUND_DOWN)
    answer = s_c * 10**(i_a+1)

print(int(answer))

Submission status: Wrong Answer

Solution code:
import math

#入力をNに代入する
N = input()

# スペースで区切り処理
inputs = N.split(' ')

#float型でAとBに代入する
A = int(inputs[0])
B = float(inputs[1])

final = A * B

print (math.floor(final))

Submission status: Wrong Answer

Solution code:
li = list(map(float,input().split()))
print(int((li[0]*li[1])))

Submission status: Wrong Answer

Solution code:
import math

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

result = int(a) * float(b)

print(math.floor(result))

Submission status: Wrong Answer

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






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

Submission status: Wrong Answer

Solution code:
a, b = input().split()
print(int(round(abs(int(a)*float(b)-0.5),0)))

Submission status: Wrong Answer

Solution code:
import math
Aa,Ba = input().split()
B = int(float(Ba)*100)
A = int(Aa)
print(A*B//100)

Submission status: Wrong Answer

Solution code:
import math
l=input().split()
a=int(l[0])
b=float(l[1])
 
print(math.floor(a*b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys, math
def main():
    s = list(input().split())
    a = int(s[0])
    b = float(s[1])
    y,x = math.modf(b)
    x = int(x)
    y = int(y*100)
    print(a*x + math.floor(a*y/100))
    
if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
import math

def main():
    A,B=map(str, input().split(" "))
    A = int(A)
    B = int(B.replace(".", ""))
    A_B_mul = A * B
    
    #print(A_B_mul)
    print(math.floor(A_B_mul / 100))
    
if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
import math

r = list(map(float,input().split()))

x = r[0] * r[1]

x = math.floor(x)

print(x)

Submission status: Wrong Answer

Solution code:
from math import floor

print(floor(eval(input().replace(" ","*"))))

Submission status: Wrong Answer

Solution code:
N = input().split()
A = int(N[0])
B = float(N[1])
print(int(A*B))

Submission status: Wrong Answer

Solution code:
import math
AB = input().split()
a,b= int(AB[0]),float(AB[1])
digit = 3
digit10 = 10 ** (digit -1)
b = math.floor(b*digit10)/digit10
print(math.floor(a*b))

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

Solution code:
ab = list(map(float, input().split()))

a = int(ab[0])
b = float(ab[1])


c = int(b * 100)

q = a * c

y = q / 100

print(int(y))

Submission status: Wrong Answer

Solution code:
A, B = map(float,input().split())
res = A * B
print(int(res))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


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

Submission status: Wrong Answer

Solution code:
a,b = map(str, input().split())
result = int(a)*int(float(b))
result += int(int(a)*(float(b)-int(float(b))))

print(int(result))

Submission status: Wrong Answer

Solution code:
A, B = input().strip().split(" ")
A = int(A)
BZ, d1, d2 = int(B[0]), int(B[2]), int(B[3])
result = 0
result += A * BZ

if A >= 10:
    AZ = int(str(A)[:-1])
    Ad = int(str(A)[-1])
else:
    AZ = 0
    Ad = A

result += AZ * d1 + int(Ad * d1 / 10)

if A >= 100:
    AZ = int(str(A)[:-2])
    Ad = int(str(A)[-2:])
elif A >= 10:
    AZ = 0
    Ad = int(str(A)[-2:])
else:
    AZ = 0
    Ad = A

result += AZ * d2 + int(Ad * d2 / 100)

# result = A * BZ + int((A * d1) / 10) + int((A * d2) / 100)
# print(A*BZ, int(str(A * d1)[:-1]), int(str(A * d2)[:-1]))
print(result)

Submission status: Wrong Answer

Solution code:
# C
A, B = map(float, input().split())
ans = A * B
print(int(ans))

Submission status: Wrong Answer

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

import math

nums = input().split()

a = int(nums[0])
b = float(nums[1])

pdc = a * b

print(math.floor(pdc))

Submission status: Wrong Answer

Solution code:
S = input().split()
A = int(S[0])
B = float(S[1])
S = str(A * B)
l = len(S)
print(S[0:l-2])

Submission status: Wrong Answer

Solution code:
import math
i = list(map(float, input().split()))
ans=i[0]*i[1]
print(math.floor(ans))

Submission status: Wrong Answer

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

ans = A * B
print(math.floor(ans))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

A , B =list(map(float,input().split()))
c = math.floor(A * B)

print(int(c))

Submission status: Wrong Answer

Solution code:
from math import floor
a,b=map(float,input().split())
seisu=int(b)
syosu=(b-seisu)
syosu=floor(syosu*10**2)/(10**2)
syosu*=100
syosu=int(syosu)
#print(syosu)
print(int(a*seisu+a*syosu//100))

Submission status: Wrong Answer

Solution code:
import math

def main():
    a, b = map(float, input().split())
    b = b * 100
    a = int(a)
    b = int(b)
    ans = a * b
    ans = str(ans)
    if len(ans) <= 2:
        print(0)
        exit()
    ans = ans[:-2]
    ans = int(ans)
    print(ans)

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
import math

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

print(math.ceil(A*B))

Submission status: Wrong Answer

Solution code:
import math

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

n = a*b
n = n//100
print(math.floor(n))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

A = int(A)
B = float(B)
B_by100 = int(B*100)

ans_by100 = A*B_by100
ans=ans_by100//100

#A_hund = int(A//100)
#A_res = int(A-A_hund*100) 
#
#ans1 = int(A_hund * B * 100)
#ans2 = int(A_res * B) 

#ans = A*B
#ans = ans1+ans2
#ans = int(ans)
print(str(ans))

Submission status: Wrong Answer

Solution code:
from fractions import Fraction
from decimal import Decimal
[A,B] = input().split()
A = int(A)
B = Decimal(B)

print(Fraction(A)*Fraction(B))

Submission status: Wrong Answer

Solution code:
import math

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

print(math.floor(float(a*b)/100.0))

Submission status: Wrong Answer

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

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
import math
from operator import mul
from functools import reduce
A = [float(x) for x in input().split()]
print (int(math.floor(reduce(mul,A))))

Submission status: Wrong Answer

Solution code:
import math

def main():
    A,B=map(str, input().split(" "))
    A = int(A)
    B = int(B.replace(".", ""))
    A_B_mul = A * B
    
    #print(A_B_mul)
    print(int(A_B_mul / 100))
    
if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
n, m= map(float, input().split())
if (n>=0 and m>=0) and (n<0 and m<0):
    print(math.floor(n*m))
else:
    print(math.ceil(n*m))

Submission status: Wrong Answer

Solution code:
a, b = map(float, input().split())
a = int(a)
c = 10 - b

ans = int(a * 10 - a * c)
print(ans)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
from decimal import Decimal
import sys

a, b = input().split()
a = int(a)
b = float(b)
c = int(b * 100)
d=a*c
if d < 100:
    print(0)
    sys.exit()

answer = str(Decimal(d))

answer = answer[:-2]
print(answer)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

a=str(a)
a=Decimal(a)

print(math.floor(a*b))

Submission status: Wrong Answer

Solution code:
import math

i = list(map(float, input().split()))

i[0] = int(i[0])

i[1] = i[1]*100

i[0] = i[0]*i[1]

i[0] = i[0]/100

print(math.floor(i[0]))

Submission status: Wrong Answer

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

c = a*b

print(int(c))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = map(float, input().split())
a = int(a)
b = round(b, 2)
c = (a*b)%1
sum = a*b
sum = sum - c
print(int(sum))

Submission status: Wrong Answer

Solution code:
from decimal import *

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
n , m = input().split()
a = int(n)
b = float(m)
op = math.trunc(a*b)
print(op)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

A, B = input().split()
print(math.floor(int(A) * float(B)))

Submission status: Wrong Answer

Solution code:
import math
s = input().split()
a = int(s[0])
b = int(float(s[1])*100)
ans = math.floor(a*b/100)
print(ans)

Submission status: Wrong Answer

Solution code:
a, b = map(float, raw_input().split())
print int(a * b)

Submission status: Wrong Answer

Solution code:
from math import floor
A, B = map(float, input().split())
A = int(A)
B = str(B)
ans = 0
for i in range(len(B)):
    if i == 0:
        tmp = A*int(B[i])
        ans += tmp
    elif i == 2:
        tmp = A*int(B[i]) * 0.1
        ans += tmp
    elif i == 3:
        tmp = A*int(B[i]) * 0.01
        ans += tmp
print(int(ans))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = input()
A = s.split()[0]
A = int(A)
B = s.split()[1]
B = float(B)
T = A*B
T = str(T)
print(T.split('.')[0])

Submission status: Wrong Answer

Solution code:
import math as mt
A,B = map(float, input().split())
answer = A*B
print(mt.floor(answer))

Submission status: Wrong Answer

Solution code:
from decimal import Decimal

a, b = input().split()
c = Decimal(a) * Decimal(b)

if int(a) < 100:
    c = int(c)
    print('{:.0f}'.format(c))
else:
    print('{:.0f}'.format(c))

Submission status: Wrong Answer

Solution code:
import math
a, b = input().split()
c = int(a)
d = float(b)
print(math.floor(c * d))

Submission status: Wrong Answer

Solution code:
def main():
    a, b = map(float, input().split())
    res = int(a) * round(b, 2)
    print(int(res))

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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


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

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!
import math
line = list(map(float,input().split()))
a=int(line[0])
b=float(line[1])
print(math.floor(a*b))

Submission status: Wrong Answer

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

# print(a,b)
# print(math.floor(a*b))
x = a * (b*100)
# print(math.floor(x//10-))
y = x//100
print(int(y))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
d = input().split()
a = int(d[0])
b = d[1]

ans1 = a * int(b[0]) * 100
ans2 = a * int(b[2]) * 10
ans3 = a * int(b[3])

ans = int((ans1 + ans2 + ans3) * 0.01)
print(ans)

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

Solution code:
import math
if __name__ == "__main__":
    a, b = input().split()

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

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

Submission status: Wrong Answer

Solution code:
import math
a,b=list(input().split())
o=float(a)
t=float(b)
res=o*t
print(int(res))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = map(eval, input().split())
c = a * b
print(int(c // 1))

Submission status: Wrong Answer

Solution code:
n,m =map(float,input().split())
ans = n*m 
print(int(ans))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a=input().split()
A=int(a[0])
B=float(a[1])
B_int=int(B)
B_float=int(B*100)-int(B)*100
#print(B_float)

ans=A*B_int+(A*B_float)//100
#print(A*B_int,(A*B_float)//100)
print(ans)

Submission status: Wrong Answer

Solution code:
a, b=map(str, input().split())
x=int(a)
y=float(b)
print(int(x*y))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import math
A,B=map(float,input().split())
A=int(A)
#A=10**15-1
ans=math.floor(A*B)
print(int(ans))

Submission status: Wrong Answer

Solution code:
from collections import defaultdict
con = 10 ** 9 + 7; INF = float("inf")

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

#処理内容
def main():
	A, B = list(input().split())
	A = int(A)
	B = int(float(B) * 100 // 1)
	print(int(A * B // 100))


if __name__ == '__main__':
	main()