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=input()
a=a.split()

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

Submission status: Wrong Answer

Solution code:
import math

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

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

print(int(D))

Submission status: Wrong Answer

Solution code:
from decimal import Decimal, ROUND_FLOOR

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

ans = float(a * b)

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

print(val_floor_d)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

b = b*100

c = a*b
c = c/100

print(int(a*b))

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
a,b = map(float, input().split())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import numpy as np
a,b=map(float,input().split())
#print(a,b)
a=int(a)
#print(a,b)
a=np.array(a)
b=np.array(b)
a=a.astype(np.longdouble)
b=b.astype(np.longdouble)
#print(a*b)
print(int(a*b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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.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:
import math
input_ = input().split()
print (math.floor(int(input_[0]) * float(input_[1])))

Submission status: Wrong Answer

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

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

print(int(b * a))

Submission status: Wrong Answer

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

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

print(ans)

Submission status: Wrong Answer

Solution code:
from decimal import Decimal

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

a = Decimal(a)
b = Decimal(b)

print(int(a*b))

Submission status: Wrong Answer

Solution code:
ab = input().split()
a, b = int(ab[0]), float(ab[1])
c = str(a)
if len(c) >= 3:
  x = a - int(c[-2:])
  y = int(c[-2:])
  i = int(x * b)
  j = int(y * b)
  print(i+j)
else:
  print(int(a*b))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:

import numpy
# N=int(input())
# a=int(input())
A,B=map(str,input().split(" "))
A=numpy.int64(A)
B=numpy.int64(float(B)*100)

# print(A)
# print(B)

#A=[int(_) for _ in input().split(" ")]

if A==0 or B==0:
    ans=0
else:
    ans = A*B // 100
    
print(ans)

Submission status: Wrong Answer

Solution code:
import numpy as np
a,b = map(float,input().split())
 
c = np.array([a],dtype='f16')
d = np.array([b],dtype='f16')
e = np.array([],dtype='i8')
e = c*d
print(int(e))

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

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

Submission status: Wrong Answer

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

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

B_d = (B-int(B))*100000000000000


#print(A*B)
print(int(A*int(B) + B_d*A/100000000000000))

Submission status: Wrong Answer

Solution code:
import math
A,B = map(str,input().split())
A = int(A)
B = int(float(B)*100)
C = str((A*B))
if A*B/100<1:
    print(0)
else:
    print(C[0:-2])

Submission status: Wrong Answer

Solution code:
re = input().split()
a = int(re[0])
bet = float(re[1])
b = int(bet * 100.00)
for i in range(10):
    if i * 100 <= bet < (i+1) * 100:
        c = 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 math

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

ans = math.floor(a * b)

print(int(ans))

Submission status: Wrong Answer

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

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

ans=ans//1
print(int(ans))

Submission status: Wrong Answer

Solution code:
# coding:utf-8

A, B = input().split(' ')
A = int(A)
B = int(float(B) * 100)

print((A*B)//100)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
from decimal import Decimal
a,b = map(float,input().split())
a = Decimal(a)
b =Decimal(b)
print('{:.020f}'.format(b))
print(b)
# b *=100
# b = int(b)
# print(math.floor(a*b/100))
# c = a%10000
# e = math.floor(a / 10000)

# print(int(e*b*10000+c*b))

# c = b-int(b)
# for 
# d = int(b)
# s = a*d+c*a
print(int(math.floor(a*b)))

Submission status: Wrong Answer

Solution code:
a, b = [float(i) for i in input().split()]
a = int(a)
#print(a,b)
#print(a*b)
print(int(a*b))

Submission status: Wrong Answer

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


import math
f, i = math.modf(a*b)
print(int(i))

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

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

C = A * B
#print(C)

D =int(C)
print(D)

Submission status: Wrong Answer

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

c = 0
c += a*int(b[0])
c += int((a*int(b[2]))/10)
c += int((a*int(b[3]))/100)
print(c)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from fractions import Fraction
from decimal import Decimal
a,b=map(str,input().split())
a=int(a)
b=Fraction(Decimal((b[:3])))
x=a*b
p=x.numerator
q=x.denominator
print(int(p/q))

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

Solution code:
import math

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

c /= 100
print(math.floor(c))

Submission status: Wrong Answer

Solution code:
A, B = map(str, input().split())
A = int(A)
B = float(B)
Ax = A // 100
Ay = A % 100
Bx = int(B // 1)
By = int((B - Bx) * 100)
p = Ax * Bx * 100 + Ax * By + Ay * Bx
s = p // 100
t = p % 100
q = (Ay * By) // 100
if s > 0:
    if t + q >= 10 :
        print(str(s) + str(t + q))
    else:
        print(str(s) +  "0" +str(t + q))
else:
    print(p + q)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
import sys

a,b = input().split()
k = int(a) * int(float(b))
answer = math.floor(k)
print(answer)

Submission status: Wrong Answer

Solution code:
import sys
import math

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

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

Submission status: Wrong Answer

Solution code:
from sys import stdin
import math

A, B = stdin.readline().rstrip().split()
A = int(A)
B = float(B)
print(math.floor(A * B))

Submission status: Wrong Answer

Solution code:
import math

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

while 10**15 < A or 10 < B or A < 0 or B < 0:
    A , B =list(map(float,input().split()))
    if 0 <= A and A <= 10**15 and 0 <= B and B < 10:
        break
    
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)
if a == 0 or b == 0.00:
  print(0)
  exit()
out = math.floor(a*b)
print(out)

Submission status: Wrong Answer

Solution code:
import math

a, b = input().split()

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

c = A * B

p = math.floor(c)
C = int(p)
print(C)

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(int(out/100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
x,y = map(float,input().split())
x = int(x)
y ='{:.2f}'.format(y)
y = float(y)

print(math.floor(x*y))

Submission status: Wrong Answer

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

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)
    if len(ans)<=2:
        print(0)
        return
    print(ans[:-2])

main()

Submission status: Wrong Answer

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

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)
ans=tb*a/100
temp=int(ans)
if abs(temp-ans)>0.999:
  print(temp+1)
else:
  print(temp)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
from decimal import Decimal,ROUND_HALF_EVEN,ROUND_HALF_DOWN,ROUND_DOWN

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

a = Decimal(a)
b = Decimal(b)

ans = a*b
ans = ans.quantize(Decimal('0'),rounding = ROUND_DOWN)

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
A,B = map(float,input().split())
B*=100
B = int(B)
C = (B//100)
D = ((B//10)-10*C)
E = B - 100*C -10*D
C,D = 100*C ,10*D

print(int((A*C)//100) + math.floor((A*E)//100)+math.floor((A*D)//100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

AI  = int(A)
BI  = int(float(B)*100)
Mul = str(AI*BI)
print(Mul[0:-2])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B = [float(i) for i in input().split()]
A = int(A)
B *= 100
B = int(B)
C = A*B
C = C//100
print(C)

Submission status: Wrong Answer

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

a=float(A)
b=float(B)
b = math.floor(b * 10 ** 2) / (10 ** 2)

print(math.floor(a*b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def a():
    A, B = map(float, input().split())
    if 0<=A<=10**15 and 0<=B<10:
        return int(A*B)
a()

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
# モジュールのインポート
import math

# 標準入力の取得
A, B = input().split()
A = int(A)
B = float(B)

# 求解処理
result = math.floor(A * B)

# 結果出力
print(result)

Submission status: Wrong Answer

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

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

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 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 = map(float, input().split())
a = int(a)
c = b *100
c = int(c)
print(int((a*b+100-1)//100))

Submission status: Wrong Answer

Solution code:
from decimal import Decimal, ROUND_FLOOR

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

ans = a * b

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

print(val_floor_d)

Submission status: Wrong Answer

Solution code:
A,B = [int(i) if i.isdigit() else float(i) for i in input().split() ]
print(int(A*B))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
ab=input().split()
a=int(ab[0])
be=ab[1].replace('.','')
ibe=int(be)
ans=int(a*ibe/100)
print(ans)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import math

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

print(math.ceil(A * B))

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

Solution code:
import math
from collections import deque
a,b=map(float,input().split())
a=int(a)
aaa=str(a)
A=a
aa=a
bb=b
lst=deque()
lst=[int(i) for i in aaa]

if A!=0:
  c=lst.pop()
  if len(lst)>=1:
    c+=10*lst.pop()
  d=math.floor(c*b)
  A-=c
  A=int(A/100)
  b=int(b*100)
  print(int(A*b+d))
else:
  print(int(aa*bb))

Submission status: Wrong Answer

Solution code:
from decimal import *
from math import *

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

Submission status: Wrong Answer

Solution code:
a, b = map(float, input().split())
if a < 1000:
    print(int(int(a)*b))
else:
    num = str(int(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:
import numpy as np
A,B=map(float,input().split())
ans=A*B
ans=np.floor(ans)
print(int(ans))

Submission status: Wrong Answer

Solution code:
A, B = map(float,input().split())
A = int(A)
t = 0
ans = 0

A_H = A//100
for i in range(int(B*100)):
    ans += A_H
    
for j in range(A%100):
    t += int(B*100)
    
ans += t//100
print(ans)

Submission status: Wrong Answer

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

print(math.trunc(int(a)*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 sys
import math
A,B = map(float,input().split())
A = int(A)
if A == 0 or B == 0 :
    print(0)
    sys.exit(0)
if int(A*B) == A*B:
  print(A*B)
  sys.exit(0)
else:
    ans = A*B
    i = math.floor(ans)-3
    while True : 
        if i <= ans and i+1 > ans:
            print(int(i))
            sys.exit(0)
        i += 1

Submission status: Wrong Answer

Solution code:
# coding=UTF-8
from collections import deque
from operator import itemgetter
from bisect import bisect_left, bisect
import itertools
import sys
import math
import numpy as np
import time
sys.setrecursionlimit(10**6)
input = sys.stdin.readline


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


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


import math
f, i = math.modf(a*b)
print(int(a*b-f))

Submission status: Wrong Answer

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

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(int(a*b))

Submission status: Wrong Answer

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

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

ans_by100 = A*B_by100
ans=ans_by100//100

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

#ans = A*B
#ans = ans1+ans2
#ans = int(ans)
#print(str(ans))
if A == 0:
    print("0")
elif B_by100 == 0:
    print("0")
elif ans_by100 < 1:
    print("0")
else:
    print(str(ans_by100)[:-2])

Submission status: Wrong Answer

Solution code:
import decimal

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

sum = A*B

print(int(sum))

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)))
ans=fl(ans)
print(int(ans))

Submission status: Wrong Answer

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

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

print(int(a * b))

Submission status: Wrong Answer

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

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

c = a * b
# print(c)

ans = c//100
print(ans)

Submission status: Wrong Answer

Solution code:
def main():
    from decimal import Decimal
    A, B = (float(i) for i in input().split())
    a = int(A)
    b = Decimal(B)
    answer = []
    for t in str(a*b):
        if t == ".":
            break
        answer.append(t)
    print("".join(answer))


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import math
a = input()
list = a.split(" ")
x = int(list[0])
y = list[1]
y_l = y.split(".")
y0 = int(y_l[0])
y1 = int(y_l[1])
y = y0 + y1 / 100
xy = x * y
m = math.floor(xy)
print(m)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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])
    a0 = a%10**5
    a//=10**5
    a1 = a%10**5
    a//=10**5

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

    print((int(a*b*10**10)+int(a1*b*10**5)+int(a0*b))//100)
main()

Submission status: Wrong Answer

Solution code:

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

Submission status: Wrong Answer

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

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])
  if A == 0 or B == 0:
    print(0)
    return True
  AB = np.asarray([A, B * 100], dtype = np.uint64)
  # print("{:17}".format(AB[0]*AB[1]).replace(" ", "").replace(".0", ""))
  result = str(AB[0]*AB[1])
  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()))
     
print(round(A*B))

Submission status: Wrong Answer

Solution code:
import math
from collections import deque
a,b=map(float,input().split())
a=int(a)
aaa=str(a)
A=a
aa=a
bb=b
lst=deque()
lst=[int(i) for i in aaa]

if A!=0:
  c=lst.pop()
  if len(lst)>=1:
    c+=10*lst.pop()
  d=math.floor(c*b)
  print(c)
  print(d)
  A-=c
  A=int(A/100)
  b=int(b*100)
  print(int(A*b+d))
else:
  print(int(aa*bb))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
from math import factorial
from collections import Counter
from fractions import Fraction
import heapq, bisect, fractions
import math
import itertools
sys.setrecursionlimit(10 ** 5 + 10)
INF = 10**15 +5
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
MOD = 10**9 + 7


a, b = input().split()
a = int(a)
b = float(b)
b1 = b-int(b)
b2 = int(b)
c = a*b2 + int(a*b1)
print(c)

Submission status: Wrong Answer

Solution code:
A,B=input().split(' ')
A = int(A)
if '.' in B:
    B_int,B_float = B.split('.')
    print(int(A*int(B_int)+(A*(100*int(B_float)))/100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from collections import defaultdict, deque, Counter
from heapq import heappush, heappop, heapify
from itertools import permutations, accumulate, combinations, combinations_with_replacement
from math import sqrt, ceil, floor, factorial
from bisect import bisect_left, bisect_right, insort_left, insort_right
from copy import deepcopy
from operator import itemgetter
from functools import reduce, lru_cache  # @lru_cache(None)
from fractions import gcd
import sys
def input(): return sys.stdin.readline().rstrip()
def I(): return int(input())
def Is(): return (int(x) for x in input().split())
def LI(): return list(Is())
def TI(): return tuple(Is())
def IR(n): return [I() for _ in range(n)]
def LIR(n): return [LI() for _ in range(n)]
def TIR(n): return [TI() for _ in range(n)]
def S(): return input()
def Ss(): return input().split()
def LS(): return list(S())
def SR(n): return [S() for _ in range(n)]
def SsR(n): return [Ss() for _ in range(n)]
def LSR(n): return [LS() for _ in range(n)]
sys.setrecursionlimit(10**6)
MOD = 10**9+7
INF = 10**18
# ----------------------------------------------------------- #

a, b = (float(x) for x in input().split())
print(int(round(a*b*100+1)/100))

Submission status: Wrong Answer

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

        s = str(A*B)
        pos = s.find('.')
        if pos:
                s = s[:pos]
        return int(s)

if __name__=="__main__":
        ans = main()
        print(ans)

Submission status: Wrong Answer

Solution code:
#import math
#N=int(input())
A,B = map(float,input().split())
#N=int(input())
#A = list(map(int,input().split()))
#S=str(input())
A=int(A)
B=int(B*100)
c=A*B
if c<100:
    print(0)
    exit()
c=str(c)
c=c[0:-2]
#c=c//100
print(c)
#print(math.floor(c))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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


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

print(res)

Submission status: Wrong Answer

Solution code:
from sys import stdin
import math

A, B = [float(x) for x in stdin.readline().rstrip().split()]
A=int(A)
BB=int(B*100)
#print(A*BB)
if(B==0 or A==0):
    print(0)
else:
    S=str(A*BB)
    if len(S)<=2:
        print(0)
    else:
        print(S[:-2])

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('0'), rounding=ROUND_FLOOR)

print(val_floor_d)