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:
#! /usr/bin/env python3

import sys
import math
import numpy as np
int1 = lambda x: int(x) - 1
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(500000)

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

if int(A) % 100 == 0:
    A //= 100
    ans = int(A) * int(B * 100)
elif int(A) % 10 == 0:
    A //= 10
    ans = int(A) * int(B * 100) // 10

else:
    ans = int(A) * int(B * 100) // 100

print(ans)

Submission status: Wrong Answer

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

print(math.floor(C))

Submission status: Wrong Answer

Solution code:
from fractions import Fraction

a, b = input().split()
a = int(a)
b = float(b)
bb = Fraction(b)
c = a * bb.numerator
c = c / bb.denominator
d = c//1
d = int(d)
print(d)

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

a = int(a)

# ans = a * b
ans = math.floor(a*b)

print(int(ans))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import *
getcontext().prec = 50

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

print(math.floor(A*B))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

#入力をNに代入する
N = input()

# スペースで区切り処理
inputs = N.split(' ')

#float型でAとBに代入する
A = float(inputs[0])
B = float(inputs[1])

final = A * B

print (math.floor(final))

Submission status: Wrong Answer

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


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

print(B)
ans = []
p = [[]for k in range(len(B))]
for k in range(len(B)):
    for j in range(k):
        p[k].append(0)
for k in range(1, len(B)+1):
    a = 0
    for j in range(1, len(A)+1):
        if a > 9:
            a = int(str(a)[0]) + int(B[-k])*int(A[-j])
        else:
            a = int(B[-k])*int(A[-j])

        p[k-1].append(int(str(a)[-1]))

for k in range(len(B)):
    for j in range(len(B)-k-1):
        p[k].append(0)

#print(p)
a = 0
for k in range(len(p[0])): 
    if int(a) > 9: 
        a = int(str(a)[0])
    else:
        a =0
    for j in range(len(p)):
        a += p[j][k]
    ans.append(str(a)[-1])

#print(ans)
op = ""
for k in range(1, len(ans)-1):
    op += ans[-k]
if len(ans)<3:
    print(0)
else:
    print(op)

Submission status: Wrong Answer

Solution code:
import math

N, M = map(float, input().split())

red = N * M

print(math.floor(red))

Submission status: Wrong Answer

Solution code:
from decimal import Decimal, ROUND_DOWN
a, b = input().split()
ans = int(a) * float(b)
print(Decimal(str(ans)).quantize(Decimal(1), rounding=ROUND_DOWN))

Submission status: Wrong Answer

Solution code:
from decimal import Decimal

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

Submission status: Wrong Answer

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

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

if(A==0 or B==0):
  print("0")
else:
  print(math.floor(c))

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
A, B = map(str, input().split())
A = int(A)
ans = A*int(B[-1])//100
ans += A*int(B[-2])//10
ans += A*int(B[0])
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
List = input().split()
X = int(List[0]) * int(float(List[1]) * 100)

