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: Accepted

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 = list(str(a1*b1))
del ans[-1]
if ans:
    del ans[-1]
if ans:
    print(''.join(ans))
else:
    print(0)

Submission status: Accepted

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:]
res = multiply(str1, str2)
if len(res)>2:
    print(multiply(str1, str2)[:-2]) 
else:
    print(0)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/bin/python3

import sys
input = sys.stdin.readline
from decimal import Decimal

def main():
  a, b = list(map(Decimal, input().strip().split()))
  print(int(a*b))

main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

# print(A, B)

print(int(A * B))

Submission status: Accepted

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

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

print(a*b//100)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b = input().split()
b = b.replace('.', '')
p = str(int(a)*int(b))[:-2]
if len(p) < 1:
  p = 0
print(p)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def ii():return int(input())
def iim():return map(int,input().split())
def iil():return list(map(int,input().split()))
a,b = map(str,input().split())
a = int(a)
bint,bdec = b.split('.')
bint = int(bint)
bdec = int(bdec)
ans = a*bint+(a*bdec//100)
print(ans)

Submission status: Accepted

Solution code:
import sys
import decimal
input = sys.stdin.readline
def ii(): return int(input())
def mi(): return map(int, input().rstrip().split())
def lmi(): return list(map(int, input().rstrip().split()))
def li(): return list(input().rstrip())
def debug(*args, sep=" ", end="\n"): print("debug:", *args, file=sys.stderr, sep=sep, end=end) if not __debug__ else None
def exit(*arg): print(*arg); sys.exit()
# template

def main():
    decimal.getcontext().prec = 100
    a, b = input().split()
    a = int(a)
    b = decimal.Decimal(b)
    # print(a, b)
    print(int(b*a))
    return

if __name__ == "__main__":
    main()

Submission status: Accepted

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:])
if B_float < 1:
    B_float = B_float*100
    C = A*B_float/100
    #C_str = str(C)
    print("{}".format(int(C)))
elif not A==0:
    C = A*B_int
    C_str = str(C)
    #iti = C_str.find('.')
    print("{}".format(int(C_str[:-2])))
elif A==0:
    print("{}".format(0))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
readline = sys.stdin.readline
 
(a, b) = readline().split()
 
ans = int(a) * int(round(float(b) * 100))
 
print(ans//100)

Submission status: Accepted

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

a = int(a)
b = b[0] + b[2:]
b = int(b)

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

Submission status: Accepted

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)


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

print(ans)

Submission status: Accepted

Solution code:

#TIME : 
#python에서 소수점연산을 할때 Decimal library를 사용해야한다. float는 바이너리로 표현을 해서 오차가 발생한다.
import sys
from math import sqrt
from decimal import Decimal

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 = Decimal(AB[0])
b = Decimal(AB[1])
res = (a*b).__trunc__()
print(res)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

Submission status: Accepted

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

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

