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

Submission status: Wrong Answer

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

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

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

b = b * 100
x = (a*b)//100

print(int(x))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

B = B*1000

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import io,sys
sys.setrecursionlimit(10**6)

def main():
    s = sys.stdin.readline().rstrip().split()
    a = int(s[0])

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

    ans=a*b//100
    l = []
    while ans!=0:
        p = ans%10
        ans //=10
        l.append(p)
        
    for i in l[::-1]:
        print(i,end="")
main()

Submission status: Wrong Answer

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

b *= 100
a //= 1
b //= 1
ans = a * b
ans //= 100

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import *

a, b = map(float, input().split())
print(Decimal(str(a * b)).quantize(Decimal('0'), rounding=ROUND_UP))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b=map(float,input().split());a=int(a)
left=a//100*int(100*b)
right=a%100*b
print(left+int(right))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B=input().split()
A=int(A)
B=float(B)
if (0<=A<=10**15)and(0<=B<1000):
    C=(A*B)
    C=int(C)
    print(C)

Submission status: Wrong Answer

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

# output
print((A*B)//100)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

###
# main
if(__name__ == '__main__'):
    # input
    a_in, b_in = input().split(" ")
    a = int(a_in)
    b_int = int(float(b_in)*100.0)

    ans = a*b_int
    ans = int(ans/100.0)

    print(ans)

# else:
    # do nothing

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math


n,m=map(float, input().split())
print(math.trunc(n*((m*100)/100)))

Submission status: Wrong Answer

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

b = b * 100

print((a*b)//100)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

B = B*1000

print(A*B//1000)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

    print(ans//100)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
A, B = input().strip().split()
A = int(A)
B = float(B)
answer = int(A*B)
print('{}'.format(answer))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

import math
# a_1, a_2 = math.modf(a)
# b_1, b_2 =math.modf(b)

# total = math.floor(a_1*b_1) + math.floor(a_1*b_2) + math.floor(a_2*b_1) + math.floor(a_2 * b_2)

b*=100

ans = a*b//100

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:
    bb = ''.join(n_B)
    print(math.floor(a * int(bb) / 100))

Submission status: Wrong Answer

Solution code:
from decimal import *
 
a = list(input().rstrip().split(" "))
 
A,B =Decimal(int(a[0])),Decimal(float(a[1]))
 
if A > 100:
    C = int(B*100)
    
    ans2 = (A-100)*C
    ans3 = int(ans2/100)
    ans = C + ans3
else:
    ans = int(A*B)
    
print(ans)

Submission status: Wrong Answer

Solution code:
import math
a,b = map(float,input().split())
ans = a * b
if math.ceil(ans) - ans < 0.000001:
    print(math.ceil(ans))
else:
    print(math.floor(ans))

Submission status: Wrong Answer

Solution code:
(a,b)=[x for x in input().split()]
a=int(a)
b=int(float(b)*100)
c=a*b
print(str(c/100).split('.')[0])
#print(int(c/100))

Submission status: Wrong Answer

Solution code:
import numpy as np
import scipy as sp
import math
 
x, y = input().split()
a = int(x)
b = float(y)
c = math.floor(b*100)
d = c/100
print(math.floor(a*d))

Submission status: Wrong Answer

Solution code:
a,b=map(float,input().split());a=int(a)
left=a//100*(100*b)
right=a%100*b
print(left+int(right))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

A,B = map(str,input().split())
A = int(A)
B = float(B)
C = int(B*100)
print(A*C//100)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import numpy as np
import math
import decimal

def resolve():
  S = input().split(" ")
  A = int(S[0])
  B = float(S[1])
  B = int(B * 100)
  if A == 0 or B == 0:
    print(0)
    return True
  print(decimal.Decimal(A*B//100))
  # AB = np.asarray([A, B], dtype = np.uint64)
  # print("{:17}".format(AB[0]*AB[1]).replace(" ", "").replace(".0", ""))
  # result = str(AB[0]*AB[1])
  # print((A*B)//100)

  # if len(result) > 2:
  #   print(result[:-2])
  # else:
  #   print(0)

if __name__ == "__main__":
  resolve()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

A=int(A)
B=100*B
a=math.ceil(A*B//100)
print(a)

Submission status: Wrong Answer

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

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

print((a*b)//100)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b=input().split()
a,b=int(a),int(float(b)*100)
n=(a*b)//100
print(int(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)
    if int(A)==0:
        print(0)
        return
    if int(B)==0:
        print(0)
        return
    ans = A*(B+_ep)
    print(int(ans-_ep))
    return

def examC2():
    A, B = list(map(float, input().split(" ")))
    B1 = math.floor(B)
    B2 = (B-B1)*100
    ans = A*B1 + A*B2//100
    print(int(ans))
    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__':
    examC2()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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


def main():
    a, b = [int(float(i) * 100) for i in input().split()]
    ans = a * b // 10000
    print(ans)


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
def default():
    a=input()
    a=a.split()
    a[0]=int(a[0])
    a[1]=float(a[1])
    a[1]=int(a[1]*100)
    a[1]=int(a[1]*a[0])//100
    print(a[1])
if(__name__=="__main__"):
    default()

Submission status: Wrong Answer

Solution code:
s = input()
A = s.split()[0]
A = int(A)
B = s.split()[1]
B = float(B)
P = int(B*100)
T = A*P
T = str(T)
if len(T)<3 or A==0 or P==0:
    ans = '0'
else :
    ans = T[:-2]
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

Solution code:
a,b = map(float,input().split())
a = int(a)
x =int(b)
y = round(b-x,2)
print(a*x+int(a*y))

Submission status: Wrong Answer

Solution code:
import math
def RA():
    return list(map(int, input().split()))

def solve():
    n, m = input().split()
    n = int(n)
    m = float(m)
    print(math.floor(n * m))


solve()

Submission status: Wrong Answer

Solution code:
ii = lambda : int(input())
mi = lambda : map(int,input().split())
li = lambda : list(map(int,input().split()))

import math

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

print(math.floor(a*b)//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)
    if int(A)==0:
        print(0)
        return
    if int(B)==0:
        print(0)
        return
    ans = A*(B+_ep)
    print(int(ans-_ep))
    return

def examC2():
    A, B = list(map(float, input().split()))
    B1 = math.floor(B)
    B2 = (B-B1)*100
    ans = A*B1 + A*B2//100
    print(int(ans))
    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__':
    examC2()

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
import sys
import math
from decimal import Decimal

def solve(A: int, B: float):
  hundred_B = 100*B
  ans = A*hundred_B
  ans = math.floor(ans/100)
  print(ans)


# Generated by 1.1.7.1 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    A = int(next(tokens))  # type: int
    B = float(next(tokens))  # type: float
    solve(A, B)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from collections import defaultdict
from math import gcd
import time
import sys
from collections import Counter
import itertools
import math
from decimal import *
# read = sys.stdin.buffer.read
# readline = sys.stdin.buffer.readline
# readlines = sys.stdin.buffer.readlines
input = sys.stdin.readline

temp = input().split(" ")
a = int(temp[0])
b = math.floor(float(temp[1])*100)
ans = a*b/100
print(math.floor(ans))

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

Solution code:
import math
hoge = list(input().split())
A = int(hoge[0])
B1 = int(float(hoge[1]))
B2 = int((float(hoge[1])-B1)*100)
ans = int(A*B1 + A*B2/100)
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

AB = A*B//100

print(AB)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
A, B = [ float(i) for i in input().strip().split(' ')]
B = int(B * 1000)
print(math.floor(A*B/1000))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import numpy as np
import math
import decimal

def resolve():
  S = input().split(" ")
  A = float(S[0])
  B = float(S[1])
  # B = int(B * 100)
  if A == 0 or B == 0:
    print(0)
    return True
  print(decimal.Decimal(int(A*B)))
  # AB = np.asarray([A, B], dtype = np.uint64)
  # print("{:17}".format(AB[0]*AB[1]).replace(" ", "").replace(".0", ""))
  # result = str(AB[0]*AB[1])
  # print((A*B)//100)

  # if len(result) > 2:
  #   print(result[:-2])
  # else:
  #   print(0)

if __name__ == "__main__":
  resolve()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import Decimal
N = [float(e) for e in input().split()]
ans = Decimal(N[0]) * Decimal(N[1])
print(int(ans))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import math

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


if b < 1:
    b = str(b)
    b = b[2:]
    b = int(b)
else:
    b = str(b)
    b = b[0]+b[2:]
    if len(b) <3:
        b = b + "0"
    b = int(b)

print(int(a*b/100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B=input().split()
A=int(A)
B=float(B)
B=B*100
B=int(B)
if (0<=A<=10**15)and(0<=B<1000):
    C=(A*B)//100
    C=int(C)
    print(C)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

A[0] = int(A[0])
A[1] = float(A[1])*100

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math


n,m=map(float, input().split())
print(math.trunc(n*(m*100)/100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import decimal
a, b = map(float, input().split())
x = int(a)
y = decimal.Decimal(b)
ans = decimal.Decimal(x*y)
print(int(ans))

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:
A, B = map(float, input().split())

if A == 0 or B == 0:
    print(0)
else:
    A1 = int(A)
    B1 = B * 100
    B2 = int(B1)

    product = str(A1 * B2)

    if len(product) <= 2:
        print(0)
    else:
        print(product[:-2])

Submission status: Wrong Answer

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

A = int(A)

B = float(B)*100

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

Submission status: Wrong Answer

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

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)

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

a = int(a)
b = round(b,2)*100

print(a*b//100)

Submission status: Wrong Answer

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

print(int(A*B)/1000)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

res = int(A*B // 100)

print(str(res))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


def main():
    a, b = [float(i) * 100 for i in input().split()]
    print((a * b) // 100)


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
def main():
  line = input()
  a, b = line.split(" ")
  A = float(a)
  B = float(b)
  print(int(A*B))

main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

a = int(a)
b_int = 0;
for i in range(len(b)):
    
    if (b[i] == '.'):
        continue
    b_int *= 10
    b_int += int(b[i])
a *= b_int
a /= 100
print(int(a))

Submission status: Wrong Answer

Solution code:
import math
hoge = list(input().split())
A = int(hoge[0])
B1 = int(float(hoge[1]))
B2 = (float(hoge[1])-B1)*100
ans = int(A*B1 + A*B2/100)
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = input().split(' ')
def doit(a,b):
  x,y = b.split('.')
  m=1
  if int(x) > 0:
    m = (1*int(a)*int(x) + int(a)*int(y))//100
  else:
    m = (1*int(a) + int(a)*int(y))//100
    
  return int(m)
 
print(doit(a,b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

print( a * b // 100)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from math import floor

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

print(floor(a*b))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

a,b = input().split()

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