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


def main():

    A, B = map(float, input().split())
    A = int(A)
    if A == 0 or int(B) == 0:
        print(0)
        return
    AB = math.floor(A*B)
    print(AB)


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
a,b = map(float,input().split())
import math
ans = a*b
if ans%1 >= 0.00001:
    print(int(ans))
else:
    print(math.ceil(ans))

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:
import sys
input = sys.stdin.readline
#n = int(input())
#l = list(map(int, input().split()))
'''
A=[]
B=[]
for i in range():
    a, b = map(int, input().split())
    A.append(a)
    B.append(b)'''
import math
ab=input().split()
a=int(ab[0])
b=float(ab[1])
#print(a,b)
bn=int(math.floor(b))
ans=int(a*bn)
bm=int((b-bn)*100)
#print(ans,bm)
print(ans+(a*bm)//100)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

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

ans = (aa*bb)//100

print(ans)

Submission status: Wrong Answer

Solution code:
from decimal import Decimal
Ans = 0
AB = input().split()
A,B = int(AB[0]), Decimal(AB[1])
IB = int(B * 100)
print(A)
print(IB)
Ans = A * IB // 100
print(Ans)

Submission status: Wrong Answer

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

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:])
  print(x * b + int(y * b))
else:
  print(int(a*b))

Submission status: Wrong Answer

Solution code:
from sys import stdin
import math
A, B= map(float, stdin.readline().rstrip().split())

tmp = A*B

print(math.floor(tmp))

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

Submission status: Wrong Answer

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

va = int(a)
vb = float(b)

value = int(va * vb)

print(value)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

A,B=input().split()

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

NB = math.floor(B)
f = B - NB

ans = NB * A + math.floor(A*f)

print(ans)

Submission status: Wrong Answer

Solution code:
a,b=map(float,input().split())
ans=a*b
temp=int(ans)
print(abs(temp-ans))
if abs(temp-ans)>0.999999:
  print(temp+1)
else:
  print(temp)
print(a*b)

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

Solution code:
import math
A, B = map(float, input().split())
mod = 10**9
a = A % mod
a_1 = A // mod
print(math.floor(a * B) + int(a_1 * mod * B))

Submission status: Wrong Answer

Solution code:
import math

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

