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 sys

sys.setrecursionlimit(10000000)
import os
import math
import bisect
import collections
import itertools
import heapq
import re
import queue
import decimal
# import fractions

ii = lambda: int(sys.stdin.buffer.readline().rstrip())
il = lambda: list(map(int, sys.stdin.buffer.readline().split()))
fl = lambda: list(map(float, sys.stdin.buffer.readline().split()))
dl = lambda: list(map(float, sys.stdin.buffer.readline().split()))
iln = lambda n: [int(sys.stdin.buffer.readline().rstrip()) for _ in range(n)]

iss = lambda: sys.stdin.buffer.readline().decode().rstrip()
sl = lambda: list(map(str, sys.stdin.buffer.readline().decode().split()))
isn = lambda n: [sys.stdin.buffer.readline().decode().rstrip() for _ in range(n)]

lcm = lambda x, y: (x * y) // math.gcd(x, y)
# lcm = lambda x, y: (x * y) // fractions.gcd(x, y)

MOD = 10 ** 9 + 7
MAX = float('inf')


def main():
    if os.getenv("LOCAL"):
        sys.stdin = open("input.txt", "r")

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


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import decimal

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

ans_d = ans.quantize(decimal.Decimal('1'), rounding=decimal.ROUND_FLOOR)
print(ans_d)

Submission status: Wrong Answer

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

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

