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())
#print(A)
#print(B)

C = int(A) * B
mul = int(C)

if A == 0 or B == 0:
    print("0")

else:
    print(mul)

Submission status: Wrong Answer

Solution code:

a, b = input().strip().split()
a = int(a)
print(b.split("."))
b=b.split(".")
b1=int(b[0])*100 + int(b[1])
print(a*b1//100)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

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

print(math.floor(A*B))

Submission status: Wrong Answer

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

if A*B < 1:
  print(0)
elif A >10000:
  print(int(A*B))
else:
  print(int(A*B))

Submission status: Wrong Answer

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

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

B = B * 100
B = int(B)

ans = A * B

ans = str(ans)

print(ans[0:-2])

Submission status: Wrong Answer

Solution code:
A, B = input().split()
A = int(A)
B = float(B)
if float(B) >= 1:
    print(int(A * B))
elif 1 > float(B) > 0:
    print(0)

Submission status: Wrong Answer

Solution code:
import math

def main():
    a, b = map(float, input().split())
    a = int(a)
    b = math.floor(b * 100 / 100)
    ans = int(math.floor((a * b) * 100 / 100))

    print(f'{ans}')


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import *
getcontext().prec = 50

import math
A, B = map(float, input().split())
print(int(Decimal(A)*Decimal(B)))

Submission status: Wrong Answer

Solution code:
import sys
import math
imput=sys.stdin.readline
a,b = input().split()
a= int(a)
b=float(b)


print(math.floor(a*b))

Submission status: Wrong Answer

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

a = math.floor(a)

print(a)

Submission status: Wrong Answer

Solution code:
from fractions import Fraction
a,b=map(float,input().split())
a=int(a)
bigb=int(b*100)
a_front=a//100
a_back=a-a_front*100
#print(a,b,bigb,a_front,a_back)

ans_front=a_front*bigb
ans_back=a_back*b
ans_back=int(ans_back//1)
print(ans_front+ans_back)

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:
a, b = input().split()
a = int(a)
b = float(b)
ab = a * b
ab = str(ab).split(".")
ab = int(ab[0])
print(ab)

Submission status: Wrong Answer

Solution code:
def main():
    A,B=map(str, input().split(" "))
    A = int(A)
    if len(B.split(".")[1]) == 2:
        B = int(float(B) * 100)
        mul_AB = A * B
        if mul_AB < 100:
            print(0)
        else:
            print(str(mul_AB)[:-2])

    
if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
import math

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

if isinstance(B,int):
    B = int(B)
else:
    B = float(B)
print(math.floor(A*B))

Submission status: Wrong Answer

Solution code:
a=list(input().split())
x=int(a[0])
y=float(a[1])
z=x*y
print(int(z))

Submission status: Wrong Answer

Solution code:
# import math
# import fractions

inp = list(input().split())

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

if A == 0 or B == 0:
    print(0)

# print(type(A))
# print(type(B))

# print(A, B)

ans = A * B

# print(type(ans))

# print(math.floor(ans))
print(int(ans))

Submission status: Wrong Answer

Solution code:
a,b= map(float, input().split())
# import random
# import numpy as np
# a = random.randint(1,1000000000000000)/100
# b = random.randint(1,1000)*100
a /= 100
b *= 100
# print(a,b)
# t = a*b
# print(t)
# print(t/b)
print(int(a*b))

Submission status: Wrong Answer

Solution code:
import math


A,B=input().split()
A=int(A)
B=float(B)
B1=int(B*100)
Ans=A*B1
Ans=Ans//100
print(int(Ans))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
l = input().split()
a = int(l[0])
b = int(float(l[1])*100.)
ans = a * b
aans = str(ans)[:-2]

print(aans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
a,b = [str(i) for i in input().split()]

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

Submission status: Wrong Answer

Solution code:
a, b = map(float, input().split())
if a < 100000:
    print(int(a*b))
else:
    num = str(int(a * b))
    a = int(a)
    a = str(a)
    a = str(a[-3:])
    a = int(a)
    t = a * b
    t = int(t)
    t = str(t)
    print(num[:-1] + t[-1])

Submission status: Wrong Answer

Solution code:
a,b=map(float,input().split())
c=a*b
f=str(c).index(".")
p=str(c)[0:f]
print(int(p))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
import math
def get_array(): return list(map(int,sys.stdin.readline().strip().split()))
def get_ints(): return map(int,sys.stdin.readline().strip().split())
def input(): return sys.stdin.readline().strip()
a,b=input().split()
c=int(a)
d=float(b)
e=d*100 
f=(c*e)//100
print(int(f))

Submission status: Wrong Answer

Solution code:
a,b=map(float,input().split())
a = int(a)
def fl(x):
    digits = 3
    form = '%.'+str(digits-1)+'e'
    return float((form % x))
b = fl(b)

print(int(a*b))

Submission status: Wrong Answer

Solution code:
from decimal import *
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=Decimal(A*B_int)+Decimal(((A*B_float)//100))
#print(A*B_int,(A*B_float)//100)
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import itertools
import copy
from collections import deque
import heapq
ab = input().split()
A = int(ab[0])
B = int(float(ab[1])*100)
ans = (A*B)//100
print(ans)

Submission status: Wrong Answer

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

ans = str(ans)

if "." in ans:
    print(ans.split()[0])
else:
    print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
import math

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

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

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

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

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(int(ans))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
a,b=list(map(float,input().split()))
c=a*b
ans=math.floor(c)
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
if ans - int(ans) >= 0.9:
    print(int(ans) + 1)
else:
    print(int(ans))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

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


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

#print(B)
ans = []
p = [[]for k in range(len(B))]
for k in range(len(B)):
    for j in range(k):
        p[k].append(0)
for k in range(1, len(B)+1):
    a = 0
    for j in range(1, len(A)+1):
        if a > 9:
            a = int(str(a)[0]) + int(B[-k])*int(A[-j])
        else:
            a = int(B[-k])*int(A[-j])
        #print(a)

        p[k-1].append(int(str(a)[-1]))
        if j == len(A) and a >9:
            p[k-1].append(int(str(a)[0]))

for k in range(len(B)):
    for j in range(len(p[-1]) - len(p[k])):
        p[k].append(0)

#print(p)
a = 0
for k in range(len(p[0])): 
    if int(a) > 9: 
        a = int(str(a)[0])
    else:
        a =0
    for j in range(len(p)):
        a += p[j][k]
    ans.append(str(a)[-1])

#print(ans)
op = ""
for k in range(1, len(ans)-1):
    op += ans[-k]
if len(ans)<3:
    print(0)
else:
    print(op)

Submission status: Wrong Answer

Solution code:
import math
A, B = input().split()
B = int(B[0]+B[-2]+B[-1])
A = int(A)
ans = A*B
ans /= 100
print(math.floor(ans))

Submission status: Wrong Answer

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

res = a*int(split_b[0])
f = a * (float(split_b[1]) * 0.01)

print(res + int(f))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from math import trunc
a, b = map(eval, input().split())
res = a*round(b,2)
if 0 <= b < 10 and a<=10**15: 
    print(trunc(res))

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)
B = B.replace('.', '').ljust(3, '0')
B = int(B)

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

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=A*C
if D<100:
    print(0)
    exit()
D=str(D)
print(D[0:-2])

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline
#n = int(input())
#l = list(map(int, input().split()))
'''
A=[]
B=[]
for i in range():
    a, b = map(int, input().split())
    A.append(a)
    B.append(b)'''
import math
from fractions import Fraction
ab=input().split()
a=int(ab[0])
#print(int(float(ab[1])*100))
b=Fraction(int(float(ab[1])*100),100)
#print(b)
print(int(a*b))

Submission status: Wrong Answer

Solution code:
import math
A,B = map(float,input().split())
if A == int(A) and 0<=A<=10**15 and 0<=B<10:
    d = A*B
    c = math.floor(d)
    print(c)

Submission status: Wrong Answer

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

import sys
import math
import numpy as np
int1 = lambda x: int(x) - 1
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(500000)

A, B = map(float, readline().split())
ans = int(A * 10) // 10 * int(B * 100) // 100

print(int(ans))

Submission status: Wrong Answer

Solution code:
L = input().split()
A = int(L[0])
B = int(float(L[1]) * 100.0)
print((A * B)//100)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
A, B = input().split()
A = int(A)
B = float(B)
if float(B) >= 1:
    print(math.trunc(A * B))
elif 1 > float(B) > 0:
    print(0)
else:
    print(A * B)

Submission status: Wrong Answer

Solution code:
from math import floor
a,b = [e for e in input().split(" ")]
a = int(a)
b = round(float(b),2)
r = a*b
print(floor(r))

Submission status: Wrong Answer

Solution code:
import math
c,d = input().split()

a = int(c)
b = float(d) 

print(math.floor(a*b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = tuple(input().split())
a = int(s[0])
d = s[1].find('.')
if d == -1:
    b = int(s[1])
    x = 0
else:
    b = int(s[1][:d] + s[1][d+1:])
    x = len(s[1]) - d - 1
print(int(a*b/pow(10,x)))

Submission status: Wrong Answer

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

a=float(A)
b=float(B)
c=a*b

print(math.floor(c))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(format(math.floor(int(a)*float(b)), '.0f'))

Submission status: Wrong Answer

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

a = abs(a)
b = abs(b)

print(int(a*b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

def main():
  A, B = input().split()
  A = int(A)
  B = float(B)
  res = A * int(B * 100) / 100
  print(int(res))

if __name__ == "__main__":
  main()

Submission status: Wrong Answer

Solution code:
import math


A,B=input().split()
A=int(A)
B=float(B)
B1=B*100
Ans=A*B1
Ans=Ans//100
print(int(Ans))

Submission status: Wrong Answer

Solution code:
A, B=input().split()
B=float(B)
B="%.2f" % round(B, 2)
re=int(A)*float(B)
print (int(re//1))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
a,b =map(float,input().split())
n = 3  # 切り捨てしたい桁
print(math.floor(a*(math.floor(b * 10 ** n) /(10 ** n))))

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 = map(str, input().split())
aa = int(a)
bb1 = int(b[0])
bb2 = int(b[2])
bb3 = int(b[3])

print(aa * bb1 + aa // 10 * bb2 + aa // 100 * bb3)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
[A,B] = list(input().split())
A = int(A)
B = float(B)

print(int((A*B)//1))

Submission status: Wrong Answer

Solution code:
import math

a,b=(float(x) for x in input().split())
c = (a*b*100-((a*b*100)%100))/100
c = math.floor(c)
print(c)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B=map(float,input().split())
C=int(A*B//1)
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())

mul = a*b

print(int(a*b))

Submission status: Wrong Answer

Solution code:
s=input('')
s=s.split(' ')
a=int(s[0])

h=[]
for d in s[1]:
    h.append(d)

b=0
if len(h)==1:
    b=int(h[0])
elif len(h)==3:
    b=int(h[0])*100+int(h[2])*10
elif len(h)==4:
    b=int(h[0])*100+int(h[2])*10+int(h[3])

c=a*b
if len(h)==1:
    c=c
elif len(h)==3: 
    c=c-(c%10)
    c=int(c/100)
elif len(h)==4:
    c=c-(c%100)
    c=int(c/100)

print(c)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import math
a, b = map(str, input().split())
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:
import math

a,b = map(float,input().split())
c = math.floor(a*b)
print(c)

Submission status: Wrong Answer

Solution code:
from decimal import *
from math import *

getcontext().prec = 100
a, b = map(Decimal, map(float, input().split()))
print(floor(a * b))

Submission status: Wrong Answer

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

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:
a,b=map(float,input().split())
c=a*b
f=str(c).index(".")
print(str(c)[0:f])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A, B = map(float, input().split())
# A = 10 ** 15
# B = 9.99

# A = int(A)
X = float(A*B)
# print(X)
X = int(X)

# print(A)
# print(B)
print(X)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import math

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

print(int(math.floor(ans)))

Submission status: Wrong Answer

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

print(round(a*b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

A,B=input().split()

# if isinstance(A,int):
#     A = int(A)
# else:
#     A = float(A)


if isinstance(B,int):
    B = int(B)
else:
    B = float(B)

print(math.floor(int(A)*B))

# 1000000000000000

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

import sys
import math
import numpy as np
int1 = lambda x: int(x) - 1
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(500000)

A, B = map(float, readline().split())
ans = A * (B * 100) // 100

print(int(ans))

Submission status: Wrong Answer

Solution code:
import math

N = list(map(float, input().split()))
A = int(N[0])
B = int(N[1]*100)
ans = A * B
print(int(ans/100))

Submission status: Wrong Answer

Solution code:
a, b = input().split()
a = int(a)
ib = 0
j = 0
for i in range(len(b)):
  if b[len(b)-i-1] != '.':
    ib += int(b[len(b)-i-1]) * 10**j
    j +=1
  

c = int(a*ib/100)

print(c)

Submission status: Wrong Answer

Solution code:
import math
AB=list(input().split())
A,B=int(AB[0]),float(AB[1])
print(int(A*B))

Submission status: Wrong Answer

Solution code:
a,b=input().split()
a = int(a)
if a < 10:
    b = int(b[0])
    print(a*b)
elif a < 100:
    b = int(float(b[:3])*10)
    print(a*b//10)
else:
    b = int(float(b)*100)
    print(a*b//100)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import Decimal
import sys

a, b = input().split()
a = int(eval(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]
o = int(answer)
print(o)

Submission status: Wrong Answer

Solution code:
import math
import numpy as np
l = input().split()
a = int(l[0])
b = float(l[1])
n = [a, b]
ans = np.prod(n)
print(math.floor(ans))

Submission status: Wrong Answer

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

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

chk = 1
if A*B <0:
    chk = -1
ans = math.floor(abs(float(A*B)))
print(ans)
print(int(abs(ans*chk)))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import numpy as np

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

Submission status: Wrong Answer

Solution code:
import numpy as np
import math
[A,B] = input().split()
# print(A,B)
A = np.int64(A)
B = np.float64(B)
print(math.floor(A*B))

Submission status: Wrong Answer

Solution code:
import numpy as np
A,B = input().split()
B = float(B)

A = int(A)

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

Submission status: Wrong Answer

Solution code:
import numpy as np
a,b = map(float,input().split())
aa = np.trunc(a)
print(int(np.trunc(aa * b)))

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)
zero=round(A*B_0)
ans=A*intB+zero
print(ans)

Submission status: Wrong Answer

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

a = int(a)  #aの整数
bb = int(b * 100) #bの100倍
d = int(b) # bの整数部

print(a // 100 * bb + math.floor(a%100 * b))

Submission status: Wrong Answer

Solution code:
from decimal import *
def ABC_169_C():
    getcontext().prec=28
    A,B= map(float, input().split())
    print(int(Decimal(A)*Decimal(B)))

if __name__ == '__main__':

    ABC_169_C()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

a = round(a, 3)
b = round(b, 3)

print(int(a*b))

Submission status: Wrong Answer

Solution code:
a, b = input().split()
a = int(a)
b = float(b)
ans = 0
b *= 100
for i in range(int(b)):
    ans += a
print(int(ans // 100))

Submission status: Wrong Answer

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

a=int(A)
b=float(B)
c=int(a*b)
print(c)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = input().split(" ")
a = float(a)
b = float(b)
b -= 0.0000000000000001
ans = b*a

print(int(ans))

Submission status: Wrong Answer

Solution code:
def fl(x):
    digits = 16
    form = '%.'+str(digits-1)+'e'
    return float((form % x))
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+=fl(A*int(B[i])*10**(size-i-3-flag))
ans=fl(ans)
print(int(ans))

Submission status: Wrong Answer

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

    b = float(b)
    if cnt >= 3:
        #print(a, b, a*b)
        ans = int(a * b * 100) * (10 ** (cnt-2))
        print(ans)
    else:
        print(int(a1 * b))



if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A, B = map(float,input().split())
A = int(A)
ans = 0
A_H = int(A//100)
for i in range(int(B*100)):
    ans += A_H
ans += int(A%100 * B)
print(int(ans))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B = input().split()
A = int(A)    
B = int(100 * float(B))
if A > 10**9:
    c = A//(10**9)
    d = A%(10**9)
    print(c * B * 10**7 + (d*B)//100)
else:
    print(int(A * B)//100)

Submission status: Wrong Answer

Solution code:
in_vec = input().split()
in_vec = [float(in_i) for in_i in in_vec]
print(in_vec[0] * in_vec[1])
print(int(in_vec[0] * in_vec[1]))

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

Submission status: Wrong Answer

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

print(a*b // 1)

Submission status: Wrong Answer

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

# ans = Decimal(str(a*b))
# print(ans)
print(round(a*b))

Submission status: Wrong Answer

Solution code:
import sys
import math
def II(): return int(input())
def MI(): return input().split()
def LI(): return list(map(int,input().split()))
def TI(): return tuple(map(int,input().split()))
def RN(N): return [input().strip() for i in range(N)]


def main():
    A, B = MI()
    A = int(A)
    B = float(B)*100
    B = int(B)
    #print(math.floor(A*B))
    print(int((A*B)//100))


if __name__ == "__main__":
	main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


ans=a*b

print(int(ans))

Submission status: Wrong Answer

Solution code:
def main():
    A, B = (float(i) for i in input().split())
    a = int(A)
    ans = 0.0
    for i, s in enumerate(b for b in str(B) if b != "."):
        S = str(a)
        if i != 0:
            v = int(S[:-i]) if S[:-i] else 0
        else:
            v = int(S)
        ans += v*int(s)
    answer = []
    for t in str(ans):
        if t == ".":
            break
        answer.append(t)
    print("".join(answer))


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
from math import trunc
a, b = map(eval, input().split())
res = a*round(b,2)
if 0 <= b < 10: 
    print(trunc(res))

Submission status: Wrong Answer

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

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("{:15}".format(math.floor(AB[0]*AB[1])).replace(" ", ""))

if __name__ == "__main__":
  resolve()

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b=input().split()
a = int(a)
if a < 10:
    b = int(b[0])
    print(a*b)
elif a < 100:
    b = float(b[:3])
    print(int(a*b))
else:
    b = float(b)
    print(int(a*b))

Submission status: Wrong Answer

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

print(int(int(ans)//int(100)))

Submission status: Wrong Answer

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


c=math.floor(a*b/100)


print(c)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

x = a * b
print(math.floor(x))

Submission status: Wrong Answer

Solution code:
inputs = list(map(lambda x:float(x), 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:
# C
A, B = map(float, input().split())
lis = []
for i in range(10):
    if B - i < 1:
        lis.append(i)
        B -= i
        B *= 10
        break
for i in range(10):
    if B - i < 1:
        lis.append(i)
        B -= i
        B *= 10
        break
for i in range(10):
    if (B - i) * 10 - i:
        lis.append(i)
        B -= i
        B *= 10
        break
        
ans = 0        
for i in range(len(lis)):
    ans += A * 10**(-i) * lis[i]

print(int(ans))

Submission status: Wrong Answer

Solution code:
import math

A,B=input().split()

if isinstance(A,int):
    A = int(A)
else:
    A = float(A)


if isinstance(B,int):
    B = int(B)
else:
    B = float(B)

print(math.floor(A*B))

Submission status: Wrong Answer

Solution code:
import math

def main():
  A, B = input().split()
  A = int(A)
  B = float(B)
  res = A * (B * 100.0) / 100.0
  # seisuu, shousuu = math.modf(B)
  # if shousuu > 0.5:
  #   res = A * (seisuu+1) - A * (1 - shousuu)
  # else:
  #   res = A * seisuu+ + A * shousuu
  # res = math.floor(A*B)
  print(int(res))
  # print(type(res))

if __name__ == "__main__":
  main()