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=input().split()
a=int(A)
b=float(B)
x=a*b
int(x)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b = input().split()
a = int(a)
b = float(b)
p = a*b % 1
ans = int(a*b - p)
print(ans)

Submission status: Wrong Answer

Solution code:
import math 
import numpy as np
A, B = input().split()
a = int(A)
b = np.array([B], dtype=np.float64)
ans = math.floor(a*b[0])
print(ans)

Submission status: Wrong Answer

Solution code:
x, y = input().split()
x = int(x)
y = float(y)
mul = x*y
mul = str(mul).split('.')[0]
print(mul)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b = input().split()
a = int(a)
ans = [0,0,0]
for i in range(int(b[0])):
   ans[0] += a

for i in range(int(b[2])):
    ans[1] += a

for i in range(int(b[3])):
    ans[2] += a

ans_int = ans[0] + ans[1]/10 + ans[2]/100
ans_int = int(ans_int)
print(ans_int)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


if A*B < 10*15:
    print(int(A*B))
else:

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
# n,m = map(int,sys.stdin.readline().split())
# a = tuple(map(int,sys.stdin.readline().split())) # single line with multi param
# a = tuple(sys.stdin.readline() for _ in range(n)) # multi line with single param
# a = tuple(tuple(map(int,sys.stdin.readline().rstrip().split())) for _ in range(N)) # multi line with multi param
# s = sys.stdin.readline().rstrip()
# n = int(sys.stdin.readline())
# INF = float("inf")
# sys.setrecursionlimit(10000)
import sys,collections,math
sys.setrecursionlimit(100000)
a,b = sys.stdin.readline().split()
a = int(a)
b = float(b)
b = int(b*100)
print(a*b//100)

Submission status: Wrong Answer

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

print(int(A*B))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import bisect,collections,copy,heapq,itertools,math,numpy,string
import sys
def I(): return int(sys.stdin.readline().rstrip())
def LI(): return list(map(float,sys.stdin.readline().rstrip().split()))
def S(): return sys.stdin.readline().rstrip()
def LS(): return list(sys.stdin.readline().rstrip().split())

A,B = LI()
A = int(A)
#print(A*B)
print(math.floor(A*B))

Submission status: Wrong Answer

Solution code:
a,b=input().split()
a=int(a)
if b[0]=="0":
  if len(b)==0:
    b=0
  elif b[2]!="0":
    b=int(b[2:])
  else:
    b=int(b[3])
else:
  b=int(b.replace('.', ''))

c=a*b
c=str(c)
c=c[:-2]
print(c)

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

Submission status: Wrong Answer

Solution code:
import math

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

print(math.floor(A*B))

Submission status: Wrong Answer

Solution code:
import math
from decimal import Decimal

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

Submission status: Wrong Answer

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

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

e = c * d
# print(c)

ans = e//100
print(ans)

Submission status: Wrong Answer

Solution code:
a,b=map(float, input().split())
an=int(a*b)
if an>10*12:
  an=an//1000
  an*=1000
  
print(an)

Submission status: Wrong Answer

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

print(math.floor(A * B))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
import numpy as np

def main():
    a = list( map( float, input().split()))
    #print(format(a[0], '.20f'))
    a1 = int(a[0])
    a2 = int(round(a[1],3)*100)
    #print(format(a[1], '.20f'))
    #print(format(a2, '.20f'))
    s = a1*a2/100
    #print(format(s, '.20f'))
    print(math.floor(s))
    
if __name__ == '__main__':
    main()

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!
import decimal
a,b = map(float, input().split())
# 3.141592653589793
sum=a*b
val_pi_d = decimal.Decimal(sum)

# decimal型による切り捨て
val_floor_d = val_pi_d.quantize(decimal.Decimal('0.001'), rounding=decimal.ROUND_FLOOR)
print(val_floor_d)

Submission status: Wrong Answer

Solution code:
import math
a,b = input().split()
n = b.find('.')
if n > 0:
  bi = int(b[:n])
  bf = int(b[n+1:])
else:
  bi,bf = int(b),0
  
ans = str(math.floor(int(a)*(bi*100+bf)))
N = ans.find('.')
if N > 0:
  ai = int(ans[:n-2])
else:
  ai = int(int(ans)/100)
print(ai)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def main():
    A,B = map(float,input().split())
    A = round(A)
    B = round(B*100)
    if B != 0:
        C = A*B
        C = str(C)
        print(C[:-2])
    else:
        print(0)
    
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#A, B = map(float, input().split())
s = input()
A = s.split()[0]
A = int(A)
B = s.split()[1]
B = float(B)
T = A*B
T = str(T)
if A==0 or B==0.0:
    print(0)
else:
    print(T.split('.')[0])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
#import numpy as np
import math
#from fractions import Fraction
#import itertools
#from collections import deque
#import heapq
#from fractions  import gcd
a,b=input().split()
a=int(a)
b=float(b)
b=int(b*100)
ans=str(a*b)
n=len(ans)
if n>2:
  print(math.floor((a*b)/100))
else:
  print(0)

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 = float(A) * B

# print(type(ans))

# print(math.floor(ans))
print(int(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 = int(c*d)
print(int(e))

Submission status: Wrong Answer

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

A = N[0]
dig_A = len(A)
B = N[1]

ans = 0
for i in range(dig_A):
    tmp1 = int(A[-(i+1)])
    tmp2 = float(B) 
    tmp = tmp1*tmp2
    for j in range(i):
      tmp = tmp*10
    ans = ans + tmp
    
ans = int(ans)
print(ans)

Submission status: Wrong Answer

Solution code:
import math

a,b=input().split()
a=int(a)
b=int(b[0])*100+int(b[2])*10+int(b[3])
s=a*b
print(math.floor(s/100))

Submission status: Wrong Answer

Solution code:
a,b=map(str, input().split())
a=int(a)
if b=='10.00':
    print(a*10)
if b=="0.0":
    print(0)
else:
    b=b[0]+b[2:3]
    b=int(b)
    print(b)
    print(int(a*b/10))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

a = list(map(float, input().split()))
x = a[0]
y = a[1]
x = int(x)

print(math.floor(x*y))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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)

i = int(dc_b)
f = dc_b - i

print(math.floor(f*a) + i*a)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

Solution code:
import math

line = input().split()

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

new = a*b
new = (new-(new%1))
print(int(new))

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:]
    b = int(b)

print(math.floor(a*b/100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math


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

Submission status: Wrong Answer

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

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

print(math.floor(c))

Submission status: Wrong Answer

Solution code:
import math
a, b = input().split()
for i in range(10):
    b+='0000000000000000000000'
a = int(a)
b = float(b)
b = round(b,2)
print(b)
ans = math.floor(a*b)

print(ans)

Submission status: Wrong Answer

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

def solve(A: int, B: float):
    int_b = math.floor(B)
    point_b = math.floor((B - int_b)*100)/100
    print(int_b+point_b)
    ans_int = A * int(int_b)
    ans_point = float(A) * float(point_b)
    ans = math.floor(ans_int) + math.floor(ans_point)
    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 math import floor
a, b = [float(i) for i in input().split()]
print(floor(floor(floor(a) * floor(b * 100) / 100)))

Submission status: Wrong Answer

Solution code:
INT_MAX=10**11+7
MOD=10**9+7
def INPUT():return list(float(i) for i in input().split())
def LIST_1D_ARRAY(n):return [0 for _ in range(n)]
def LIST_2D_ARRAY(m,n):return [[0 for _ in range(n)]for _ in range(m)]
import math
import random as R
#=======================================================================
a,b=INPUT()
ans=0
i=b-b%1
f=b%1
x=a*f
x=x-x%1
ans=a*i+x
ans=ans-ans%1
print(int(ans))

Submission status: Wrong Answer

Solution code:
n = input().split()
a = int(n[0])
b = int(float(n[1])*100)
ans = str(a*b)
print(ans[:-4])

Submission status: Wrong Answer

Solution code:
if __name__ == "__main__":
    a, b = map(float, input().split())

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

Submission status: Wrong Answer

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

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*int(b1*100))//100
print(c)

Submission status: Wrong Answer

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

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:
import sys
import math
def get_array(): return list(map(int,sys.stdin.readline().strip().split()))
def get_ints(): return map(int,sys.stdin.readline().strip().split())
def input(): return sys.stdin.readline().strip()
a,b=input().split()
c=int(a)
d=float(b)
e=c*d
f='{:0.2f}'.format(e)
g=math.trunc(float(f))
print(int(g))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A, B = input().strip().split(" ")
BZ, d1, d2 = int(B[0]), int(B[2]), int(B[3])

def multiply(str_num, integer):
    result = []
    forward = 0
    for i in range(len(str_num) - 1, -1, -1):
        s = str_num[i]
        r = int(s) * integer
        now = r - int(r / 10) * 10 + forward
        forward = int(r / 10)
        result.insert(0, now)
    if forward > 0:
        result.insert(0, forward)
    return result


Z1 = multiply(A, BZ)
Z2 = multiply(A, d1)[:-1]
Z3 = multiply(A, d2)[:-2]
# print(Z1, Z2, Z3)
pad_len = max([len(Z1), len(Z2), len(Z3)])

for _ in range(pad_len - len(Z1)):
    Z1.insert(0, 0)

for _ in range(pad_len - len(Z2)):
    Z2.insert(0, 0)

for _ in range(pad_len - len(Z3)):
    Z3.insert(0, 0)

def add(str1, str2, str3, pad_len):
    result = []
    forward = 0
    for i in range(pad_len - 1, -1, -1):
        r = str1[i] + str2[i] + str3[i] + forward
        now = r - int(r / 10) * 10
        forward = int(r / 10)
        result.insert(0, str(now))
        # print(result)
    if forward > 0:
        result.insert(0, str(forward))
    return result

result = add(Z1, Z2, Z3, pad_len)
result = int("".join(result))
print(result)

Submission status: Wrong Answer

Solution code:
import math
import numpy as np

def main():
    a = list( map( float, input().split()))
    #print(format(a[0], '.20f'))
    a1 = int(a[0])
    a2 = int(round(a[1],2)*100)
    #print(format(a[1], '.20f'))
    #print(format(a2, '.20f'))
    s = a1*a2/100
    #print(format(s, '.20f'))
    print(math.floor(s))
    
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
import math

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

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

a = a*10**(-10)

c = a*b

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

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

if a>=10000:
  aa = a//10000
  # print(aa, aa*10000*b, a%10000, (a%10000)*b)
  x = aa * 10000 * b + ((a % 10000)*b)
  print(int(math.floor(x)))
  
else:
  print(int(math.floor(a*b)))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

A, B = [float(x) for x in input().split(" ")]
A = int(A)
print(math.floor(A * B))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

a, b = map(str, 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
x,y = input().split()
a = int(x)
b = float(y)

print(math.floor(a*b))

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=int(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 math

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

# output
print(math.floor(A*B))

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


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

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.0)
c += int((a*int(b[3]))/100.0)
print(c)

Submission status: Wrong Answer

Solution code:
a,b = map(float, input().split())
from decimal import *
getcontext().prec = 16
dec_var = Decimal(str(a))*Decimal(str(b))
print(int(dec_var))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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


if B == 0:
    print(0)
    exit()
    
B = B * 100
B = int(B)


ans = A * B

ans = str(ans)

print(ans[0:-2])

Submission status: Wrong Answer

Solution code:
# Template 1.0
import sys, re
from decimal import *
from collections import deque, defaultdict, Counter, OrderedDict
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians, floor, trunc
from heapq import heappush, heappop, heapify, nlargest, nsmallest
def STR(): return list(input())
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
def list2d(a, b, c): return [[c] * b for i in range(a)]
def sortListWithIndex(listOfTuples, idx):   return (sorted(listOfTuples, key=lambda x: x[idx]))
def sortDictWithVal(passedDic):
    temp = sorted(passedDic.items(), key=lambda kv: (kv[1], kv[0]))
    toret = {}
    for tup in temp:
        toret[tup[0]] = tup[1]
    return toret
def sortDictWithKey(passedDic):
    return dict(OrderedDict(sorted(passedDic.items())))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

a, b = map(float, input().split())
a = int(a)
i = trunc(Decimal(a)*Decimal(b))

print(i)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

c = int(a) * float(b)

print(int(c))

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
AB = input().split()
A,B = int(AB[0]),float(AB[1])
print(math.floor(A*B))

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:
    print(0)
else:
    print(C[0:-2])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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 ans-i >= 0.001 and i+1 > ans:
            print(i)
            sys.exit(0)
        i += 1

Submission status: Wrong Answer

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


if A*B < 10*16:
    print(int(A*B))
else:

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

Submission status: Wrong Answer

Solution code:
import math
a,b=input().split()
if len(a)<=3:
  a=float(a)
  b=float(b)
  print(math.floor(a*b))
  exit()
a=list(a)
b=list(b)
a0=float(''.join(a))
a1=a0/10
a2=a0/100
b0=int(b[0])
b1=int(b[2])
b2=int(b[3])
ss=a0*b0+a1*b1+a2*b2
print(math.floor(ss))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(int(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:
import math as mt
I = lambda : list(map(int,input().split()))
a,b=input().split(' ')
ans=float(a)*float(b)
ans=str(ans)
f=ans.find('.')
print(ans[:f])

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a,b = map(float, input().split())
from math import floor
print(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:
A, B = map(eval,input().split())
res = A * B
print(int(res))

Submission status: Wrong Answer

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

print(int(a*b))

Submission status: Wrong Answer

Solution code:
from functools import reduce
from fractions import gcd
import math
import bisect
import itertools
import sys
sys.setrecursionlimit(10**7)
input = sys.stdin.readline
INF = float("inf")


# 処理内容
def main():
    A, B = input().split()
    A = int(A)
    B = float(B)
    print(math.floor(A*B))


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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


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


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


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

Submission status: Wrong Answer

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

B = float('{:.2f}'.format(B))
ans =math.floor(int(A)*B)
if ans >10**18:
    print(0)
else:
    print(ans)

Submission status: Wrong Answer

Solution code:
a,b = map(eval,input().split())
a1=round(a,0)
b1=round(b,2)
print(int(a1*b1))

Submission status: Wrong Answer

Solution code:
import sys
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())
ans=a*b
s=str(ans)
if 'e' in s:
    a=s.split('e')
    c=int(a[1])
    if '.' in s:
        d=a[0].split('.')
        d=int(d)
    else:
        pass
    ans=d*10**c
else:
    a=s.split('.')
    ans=a[0]

print(int(ans))

Submission status: Wrong Answer

Solution code:
import math

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

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

res = str(A * B).split('.', 1)[0]

print(str(res))

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:]
    b = int(b)

print(int(a*b/100))

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!
import decimal
a,b = map(float, input().split())
# 3.141592653589793
sum=a*b
val_pi_d = decimal.Decimal(sum)

# decimal型による切り捨て
val_floor_d = val_pi_d.quantize(decimal.Decimal('0.001'), rounding=decimal.ROUND_FLOOR)
print("切り捨て(decimal) ：", val_floor_d)

Submission status: Wrong Answer

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

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

print(math.floor(c))

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 = map(eval, input().split())
print(int(Decimal(B)*Decimal(A)))

Submission status: Wrong Answer

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

if __name__ == "__main__":
    main()

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:
a,b=map(float,input().split())
a=int(a)
b=int(b*100)
a1,a2=a//100,(a%100)/100
ans=0
ans+=a1*b+int(a2*b)
print(ans)

Submission status: Wrong Answer

Solution code:
import math

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

a = int(a)

ans = a * b
if ans >= 0:
    ans = math.floor(ans)
else:
    ans = math.ceil(ans)

print(int(ans))

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])
y1_ = y1 / 100
y = y0 + y1_
xy = x * y
m = math.floor(xy)
print(m)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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