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:
a,b = map(float,input().split())
if a == 0 or b == 0:
    print(0)
    exit(0)
s = str(a*b)
print(s[:-2])

Submission status: Wrong Answer

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

C = int(A)*float(B)
s_c , i_c= str(C).split(".")
print(int(s_c))

Submission status: Wrong Answer

Solution code:
A,B = map(float,input().split( ))
B_0 = B//1
B_1 = B%1
ans_0 = round(A*B_0)
ans_1 = A*round(B_1*100)//100
print(int(round(ans_0 + ans_1)))

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 = int(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:
n,m = input().split()
n,m = int(n),float(m)
z = int(n*m)
print(z)

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+1)):
      s = str(A * f)
      ans += int(s[:len(s) - i - 1])

  print(ans)



if __name__ == "__main__":
  main()

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:
a,b=map(float,input().split())
a=round(a,0)
b=round(b,2)

import math
c=math.floor(a*b)


print(c)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
a,b = map(float,input().split())
a2=int(a)//10000000
d=int(a)%10000000
b2=int(b//1)
c= b%1
print(a2,d,b2,c)
ans = a2*b2*10000000+int(a2*c)*10000000+d*b2+int(d*c)
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

t = input().split()
A = int(t[0])
B = float(t[1])
ans = math.floor(A * B)

print(ans)

Submission status: Wrong Answer

Solution code:
import math
A, B  = input().split()
A = list(map(int, A))
B = float(B)
sum = 0
cnt = len(A) - 1
for i in A:
  # print(cnt)
  if cnt == 1 or cnt == 0:
    # print(math.floor((i * B * 10 ** cnt)))
    sum += math.floor((i * B * 10 ** cnt))
  else:
    sum += (i * B * 10 ** cnt)
  cnt -= 1
  # print(sum)
  
print(math.floor(sum))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import Decimal
import math

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


A = math.floor(aaa[0])
B = aaa[1]

'''
print(B)
print(A)
1000000000000000 0.09
'''
print(math.floor(Decimal(A * B)))

Submission status: Wrong Answer

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

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

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

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

Submission status: Wrong Answer

Solution code:
A,B=input().split()
A=int(A)
flag=1
size=len(B)
ans=0
for i in range(size):
  if B[i]==".":
    flag=0
  else:
    ans+=A*int(B[i])*10**(size-i-3-flag)
print(int(ans))

Submission status: Wrong Answer

Solution code:

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

A = int(A)

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

Submission status: Wrong Answer

Solution code:
import decimal
x=input().split()
a=int(x[0])
b=float(x[-1])
d = decimal.Decimal(b)*a
print(int(d))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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:
import math
a, b = map(float, input().split())
a = int(a)
bi = int(b)
bf = b - int(b)
ans = a*bi + int(a*bf)
print(ans)

Submission status: Wrong Answer

Solution code:
import math
A,B=list(map(str,input().split()))
A=int(A)
B=float(B)
C=int(B*100)
D=str(A*C)
D=D.rstrip()
D=D.rstrip()
print(D)

Submission status: Wrong Answer

Solution code:
a, b = input().split()
c = int(a)*float(b)
if c >=0:
  c = int(round(c-0.5,0))
else:
  c = int(round(c+0.5,0))
print(c)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

a, b = map(float, input().split(' '))
res = int(a*b)
print(res)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math as m
a,b=list(map(float,input().split()))
print(m.floor((a/10**14)*b*(10**14)))

Submission status: Wrong Answer

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

# A, B = 1000000000000000, 9.99
# A, B = 1, 1.01

xiaoshu = str(B).split(".")[1]
decimalLength = str(B).split(".")[1].__len__()

if (decimalLength == 1) and (xiaoshu == '0'):
    print(A * int(B))
else:
    B = B * 10 ** decimalLength
    res = A * int(B)
    print(int(res // (10 ** decimalLength)))

Submission status: Wrong Answer

Solution code:
import math

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

a = int(arr[0])
b = arr[1]

answer = a*b

print(math.floor(answer))

Submission status: Wrong Answer

Solution code:
text = input().split()
A = int(text[0])
if(text[1][-2] == '.'):
    B = int(text[1][:-2] + text[1][-1:])
    print(str((A * B))[:-1])
elif(text[1][-3] == '.'):
    B = int(text[1][:-3] + text[1][-2:])
    print(str((A * B))[:-2])
else:
    B = int(text[1])
    print(str((A * B)))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys, math
def main():
    s = list(input().split())
    a = int(s[0])
    b = list(s[1])
    for i in range(len(b)):
        if b[i] == '.':
            b[i] = ''
    b = int(''.join(b))
    print(math.floor(a*b/100))
    
if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

N, M = input().strip().split()
N, M = [int(N), float(M)]
M = M * 100
#print(N*M)
print(math.floor((N*M)/100.0))

Submission status: Wrong Answer

Solution code:
import math
A,B = map(int and float,input().split())
print(math.trunc(A * round(B)))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import Decimal
import math

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


A = int(aaa[0])
B = aaa[1]

'''
print(B)
print(A)
1000000000000000 0.09
'''
print(math.floor(Decimal(A * B)))

Submission status: Wrong Answer

Solution code:
import sys
import decimal
N, M = input().strip().split()
N, M = [int(N), float(M)]
N_d = decimal.Decimal(N)
M_d = decimal.Decimal(M)
NM_d = N_d * M_d
val_floor_d = NM_d.quantize(decimal.Decimal('1'), rounding=decimal.ROUND_FLOOR)
print(val_floor_d)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

alist = input().split()
a=int(alist[0])
b=float(alist[1])

bx=b*100
ba=int(bx//100)
bb=int((bx//10)-ba*10)
bc=int(bx-ba*100-bb*10)
#print(ba, bb, bc)

ab=a//10
ac=a//100
ae=a%10
ad=((a%100)-ae)//10
af=a%100

#print(ab, ac, ad, ae, af, ba, bb, bc)

kasu=(ae*bb+af*bc)//100

answer=a*ba+ab*bb+ac*bc+kasu
print(answer)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import numpy as np
import math

def resolve():
  S = input().split(" ")
  A = int(S[0])
  B = float(S[1])
  AB = np.asarray([A, B], dtype = np.float128)
  print(math.floor(AB[0]*AB[1]))

if __name__ == "__main__":
    resolve()

Submission status: Wrong Answer

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

re = l[0]*l[1]

print(int(re))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

A = int(A)
b1 = int(B[0])
b2 = int(B[2])
b3 = int(B[3])

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
A,B = map(float,input().split())
ans = 0
# 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(str, 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(float(B)*100)
A = int(A)

AB = int(A*Bh//100)

print(AB)

Submission status: Wrong Answer

Solution code:
A, B = input().split()
A = int(A)
B= int(float(B)*100)
C =A*B
C = str(C)
d = C[:-2]
print(d)

Submission status: Wrong Answer

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

C = (A * B)%100
D = ((A * B) - C)/100
D = int(D)
print(D)

Submission status: Wrong Answer

Solution code:
import math

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

sum = A*B


print(int(sum))

Submission status: Wrong Answer

Solution code:
from decimal import *

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

Submission status: Wrong Answer

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

C = int(A)*float(B)
s_c , i_c= str(C).split(".")
print(s_c)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

ans=math.floor((A*B)/100)

print(ans)

Submission status: Wrong Answer

Solution code:
#C
import math
a,b = map(float,input().split())
c = (a*b).hex()
print(math.floor(float.fromhex(c)))

Submission status: Wrong Answer

Solution code:
a,b=input().split()
a = int(a)
b = int(float(b)*100)
ans = a*b
from math import gcd
n = 100
g = gcd(ans,n)
while g != 1:
    ans //= g
    n //= g
    g = gcd(ans,n)
print(ans//n)

Submission status: Wrong Answer

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

val = (a * b) / 100

val = int(math.floor(val))

print(val)

Submission status: Wrong Answer

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

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.0)))

Submission status: Wrong Answer

Solution code:
A,B = input().split()
D = float(B)
if type(D) is float:
    B,C = B.split(".")
else:
    C = 0
A = int(A)
B = int(B)
C = int(C)

s = A*B
t = 0

if C>=10:
    t = A*C//100
elif C>=1:
    t = A*C//10
print(s+t)

Submission status: Wrong Answer

Solution code:
s = input()
l = s.split(' ')
ans = int(l[0]) * float(l[1])
print(int(ans))

Submission status: Wrong Answer

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

ans = int(l[0]) * int(float(l[1])*100.)

print(int(ans/100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

ans = Decimal(a) * Decimal(b)

print(int(ans // 1))

Submission status: Wrong Answer

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

A = float(x[0]/(10**8))
B = float(x[1]*(10**8))


#print(A*B)

print(int(A*B))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

ans = a*b
t = str(ans)
q = t.split(".")
print(int(q[0]))

Submission status: Wrong Answer

Solution code:
from decimal import *
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
    ans = float(Decimal(str(ans)).quantize(Decimal('3'), ROUND_DOWN))
print(int(ans))

Submission status: Wrong Answer

Solution code:
def m(n):
  if len(n) == 1:
    return n[0]*100
  elif len(n) == 3:
    return int(n[0])*100 + int(n[2])*10
  elif len(n) == 4:
    return int(n[0])*100 + int(n[2])*10 + int(n[3])

l = list(input().split())
print(int(int(l[0]) * m(l[1])/100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B = map(float,input().split())
B += 10**(-14)
print(int(A*B))

Submission status: Wrong Answer

Solution code:
import math
import numpy as np

def main():
    a = list( map( float, input().split()))
    #print(a)
    s = a[0]*a[1]
    print(int(s))
    
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
from decimal import Decimal
import math

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


A = aaa[0]
B = aaa[1]

'''
print(B)
print(A)
1000000000000000 0.09
'''
print(math.floor(Decimal(A * B)))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

print(res)

Submission status: Wrong Answer

Solution code:
import math as m
a,b=list(map(float,input().split()))
print(m.floor(a/10**15*b*10**15))

Submission status: Wrong Answer

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

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+int(A*B_0)
print(ans)

Submission status: Wrong Answer

Solution code:

num = list(map(float,input().split(" ")))

ans = int(num[0]*num[1])

print(ans)

Submission status: Wrong Answer

Solution code:
input_ = input()
input_list = input_.split(" ")
A, B = int(input_list[0]), float(input_list[1])
B_str = str(B)
B_int = int(B_str[0])
B_float = float(B_str[2:4]) / 100
print(int(A * (B_int + B_float)))

Submission status: Wrong Answer

Solution code:
a,b=input().split()
c=int(int(a)*int(float(b)*100))
c=str(c)
c=c[:-3]
print(c)

Submission status: Wrong Answer

Solution code:
#from pprint import pprint
#from collections import deque
#from collections import defaultdict
#from collections import Counter
#from copy import deepcopy
#from itertools
#from bisect import bisect_right #二分探索用のモジュール bisect_right(a_list,value)

#import sys 
#sys.setrecursionlimit(N) #N回まで再起を許可する。

# = map(int,input().split())

# = list(map(int,input().split()))

# = [list(map(int,input().split())) for _ in range(XXXX)]

a,b = input().split()

a = int(a)
b = float(b)
b_seisu = int(b)
b_syosu = int(b*100 - b_seisu*100)


seisu = a * b_seisu
syosu = a * b_syosu // 100

print(seisu+syosu)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = input().split(" ")
g = int(a[0])
s = float(a[1])
print(round(g * s))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

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

print(int(a*b))

Submission status: Wrong Answer

Solution code:
A,B = map(float,input().split( ))
B_0 = B//1
B_1 = B%1
ans_0 = round(A*B_0)
ans_1 = A*round(B_1*100)//100
print(int(ans_0 + ans_1))

Submission status: Wrong Answer

Solution code:

from decimal import *
A,B = map(float,input().split())
num = str(Decimal(A*B))
ans = ''

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

Submission status: Wrong Answer

Solution code:
import math

a,b=input().split()

a=float(a)
b=float(b)

print(math.floor(a*b))

Submission status: Wrong Answer

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

print(int(round(c*d,0)))

Submission status: Wrong Answer

Solution code:
import math

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

# A *= 100
B = float(B)
B = math.floor(B * 100)

AB = A * B / 100
floored = int(math.floor(AB))
print(floored)

# AB = A * B
# AB = str(AB)
# AB = AB[0:-2]
# AB = 0 if AB == '' else AB
# print(AB)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
text = input().split()
A = int(text[0])
if(text[1][-2] == '.'):
    B = int(text[1][:-2] + text[1][-1:])
    print(str((A * B))[:-1])
    ERROR
elif(text[1][-3] == '.'):
    B = int(text[1][:-3] + text[1][-2:])
    print(str((A * B))[:-2])
else:
    ERROR

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
from math import floor
import fractions
A=list(map(float,input().split()))
a=int(A[0])
b=float(A[1])
ans=math.floor(a*b)
print(int(ans))

Submission status: Wrong Answer

Solution code:
A,B = [ x for x in input().split()]
A = int(A)
B = float(B)
result = int(A*B)
print(result)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import decimal
A,B = map(str,input().split())
A = int(A)
B = float(B)

ans = decimal.Decimal(A*B)
a = ans.quantize(decimal.Decimal('0'), rounding=decimal.ROUND_FLOOR)
print(a)

Submission status: Wrong Answer

Solution code:
import sys
#import time
import copy
#from collections import deque, Counter, defaultdict
#from fractions import gcd
#import bisect
import math
input = sys.stdin.readline
sys.setrecursionlimit(10**8)
inf = 10**20
ri = lambda : int(input())
rs = lambda : input().strip()
rl = lambda : list(map(str, input().split()))
a,b = rl()
a = int(a)
b = float(b)

a_small=(a%100)
a_big =(a-a_small)
b_big =int(b)
b_small = b-b_big

print(int(a_big*b_big)  +int(a_small*b_big) +
      int(a_small*b_small) + (int(a_big/100)*int(b_small*100)))

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(int('{:.0f}'.format(c)))

Submission status: Wrong Answer

Solution code:
import math
a, b = map(float, input().split())
a = int(a)
bi = int(b)
bf = b - int(b)
print(a*bi+math.floor(a*bf))

Submission status: Wrong Answer

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

A = int(A)
B = float('{:.2f}'.format(B))
ans = A * B

print(int(ans))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

b = math.floor(b*100)
b = int(b)
ans = a * b
ans = int(ans)
amari = ans % 100
ans = ans - amari
ans = math.floor(ans)
ans = ans / 100
print(math.floor(ans))

Submission status: Wrong Answer

Solution code:
import math


a, b = input().split()

c = int(a) * float(b)
print(math.floor(c))

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
c=str(c)
print(c[:-4])

Submission status: Wrong Answer

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

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:
import math
a,b=input().split()
tmp = float(b)*100
ans = int(a) * int(math.floor(tmp))
#print(ans)

ans = str(ans)
l = len(ans)

if l < 3:
    print(0)
else:
    print(int(ans[:l-2]))

Submission status: Wrong Answer

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

a = int(s[0])
b = int(float(s[1]) * 100)

print(int(a * b / 100))

Submission status: Wrong Answer

Solution code:
import math
from fractions import Fraction

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

b = Fraction(b)


print(math.floor(a * b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
import math

a, b = input().split()

a = int(a)
b = float(b)

ans = math.floor(a * b)

print(ans)

Submission status: Wrong Answer

Solution code:
a,b = map(float,input().split())
s = str(a*b)
print(s[:-2])

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

Submission status: Wrong Answer

Solution code:
import math
a,b = map(float,input().split())
check, ans = math.modf(a*b)
ans += math.isclose(check,1)
print(int(ans))

Submission status: Wrong Answer

Solution code:
import math
from decimal import *
getcontext().prec = 100
a,b=input().split()
a=int(a)
b=float(b)
if a>100:
    b=round(b*100)
    a=a//100
    A=a*b
else:
    A=round(a*b)
print(math.floor(A))

Submission status: Wrong Answer

Solution code:
x,y=input().split()
x=(int)(x)
y=(float)(y)
z=x*y
z=(int)(z)
print(z)

Submission status: Wrong Answer

Solution code:
import sys
readline = sys.stdin.buffer.readline
sys.setrecursionlimit(10 ** 8)
INF = float('inf')
MOD = 10 ** 9 + 7


def main():

    A, B = map(float, readline().split())
    C = int(A)
    D = int(B*100)
    print(C*D//100)
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import sys
#import numpy as np
import math
#from fractions import Fraction
#import itertools
#from collections import deque
#import heapq
#from fractions  import gcd
a,b=input().split()
a=int(a)
b=float(b)
b=int(b*100)
ans=str(a*b)
n=len(ans)
if n>2:
  print(int(ans[:n-2]))
else:
  print(0)

Submission status: Wrong Answer

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

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

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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:

import math

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

A[1]=A[1]*100
answer=A[0]*A[1]
answer=answer//100
print(int(answer))

Submission status: Wrong Answer

Solution code:
try:
    
    A,B=input().split(' ')
    
    A_int=float(A)
    B_float=float(B)
    
    if A_int>=0 and A_int<=10**15 and B_float>=0 and B_float<10:
        
        if len(B.rsplit('.')[-1]) == 2 and A_int.is_integer():
            print(int(A_int*B_float))
    
    
except Exception as e:
    print(e)

Submission status: Wrong Answer

Solution code:
from sys import *
import math
things = stdin.readline().split()
hue = float(things[1]) - int(float(things[1]))
big = int(float(things[1])) * int(things[0])
small = int(things[0]) * hue
print(math.trunc(small) + big)

Submission status: Wrong Answer

Solution code:
i = input().split()
A = int(i[0])
B = float(i[1])
BB = B * 100

C = (A * BB) // 100
print(int(C))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = map(float, input().split())
a = int(a)
b = int(b * 100)
if a == 0 or b == 0:
    print(0)
else:
    print((a * b) // 100)

Submission status: Wrong Answer

Solution code:
a,b = map(float, input().split())
for i in range(11):
    if i <= b <i+1:
        c = int(i)
        d = int(100 * (b - i))
        break
        
e = int(a) * int(c)
f = int(a) * int(d)
g = f //100
h = e + g
print(h)

Submission status: Wrong Answer

Solution code:
#import math
a, b = map(str, input().split())
a = int(a)
b = float(b)
#ans = math.floor(a * b)
ans = (a * b) // 1
ans1 = int(ans)
print(ans1)

Submission status: Wrong Answer

Solution code:
from decimal import Decimal
#import math

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


A = aaa[0]
B = aaa[1]

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

Submission status: Wrong Answer

Solution code:
def slove(a, b):

    return int(int(a) * float(b))


if __name__ == "__main__":
    a, b = [i for i in input().split()]
    print(slove(a, b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

print(A*B//100)

Submission status: Wrong Answer

Solution code:
n=input().split()
a=int(n[0])
b=float(n[1])
ans=a*b
print(int(ans))

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())
res=float(a*b)
print(math.trunc(res))

Submission status: Wrong Answer

Solution code:
def main():
    a, b = input().split()
    cnt = 1
    a = int(a)
    while True:
        if a % 10 == 0:
            a /= 10
            cnt += 1
        else:
            break

    b = float(b)
    #print(a, b, a*b)
    ans = int(a * b) * (10 ** cnt)
    print(ans)


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

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

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

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

Submission status: Wrong Answer

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

n = 1
if '.' in b:
    if b[-2] == '.':
        n = 10
    elif b[-3] == '.':
        n = 100
    b = b.replace('.', '')
b = int(b)
print(math.floor(a*b/n))

Submission status: Wrong Answer

Solution code:
import math
a,b = map(float,input().split())
a2=int(a)
b2=int(b//1)
c= b%1
print(a2,b2,c)
ans = a2*b2+int(a2*c)
print(ans)

Submission status: Wrong Answer

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

print(int(x*y))

Submission status: Wrong Answer

Solution code:
import math
S=input().split()

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

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

Submission status: Wrong Answer

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

a = int(a)
b = math.floor(b*100)
ans = math.floor(a*b/100)

print(ans)

Submission status: Wrong Answer

Solution code:
import math

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

print(math.floor(a*b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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