ans = a*b //100
print(int(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:
a, b = [i for i in input().split()]
a = int(a)
b = float(b)

print(int(a*b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math


def main():
    A, B = input().split()
    a = int(A)
    b = int((float(B)*100))
    ans = math.floor(a*b/100)
    print(ans)


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = input().split()
a = int(a)
b_int = int(b.split(".")[0])
b_float = int(b.split(".")[1])
print(int(a * b_int + a * b_float / 100))

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
a, b = map(float, input().split())
print(int(a * b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline
import math
def main():
    inp = input().split()
    a = int(inp[0])
    b = int(float(inp[1]) * 100)
    ans = a * b // 100
    print(ans)
if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
# coding: utf-8
a, b = list(map(str, input().split()))
print(int(int(a) * float(b) // 1))

Submission status: Wrong Answer

Solution code:
import math

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

# 小数を各数字にまとめる
B_sho,B_sei = math.modf(B)
B_sei = int(B_sei)
B_sho = int(B_sho*100)
B_sho1, B_sho2 = divmod(B_sho,10)

ans = 100 * A * B_sei + 10 * A * B_sho1 + 1 * A * B_sho2

ans = ans // 100

print(ans)

Submission status: Wrong Answer

Solution code:
import sys

def input():
    return sys.stdin.readline().strip()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(10 ** 7)

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

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

Submission status: Wrong Answer

Solution code:
a, b= list(map(str, input().split()))
a_=int(a)
b_=int(int(float(b)*100))
seisu=int(a_*b_/100)
print(seisu)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = map(float, input().split(' '))
# print(a, b)
ans = a * b
# print(ans)
ans = str(ans)
out = ""
for i in ans:
    if i == '.':
        break
    out += i

# if (len(out) == 0):
#     out = "0"
print(out)

Submission status: Wrong Answer

Solution code:
import re


if __name__ == "__main__":
    a, b = input().split()
    A = int(a)
    B = float(b)
    mul = str(A*B)
    print(re.sub(r"\..*$", "", mul))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

Solution code:
import math
array=input().split(" ")
A=float(array[0])
B=float(array[1])
ans=A*B
print(ans)
ans2=math.floor(ans)
print(int(ans2))

Submission status: Wrong Answer

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

if 1 > a*b:
    print(0)
else:
    print(math.floor(a*b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

def f(s):
    lst = s.split()
    return int(lst[0]), float(lst[1])

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

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

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n,m=map(float,input().split())
ans=n*m
ans=str(ans)
for i in ans:
    if(i=='.'):
        break
    print(i,end='')

Submission status: Wrong Answer

Solution code:
import bisect
import collections
import copy
import functools
import heapq
import math
import sys
from collections import deque
from collections import defaultdict
input = sys.stdin.readline
MOD = 10**9+7

a,b = list(map(float,(input().split())))
a = int(a)
bu = math.floor(b)
bd = int((b - bu)*100)
#print(bu,bd)

ans = a*bu
#print(a,bu,bd)
pro = a*bd

s = list(str(pro))

if len(s) >= 2:
    s[-1] = "0"
    s[-2] = "0"
elif len(s) == 1:
    s[-1] = "0"

s = "".join(s)
n = int(s)
n //= 100

ans += n
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import *
import math 
N, M = input().split()
N = Decimal(int(N))
M = float(M)
M = Decimal(M)

print(math.floor(N*M))

Submission status: Wrong Answer

Solution code:
import math

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

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
a,b = map(float, input().split())
a = int(a)
b_int = int(b)
b_frac = b - b_int

ans = int(a*b_int+a*b_frac)
  
print(ans)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
s = input().split()
A = int(s[0])
B = str(s[1])
ans = 0
ans += A*int(B[0])
ans += A*int(B[2])*1/10
ans += A*int(B[3])*1/100
ans = str(ans)
now = ""
for i in range(len(ans)):
    if ans[i] == ".":
        break
    else:
        now += ans[i]
print(int(now))

Submission status: Wrong Answer

Solution code:
import math

a, b = map(float, input().split())
b *= 100
ab = str(int(a)*int(b))
if len(ab) <= 2:
    print(0)
else:
    ans = int(ab[:-2])
    print(ans)

Submission status: Wrong Answer

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

print(int(round(a*b,2)))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:


def readinput():
    a,b=list(map(float,input().split()))
    return a,b

def main(a,b):
    ans=int(a*b*10)//10
    return ans

if __name__=='__main__':
    a,b=readinput()
    ans=main(a,b)
    print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

Solution code:
def main():
    A,B = input().split()
    A = int(A)
    B = int(B[0])+int(B[2:4])/100
    if A==0 or B==0:
        print(0)
    else:
        print(int(A*B))

main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
a,b = map(float, input().split())
print("%d"% int(a*b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

print (int(a*b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!
A, B = map(float, input().split())

print(int(A * B))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

if whole == 0 or dec == 0.0:
    print(0)
else:
    x = whole*dec
    print(int(x))

Submission status: Wrong Answer

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

b *= 100
a, b = map(int, [a, b])
ans = a * b
ans //= 100

print(int(ans))

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

Solution code:
A,B=input().split()
A=int(A)
B=int(float(B)*100)
S=str(A*B)
if int(S)<100:
    print("0")
else:
    print(S[0:(len(S)-2)])

Submission status: Wrong Answer

Solution code:
ab = input().split()
 
a = int(ab[0])
b = float(ab[1])
x = a * b
if int(x) < 0:
    x -= 1
print(int(x))

Submission status: Wrong Answer

Solution code:
a,b = map(float,input().split())
t = int(b * 100)
print(int(a) * t // 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
a,b = input().split()
a = int(a)
b = float(b)
c = b - math.floor(b)
c *= 100
ans = int(c * a / 100)
c = math.floor(b)
print(ans + c * a)

Submission status: Wrong Answer

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


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


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

A = float(il[0])
B = float(il[1])

import math

print(math.floor(A*B))

Submission status: Wrong Answer

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

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

i = list(map(float, input().split()))
A = int(i[0])
B = i[1]
# print(int(A * B))
print(math.floor(A * B))

Submission status: Wrong Answer

Solution code:
A, B = map(float, input().rstrip().split())
import decimal
decimal.getcontext().prec = 30
A = decimal.Decimal(A)
B = decimal.Decimal(B)
# print(float(A*B))
print(int(A * B))

Submission status: Wrong Answer

Solution code:
from math import trunc
things = list(input().split())
a = int(things[0])
b = float(things[1])
print(int(trunc(a*b)))

Submission status: Wrong Answer

Solution code:
A, B = map(float, input().split())
if B >= 1:
    print(int(A * B))
elif 1 > B > 0:
    print(0)
else:
    print(A * B)

Submission status: Wrong Answer

Solution code:
import math

str_list = input().split()

list = [float(n) for n in str_list]
  
result = 1.0
for i in range(len(list)):
  result *= list[i]

print(math.floor(result))

Submission status: Wrong Answer

Solution code:
import math

line = input().split()

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

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

Submission status: Wrong Answer

Solution code:
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:
n=input()
y=n.split()

m=float(y[0])
k=float(y[1])

l=m*k
l=int(l)

print(l)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

x = input().split(' ')
paramA = int(x[0])
paramB = int(float(x[1]) * 100)
print(paramA * paramB // 100)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A, B = input().split(' ')
A = int(A)
B_int,B_float = B.split('.')
if B_float=="":
    print(A*B)
    exit()
B_int,B_float = map(int,[B_int,B_float])
if (B_float)<10:
    print(A*(B_int*10+B_float)//10)
else:
    print(A*(B_int*100+B_float)//100)

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python
import sys
sys.setrecursionlimit(10**9)
from collections import deque,defaultdict
import heapq
from itertools import combinations
import bisect

a,b=map(str,input().split())
a=int(a)
b=list(b)
ans=a*int(b[0])*100
ans+=int(b[2])*a*10
ans+=int(b[3])*a
ans=str(ans)

print(ans[:-2])

Submission status: Wrong Answer

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

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
#N = int(input())
inputs = list(map(float, input().split()))
#print(inputs)
total = 1

total = inputs[0] * inputs[1]
ans = math.floor(total)
print(ans)

Submission status: Wrong Answer

Solution code:
import math

a, b = [float(x) for x in input().split(" ")]

mult = math.floor(a * b)

print(mult)

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

Submission status: Wrong Answer

Solution code:
numbers = input().split()
res = 1
for i in numbers:
    res *= int(float(i))
print(res)

Submission status: Wrong Answer

Solution code:
a,b=input().split()
a=int(a)
b=list(b)
b=[int(b[0]),int(b[2]),int(b[3])]
c=a*b[0]+a*b[1]//10+a*b[2]//100
print(c)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
import math
import collections
from collections import deque
from functools import reduce
import heapq
#n = int(input())
a, b = map(str, sys.stdin.readline().split())
#n = input()
#a = list(map(int, sys.stdin.readline().split()))

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

Submission status: Wrong Answer

Solution code:
from math import floor


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

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

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


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A, B = [n for n in input().split()]
A = int(A)
B = float(B)

ans = A * (B * 100) // 100
print(int(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 = B - int_b
    ans_int = A * int_b
    ans_point = A * point_b
    ans = 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 = map(str, input().split())
A = float(A)
B = float(B)
A = A * B
print(math.floor(A))

Submission status: Wrong Answer

Solution code:
ab = input().split()
 
a = int(ab[0])
b = float(ab[1])
x = a * b
if int(x) < 0:
    x += 1
print(int(x))

Submission status: Wrong Answer

Solution code:
import math

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

ans = A*B

print(math.floor(ans))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
input=sys.stdin.readline
sys.setrecursionlimit(10 ** 8)
from itertools import accumulate
from itertools import permutations
from itertools import combinations
from collections import defaultdict
from collections import Counter
import fractions
import math
from collections import deque
from bisect import bisect_left
from bisect import insort_left
import itertools
from heapq import heapify
from heapq import heappop
from heapq import heappush
import heapq
from copy import deepcopy
alf = list("abcdefghijklmnopqrstuvwxyz")
ALF = list("ABCDEFGHIJKLMNOPQRSTUVWXYZ")
#import numpy as np
INF = float("inf")
#d = defaultdict(int)
#d = defaultdict(list)
#N = int(input())
#A = list(map(int,input().split()))
#S = list(input())[:-1]
#S.remove("\n")
#N,M = map(int,input().split())
#S,T = map(str,input().split())
#A = [int(input()) for _ in range(N)]
#S = [list(input())[:-1] for _ in range(N)]
#A = [list(map(int,input().split())) for _ in range(N)]

A,B = map(float,input().split())
if A == 0 or B == 0:
    print(0)
else:
    x = int(B)
    A = int(A)

    y = B-x+0.0000000000000000000000000001
    y = y*100
    y = int(y)
    c = A // 100
    d = A % 100
    ans = 100*c*x+d*x+c*y+int(d*y/100)
    print(int(ans))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math


n, m = input().split(' ')
n = int(n)
m = float(m)


# print(n, m)
print(math.floor(n * m))

Submission status: Wrong Answer

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

import math

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

Submission status: Wrong Answer

Solution code:
import math

x = input().split()
a_ = x[0]
b = float(x[1])

if len(a_)<=8:
    a = int(a_)
    print(int(math.floor(a*b)))
else:
    a_div = int(float(a_)/(10**9))
    b_mul = b*100
    print(int(math.floor(a_div*b_mul*10**7)))

Submission status: Wrong Answer

Solution code:
import math

A,B = map(float,input().split())
#print(A*B)
ans = math.floor(A*B)
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = input().split(" ")

ans = float(a[0]) * float(a[1])

print(int(ans))

Submission status: Wrong Answer

Solution code:
import math
from decimal import *
def main():
    #N=input()
    #A = list(map(int, input().split())) 
    A,B=input().split()
    A=float(A)
    B=float(B)
    print(math.floor(Decimal(A*B)))

main()

Submission status: Wrong Answer

Solution code:
from math import floor
i = list(map(float, input().split()))
A = i[0]
B = i[1]

print(floor(A*B))

Submission status: Wrong Answer

Solution code:
input_count = 0

import math

A, B = input().split()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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


print(int(ans/100))

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
# 整数の入力
import math


if __name__ == "__main__":
    
    INPUT = list(map(float, input().split()))

    h1 = float(INPUT[0])
    m1 = float(INPUT[1])

    print(math.floor(h1 * m1))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


class Solution:
    def main(self):
        a, b = input().split()
        a = int(a)
        b1,b2 = b.split(".")


        ans = a * int(b1)
        c = (a * int(b2[0]) * 10  + int(b2[1]) )// 100

        print(ans + c)

# Run main
if __name__ == '__main__':
    Solution().main()

Submission status: Wrong Answer

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

print(int(floor(res)))

Submission status: Wrong Answer

Solution code:
from math import *
from heapq import *

def mi():
    return map(int, input().split())
def ii():
    return int(input())
def li():
    return list(mi())
def gcd(a,b):return a if(not b) else gcd(b,a%b)
def qw(a,b,p):
    '''quick pow'''
    ans = 1
    while b:
        if b & 1:
            ans = ans * a % p
        a = a * a % p
        b >>= 1
    return ans
def is_prime(x):
    if(x < 2): return 0
    for i in range(2,int(sqrt(x)+1)):
        if(x % i == 0) : return 0
    return 1

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

Submission status: Wrong Answer

Solution code:

import numpy as np
from functools import *
import sys
sys.setrecursionlimit(100000)


def gcd(a, b):
	while b:
		a, b = b, a % b
	return a


def acinput():
    return list(map(float, input().split(" ")))


a,b=acinput()


b_int=int(b)
b_fl=b-b_int
res1=a*b_int
res2=np.floor(a*b_fl)

print(int(res1+res2))

Submission status: Wrong Answer

Solution code:
from sys import stdin
def LF(): return list(map(float,stdin.readline().rstrip().split()))

tmp = LF()
ans = int((tmp[0]/100*tmp[1]*100))
print(ans)

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline
 
def main():
    a,b = map(float, input().split())
    print(int(a * b))

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(ans)

Submission status: Wrong Answer

Solution code:
a, b = map(float, input().split())
b*=100
a*=b
a/=100.0
for i in str(a):
    if i=='.':
        break
    print(i, end="")
print()

Submission status: Wrong Answer

Solution code:
import math

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

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:

def parse():
  return map(float, input().split(" "))

def main():
  A, B = parse()
  print(int(A * B))

if __name__ == "__main__":
  main()

Submission status: Wrong Answer

Solution code:
l = input().split()
a,b = int(l[0]),float(l[1])
if a==0 or b==0:
    print(0)
elif a==1:
    print(int(b))
elif b==1:
    print(a)
else:
    print(int(a*b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import decimal
a,b = input().split()
a = int(a)
b = float(b)
d = decimal.Decimal(a*b)
x = d.quantize(decimal.Decimal('0.1'), rounding=decimal.ROUND_FLOOR)
print(int(x))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

for _ in range(1):
    a = list(input().split(' '))
    A = int(a[0])
    B = float(a[1])
print(int(math.floor(A * B)))

Submission status: Wrong Answer

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

print(int(A*B))

Submission status: Wrong Answer

Solution code:
import math
a,b=input().split()
print(math.ceil(float(a)*float(b))-1 if float(a)!=0 and float(b)!=0 else "0")

Submission status: Wrong Answer

Solution code:
def main():
    from builtins import int, map, list, float, print
    import sys
    sys.setrecursionlimit(10 ** 6)

    input = (lambda: (sys.stdin.readline()).rstrip())
    input_list = (lambda: input().split())
    input_number = (lambda: int(input()))
    input_number_list = (lambda: list(map(int, input_list())))

    A, B = input_list()
    a = int(A)
    B = float(B)
    b = int(B*100)
    ans = a*b
    ans = str(ans)
    ans = ans[:-2]
    if ans == "":
        print(0)
    else:
        print(ans)
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import math
S = list(input().split())
A = int(S[0])
B = float(S[1])
Bint = int(B)
Bdec = B - Bint
print(int(A * Bint + math.floor(A * Bdec)))

Submission status: Wrong Answer

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