Problem:


Score : 300 points

Problem Statement

Compute A \times B, truncate its fractional part, and print the result as an integer.

Constraints

0 \leq A \leq 10^{15}

0 \leq B < 10

A is an integer.

B is a number with two digits after the decimal point.

Input

Input is given from Standard Input in the following format:

A B

Output

Print the answer as an integer.

Sample Input 1

198 1.10

Sample Output 1

217

We have 198 \times 1.10 = 217.8. After truncating the fractional part, we have the answer: 217.

Sample Input 2

1 0.01

Sample Output 2

0

Sample Input 3

1000000000000000 9.99

Sample Output 3

9990000000000000



Sample input:
198 1.10


Sample output:
217

Submission status: Wrong Answer

Solution code:
import math
A, B = input().split()
A = int(A)
B = float(B)
if A == 0 or B == 0.0:
    print(0)
elif A == 1:
    print(math.floor(B))
else:
    print(math.floor(A*B))

Submission status: Wrong Answer

Solution code:
def solve(a,b):
    alist = list(reversed(a))
    count = 0
    k = 0
    res = []
    for s in alist:
        tmp = int(s)
        if count < 2:
            k += tmp * b * 10**(count)
        else:
            k += tmp * b * 100
            k = int(k)
            res.append(str(k%10))
            k = k // 10
        count += 1
    k = int(k)
    while k > 0:
        res.append(str(k%10))
        k = k // 10
    res.reverse()
    ans = ''.join(res)
    if ans == '':
        return 0
    return ans


if __name__ == '__main__':
    s = input().split()
    a = s[0]
    b = float(s[1])
    print(solve(a,b))

Submission status: Wrong Answer

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

    if len(b) == 4:
        lst_b = [int(b[int(i)]) for i in [0, 2, 3]]
        ans = 0
        ans += a * lst_b[0]
        ans += a * lst_b[1] // 10
        ans += a * lst_b[2] // 100
    elif len(b) == 3:
        lst_b = [int(b[int(i)]) for i in [0, 2]]
        ans = 0
        ans += a * lst_b[0]
        ans += a * lst_b[1] // 10
    elif len(b) == 1:
        ans = a * int(lst_b[0])
    else:
        raise ValueError()

    print(ans)


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import collections
from collections import defaultdict
import math
import numpy as np
import re
import itertools
import bisect
import pprint
from collections import deque

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

C = A * B 

print(int(C))

Submission status: Wrong Answer

Solution code:
a, b = input().split()
bs = b.split('.')
ans = int(a)*int(bs[0]) + int(int(a)*int(bs[1])/100)
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

print(math.floor(A*B))

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import Decimal
L,R=map(str,(input().split()))
L=int(L)
R=int(float(R)*100)
ans=L*R
ans=int(ans/10)
ans=int(ans/10)
print(ans)

Submission status: Wrong Answer

Solution code:
AB=input().split()
A=int(AB[0])
B=int(AB[1].replace(".",""))
C=A*B
C=str(C)
C=C[:-2]
print(C)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#3問目
import math
AB = input().split()
A = int(AB[0])
B = float(AB[1])

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

Submission status: Wrong Answer

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

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

import math

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

print(ans)

Submission status: Wrong Answer

Solution code:
import sys
import math

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

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

A,B = LF()

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