print(int(X/100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b = map(float, input().split())
a = int(a)
for i in range(11):
    if i <= b <i+1:
        c = int(i)
        d = int(100 * (b - 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())
B = B * 100

C = A * B / 100 

print(math.floor(C))

Submission status: Wrong Answer

Solution code:
a, b = input().split()
a = int(a)
b = float(b)
import math
if b == 0.00:
  print(0)
else:
  print(math.floor(a*b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def getN():
    return int(input())
def getNM():
    return map(int, input().split())
def getList():
    return list(map(int, input().split()))
def getArray(intn):
    return [int(input()) for i in range(intn)]
def input():
    return sys.stdin.readline().rstrip()

from collections import defaultdict, deque, Counter
from sys import exit
import heapq
import math
import copy
from bisect import bisect_left, bisect_right

import sys
sys.setrecursionlimit(1000000000)
mod = 10 ** 9 + 7

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

Submission status: Wrong Answer

Solution code:
a,b=map(float,input().split())
a=int(a)
a1,a2=a//100,a%100
a11,a12=a1//100,a1%100
x=(int(a11*b*10000)+int(a12*b*100))
y=int(a2*b)
ans=x+y
print(ans)

Submission status: Wrong Answer

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

f_ans = a * b
ans = math.floor(f_ans)
print(ans)

Submission status: Wrong Answer

Solution code:
x,y = map(str,input().split())
x = int(x)
y = float(y)

ans = x*y
print(str(int(ans)))

Submission status: Wrong Answer

Solution code:
import math
list = input().split()
a=int(int(list[0]))
b=int(float(list[1])//1)
c= float(list[1])%1
ans = a*b+int(a*c)
print(ans)

Submission status: Wrong Answer

Solution code:
import math
from decimal import Decimal
one, two = map(float, input().split())
result = Decimal(one) * Decimal(two)

print(math.floor(result))

Submission status: Wrong Answer

Solution code:
from collections import Counter,defaultdict,deque
from heapq import heappop,heappush,heapify
from bisect import bisect_left,bisect_right 
import sys,math,itertools,fractions,pprint
sys.setrecursionlimit(10**8)
mod = 10**9+7
INF = float('inf')
def inp(): return int(sys.stdin.readline())
def inpl(): return list(map(int, sys.stdin.readline().split()))

a,b = input().split()
a,b = int(a), float(b)
b = int(b*10**16)
# print(b)
print(int((a*b)//10**16))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B = input().split()
B,C = B.split(".")
A = int(A)
B = int(B)
C = int(C)
s = A*B
t = 0
if C>=10:
    t = A*C//100
elif C>=1:
    t = A*C//10
print(s+t)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def main():
    a, b = input().split()
    a = int(a)
    b = float(b)
    seisu = int(b)
    syosu = int((b - int(b)) * 100)
    n1 = int(a * syosu/ 100)
    n2 = a * seisu
    print(n1 + n2)



if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
from operator import mul
from functools import reduce
A = [float(x) for x in input().split()]
print (math.floor(reduce(mul,A)))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
a,b = map(str, input().split())
a = int(a)
b = float(b)
ans = math.floor(a*b)
if len(str(ans)) >= 14:
    ans = math.floor(ans/10) * 10
print(ans)

Submission status: Wrong Answer

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

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

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

print(res)

Submission status: Wrong Answer

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

    print(c)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

# A, B = 1000000000000000, 9.99
# A, B = 1, 0.01

decimalLength = str(B).split(".")[1].__len__()

B = B * 10 ** decimalLength

res = A * B

print(int(res // (10 ** decimalLength)))

Submission status: Wrong Answer

Solution code:
import math

def main():
    A,B=map(str, input().split(" "))
    A = int(A)
    B = int(float(B) * 100)
    A_B_mul = A * B
    
    
    print(int(A_B_mul / 100))
    
if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
l=list(input().split())
x=int(l[0])
y=float(l[1])
ans=y*x
k=str(ans)

if '.' in k:
    sol=k[:k.index('.')]
    print(sol)
else:
    print(k)

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

if __name__ == "__main__":
    solve()

Submission status: Wrong Answer

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

print(math.floor(B* A))

Submission status: Wrong Answer

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

print(int(a*b))

Submission status: Wrong Answer

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

result = (a * int(b)) 
result += a * (int(b * 10) % 10) // 10
result += a * (int(b * 100) % 100) // 100
print(int(result))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
A,B = input().split()
B = int(float(B)*100)
B_ = B
db = [0]*18
for i in reversed(range(18)):
    db[i] = B // (10**i)
    B = B % 10**i

A = int(A)
A_ = A
da = [0]*18
for i in reversed(range(18)):
    da[i] = A // (10**i)
    A = A % 10**i

s = 0
s += A_*db[2]

s += int(math.floor(da[0]*db[1]/10))
for i in range(1,18):
    s += da[i]*db[1]*(10**(i-1))

s += int(math.floor(da[1]*db[0]/10) + math.floor(da[0]*db[0]/100))
for i in range(2,18):
    s += da[i]*db[0]*(10**(i-2))
    
print(s)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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:
[A,B] = input().split()
A = int(A)
b1 = int(B[0])
b2 = int(B[2])
b3 = int(B[3])
a1 = A*b1
a2 = A*b2//10
a3 = A*b3//100
print(a1+a2+a3)

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10 ** 7)
import bisect
import numpy as np
import math
from collections import deque
from collections import defaultdict
from math import gcd
import math
 
 
A, B = input().split()
A = int(A)
B = float(B)
ans = math.floor(A*B)
print(ans)

Submission status: Wrong Answer

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

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

    print(int(A*B))

if __name__ == '__main__':
    main()

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

Submission status: Wrong Answer

Solution code:
import math

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

res = math.floor(a*b)

print(res)

Submission status: Wrong Answer

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

b = b * 100

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

print(math.floor(ans))

Submission status: Wrong Answer

Solution code:
import sys
import math
input = lambda: sys.stdin.readline().rstrip()

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

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

b2=int(b*100)
#print(b2)

ans=a*b2
#print(ans)

ans=ans//100

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

tmp = A*B
res = math.floor(tmp)
print(int(res))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

print(math.floor(ans))

Submission status: Wrong Answer

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

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

A = np.array(A, dtype=np.float128)

ans = A[0] * A[1]



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

Submission status: Wrong Answer

Solution code:
import math
str = input()

str2 = str.split(" ")

A = int(str2[0])
B = str2[1]
B = float(B)
B = B * 100
B = math.floor(int(B))

res = A * B
res = float(res / 100)
res = math.floor(res)

print(res)

Submission status: Wrong Answer

Solution code:
try:
    
    A,B=input().split(' ')
    
    A_int=int(A)
    B_float=float(B)
    
    if A_int>=0 and A_int<=10**15 and B_float>=0 and B_float<10:
        
        if len(B.rsplit('.')[-1]) == 2:
            print(int(A_int*B_float))
    
    
    
except Exception as e:
    print(e)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(int(math.floor(round(float(A) * float(B), 10))))

Submission status: Wrong Answer

Solution code:
import math
input_nums = input().split()

print(math.floor(int(input_nums[0])*float(input_nums[1])))

Submission status: Wrong Answer

Solution code:
import math

s = input().split()

result = float(s[0]) * float(s[1])

print(math.floor(result));

Submission status: Wrong Answer

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

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

    print(f'{ans}')


if __name__ == '__main__':
    main()

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 = input().split()
a = int(a)
b = float(b)
print(math.floor(a*b))

Submission status: Wrong Answer

Solution code:
import math
in_ = list(input().split())
A = int(in_[0])
B = float(in_[1])
f_B = math.floor(B)
round_B = round(B - f_B, 2)
ans = A * f_B + A * round_B
ans = int(ans)
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = input().split()
s = [float(i) for i in s]

tmp = s[0] * s[1]
tmp2 = tmp * 100
res = tmp2 % 100
print(int((tmp2 - res)//100))

Submission status: Wrong Answer

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

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

if(A==0 or B==0):
  print("0")
else:
  print(math.floor(a*b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

b=B*100

c=int(b)

d=A*c

e=int(d/100)

print(e)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math


def main():
    A, B = input().split(' ')
    A = int(A)
    B = float(B)
    print(int(math.floor(A * B)))


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

tmp1 = A * int(B[0])
tmp2 = A * int(B[2])
tmp3 = A * int(B[3])

tmp2 *= 0.1
tmp3 *= 0.01

print(int(tmp1 + tmp2 + tmp3))

Submission status: Wrong Answer

Solution code:
import math

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

print(math.floor(c))

Submission status: Wrong Answer

Solution code:
from math import trunc
things = list(input().split())
a = int(things[0])
b = float(things[1])
c = int(b*100)
answ = list(str(a*c))
answ.insert(-2, ".")
final = ""
for x in answ:
	if x != ".":
		final += x
	else:
		break
if final == "":
	print(0)
else:
	print(final)

Submission status: Wrong Answer

Solution code:
from sys import stdin, stdout
from collections import defaultdict

def main():
    a,b = map(float,stdin.readline().split())
    res= float(a*b)
    d= str(res)
    ans =[]
    ans = d.split('.')
    print(ans[0])

main()

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
#Driver Code
l = []
l = list(map(float,input().split()))
ans = int(l[0]) * l[1]
print(int(ans))

Submission status: Wrong Answer

Solution code:
import sys
import math
def S(): return sys.stdin.readline().rstrip()
def I(): return int(sys.stdin.readline().rstrip())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def LS(): return list(sys.stdin.readline().rstrip().split())

a,b = LS()
x = float(a)
y = float(b)

ret = math.floor(x*y)
print(ret)

Submission status: Wrong Answer

Solution code:
import math
a,b = map(str, input().split())
a = int(a)
b = float(b)
ans = math.floor(a*b)
if len(str(ans)) >= 16:
    ans = math.floor(ans/10) * 10
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import Decimal, ROUND_DOWN, getcontext
a, b = map(str, input().split())
getcontext().prec = 6
getcontext().rounding = ROUND_DOWN
x = Decimal(a)
y = Decimal(b)
print("{:f}".format(Decimal(int(x * y)), rounding=ROUND_DOWN))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(int(C))

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

Submission status: Wrong Answer

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

c = a * b

d = int(c)

print(d)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


def solve(A: int, B: float):
    # r = math.floor(A*B)
    if A == 0 or B == 0.00:
        print(0)
        return

    print(int(numpy.floor(A*B)))
    # c = int(B*100)*A
    # # print(c)
    # if c < 100:
    #     print(0)
    #     return
    #
    # r = str(c)
    # # print(r)
    # print(r[0:-2])


# 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
i = input().split()
A = int(i[0])
B = float(i[1])

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

Submission status: Wrong Answer

Solution code:
import numpy as np
input_line1 = input()
numbers = input_line1.split()
i = int(numbers[0])
f = float(numbers[1])
sum_num = np.floor(i * f)
 
print(sum_num)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

print(math.floor(ans))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

A, B = map(float, input().split())
if A < 1 or B < 1:
  print(0)
else:
  print(math.floor(A*B))

Submission status: Wrong Answer

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

ans = a[0] * a[1]
print(int(ans))

Submission status: Wrong Answer

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

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

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 = ans//100
print(ans)

Submission status: Wrong Answer

Solution code:
from sys import stdin
import math

A, B = [x for x in stdin.readline().split()]
A = int(A)
B = float(B)

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

Submission status: Wrong Answer

Solution code:
import math

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

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

print(math.floor(a * b))

Submission status: Wrong Answer

Solution code:
import math
a,b = map(str, input().split())
a = int(a)
b = float(b)
ans = math.floor(a*b)
if len(str(ans)) >= 15:
    ans = math.floor(ans/10) * 10
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import *
a,b=map(float,input().split())
b*=100
b//=1
b=int(b)
c=Decimal(a)*Decimal(b)
d=Decimal(c)//Decimal(100)
d=int(d)
print(d)

Submission status: Wrong Answer

Solution code:
import math

alist = input().split()
a=int(alist[0])
b=float(alist[1])

bx=b*100
ba=int(bx//100)
bb=int((bx//10)-ba*10)
bc=int(bx-ba*100-bb*10)
#print(ba, bb, bc)

ab=a//10
ac=a//100

answer=a*ba+bb*ab+ac*bc
print(answer)

Submission status: Wrong Answer

Solution code:
import sys
import math
def I():return int(sys.stdin.readline().replace("\n",""))
def I2():return map(float,sys.stdin.readline().replace("\n","").split())
def S():return str(sys.stdin.readline().replace("\n",""))
def L():return list(sys.stdin.readline().replace("\n",""))
def Intl():return [int(k) for k in sys.stdin.readline().replace("\n","").split()]
def Lx(k):return list(map(lambda x:int(x)*-k,sys.stdin.readline().replace("\n","").split()))


a,b = input().split()
b = b.replace(".","")
a = int(a)
b = list(b)
b = [int(i) for i in b]
ans = 0
for i in range(len(b)):
    if i == 0:
        ans += a*b[i]
    elif i == 1:
        ans += a*b[i]//10
    else:
        ans += a*b[i]//100
print(int(ans))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

c=a*b
c=math.floor(c)
c=int(c)

print(c)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

ans=math.floor(int(A)*int(B*100)/100)

print(ans)

Submission status: Wrong Answer

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

tmp = A*B
res = math.floor(tmp)
print(str(res))

Submission status: Wrong Answer

Solution code:
from sys import stdin
from decimal import *


def floor(a,b):
    return a//b


def main():
    _in = [_.rstrip() for _ in stdin.readlines()]
    A, B = list(map(float, _in[0].split(' ')))  # type:list(int)
    A = int(A)
    # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
    A = Decimal(A)
    B = Decimal(B)
    cnt = A * B
    cnt = int(floor(cnt, 1))
    # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    print(cnt)


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
A,B=input().split()
a=int(A)
b=float(B)
c=int(b)
ans=a*c
d=int((b-c)*100)
e=int(a*d/100)
ans+=e
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

# print(A, B)
B = int(float(B) * 100)
sum = int(A) * int(B)

print(int(sum / 100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from fractions import Fraction
import math

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

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

c = math.floor(float(Fraction(a) * Fraction(b)))

print(c)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

a = int(A)
b = int(B*100)
#print(b)

tmp = a*b
#print(a*b)

ans = str(tmp)

print(ans[:-2])

Submission status: Wrong Answer

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

product = str(A * B)
numberlist = product.split('.')
numberlist.pop(- 1)
print(int(numberlist[0]))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import sys

sys.setrecursionlimit(10**6)
readline = sys.stdin.readline
#read = sys.stdin.buffer.read

def main():
    N1 = list(readline().split())
    N = int(N1[0]); M = float(N1[1])
    ans = int(N*M)
    print(ans)


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
s=input('')
s=s.split(' ')
a=int(s[0])
b=float(s[1])
c=a*b
c=str(c)
p=0
d=''
for e in c:
    if e=='.':
        break
    else:
        d=d+e

print(int(d))

Submission status: Wrong Answer

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


ans = a*b
ans = str(ans)
check = len(ans)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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