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:
def examA():
    A, B = LI()
    ans = A*B
    print(ans)
    return

def examB():
    N = I()
    A = LI()
    for a in A:
        if a==0:
            print(0)
            return
    ans = 1
    for a in A:
        ans *= a
        if ans>10**18:
            print(-1)
            return
    print(ans)
    return

def examC():
    A, B = list(map(float, input().split()))
    #print(A,B)
    if int(A)==0:
        print(0)
        return
    ans = A*(B+_ep)
    print(int(ans-_ep))
    return

def examD():
    def factorization(n):
        arr = defaultdict(int)
        temp = n
        for i in range(2, int(-(-n ** 0.5 // 1)) + 1):
            if temp % i == 0:
                cnt = 0
                while temp % i == 0:
                    cnt += 1
                    temp //= i
                arr[i] = cnt
        if temp != 1:
            arr[temp] = 1
        if arr == []:
            arr[n] = 1
        return arr
    C = [0,1,3,6,10,15,21,28,36,45]
    N = I()
    F = factorization(N)
    ans = 0
    #print(F)
    for f in F.values():
        for i in range(10):
            if C[i]>f:
                ans += i-1
                break
    print(ans)
    return

def examE():
    N = I()
    A = [0]*N
    B = [0]*N
    for i in range(N):
        A[i],B[i] = LI()
    A.sort()
    B.sort()
    if N%2==0:
        L = (A[N//2-1] + A[N//2])/2
        R = (B[N//2-1] + B[N//2])/2
        ans = int((R-L)*2) +1
    else:
        L = A[N//2]
        R = B[N//2]
        ans = (R-L)+1

    print(ans)
    return

def examF():
    inv = pow(2,mod2-2,mod2)
    N, S = LI()
    A = LI()
    dp = [[0]*(S+1)for _ in range(N+1)]
    dp[0][0] = pow(2,N,mod2)
    for i in range(N):
        a = A[i]
        for s in range(S+1):
            dp[i+1][s] += dp[i][s]
            dp[i+1][s] %= mod2
            if (s+a<=S):
                dp[i+1][s+a] += dp[i][s]*inv%mod2
                dp[i + 1][s+a] %= mod2
   # print(dp)
    ans = dp[-1][-1]%mod2
    print(ans)
    return

import sys,bisect,itertools,heapq,math,random
from copy import deepcopy
from heapq import heappop,heappush,heapify
from collections import Counter,defaultdict,deque
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
def I(): return int(input())
def LI(): return list(map(int,sys.stdin.readline().split()))
def LSI(): return list(map(str,sys.stdin.readline().split()))
def LS(): return sys.stdin.readline().split()
def SI(): return sys.stdin.readline().strip()
global mod,mod2,inf,alphabet,_ep
mod = 10**9 + 7
mod2 = 998244353
inf = 1<<60
_ep = 10**(-16)
alphabet = [chr(ord('a') + i) for i in range(26)]

sys.setrecursionlimit(10**7)

if __name__ == '__main__':
    examC()

"""
142
12 9 1445 0 1
asd dfg hj o o
aidn
"""

Submission status: Wrong Answer

Solution code:
import sys
l = list(input().split())
a = int(l[0])
b = float(l[1])
b100 = b*1000
ans = a*b100
res = ans//1000
print(int(res))

Submission status: Wrong Answer

Solution code:
import math

ab = list(input().split())
a,b = int(ab[0]),float(ab[1])
print(a*b)
print(math.ceil(a*b))

Submission status: Wrong Answer

Solution code:
A, B = map(float, input().split())
C = '{:.2f}'.format(B)
a = int(float(A)) * float(C)
import math
print(math.floor(a))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

else:
  print(a*d//100)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

a,b=input().split()
a=int(a)
b=int(100*float(b))
s=a*b
print(math.floor(s/100))

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

a, b = input().split()

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

c = A * B

C = math.floor(c)

print(C)

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

res = A * int(B) + int(A * ( B - int(B)))
print(res)

Submission status: Wrong Answer

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

out = A*B
print(out//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:
def solve(a,b):
    if b ==0 or a == '0':
        return 0
    alist = list(reversed(a))
    count = 0
    k = 0
    res = []
    for s in alist:
        tmp = int(s)
        if count < 2:
            k += tmp * b * 10**(count)
        else:
            k += tmp * b * 100
            k = int(k)
            res.append(str(k%10))
            k = k // 10
        count += 1
    k = int(k)
    while k > 0:
        res.append(str(k%10))
        k = k // 10
    res.reverse()
    ans = ''.join(res)
    if ans == '':
        return 0
    return ans


if __name__ == '__main__':
    s = input().split()
    a = s[0]
    b = float(s[1])
    print(solve(a,b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

ab = list(map(float, input().split()))
 
a = int(ab[0])
b = int(ab[1] * 100)



z = int(a * b)



ans = int(z // 100)

print(ans)

Submission status: Wrong Answer

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

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

print(intmulti)

Submission status: Wrong Answer

Solution code:
###############################################################################
#Imports
import collections
import itertools
from functools import lru_cache
import sys
import math
###############################################################################
#Constants
MOD = int(1e9)+7
###############################################################################
#Helper


def helper():
	pass
###############################################################################
#Solver


def solve():
	a, b = input().split(' ')
	a, b = int(a), float(b)
	print(int(a*1.0*b))


###############################################################################
#Driver
t = 1
for _ in range(t):
	solve()
###############################################################################

Submission status: Wrong Answer

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

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

a,b = (i for i in input().split())

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



c = a*b

#print(c)
#print(type(c))
ans = int(c)

print(ans)

Submission status: Wrong Answer

Solution code:

a,b=map(float,input().split())
a=int(a//1)
bigb=int((b*100)//1)
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:
a, b = [float(i)  for i in input().split()]
a = int(a)

#print(a*b)
print(int(a*b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import decimal

A, B = input().split()
A = int(A)
B = decimal.Decimal(B)
B = float(B)
decimal.getcontext().prec = 3

sum = A*B

print(int(sum))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def main():
    a, b = input().split()
    a = int(a)
    b =int(''.join(b.split('.')))
    print(int(a*b/100))
    
    
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:

A,B = input().split()

C = int(A)*float(B)
print(int(C))

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:
    if flag==1:
      ans+=fl(A*fl(int(B[i])*10**(size-i-3-flag)))
    else:
      ans+=fl(A*fl(int(B[i])//10**abs(size-i-3-flag)))
print(int(ans))

Submission status: Wrong Answer

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

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
A,B = input().split()
A = int(A)
B = float(B)
print (math.trunc(A*B))

Submission status: Wrong Answer

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

a_2 = a % 100
a_o = (a - a_2)//100

s1 = a_o * int(b*100)
s2 = int(a_2 * b)
print(s1+s2, end="")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math,itertools,fractions,heapq,collections,bisect,sys,queue,copy

sys.setrecursionlimit(10**7)
inf=10**20
mod=10**9+7
dd=[(-1,0),(0,1),(1,0),(0,-1)]
ddn=[(-1,0),(-1,1),(0,1),(1,1),(1,0),(1,-1),(0,-1),(-1,-1)]

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def LS(): return sys.stdin.readline().split()
def S(): return input()

def main():
  a,b=LS()
  a=int(a)
  b=float(b)
  if a<100:
    a/=100
  else:
    a//=100
  b*=100
  return math.floor(a*b)

# main()
print(main())

Submission status: Wrong Answer

Solution code:
from math import floor
a, b = [float(i) for i in input().split()]
print(floor(floor(a) * floor(b * 100) // 100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
l = list(input().split())
a = int(l[0])
b = float(l[1])
b100 = b*100
ans = a*b100
res = ans//100
print(int(res))

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
A, B = [s for s in input().split()]
A = int(A)
B = int(float(B) * 100)

if B == 0:
    print(0)

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

Submission status: Wrong Answer

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

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

c = a*b

print(int(a*b))

Submission status: Wrong Answer

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

print(int((a*b)//1))

Submission status: Wrong Answer

Solution code:
a, b = map(float, input().split())
0 <= a <=1000000000000000
0 <= b < 10
print((a * b))

Submission status: Wrong Answer

Solution code:
def main():
    a,b=input().split()
    b=int(float(b)*100)
    ans=0
    for i,v in enumerate(reversed(a)):
        tmp=int(v)*10**(i)
        ans+=tmp*b
    ans=str(ans)
    print(ans[:-2])

main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

import math
if A*B < 10000:
    print(int(A*B))
else:
    B_int = int(round(B*100))
    ans = format(math.modf(B_int*A)[1],".0f")
    print(ans[:len(ans)-2])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(int(A*B))

Submission status: Wrong Answer

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

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_list = list(b)

count = -1
check = -1
B = ""

for char in B_list:
  if char == ".":
    count = 0
    check = 0
  else:
    if check == 0:
      if count >= 0:
        count += 1
    B += char

result = A * int(B) / 10 ** count 
print(int(result))

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(type(a))

print(a)

Submission status: Wrong Answer

Solution code:
alist = input().split()
a=int(alist[0])
b=float(alist[1])
 
bb=int(b*100)
mae=a*bb
mae2=mae//100
print(mae2)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def examA():
    A, B = LI()
    ans = A*B
    print(ans)
    return

def examB():
    N = I()
    A = LI()
    for a in A:
        if a==0:
            print(0)
            return
    ans = 1
    for a in A:
        ans *= a
        if ans>10**18:
            print(-1)
            return
    print(ans)
    return

def examC():
    A, B = list(map(float, input().split()))
    #print(A,B)
    ans = A*(B+_ep)
    print(int(ans-_ep))
    return

def examD():
    def factorization(n):
        arr = defaultdict(int)
        temp = n
        for i in range(2, int(-(-n ** 0.5 // 1)) + 1):
            if temp % i == 0:
                cnt = 0
                while temp % i == 0:
                    cnt += 1
                    temp //= i
                arr[i] = cnt
        if temp != 1:
            arr[temp] = 1
        if arr == []:
            arr[n] = 1
        return arr
    C = [0,1,3,6,10,15,21,28,36,45]
    N = I()
    F = factorization(N)
    ans = 0
    #print(F)
    for f in F.values():
        for i in range(10):
            if C[i]>f:
                ans += i-1
                break
    print(ans)
    return

def examE():
    N = I()
    A = [0]*N
    B = [0]*N
    for i in range(N):
        A[i],B[i] = LI()
    A.sort()
    B.sort()
    if N%2==0:
        L = (A[N//2-1] + A[N//2])/2
        R = (B[N//2-1] + B[N//2])/2
        ans = int((R-L)*2) +1
    else:
        L = A[N//2]
        R = B[N//2]
        ans = (R-L)+1

    print(ans)
    return

def examF():
    inv = pow(2,mod2-2,mod2)
    N, S = LI()
    A = LI()
    dp = [[0]*(S+1)for _ in range(N+1)]
    dp[0][0] = pow(2,N,mod2)
    for i in range(N):
        a = A[i]
        for s in range(S+1):
            dp[i+1][s] += dp[i][s]
            dp[i+1][s] %= mod2
            if (s+a<=S):
                dp[i+1][s+a] += dp[i][s]*inv%mod2
                dp[i + 1][s+a] %= mod2
   # print(dp)
    ans = dp[-1][-1]%mod2
    print(ans)
    return

import sys,bisect,itertools,heapq,math,random
from copy import deepcopy
from heapq import heappop,heappush,heapify
from collections import Counter,defaultdict,deque
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
def I(): return int(input())
def LI(): return list(map(int,sys.stdin.readline().split()))
def LSI(): return list(map(str,sys.stdin.readline().split()))
def LS(): return sys.stdin.readline().split()
def SI(): return sys.stdin.readline().strip()
global mod,mod2,inf,alphabet,_ep
mod = 10**9 + 7
mod2 = 998244353
inf = 1<<60
_ep = 10**(-16)
alphabet = [chr(ord('a') + i) for i in range(26)]

sys.setrecursionlimit(10**7)

if __name__ == '__main__':
    examC()

"""
142
12 9 1445 0 1
asd dfg hj o o
aidn
"""

Submission status: Wrong Answer

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

import math
print(a*b)
print(int(a*b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from fractions import Fraction as frac
A,B = map(eval,input().split())
C = frac(B)
D = A*C
print(int(D))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import Decimal, ROUND_FLOOR

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

ans = a * b

val_floor_d = Decimal(ans).quantize(Decimal('1'), rounding=ROUND_FLOOR)

print(val_floor_d)

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

# print(a[0])
# print(a[1])

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

print(int(math.trunc(a[0]*a[1]/100)))

Submission status: Wrong Answer

Solution code:
a,b = map(float,input().split())
res = str((a*b))
print(res[:res.index('.')])

Submission status: Wrong Answer

Solution code:
def a():
    A, B = map(float, input().split())
    return int(A*B)
a()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

     
print("{}".format(round(a*b)))

Submission status: Wrong Answer

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

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

print(A*B//100)

Submission status: Wrong Answer

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

ab=a*b
ans=ab//100

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(math.floor(A*B))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A, B = input().split(" ")
s = float(A)*float(B)
S = str(s)
k = len(S)
for i in range(k):
  if S[i] ==".":
    exit()
  else:
    print(int(S[i]), end ="")

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])
        tmp = int(tmp)
        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:
import math
A,B=input().split()
a=int(A)
b=[str(z) for z in B]
n_B=[]
for y in b:
    if y=='.':
        pass
    else:
        n_B.append(y)
if B=='0':
    print(0)
else:
    if n_B[0] == '0':
        del n_B[0]
    if n_B[0] == '0':
        del n_B[0]
    bb = ''.join(n_B)
    print(int(a * int(bb) / 100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

res = a * b

print(int(res))

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
L = input().split()
A = int(L[0])
B = int(float(L[1]) * 100)
ans = 0
m = 1
for i in range(len(str(B))):
    x = B % 10
    B //= 10
    if (x != 0):
        ans += A * (x * m)
    m *= 10
print(int(ans//100))

Submission status: Wrong Answer

Solution code:
[a,b] = [x for x in input().split()]
a = int(a)
b = int(float(b) * 100.0)

print(int(a*b//100.0))

Submission status: Wrong Answer

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

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

print(int(c))

Submission status: Wrong Answer

Solution code:
import math 

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

Submission status: Wrong Answer

Solution code:
import math
import decimal

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

x = decimal.Decimal(r[0])
y = decimal.Decimal(r[1])

z = x * y

z = math.floor(z)
if r[0] == 0 or r[1] == 0:
    z = int(0)

print(z)

Submission status: Wrong Answer

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

print (math.trunc(A*B))

Submission status: Wrong Answer

Solution code:
import sys
import math


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

Submission status: Wrong Answer

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

print(int(a*int(b) + int(a*(b-int(b)))))

Submission status: Wrong Answer

Solution code:
import math

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

ans=A*B

print(math.floor(ans))

Submission status: Wrong Answer

Solution code:

AB = input().split()
A,B = int(AB[0]),float(AB[1])
B = B*100
B = int(B)
print(A*B//100)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

Solution code:
import math

ab = list(map(float, input().split()))
 
a = int(ab[0])
b = int(ab[1] * 100)



z = int(a * b)



ans = float(z // 100)
print(math.floor(ans))

Submission status: Wrong Answer

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

print( s )

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def solve():
    a, b = input().split()
    a = int(a)
    b = float(b)
    print(int((a*b) // 1))
    return 0

if __name__ == "__main__":
    solve()

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])

from decimal import *

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

Submission status: Wrong Answer

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

main()

Submission status: Wrong Answer

Solution code:
def main():
  A,B=map(float,input().split())
  B=int(B*100.0)
  A=int(A)
  print(A*B//100)
if __name__ == '__main__':
  main()

Submission status: Wrong Answer

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

c = (a*b)//1

print(int(c))

Submission status: Wrong Answer

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

print(int(int(a)*float(b)))

Submission status: Wrong Answer

Solution code:
a,b=map(float,input().split())
tempb=b*100
temp=999
for i in range(1001):
  if abs(i-tempb)<temp:
    tb=i
    temp=abs(i-tempb)
print(int(tb*a//100))

Submission status: Wrong Answer

Solution code:
def examA():
    A, B = LI()
    ans = A*B
    print(ans)
    return

def examB():
    N = I()
    A = LI()
    for a in A:
        if a==0:
            print(0)
            return
    ans = 1
    for a in A:
        ans *= a
        if ans>10**18:
            print(-1)
            return
    print(ans)
    return

def examC():
    A, B = list(map(float, input().split()))
    #print(A,B)
    ans = A*(B+_ep)
    print(int(ans+_ep))
    return

def examD():
    def factorization(n):
        arr = defaultdict(int)
        temp = n
        for i in range(2, int(-(-n ** 0.5 // 1)) + 1):
            if temp % i == 0:
                cnt = 0
                while temp % i == 0:
                    cnt += 1
                    temp //= i
                arr[i] = cnt
        if temp != 1:
            arr[temp] = 1
        if arr == []:
            arr[n] = 1
        return arr
    C = [0,1,3,6,10,15,21,28,36,45]
    N = I()
    F = factorization(N)
    ans = 0
    #print(F)
    for f in F.values():
        for i in range(10):
            if C[i]>f:
                ans += i-1
                break
    print(ans)
    return

def examE():
    N = I()
    A = [0]*N
    B = [0]*N
    for i in range(N):
        A[i],B[i] = LI()
    A.sort()
    B.sort()
    if N%2==0:
        L = (A[N//2-1] + A[N//2])/2
        R = (B[N//2-1] + B[N//2])/2
        ans = int((R-L)*2) +1
    else:
        L = A[N//2]
        R = B[N//2]
        ans = (R-L)+1

    print(ans)
    return

def examF():
    inv = pow(2,mod2-2,mod2)
    N, S = LI()
    A = LI()
    dp = [[0]*(S+1)for _ in range(N+1)]
    dp[0][0] = pow(2,N,mod2)
    for i in range(N):
        a = A[i]
        for s in range(S+1):
            dp[i+1][s] += dp[i][s]
            dp[i+1][s] %= mod2
            if (s+a<=S):
                dp[i+1][s+a] += dp[i][s]*inv%mod2
                dp[i + 1][s+a] %= mod2
   # print(dp)
    ans = dp[-1][-1]%mod2
    print(ans)
    return

import sys,bisect,itertools,heapq,math,random
from copy import deepcopy
from heapq import heappop,heappush,heapify
from collections import Counter,defaultdict,deque
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
def I(): return int(input())
def LI(): return list(map(int,sys.stdin.readline().split()))
def LSI(): return list(map(str,sys.stdin.readline().split()))
def LS(): return sys.stdin.readline().split()
def SI(): return sys.stdin.readline().strip()
global mod,mod2,inf,alphabet,_ep
mod = 10**9 + 7
mod2 = 998244353
inf = 1<<60
_ep = 10**(-16)
alphabet = [chr(ord('a') + i) for i in range(26)]

sys.setrecursionlimit(10**7)

if __name__ == '__main__':
    examC()

"""
142
12 9 1445 0 1
asd dfg hj o o
aidn
"""

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

Solution code:
import math

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

print(round(A * B))

Submission status: Wrong Answer

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

C=A*B100
print(str(C//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(a*b-f))

Submission status: Wrong Answer

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

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 = a / 100
b = b*100

ans = int(a * b)

print(ans)

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

ans = a*b

print(math.floor(ans//100))

Submission status: Wrong Answer

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

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

if a == 0 or b == 0 :
    print(0)
else :
    print(int(a*b))

Submission status: Wrong Answer

Solution code:
import decimal

A, B = input().split()
A = int(A)
B = decimal.Decimal(3)
B = float(B)

sum = A*B

print(int(sum))

Submission status: Wrong Answer

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

#ab = a*b
#print(ab)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
L = [float(i) for i in input().split()]
A=L[0]
B =L[1]

print(int(A*B))

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:
from math import floor
a, b = [float(i) for i in input().split()]
b = str(int(b * 100))
b = str(b.zfill(3))
p = int(b[0])
q = int(b[1])
r = int(b[2])
print(floor(a * p + (a * q) / 10 + (a * r)/100))

Submission status: Wrong Answer

Solution code:
import sys
import math


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

Submission status: Wrong Answer

Solution code:
import math

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

print(int(A*B))