print(A*B // 100)

Submission status: Accepted

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


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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s_in=input().split()
A=int(s_in[0])
B=float(s_in[1])
Bi =int(B*100+0.5)
c=A*Bi
print(c//100)

Submission status: Accepted

Solution code:
from decimal import Decimal, ROUND_DOWN

a, b = map(Decimal, input().split())
ans = a * b
ans = ans.to_integral_value(rounding=ROUND_DOWN)
print(ans)

Submission status: Accepted

Solution code:
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
from decimal import Decimal 
from math import floor
def main():
    a, b = map(Decimal, input().split())
    ans = a*b
    print(floor(ans))
if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
from decimal import Decimal

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

print((a*b)//1)

Submission status: Accepted

Solution code:
from decimal import Decimal

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import *

getcontext().prec = 20
 
N = list(map(str, input().split()))
A = Decimal(N[0])
B = Decimal(N[1])
  
print(int(A*B))

Submission status: Accepted

Solution code:
import sys
a,b =  sys.stdin.readline().rstrip().split(" ")
#文字列で受け取れば，下のほうの少数桁に影響されることが少なくなる．
#入力で1.10だとしても，本当に1.10とは限らないよってこと
B =b.split(".")
#print(B)
ans = int(a)*(int(B[0])*100+int(B[1]))
print(ans//100)

Submission status: Accepted

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

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

Submission status: Accepted

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

if "." in B:
    keta = (len(B) - B.index(".") - 1)
    B_fix = int(B.replace(".",""))
    print(A * B_fix // (10**keta))
else:
    print(A * B)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal

inputs = list(map(lambda x:Decimal(x), input().split()))
multiple = inputs[0] * inputs[1]

multiple_str = str(multiple)
if '.' in multiple_str:
    ans = int(multiple_str.split('.')[0])
else:
    ans = int(multiple_str)

print(ans)

Submission status: Accepted

Solution code:
from decimal import Decimal

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

Submission status: Accepted

Solution code:
#ABC169c
from decimal import Decimal

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

print(a*b//1)

Submission status: Accepted

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

a = int(a)
b = int(b.replace(".", ""))

c = a*b // 100

print(c)

Submission status: Accepted

Solution code:
from decimal import Decimal

a, b = input().split()
a_deci = Decimal(a)
b_deci = Decimal(b)

ans = (a_deci * b_deci) // 1
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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(A * B // 100)


if __name__ == "__main__":
    main_v2()

Submission status: Accepted

Solution code:
from heapq import heappush, heappop, heapify
from collections import deque, defaultdict, Counter
import itertools
from itertools import permutations, combinations, accumulate, product, combinations_with_replacement
import sys
import bisect
import string
import math
import time
from decimal import *


def I(): return int(input())
def S(): return input()
def MI(): return map(int, input().split())
def MS(): return map(str, input().split())
def LI(): return [int(i) for i in input().split()]
def LI_(): return [int(i)-1 for i in input().split()]
def StoI(): return [ord(i)-97 for i in input()]
def ItoS(nn): return chr(nn+97)
def input(): return sys.stdin.readline().rstrip()
def list2d(a, b, c): return [[c] * b for i in range(a)]
def list3d(a, b, c, d): return [[[d] * c for j in range(b)] for i in range(a)]
def list4d(a, b, c, d, e): return [[[[e] * d for j in range(c)] for j in range(b)] for i in range(a)]
def print_matrix(mat):
    for i in range(len(mat)):
        print(*['IINF' if v == IINF else "{:0=4}".format(v) for v in mat[i]])


yn = {False: 'No', True: 'Yes'}
YN = {False: 'NO', True: 'YES'}
MOD = 10**9+7
inf = float('inf')
IINF = 10**19
l_alp = string.ascii_lowercase
u_alp = string.ascii_uppercase
ts = time.time()
sys.setrecursionlimit(10**6)
nums = ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10']
show_flg = False
# show_flg = True


def main():
    A, B = MS()
    getcontext().prec = 28

    a = Decimal(A) * Decimal(B)

    print(a.quantize(Decimal('0'), rounding=ROUND_DOWN))


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
from decimal import Decimal

A, B = input("").split()
A = int(A)
k = int(B[0]) * 100
k = k + int(B[2]) * 10
k = k + int(B[3])

result = Decimal(A*k) / Decimal(100)
result = math.trunc(result)

print(result)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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_v1()

Submission status: Accepted

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 = input().split()
a = int(a)
b = b.replace(".", "")
b = int(b)
print(a * b // 100)

Submission status: Accepted

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

Submission status: Accepted

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

c = int(b[0])
d = int(b[2] + b[3])
e = a * c
f = a * d
g = f // 100
h = e + g
print(h)

Submission status: Accepted

Solution code:
from decimal import Decimal

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

Submission status: Accepted

Solution code:

from collections import defaultdict
con = 10 ** 9 + 7; INF = float("inf")
from decimal import Decimal

def getlist():
	return list(map(int, input().split()))

#処理内容
def main():
	A, B = list(input().split())
	A = int(A)
	B = Decimal(B)
	ans = (int(A * B // 1))
	print(ans)





if __name__ == '__main__':
	main()

Submission status: Accepted

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

a = Decimal(a)
b = Decimal(b)

print(int(a*b))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

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

a = int(a)

b1,b2 = b.split('.')

b1 = int(b1)
b2 = int(b2)

ans = a*(b1*100+b2)//100

print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians, gcd
from itertools import accumulate, permutations, combinations, product, groupby, combinations_with_replacement
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from bisect import bisect, bisect_left
from heapq import heappush, heappop
from functools import reduce
from decimal import Decimal, ROUND_FLOOR

def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
def ZIP(n): return zip(*(MAP() for _ in range(n)))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

A, B = input().split()
A = Decimal(int(A))
B = Decimal(B)
C = A*B
print(C.quantize(Decimal("0"), rounding=ROUND_FLOOR))

Submission status: Accepted

Solution code:
import math
import collections
import fractions
import itertools
import decimal

def solve():
    a, b = input().split()
    a = decimal.Decimal(a)
    b = decimal.Decimal(b)
    print(int(a*b))
    return 0

if __name__ == "__main__":
    solve()

Submission status: Accepted

Solution code:
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

a, b = readline().decode().rstrip().split()

a = int(a)
b = int(b[0]) * 100 + int(b[2]) * 10 + int(b[3])

print(a*b//100)

Submission status: Accepted

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

a = int(a)
b = int(b[0])*100 + int(b[2])*10 + int(b[3])
ans = int(a * b // 100)

print(ans)

Submission status: Accepted

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

a = Decimal(str(a))
b = Decimal(str(b))

print(int(a*b))

Submission status: Accepted

Solution code:
A, B = input().split(' ')
print(int(A)*int(B[0]+B[2]+B[3])//100)

Submission status: Accepted

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

a = Decimal(str(a))
b = Decimal(str(b))

print(int(a*b))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b = map(str, input().split());
c = int(b[0]+b[2:]);
d = int(a);
e = int(c * d // 100 );
print(e);

Submission status: Accepted

Solution code:
# 2020/05/31
# AtCoder Beginner Contest 169 - C (AfterCase)

# Input
a, b = input().split()

# Calc
bint = int(b[0:len(b)-3])
bfloat = int(b[len(b)-2:len(b)])
ans = int(a) * (bint * 100 + bfloat) // 100

# Output
print(ans)

Submission status: Accepted

Solution code:
a,b=map(str,input().split())
a=int(a)
c=b[0]+b[2]+b[3]

ans = a * int(c) //100

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

a = int(a)


b0,b1 = b.split('.') if '.' in b else [int(b), 0]
b0 = int(b0)
b1 = int(b1)

print a*b0 + a*b1/100

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B = input().split()
A = int(A)
C = int(B[0])*100 + int(B[2:])
print((A*C)//100)

Submission status: Accepted

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

import math
from decimal import *
a = Decimal(a)
b = Decimal(b)

print(math.floor(a * b))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(int(A) * int(B.replace('.','')) // 100)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
inputs = input().split(" ")
decimal = inputs[1].split(".")
product = int(inputs[0])*(int(decimal[0]+decimal[1]))
print(product//100)

Submission status: Accepted

Solution code:
A, B = open(0).read().split()

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if "." in B:
    C = B[:B.index(".")]+B[B.index(".")+1:]
    D = "".join(C)
    B = int(D)
else:
    D = "".join(C)
    B = int(D)


    
ans = (A*B)//100

print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
import re
a=input().split()
#print(a[0])
ia=int(a[0])
#print(a)
c=re.sub(r'\D','',a[1])
#print(c)

ib=int(c)

b=ia*ib//100

print(b)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal, ROUND_DOWN

a, b = input().split()
c = Decimal(a) * Decimal(b)

print(Decimal(c).quantize(1, rounding=ROUND_DOWN))

Submission status: Accepted

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

Submission status: Accepted

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

ss=ss.replace(".","")

i=int(s)

ii=int(ss)

print(i*ii//100)

Submission status: Accepted

Solution code:
import math
a, b = input().split()
a = int(a)
b = int(float(b) * 100 + 0.001)

print(a * b // 100)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(A*B // 100)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal
from sys import stdin
def LD(): return list(map(Decimal,stdin.readline().rstrip().split()))
 
tmp = LD()
ans = int(tmp[0]*tmp[1])
print(ans)

Submission status: Accepted

Solution code:
import sys

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")
def II(): return int(sys.stdin.readline())
def MI(): return map(int, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]
def SI(): return sys.stdin.readline()[:-1]

def main():
    a,b=SI().split()
    a=int(a)
    b1,b0=map(int,b.split("."))
    print(a*(b1*100+b0)//100)

main()

Submission status: Accepted

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

Submission status: Accepted

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

A = int(A)
B = int(B.replace('.', ''))

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys 
import math
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
INF = 10 **18
A,B = read().split()
#Bをint型にする
B = int(float(B)*100 + 0.5)
ans = int(A)*B
print(ans//100)

Submission status: Accepted

Solution code:

from decimal import *
A,B = map(Decimal,input().split())

print(int(A*B))

Submission status: Accepted

Solution code:
from decimal import Decimal

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

print(int(a*b))

Submission status: Accepted

Solution code:
from decimal import Decimal
import math

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

print(math.floor(A*B))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal


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

    print(int(A*B))


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input();print(int(s[:-4])*int(s[-4]+s[-2:])//100)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
import decimal
def input():
    return sys.stdin.readline().strip()
 
def main():
    A, B = input().split()
    A = decimal.Decimal(A)
    B = decimal.Decimal(B)
    print(int(A*B))
 
 
main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from math import floor
from decimal import Decimal
inp = input().split()
A = int(inp[0])
B = Decimal(inp[1])
print (floor(A * B))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal

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

print(a*b//1)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A = input().split()
a = int(A[0])
b = int(A[1].replace(".", ""))
print(0 if str(a*b)[:-2] == '' else str(a*b)[:-2])

Submission status: Accepted

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

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

A, B = readline().decode().rstrip().split()
A = int(A)
B = 100 * int(B[0]) + 10 * int(B[2]) + int(B[3])

ans = A * B // 100

print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print((lambda a:a[0]*a[1]//100)(list(map(int,input().replace(".", "").split()))))

Submission status: Accepted

Solution code:
a,b=input().split();print(int(a)*int(b[0]+b[2:])//100)

Submission status: Accepted

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

a = int(a)
b = int(b.replace('.',''))

print(a * b //100)

Submission status: Accepted

Solution code:
import sys
import math
import heapq
sys.setrecursionlimit(10**7)
INTMAX = 9223372036854775807
INTMIN = -9223372036854775808
DVSR = 1000000007
def POW(x, y): return pow(x, y, DVSR)
def INV(x, m=DVSR): return pow(x, m - 2, m)
def DIV(x, y, m=DVSR): return (x * INV(y, m)) % m
def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def II(): return int(sys.stdin.readline())
def FLIST(n):
    res = [1]
    for i in range(1, n+1): res.append(res[i-1]*i%DVSR)
    return res

A,B=input().split()
AA=int(A)
BB=int(B[0])*100 + int(B[2])*10 + int(B[3])
 
print((AA*BB)//100)

Submission status: Accepted

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