print(math.floor(a * b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
nums = list(map(float, input().split()))
a,b = nums[0], nums[1]

res = str(a*b)
print(int(res.split('.')[0]))

Submission status: Wrong Answer

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

res = int(a*b)

print(res)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

a, b = map(float, input().split())
 
c = round(a, -2)

d = round(b, -2)

print(int(c * d))

#print(math.floor(c * b))
  
#print(int(c * b))

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

#print(int((c * int(b*100))/100))

Submission status: Wrong Answer

Solution code:
import math
import re

a = '100 1.234567'
b = int(re.sub('\s.+$','',a))
c = float(re.sub('^.+\s','',a))

print(b)
print(c)

d = float(b * c)

print(d)

print(math.floor(d))

Submission status: Wrong Answer

Solution code:
import  math

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

C = int(B*100)*A

print(int(math.floor(C/100)))

Submission status: Wrong Answer

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

if 0 in numbers:
  print("0")
else:
 result=1
 for n in numbers:
    result *= n

 print(round(result))

Submission status: Wrong Answer

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

if A > 100:
    B *= 100
    ans = int(A) * int(B)
    ans /= 100
    print(int(ans))
else:
    ans = A*B
    # print(ans)
    print(int(ans))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
A,B = map(float,input().split())
print(math.ceil(A*B+0.000000001)-1)

Submission status: Wrong Answer

Solution code:
from decimal import *
a= input().split()
aa=int(a[0]) * float(a[1])
print(Decimal(str(aa)).quantize(Decimal('1'), rounding=ROUND_DOWN))

Submission status: Wrong Answer

Solution code:
a, b = map(float, input().split())
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:
import math as m
a,b=list(map(float,input().strip().split()))
print(m.trunc(a*b))

Submission status: Wrong Answer

Solution code:
A,B = map(float,input().split())
A = str(int(A))
L = len(A)
if L <= 5:
    print(int(int(A)*B))
else:
    a1,a2 = int(A[:L//2]),int(A[L//2:])
    B = round(B,2)
    print(int(int(a1*B*100)*(10**(L-2-L//2))+int(a2*B)))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import decimal 
a,b=input().split()
a=decimal.Decimal(a)
b=decimal.Decimal(b)
b=b*100
if b==0:
    print(b)
elif a==0:
    print(a)
else:
    print(int(a*b//100))

Submission status: Wrong Answer

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

ans = A*B

print(int(ans))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

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

ans = a * b

new_b = int(b)

next_b = b - new_b

ans = int(next_b * a)

ans += a * new_b


print(int(ans))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
ab = input().split()
a = int(ab[0])
b = ab[1]
import math
s = a*int(b[0])
if len(b) > 2:
  tmp = str(a*int(b[2]))
  if len(str(tmp)) > 1:
    s+=int(str(a*int(b[2]))[:-1])
if len(b) > 3:
  tmp = str(a*int(b[3]))
  if len(str(tmp)) > 2:
    s+=int(str(a*int(b[3]))[:-2])

print(s)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

ans = a * b

print(int(ans))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

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

c= str(a*b)

id=c.find(".")
if id==-1:
  print(c ,end="" )
else:
  print( c[:id] ,end="" )

Submission status: Wrong Answer

Solution code:
import math

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

n = a[0]
m = a[1]

print(math.floor(n*m))

Submission status: Wrong Answer

Solution code:
from sys import stdin
import math
A, B = [float(x) for x in stdin.readline().rstrip().split()]
print(math.floor(A*B))

Submission status: Wrong Answer

Solution code:
from math import floor

A, B = map(float, open(0).read().split())

print(floor(A * B))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

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

Submission status: Wrong Answer

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

ans = b_f * A
ans = int(ans)
ans += b_c * A
print(int(ans))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a, b = input().split()
temp = 1
if b == 0.00:
    temp = 0
a = int(a)
b = float(b)
b = int(100 * b)
b = b / 100
ans = a * b
if temp == 0:
    print(0)
else:
    print(int(ans))

Submission status: Wrong Answer

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

C = math.floor(int(int(A)/100) * int(100 * float(B)) + (int(A) % 100) * float(B))


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

Submission status: Wrong Answer

Solution code:
from sys import stdin

[a, b] = stdin.readline().split()
b = int(float(b) * 100)
print(int(int(a) * b // 100))

Submission status: Wrong Answer

Solution code:
import math

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

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

c=a*b
if c<100:
    print(0)
else:
    c=str(c)
    print(c[:-2])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
m,n = map(float,input().split())
print(int(m*n))

Submission status: Wrong Answer

Solution code:
import math

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

#print(ans)

print(str(math.floor(ans)))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

a = int(a)

b = float(b)

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

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

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

def fl(x):
    digits = 18
    form = '%.'+str(digits-1)+'e'
    return float((form % x))

print(int(fl(a*b)))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import *

a, b = input().split()

result = Decimal(a) * Decimal(b)
print(result)

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

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

print(ans)

Submission status: Wrong Answer

Solution code:

#!/usr/bin/python
# -*- coding: utf-8 -*-

import math

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

print(math.floor(A*B/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 math

input_list = input().split()
A = int(input_list[0])
B = float(input_list[1])
final_B = math.floor(B * 10 ** 2)

print(A * final_B // 10**2)

Submission status: Wrong Answer

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

AA = int(A)
BB = float(B)

BBi = int(BB)
BBs = BB-BBi

mul = AA*BBi + int(AA*BBs)
print(mul)

Submission status: Wrong Answer

Solution code:
import sys
import math

if sys.platform =='ios':
    sys.stdin=open('input_file.txt')
   
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

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

a=int(a)
c=float(b)
b=int(float(b)*100)
d=str(a*b)

if len(d)>4:
	print(d[0:len(d)-2])
else:
	print((a*b)/100)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

Solution code:
from math import floor
n, m = map(float, input().split())
n = int(n)
print(floor(n * m))

Submission status: Wrong Answer

Solution code:
from decimal import *
import math

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

result = Decimal(str(a*b)).quantize(Decimal('.01'), rounding=ROUND_DOWN)

print(math.floor(result))

Submission status: Wrong Answer

Solution code:
phrase = input().split(" ")
a = int(phrase[0])
b = float(phrase[1])
c = a*b
d = round(c)
if (d > c) :
	print(d-1)
else :
	print(d)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = input().split()
a = int(a)
b = float(b)
br, bl = divmod(b, 1)
br = int(br)
bl100 = int(bl*100)
x = a*bl100//100
print(a*br+x)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

    a = int(a)
    b = round(float(b), 2)

    res = a * b

    print(int(res))

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import math

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

print(int(ans))

Submission status: Wrong Answer

Solution code:
import math


def main():

    A, B = map(float, input().split())
    A = int(A)
    AB = math.floor(A*B)
    print(AB)


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
# -*- coding:utf-8 -*-
import sys
def main():
  n, m = map(str, input().split())
  ms = m[0:len(m)-3] + m[len(m)-2:len(m)]
  print ((int)(int(n) * int(ms) / 100))
main()

Submission status: Wrong Answer

Solution code:
A,B=input().split()
A_=[A[:-2],A[-2:]]

if A_[0]=='':
    A_[0]='0'
    
A_[0]=int(A_[0])*100
A_[1]=int(A_[1])

B=float(B)
print(int(A_[0]*B + A_[1]*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:])
  print(int(x * b + int(y * b)))
else:
  print(int(a*b))

Submission status: Wrong Answer

Solution code:
A,B = map(float,input().split())
print(str(A*B).split(".")[0])

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!
import numpy as np

i = list(map(float, input().split()))
ans = int(np.prod(i))
print(ans)

Submission status: Wrong Answer

Solution code:
import sys, io, os, re
import bisect
from pprint import pprint
from math import sin, cos, pi, radians, sqrt, floor
from copy import copy, deepcopy
from collections import deque
from fractions import gcd
from functools import reduce

def array1(n): return [0] * n
def array2(n, m): return [[0] * m for x in range(n)]
def array3(n, m, l): return [[[0] * l for y in xrange(m)] for x in xrange(n)]

arr = list(sys.stdin.readline().strip().split())
arr[0] = int(arr[0])
arr[1] = float(arr[1])*100

print(int((arr[0]*arr[1])%100)/100)

Submission status: Wrong Answer

Solution code:
import sys
inp = list(map(str,input().split()))
a = int(inp[0])
b = float(inp[1])
#print(a)
#print(b)
bb = int(b * 100)
print(a * bb // 100)

#prod = 1
#overflow = False
#
#a = list(map(int,input().split()))
#
#for aa in a:
#  if prod * aa > 1000000 * 1000000 * 1000000:
#    overflow = True
#  else:
#    prod = prod * aa
#
#for aa in a:
#  if aa == 0:
#    overflow = False
#
#if overflow:
#  print(-1)
#else:
#  print(prod)

Submission status: Wrong Answer

Solution code:
A,B = map(float,input().split())
t = list(B.as_integer_ratio())
A = int(A)
#print(t)
t[0] = A*t[0]
print(int(t[0]/t[1]))

Submission status: Wrong Answer

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

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

print(format(a*b/100, '0.0f'))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#n = int(input())
#a,b = map(int,input().split())
#a_L = list(map(int,input().split()))

from math import ceil
import math
a,b = map(float,input().split())

if b<1 and a*b < 1.0:
    print(0)
else:
    a = int(a)
    b = int(b*100)
    print(math.floor(a*b/100))

Submission status: Wrong Answer

Solution code:
import sys
input = lambda: sys.stdin.readline().rstrip()
from math import floor,ceil,sqrt,factorial,log
from heapq import heapify, heappop, heappush, heappushpop
from collections import Counter,defaultdict,deque
from itertools import accumulate,permutations,combinations,product,combinations_with_replacement
from bisect import bisect_left,bisect_right
from decimal import Decimal
inf = float('inf')
mod = 1000000007

a, b = input().split()

a = int(a)
b = list(b)
for i in range(len(b)):
    if b[i] == '.':
        pos = i

x = len(b) - pos - 1
b.pop(pos)
b = int(''.join(b))

ans = a * b
ans = list(str(ans))


ans = int(int(''.join(ans)) * 10**(-x)) 

print(ans)

Submission status: Wrong Answer

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

#a = int(input())
#b = list(map(int, input().split()))
a, b = map(str, input().split())
#s = input()
#s,t = input().split()
#
#readline = sys.stdin.readline
#n,m = [int(i) for i in readline().split()]
#ab = [[int(i) for i in readline().split()] for _ in range(n)]

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

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

print(ans)

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
from decimal import Decimal


A, B = map(float, input().split())
answer = Decimal(A) * Decimal(B)

print(math.floor(answer))

Submission status: Wrong Answer

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

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

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

n = a[0]
m = a[1]

print(math.floor(int(n*m)))

Submission status: Wrong Answer

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

    
    return int(a*b)
    

print(solve())

Submission status: Wrong Answer

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

T = str(A * B)
point = -1
for i in range(len(T)):
    if T[i] == '.':
        point = i
print(T[:point])

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import sys
import decimal
import math
"""
def input():
    return sys.stdin.readline()
"""

def resolve():
    input_list = list(input().split())

    for i, n  in enumerate(input_list):
        if i == 0:
            a = int(n)
        else:
            b = float(n)

    dec_a = decimal.Decimal(a)
    dec_b = decimal.Decimal(b)

    ans = dec_a * dec_b

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

if __name__ == "__main__":
    resolve()

Submission status: Wrong Answer

Solution code:
from decimal import Decimal, ROUND_DOWN


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

ans = Decimal(str(ans)).quantize(Decimal("0"), rounding=ROUND_DOWN)
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import Decimal


def solve(a, b):
    return int(Decimal(a) * Decimal(b))


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

Submission status: Wrong Answer

Solution code:
import math
num = input().split()
a = int(num[0])
if a < 0:
    a = 0
elif a > 10**15:
    a = 10**15

b = float(num[1])
if b < 0:
    b = 0
print(math.floor(a*b))

Submission status: Wrong Answer

Solution code:
a,b = input().split()
c = float(a)*float(b)
d = str(c).split(".")[0]
print(d)

Submission status: Wrong Answer

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

import math
times = int(math.floor(A*B))
print(times)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
 
import sys
import math
from bisect import bisect_right as br
from bisect import bisect_left as bl
from collections import defaultdict
from itertools import accumulate
from collections import Counter
from collections import deque
from operator import itemgetter
from itertools import permutations
mod = 10**9 + 7
inf = float('inf')
def I(): return int(sys.stdin.readline())
def LI(): return list(map(int,sys.stdin.readline().split()))
 
a, b = input().split()
a = int(a)
b = int(float(b)*100)
ans = a * b
print(ans // 100)

Submission status: Wrong Answer

Solution code:
A,B = input().split()
C = int(A)*float(B)
D = str(C).split(".")[0]
print(int(D))

Submission status: Wrong Answer

Solution code:
def main():
    N = [str(_) for _ in input().split()]
    A = int(N[0])
    B = N[1]

    BB = B.split('.')

    result = A * int(BB[0])
    result = result + int((A * int(BB[1][0]))/10)
    result = result + int((A * int(BB[1][1]))/100)


    print(result)

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-


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

    # A = int(A)
    # res = B - int(B)
    # s = A * int(B)
    # t = A * res
    # print(s+int(t))
    print(int(A*B))

if __name__ == '__main__':
    main()

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=a*int(b)
ans//=100
print(math.floor(ans))

Submission status: Wrong Answer

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

a = float(a)
ans = 0
ans += a * int(b[0])
ans += a * int(b[2]) / 10
ans += a * int(b[3]) / 100
ans = math.floor(ans)
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

Solution code:
import math

A,B = (map(float, input().strip().split(' ')))
C=A*B
print(math.trunc(C))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B = map(float,input().split())
keta = 0
while True:
    B *=10
    keta += 1
    if int(B) == B:
        break
print(int(A*B/(10**keta)))

Submission status: Wrong Answer

Solution code:
from decimal import Decimal, ROUND_FLOOR
A,B=input().split()
A=Decimal(A)
B=Decimal(B)
S=Decimal(A*B)
print(S.quantize(Decimal("0")))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
import  math
import fractions
from collections import defaultdict
stdin = sys.stdin
     
ns = lambda: stdin.readline().rstrip()
ni = lambda: int(stdin.readline().rstrip())
nm = lambda: map(int, stdin.readline().split())
nl = lambda: list(map(int, stdin.readline().split()))

A2,B2=map(str, stdin.readline().split())
A=int(A2)
B=float(B2)

B1=int(math.floor(B))
B=B-B1
B2=int(math.floor(10*B))
B=B-(B2/10)
B3=int(math.floor(100*B))

ans=0
ans+=B1*A
ans+=(A*B2)//10
ans+=(A*B3)//100
if(10<=((A*B2)%10)+(((A*B3)%100)//10)):
    ans+=1

print(ans)

Submission status: Wrong Answer

Solution code:
import math
from decimal import Decimal

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

print(math.floor(int(a)*round(b,2)))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b = map(float, input().split()) #a1 a2 a3 // b1 b2 b3
print(int(a*b))

Submission status: Wrong Answer

Solution code:
a,b=input().split()
a=int(a)
b=float(b)
s=a%100
d=int(s*b)
f=(a//100)*100
print(f+d)

Submission status: Wrong Answer

Solution code:
m,n = map(float, input().split())
print(int(m*n))

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

a = int(a)

b = float(b)

b = int(b*100)

answer = int(a * b)

print(answer // 100)

Submission status: Wrong Answer

Solution code:
import math

str_list = input().split()

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

result = a * b

print(format(result, '.0f'))

Submission status: Wrong Answer

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


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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = input().split()
a = int(a)
b = float(b)
br, bl = divmod(b, 1)
br = int(br)
x = int(a*bl//1)
print(a*br+x)

Submission status: Wrong Answer

Solution code:
import math
num1,num2 = map(float,input().split())
print(math.floor(num1 * num2))

Submission status: Wrong Answer

Solution code:
n,m=map(str,input().split())
n=int(n)
m=float(m)*100
hoge=n*m
print(int(hoge//100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
[a, b] = list(map(float, input().split()))
a = int(a)
product = a * b
product = str(product)
outStr = ''
for i in product:
    if i == '.':
        break
    outStr += i
print(int(outStr))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

Solution code:
A,B=input().split()
A = int(A)
B = str(B)
B = B.replace('.','')
B = int(B)
ans = int(A*B/100)
print(ans)

Submission status: Wrong Answer

Solution code:
import math

a, b=map(float, input().split())
a=int(a)
k=math.floor(b*10**2)/(10**2)

ans=math.floor(a*k)

print(ans)

Submission status: Wrong Answer

Solution code:
n, m= input().split()
import math
print(math.floor(float(n) *float(m)))

Submission status: Wrong Answer

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

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