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

arr = input().strip().split(' ')
  
A = int(arr[0])
B = float(arr[1])
  
print (math.floor(A * B))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from sys import stdin
import math

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

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

Submission status: Wrong Answer

Solution code:
from sys import stdin
import math

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

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

Submission status: Wrong Answer

Solution code:
from sys import stdin
import math

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

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

Submission status: Wrong Answer

Solution code:
from sys import stdin
import math

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

print(math.floor(B * A))

Submission status: Wrong Answer

Solution code:
from sys import stdin
import math

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

print(math.floor(A * B))

Submission status: Wrong Answer

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

print(int(a*b))

Submission status: Wrong Answer

Solution code:
from sys import stdin
import math

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

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

Submission status: Wrong Answer

Solution code:
import math

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

print(math.ceil(a*b))

Submission status: Wrong Answer

Solution code:
from sys import stdin
import math

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

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

Submission status: Wrong Answer

Solution code:
a,b = map(str,input().split())
from decimal import Decimal
c = Decimal(a)*Decimal(b)
print(round(c))

Submission status: Wrong Answer

Solution code:
from sys import stdin
import math

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

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

Submission status: Wrong Answer

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


def main():
    A, B = map(float, input().split())
    print(int(A * B * 1000) // 1000)


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


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


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


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


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
from decimal import Decimal

A, B = list(input().split())
A = int(Decimal(A))
B = int(Decimal(B))

print(A*B)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from math import modf

A,B=input().split()
A=float(A)
B=float(B)
C=A*B
decimal, integer = modf(C)
print(int(C-decimal))

Submission status: Wrong Answer

Solution code:
from math import modf

A,B=input().split()
A=float(A)
B=float(B)
C=A*B
decimal, integer = modf(C)
print(C-decimal)

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

Submission status: Wrong Answer

Solution code:
a0, b0 = input().split()
a = int(a0)
b1, b2 = [x for x in b0.split('.')]
b = int(b1 + b2)
print(str(a * b)[:-2])

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())
print(a*(b*100)//100)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def multiply(num1, num2): 
    len1 = len(num1) 
    len2 = len(num2) 
    if len1 == 0 or len2 == 0: 
        return "0"
  
    # will keep the result number in vector 
    # in reverse order 
    result = [0] * (len1 + len2) 
      
    # Below two indexes are used to  
    # find positions in result. 
    i_n1 = 0
    i_n2 = 0
  
    # Go from right to left in num1 
    for i in range(len1 - 1, -1, -1): 
        carry = 0
        n1 = ord(num1[i]) - 48
  
        # To shift position to left after every 
        # multiplication of a digit in num2 
        i_n2 = 0
  
        # Go from right to left in num2 
        for j in range(len2 - 1, -1, -1): 
              
            # Take current digit of second number 
            n2 = ord(num2[j]) - 48
          
            # Multiply with current digit of first number 
            # and add result to previously stored result 
            # at current position. 
            summ = n1 * n2 + result[i_n1 + i_n2] + carry 
  
            # Carry for next iteration 
            carry = summ // 10
  
            # Store result 
            result[i_n1 + i_n2] = summ % 10
  
            i_n2 += 1
  
            # store carry in next cell 
        if (carry > 0): 
            result[i_n1 + i_n2] += carry 
  
            # To shift position to left after every 
            # multiplication of a digit in num1. 
        i_n1 += 1
          
        # print(result) 
  
    # ignore '0's from the right 
    i = len(result) - 1
    while (i >= 0 and result[i] == 0): 
        i -= 1
  
    # If all were '0's - means either both or 
    # one of num1 or num2 were '0' 
    if (i == -1): 
        return "0"
  
    # generate the result string 
    s = "" 
    while (i >= 0): 
        s += chr(result[i] + 48) 
        i -= 1
  
    return s 
  
# Driver code 
str1, str2 = input().split()
str2 = str2.replace(".", "")
# print(str1)
# print(str2)
if((str1[0] == '-' or str2[0] == '-') and 
   (str1[0] != '-' or str2[0] != '-')): 
    print("-", end = '') 
  
  
if(str1[0] == '-' and str2[0] != '-'): 
    str1 = str1[1:] 
elif(str1[0] != '-' and str2[0] == '-'): 
    str2 = str2[1:] 
elif(str1[0] == '-' and str2[0] == '-'): 
    str1 = str1[1:] 
    str2 = str2[1:] 
print(multiply(str1, str2)[:-2])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


print(l)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(l)

Submission status: Wrong Answer

Solution code:
import math
x,y=map(float,input().split())
x=int(x)
y1=int(round(y*100))
print(math.floor(x*y1/100))

Submission status: Wrong Answer

Solution code:
from decimal import *;print(int((eval("Decimal("+input().replace(" ",")*Decimal(")+")"))))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b = input().split()
a1 = int(a)
bs = list(b)
b1 = int(bs[0])
b2 = 0
if len(b)==3:
  b2 = int(bs[2])*10
else:
  b2 = int(bs[2]+bs[3])
b1 = b1*100+b2
ans = int(a1*b1/100)
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print(int(eval(input().replace(" ","*"))))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
x,y=map(float,input().split())
y1=int(round(y*1000))
print(math.floor(x*y1/1000))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
x,y=map(float,input().split())
y1=int(round(y*100))
print(math.floor(x*y1/100))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A, B = list(map(float, input().split()))
#print(A*B)
print((A*(B*100)+50)//100)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A, B = list(map(float, input().split()))
#print(A*B)
print((A*(B*100)+0.5)//100)

Submission status: Wrong Answer

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

print(int(a*b/100))

Submission status: Wrong Answer

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

b = round(100 * float(b))

print(int(a*b/100))

Submission status: Wrong Answer

Solution code:
import math
x,y=map(float,input().split())
x1=x*100
y1=y*100
print(math.floor((x1*y1)/10000))

Submission status: Wrong Answer

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

b = 100 * b
b = int(round(b))

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

Submission status: Wrong Answer

Solution code:
import math
x,y=map(float,input().split())
x1=x*100
y1=y*100
print(math.floor(x1*y1)/10000)

Submission status: Wrong Answer

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

b = 100 * b
b = round(b)

print(int(a*b/100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
import numpy as np
# math.floor

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

# s = str(A*B)

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

Submission status: Wrong Answer

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

b = 100 * b
b = round(b)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(a*b//1000)

Submission status: Wrong Answer

Solution code:
import decimal
A, B = input().split()
A = decimal.Decimal(A)
B = decimal.Decimal(B)
print(decimal.Decimal(A * B))

Submission status: Wrong Answer

Solution code:
a,b = map(float,input().split())
a=int(a)
b=int(100*b)
print(int(a*b/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:
n,m=map(float,input().split(" "))
print(int(n*m))

Submission status: Wrong Answer

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

print(int(int(A+0.5)*B+0.5))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(int(int(A)*B+0.5))

Submission status: Wrong Answer

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

print(int(A*B+0.5))

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

Submission status: Wrong Answer

Solution code:
import sys
readline = sys.stdin.readline
 
l = readline().split()
 
A = int(l[0])
B = int(float(l[1]) * 100 )
 
ans = A*B
print(ans//100)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

a = int(A)
b = int(B[0])
b2 = int(B[2:4])
#print(b)
#print(b2)
#print(b)
if b == 0:
    print(0)
    exit()

t = int(0.5+a*b)
#print(t)
#b3 = b*100
bb = int(0.5+a*b2)
tmp = bb//100+0.5
#print(tmp)
#print(a*b)
bef = tmp+t
ans = int(bef+0.5)

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 = float(B)
B_int = int(B[0]+B[2:])

C = A*B_int/100
C_str = str(C)

print("{}".format(int(C)))

Submission status: Wrong Answer

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

a = int(A)
b = int(B[0])
b2 = int(B[2:4])
#print(b)
#print(b2)
#print(b)
if b == 0:
    print(0)
    exit()

t = int(0.5+a*b)
#print(t)
#b3 = b*100
bb = int(0.5+a*b2)
tmp = int(bb+0.5)//100
#print(tmp)
#print(a*b)
bef = tmp+t
ans = int(bef+0.5)

print(ans)

Submission status: Wrong Answer

Solution code:
import math
# math.floor

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

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

print(ans)

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
# math.floor

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

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(B[0])
b2 = int(B[2:4])
#print(b)
#print(b2)
#print(b)
if b == 0:
    print(0)
    exit()

t = int(0.5+a*b)
#print(t)
#b3 = b*100
bb = int(0.5+a*b2)
tmp = (bb+0.5)//100
#print(tmp)
#print(a*b)
bef = tmp+t
ans = int(bef+0.5)

print(ans)

Submission status: Wrong Answer

Solution code:
def main():
    _a, _b = input().split()
    a = int(_a)
    b = int(_b[0:-3]) * 100 + int(_b[-2:])

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

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

a = int(A)
b = int(B[0])
b2 = int(B[2:4])
#print(b)
#print(b2)
#print(b)
if b == 0:
    print(0)
    exit()

t = int(0.5+a*b)
#print(t)
#b3 = b*100
bb = a*b2
tmp = (bb)//100
#print(tmp)
#print(a*b)
bef = tmp+t
ans = int(bef+0.5)

print(ans)

Submission status: Wrong Answer

Solution code:
re = input().split()
a = int(re[0])
b = float(re[1])
for i in range(10):
    if i <= b <i+1:
        c = int(i)
        d = int(100 * (b - i)//1)
        break
    
e = a * c
f = a * d
g = f // 100
h = e + g
print(h)

Submission status: Wrong Answer

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

a = int(A)
b = int(B[0])
b2 = int(B[2:4])
#print(b)
#print(b2)
#print(b)
if b == 0:
    print(0)
    exit()

t = a*b
#print(t)
#b3 = b*100
bb = a*b2
tmp = (bb)//100
#print(tmp)
#print(a*b)
bef = tmp+t
ans = int(bef+0.5)

print(ans)

Submission status: Wrong Answer

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

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

print(A*B // 100)

Submission status: Wrong Answer

Solution code:
#TIME : 
import sys
from math import sqrt
input = sys.stdin.readline

def inp():
    return(int(input()))
def inlt():
    return(list(map(int,input().split())))
def insr():
    s = input()
    return(list(s[:len(s) - 1]))
def invr():
    return(map(int,input().split()))

AB = input().split()
a = int(AB[0])
b = int(float(AB[1])*100)
res = int((a*b/100))
print(res)

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:
import math
# math.floor

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

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

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3


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


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

a = int(A)
b = int(B[0])
b2 = int(B[2:4])
#print(b)
#print(b2)
#print(b)
if b == 0:
    print(0)
    exit()

t = a*b
#print(t)
#b3 = b*100
bb = a*b2
tmp = (bb+0.5)//100
#print(tmp)
#print(a*b)
bef = tmp+t
ans = int(bef+0.5)

print(ans)

Submission status: Wrong Answer

Solution code:
#TIME : 
import sys
from math import sqrt
input = sys.stdin.readline

def inp():
    return(int(input()))
def inlt():
    return(list(map(int,input().split())))
def insr():
    s = input()
    return(list(s[:len(s) - 1]))
def invr():
    return(map(int,input().split()))

AB = input().split()
a = int(AB[0])
b = float(AB[1])
res = int(a*(b*100)/100)
print(res)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

a = int(A)
b = int(B[0])
b2 = int(B[2:4])
#print(b)
#print(b2)
#print(b)
if b == 0:
    print(0)
    exit()

t = a*b
#print(t)
#b3 = b*100
bb = a*b2
tmp = (bb+0.5)//100
#print(tmp)
#print(a*b)
bef = tmp+t
ans = int(bef)

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(int(E))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

c = a * (b * 10**4)
c = c // (10**4)

print(int(c))

Submission status: Wrong Answer

Solution code:

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import Decimal


def main_v1():
    A, B = input().split()
    A = int(A)
    B = Decimal(B)
    print(int(A * B))


def main_v2():
    A, B = input().split()
    A = int(A)
    B = int(B.replace(".", ""))
    print(int(A * B / 100))


if __name__ == "__main__":
    main_v2()

Submission status: Wrong Answer

Solution code:
a, b = [float(n) for n in input().split(' ')]
 
a = int(a)
b = int(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)
print(int(A * B) // 100)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = [float(n) for n in input().split(' ')]

print(int(a*b))

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3


def main():
    _ = input().split()
    a, b = int(_[0]), float(_[1])
    print(int(a * b))


if __name__ == "__main__":
    main()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

ans = (a*b)//100

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

ans = (a*b)//100

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B = map(float,input().split(' '))
X=str(A*(B*100)/100)
print(X[:X.find('.')])

Submission status: Wrong Answer

Solution code:
a, b = input().split()
A =int(a)
B = int(b.replace('.', ''))
x = str(A*B)
X = x[:-2]
print(X)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(int(A*B/100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b=map(str,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(b.replace('.',''))
ans=int(a*b)
print(ans/100)

Submission status: Wrong Answer

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