ans = int(ab // 100)
print(int(ans))

Submission status: Wrong Answer

Solution code:
def main():
    A, B = input().split(" ")
    A = int(A)
    B = float(B)*100

    print(int(A*B/100))

if __name__=="__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

a=int(a)

c= str(a*b)

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

Submission status: Wrong Answer

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

print(trunc(a*b))

Submission status: Wrong Answer

Solution code:
a,b = map(float,input().split())
import math
ans = a*b
if 1-ans%1 >= 0.001:
    print(int(ans))
else:
    print(math.ceil(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:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-


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

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

    print(int(ans/100))

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import math

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

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

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

print(ans)

Submission status: Wrong Answer

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

if A == 0 or B == 0.00:
    print(0)
else:
    print(math.floor(A*float(B)))

Submission status: Wrong Answer

Solution code:
#coding: UTF-8

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

Submission status: Wrong Answer

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

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

print( a * b // 100)

Submission status: Wrong Answer

Solution code:
a, b = input().split()
a = int(a)
b = float(b)
n = a*b
print(int((a*b-(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 = input().split()
ai = int(a)
bi = int(float(b) * 100)
ans = str(ai * bi)[:-2]
if ans == "":
    print(0)
else:
    print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#--
import math
a, b = map(str, input().split())

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

#print(aa, bb)
print(int(math.floor(aa*bb)/100))

Submission status: Wrong Answer

Solution code:
s = list(map(float, input().split()))
ans = str(float(s[0]) * float(s[1]))
index = ans.find(".")
print(int(ans[:index]))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

Solution code:
import math

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

n = a*b
n = n//100

print(math.floor(n))

Submission status: Wrong Answer

Solution code:
import math

N,B = map(str,input().split())
print(math.floor(int(N) * float(B)))

Submission status: Wrong Answer

Solution code:
import math
str = input()

str2 = str.split(" ")

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

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

print(res)

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

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

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:
import sys
from functools import lru_cache, cmp_to_key
from heapq import merge, heapify, heappop, heappush
from math import *
from collections import defaultdict as dd, deque, Counter as C
from itertools import combinations as comb, permutations as perm
from bisect import bisect_left as bl, bisect_right as br, bisect
from time import perf_counter
from fractions import Fraction
# sys.setrecursionlimit(int(pow(10, 2)))
#sys.stdin = open("input.txt", "r")
#sys.stdout = open("output.txt", "w")
mod = int(pow(10, 9) + 7)
mod2 = 998244353
def data(): return sys.stdin.readline().strip()
def out(*var, end="\n"): sys.stdout.write(' '.join(map(str, var))+end)
def l(): return list(sp())
def sl(): return list(ssp())
def sp(): return map(int, data().split())
def ssp(): return map(str, data().split())
def l1d(n, val=0): return [val for i in range(n)]
def l2d(n, m, val=0): return [l1d(n, val) for j in range(m)]





# @lru_cache(None)
A,B=map(float,input().split())
ans=str(A*B)
ans=ans.split(".") 
print(ans[0])

Submission status: Wrong Answer

Solution code:
import math

A,B = open(0).read().split()
A = int(A)
B = int(float(B)*100)
print(math.floor(A*B/100))

Submission status: Wrong Answer

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

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

fa=float(a[0])
fb=float(a[1])

m=fa*fb

print(math.floor(m))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b=input().split()
if len(a)>2:
  aa=a[0:len(a)-1]
else:
  aa=a
x=b[3]
y=b[2]
z=b[0]
print(int(int(a)*int(z)+int(a)*int(y)/10+int(aa)*int(x)/10))

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import numpy as np

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

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

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


A = Decimal(A)
B = Decimal(B)
# print(A, B)
C = A*B
# print(C)
print(math.floor(C))

exit()

Submission status: Wrong Answer

Solution code:
import math

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

str_list = input().split()

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

result = a * b

print(int(result))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
import sys,math
import numpy as np
input = sys.stdin.readline
a_, b_ = map(float, input().split())
a = np.zeros((1),dtype=np.float64)
b = np.zeros((1),dtype=np.float64)
a[0] = a_
b[0] = b_
# print(a*b)
print(int(math.floor(a*b)))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

A, B = map(str, input().split())
A = int(A)
B = float(B)
B_int = int(B)
ans = A * B_int
B_dot = B - B_int
ans_dot = A * B_dot
ans += int(ans_dot)

print(ans)

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
import numpy as np
import math

A, B = input().split()
A = int(A)
B = float(B)
print("{}".format(math.floor(A*B)))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

A = int(s[0])
B = s[1]

seisu = int(B[0])
daiiti = int(B[2])/10
daini = int(B[3])/100

big = A*seisu

small = A*(int(daiiti*10))
if small >= 10:
  small = int(str(small)[:-1])
else:
  small = 0

too_small = A*(int(daini*100))
if too_small >= 100:
  too_small = int(str(too_small)[:-2])
else:
  too_small = 0

print(big+small+too_small)

Submission status: Wrong Answer

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

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


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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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


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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

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

if int(A)==0:
    i_a=0
    s_a=0.
else:
    i_a = len(A)-1
    s_a = int(A)*10.**(-(i_a))

c = s_a * float(B)
if c < 10.:
    s_c = round(c,i_a)
    answer = s_c * 10**i_a
else:
    s_c = round(c*0.1,i_a+1)
    answer = s_c * 10**(i_a+1)

print(int(answer))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
import itertools
import numpy as np



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)

if a > 100:
    a_100 = a//100
    a_0 = (a%100 //10 * 10) + (a%10)
    res = a_100 * int(b*100)
    res += int(a_0*b)
else:
    res = int(a*b)

print(res)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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())
ans = int(a*b//1)
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from math import floor
a, b = [float(i) for i in input().split()]
print(floor(a * round(b * 100) / 100))

Submission status: Wrong Answer

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

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:
import sys
def inpl(): return list(map(float, sys.stdin.readline().split()))

ab = inpl()

print(int(ab[0]*ab[1]))

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if __name__ == "__main__":
    print(mul3())

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# python 3.8.2用
import math
import fractions
import bisect
import collections
import itertools
import heapq
import string
import sys
import copy
import numpy as np
from decimal import *
from collections import deque
from math import gcd
sys.setrecursionlimit(10**7)
MOD = 10**9+7
INF = float('inf') #無限大
def lcm(a,b):return (a*b) // gcd(a,b) #最小公倍数
def iin(): return int(sys.stdin.readline()) #整数読み込み
def ifn(): return float(sys.stdin.readline()) #浮動小数点読み込み
def isn(): return sys.stdin.readline().split() #文字列読み込み
def imn(): return map(int, sys.stdin.readline().split()) #整数map取得
def imnn(): return map(lambda x:int(x)-1, sys.stdin.readline().split()) #整数-1map取得
def fmn(): return map(float, sys.stdin.readline().split()) #浮動小数点map取得
def iln(): return list(map(int, sys.stdin.readline().split())) #整数リスト取得
def iln_s(): return sorted(iln()) # 昇順の整数リスト取得
def iln_r(): return sorted(iln(), reverse=True) # 降順の整数リスト取得
def fln(): return list(map(float, sys.stdin.readline().split())) # 浮動小数点リスト取得
def join(l, s=''): return s.join(l) #リストを文字列に変換
def perm(l, n): return itertools.permutations(l, n) # 順列取得
def perm_count(n, r): return math.factorial(n) // math.factorial(n-r) # 順列の総数
def comb(l, n): return itertools.combinations(l, n) # 組み合わせ取得
def two_distance(a, b, c, d): return ((c-a)**2 + (d-b)**2)**.5 # 2点間の距離
def m_add(a,b): return (a+b) % MOD
def lprint(l): print(*l, sep='\n')

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

Submission status: Wrong Answer

Solution code:
s = [input() for i in range(1)] 
li = list(map(str, s[0].split()))
li1 = int(li[0])
li2 = float(li[1])
print(int(li1 * li2))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

C = A * B
#print(C)

D =int(C)
print(D)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import Decimal

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

ab = Decimal(a) * Decimal(b)
result1 = int(ab)

print(result1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

length=len(str(int(d)))
c,d=int(c),int(d)
a=int(a)

A=a*c
B=(a*d)//10**length
print(int(A+B))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
import math

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

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

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

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

Submission status: Wrong Answer

Solution code:
'''
    handle - pruvi007
    questionName - 
    Contest - 
    Topic - 
    Platform - 
'''
from sys import stdin, stdout
from collections import defaultdict

def main():
    a,b = map(float,stdin.readline().split())
    # A,B = a.split()
    # A = int(A)
    # B = float(B)
    # print(B)
    import math
    ans = a*b
    # print(ans)
    print( int(math.trunc(ans)) )

main()

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
a,b = input().split(" ")
# print(a,b)
a = int(a)
b = float(b)
bi = int(b)
# print(bi)
bf = b -bi
# print(bf)
mul = a * b
mul_floor = math.floor(a * b)
# print(mul)
print(mul_floor)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import Decimal, getcontext
import math

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


getcontext().prec = 30
a = Decimal(A)*Decimal(B)

print(math.trunc(a))

Submission status: Wrong Answer

Solution code:
from decimal import Decimal, ROUND_DOWN
a,b = input().split()
a = int(a)
b = float(b)
x = a*b
d = Decimal(str(x))
y = d.quantize(Decimal('0'), rounding=ROUND_DOWN)
print(y)

Submission status: Wrong Answer

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

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

print(int(a * b))

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

Solution code:
a, b = map(str, input().split())
a = int(a)
b = int(float(b) //0.01)

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

Submission status: Wrong Answer

Solution code:
def func(a, b):
	ans = a * round(b, 2)
	return int(ans)
	
a, b = map(float, input().split())
print(func(a, b))

Submission status: Wrong Answer

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

from math import ceil
import math
a,b = map(float,input().split())
b1 = b * 100
if b1<1 and a*b < 1.0:
    print(0)
else:
    a = int(a)
    b = int(b*100)
    print(math.floor(a*b/100))

Submission status: Wrong Answer

Solution code:
A,B = map(float,input().split())
ans = A*B*100
if ans < 100:
    print(0)
    exit()
else:
    a = str(ans//100)
    print(a[0:len(a)-2])

Submission status: Wrong Answer

Solution code:
from math import *
a, b = input().split(' ')
if(a == "0" or b == "0"):
    print(0)
ans = float(a) * float(b)
print(int(ans))

Submission status: Wrong Answer

Solution code:
nums = input()

s = nums.split(" ")

ans = str(float(s[0]) * float(s[1]))
index = ans.find(".")

print(int(ans[:index]))

Submission status: Wrong Answer

Solution code:
import math

#入力が1行で区切りありの場合
#Stringの場合
L,R = input().split()

A = int(L)
B = float(R)

(Bseisu,Bsyosu) = math.modf(B)

ABseisu = A * Bseisu
ABsyosu = math.floor(A * Bsyosu)

ans = ABseisu + ABsyosu
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = [_ for _ in input().split()]
a = int(x[0])
b = float(x[1])

print(int(a*b))

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

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

x = math.floor(a*b)

print(x)

Submission status: Wrong Answer

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

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

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

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

Submission status: Wrong Answer

Solution code:
import math

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

a = A*B

# print(A)
print(int(math.floor(a)))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(int(a))

Submission status: Wrong Answer

Solution code:
def examA():
    A, B = LI()
    ans = A*B
    print(ans)
    return

def examB():
    N = I()
    A = LI()
    for a in A:
        if a==0:
            print(0)
            return
    ans = 1
    for a in A:
        ans *= a
        if ans>10**18:
            print(-1)
            return
    print(ans)
    return

def examC():
    A, B = list(map(float,input().split()))
    ans =math.floor(A*B)
    print(ans)
    return

def examD():
    def factorization(n):
        arr = defaultdict(int)
        temp = n
        for i in range(2, int(-(-n ** 0.5 // 1)) + 1):
            if temp % i == 0:
                cnt = 0
                while temp % i == 0:
                    cnt += 1
                    temp //= i
                arr[i] = cnt
        if temp != 1:
            arr[temp] = 1
        if arr == []:
            arr[n] = 1
        return arr
    C = [0,1,3,6,10,15,21,28,36,45]
    N = I()
    F = factorization(N)
    ans = 0
    #print(F)
    for f in F.values():
        for i in range(10):
            if C[i]>f:
                ans += i-1
                break
    print(ans)
    return

def examE():
    N = I()
    A = [0]*N
    B = [0]*N
    for i in range(N):
        A[i],B[i] = LI()
    A.sort()
    B.sort()
    if N%2==0:
        L = (A[N//2-1] + A[N//2])/2
        R = (B[N//2-1] + B[N//2])/2
        ans = int((R-L)*2) +1
    else:
        L = A[N//2]
        R = B[N//2]
        ans = (R-L)+1

    print(ans)
    return

def examF():
    N, S = LI()
    A = LI()

    ans = 0
    print(ans)
    return

import sys,bisect,itertools,heapq,math,random
from copy import deepcopy
from heapq import heappop,heappush,heapify
from collections import Counter,defaultdict,deque
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
def I(): return int(input())
def LI(): return list(map(int,sys.stdin.readline().split()))
def LSI(): return list(map(str,sys.stdin.readline().split()))
def LS(): return sys.stdin.readline().split()
def SI(): return sys.stdin.readline().strip()
global mod,mod2,inf,alphabet,_ep
mod = 10**9 + 7
mod2 = 998244353
inf = 1<<60
_ep = 10**(-12)
alphabet = [chr(ord('a') + i) for i in range(26)]

sys.setrecursionlimit(10**7)

if __name__ == '__main__':
    examC()

"""
142
12 9 1445 0 1
asd dfg hj o o
aidn
"""