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

Submission status: Wrong Answer

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

A = int(S[0])
B = float(S[1])


ans = A*B

print(int(ans))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = input().split()
x = int(S[0])
y = float(S[1])
import math
print(int(x*y))

Submission status: Wrong Answer

Solution code:
A, B = input().split()
# print(len(B))
if len(B) == 5:
  A = int(A)
  B = int(B[:2])
  print(A * B)
else:
  A = int(A)
  a = int(B[0])
  b = int(B[2])
  c = int(B[3])
  # print(a, b, c)
  # print(A * a, int((0.1 * A * b) // 1), int(0.01 * A * c // 1))
  print(A * a + int((0.1 * A * b) // 1) + int(0.01 * A * c // 1))

Submission status: Wrong Answer

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

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,i_a+1)
    answer = s_c * 10**(i_a+1)

print(int(answer))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import Decimal
A,B = map(float,input().split())
C = Decimal(A)*Decimal(B)
print(str(C).split(".")[0])

Submission status: Wrong Answer

Solution code:
import math
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 sys
import math
input = sys.stdin.readline
n1, n2 = map(float, input().split())
an = math.floor(n1*n2)
print(an)

Submission status: Wrong Answer

Solution code:
def main():
    a, b = map(float, input().split())
    print(int(a * b))
        
    
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
A,B=map(float,input().split())
A=int(A)
Bs=int(B)
b=B-Bs
#print(b)
an1=A*Bs
an2=int(A*b)
ans=an1+an2
print(int(ans))

Submission status: Wrong Answer

Solution code:
import math

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

print(math.floor(A*B))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import  math
a,b=map(str,input().split())
a=int(a)
b=float(b)
if b==0 or a==0:
    print(0)
    exit()

df=int(b)
dv=float(b-df)
ans=a*df+math.floor(a*dv)
print(ans)

Submission status: Wrong Answer

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

va = int(a)
rep = b.replace('.', '')
vb = int(rep) * 100

print(int(va * vb // 100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(int(A*B))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
import math

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

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


if __name__ == "__main__":
    main()
    sys.exit(0)

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

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

print(int(A*B))

Submission status: Wrong Answer

Solution code:
import math

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

print((int)(a*b))

Submission status: Wrong Answer

Solution code:
from decimal import *
import math

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

result = Decimal(str(a*b/100)).quantize(Decimal('.01'), rounding=ROUND_DOWN)

print(math.floor(result))

Submission status: Wrong Answer

Solution code:
#include <CodeforcesSolutions.h>
#include <ONLINE_JUDGE <solution.cf(contestID = "1359",problemID = "C",method = "GET")>.h>
"""
    Author : thekushalghosh
    Team   : CodeDiggers
 
    I prefer Python language over the C++ language :p :D
        
    Visit my website : thekushalghosh.github.io
"""
import sys,math,cmath,time,decimal
start_time = time.time()
##########################################################################
################# ---- THE ACTUAL CODE STARTS BELOW ---- #################

def multi(a, b):
    """
    """
    a = str(a)
    b = str(b)
    num = 0
    tmp = a.find('.')
    if tmp != -1:
        num = num + len(a) - tmp - 1
    tmp = b.find('.')
    if tmp != -1:
        num = num  + len(b) - tmp -1
    a1 = a.replace(".", "")
    b1 = b.replace(".", "")
    a1 = int(a1)
    b1 = int(b1)
    c = a1 * b1
    ans = [c, num]
    c = str(c)
    res = c[:len(c)-num]
    tmp = c[len(c)-num:]
    res = res + '.' + tmp
    return res

def solve():
    a,b = insr().split(" ")
    q = multi(a + ".0",b).index(".")
    print(multi(a + ".0",b)[:q])
                
################## ---- THE ACTUAL CODE ENDS ABOVE ---- ##################
##########################################################################
 
def main():
    global tt
    if not ONLINE_JUDGE:
        sys.stdin = open("input.txt","r")
        sys.stdout = open("output.txt","w")
    t = 1
    for tt in range(t):
        solve()
    if not ONLINE_JUDGE:
        print("Time Elapsed :",time.time() - start_time,"seconds")
    sys.stdout.close()
    
#---------------------- USER DEFINED INPUT FUNCTIONS ----------------------#
def inp():
    return(int(input()))
def inlt():
    return(list(map(int,input().split())))
def insr():
    return(input().strip())
def invr():
    return(map(float,input().split()))
 
#------------------ USER DEFINED PROGRAMMING FUNCTIONS ------------------#
def counter(a):
    q = [0] * max(a)
    for i in range(len(a)):
        q[a[i] - 1] = q[a[i] - 1] + 1
    return(q)
 
def string_counter(a):
    q = [0] * 26
    for i in range(len(a)):
        q[ord(a[i]) - 97] = q[ord(a[i]) - 97] + 1
    return(q)
 
ONLINE_JUDGE = __debug__
if ONLINE_JUDGE:
    input = sys.stdin.readline
    
main()

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

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

print((ans//100))

Submission status: Wrong Answer

Solution code:
a,b = map(float,input().split())
k = a*b
m = 0
if(k-int(a*b)==0.99):
  m += 1
print(int(a*b)+m)

Submission status: Wrong Answer

Solution code:
import math
s = input().split()
p = float(s[0]) * float(s[1])

print(math.floor(p))

Submission status: Wrong Answer

Solution code:
from fractions import Fraction
A,B=input().split()
#print(len(B)-2)
A2=int(float(B)*100)
#print(A2)
C=Fraction(A2,100)
D=int(A)*C
print(int(D))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


print(round(ans))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


print(int(round(A,0)*round(B,2)))

Submission status: Wrong Answer

Solution code:
import math

s = str(input())
d = s.split()
a = float(d[0])
b = float(d[1])
c = a * b
ans = math.trunc(c)
print(ans)

Submission status: Wrong Answer

Solution code:
import sys

# 実行環境(0:vscode, 1:atcoder)
MODE = 1

# 入力の次元
DIMENSION = 1

# int型に変換
INT_TYPE = 0

if not (MODE):
    with open("input.txt", "r") as f:
        s = f.read()
else:
    s = sys.stdin.read()

if DIMENSION == 0:
    if INT_TYPE == 1:
        s = int(s)
elif DIMENSION == 1:
    if INT_TYPE == 0:
        s = s.split()
    elif INT_TYPE == 1:
        s = [int(x) for x in s.split()]
elif DIMENSION == 2:
    if INT_TYPE == 0:
        s = [x.split() for x in s.splitlines()]
    elif INT_TYPE == 1:
        s = [[int(y) for y in x.split()] for x in s.splitlines()]

A = int(s[0])
B_x = int(float(s[1]))
B_y = float(s[1])-B_x

print(int(A * B_x + int(A * B_y)))

Submission status: Wrong Answer

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

print(int(A*B))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

import sys
import math


debug = False

def log(text):
    if debug:
        print(text)

def parse_input(lines_as_string = None):

    global debug
    lines = []
    if lines_as_string is None:
        debug = False
        # for line in sys.stdin:
        #     lines.append(line)
        lines.append(input())
    else:
        debug = True
        lines = [e for e in lines_as_string.split("\n")][1:-1]

    tokens = lines[0].split(' ')
    a = int(tokens[0])
    b = float(tokens[1])

    return (a, b)


def solve(a, b):
    
    c =  math.floor(a * (b * 1000) // 1000)

#    b2 = int(math.floor(b * 100))
#    c = math.floor((a * b2) // 100)
    if debug:
        print(c)

    return c
    


def main():
    # 出力
    result = solve(*parse_input())
    if isinstance(result, list):
        for r in result:
            print("%s" % r, sep='')
    else:
        print("%s" % result, sep='')

if __name__ == '__main__':

    main()

Submission status: Wrong Answer

Solution code:
# coding: utf-8
import math

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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:
import math
x,y = map(float,input().split())
print(math.floor(x*y),"\n")

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

ans = (iA * iB) // 100
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

###
# main
if(__name__ == '__main__'):
    # input
    a_in, b_in = input().split(" ")
    a = float(a_in)
    b = float(b_in)

    ans = int(a*b)

    print(ans)

# else:
    # do nothing

Submission status: Wrong Answer

Solution code:
ab = input()
ablist = ab.split(' ')
a = int(ablist[0])
b = float(ablist[1])
b1 = int(b * 100)
ab1 = a * b1
result = ab1 // 100
print(result)

Submission status: Wrong Answer

Solution code:
from math import floor

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(int(A*B))

Submission status: Wrong Answer

Solution code:
inputs= list(input().split())
A=float(int(inputs[0])/10**3)
B=float(inputs[1])
Ans=A*B*10**3//1
print(int(Ans))

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.floor(a*b))

Submission status: Wrong Answer

Solution code:
import sys
#import numpy as np
import math
#from fractions import Fraction
#import itertools
#from collections import deque
#import heapq
#from fractions  import gcd
input=sys.stdin.readline
a,b=input().split()
a=int(a)
b=float(b)
b=int(b*100)
ans=str(a*b)
n=len(ans)
if n>2:
  print(int(ans[:n-2]))
else:
  print(0)

Submission status: Wrong Answer

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

A = int(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 math
def main():
    #N=input()
    #A = list(map(int, input().split())) 
    A,B=input().split()
    A=int(A)
    B=int(float(B)*100//1)
    ans=A*B
    print(math.ceil(ans//100))

main()

Submission status: Wrong Answer

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

ans = A*B

print(int(ans))

Submission status: Wrong Answer

Solution code:

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

print(math.floor(a * b))

Submission status: Wrong Answer

Solution code:
A,B=list(map(float,input().split()))
A=int(A)
Bint=int(B)
Bfloat=int((B-Bint)*100)


ABfloat=int(A*Bfloat//100)

print(A*Bint+ABfloat)

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:
import math
ab = input()
ab = list(ab.split())
a, b = int(ab[0]), float(ab[1])
print(math.floor(a * b))

Submission status: Wrong Answer

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

an = a*b

#print(a)
#print(b)

#print(a*b)

ans = "" 
for i in str(an):
    if i == ".":
        break
    ans += i

print(ans)

Submission status: Wrong Answer

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


def solve(A: int, B: int):
    r = str(A*B)
    if len(r) > 3:
        print(r[:len(r)-2])
    else:
        print(0)
    return


# Generated by 1.1.7.1 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    A = int(next(tokens))  # type: int
    B = next(tokens)
    startWithZero = True
    everyZero =True
    l = 0
    bstr = ""
    for c in B:
        if c==".":
            continue
        if c == "0":
            l += 1
            if startWithZero:
                pass
            else:
                bstr += "0"
        else:
            everyZero = True
            l += 1
            startWithZero = False
            bstr += c
    for i in range(3-l):
        bstr+= "0"
    if everyZero:
        print(0)
        exit()
    solve(A, int(bstr))
#
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
# import sys
# readline = sys.stdin.readline
# generator = (readline().strip() for _ in range(N))

# N, M = map(int, input().split())
# As = list(map(int, input().split()))
# queries = (input() for _ in range(N))


def solve():
    N, M = input().split()

    n = int(N)
    m = int(float(M) * 100)

    return n * m // 100


def main():
    print(solve())


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

print(math.floor(a*b))

Submission status: Wrong Answer

Solution code:

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

sum=a*b
print(math.floor(sum))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

res = A * B

print(math.floor(res))

Submission status: Wrong Answer

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

a_i = int(a)
b_f = float(b)*100
print(int(a_i*b_f//100))

Submission status: Wrong Answer

Solution code:
import math

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

mul = math.trunc(a*b)

print(mul)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

ans = (A//100/100000 * B*10000000) + int(A%100 * B)
print(int(ans))

Submission status: Wrong Answer

Solution code:
import sys
a,b = map(str, input().split()) #a1 a2 a3 // b1 b2 b3
a=int(a)
b=float(b)
ab=str(a*b)
cut=ab.find('.')

if cut==-1:
  print(ab)
else:
  print(ab[:cut])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

rn=round(A*B,5)
print(math.floor(rn))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
num1,num2 = map(float,input().split())
print(int(num1 * num2))

Submission status: Wrong Answer

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

ia = int(a)
fb = float(b)
it = int(ia * fb)
print(it)
print()

Submission status: Wrong Answer

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

print(int(A*B))

Submission status: Wrong Answer

Solution code:
from decimal import *

A,B = map(float,input().split())
A_B = Decimal(A) * Decimal(B)
n = 0

ans = Decimal(str(A_B)).quantize(Decimal(str(10**(n*-1))), rounding=ROUND_DOWN)
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
a,b=map(float,input().split())
b1=int(b)
b2=b-b1
sum = a*b1 + a*b2
print(int(math.trunc(sum)))

Submission status: Wrong Answer

Solution code:
import math

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

ans = A*B

fin = math.floor(ans)

print(fin)

Submission status: Wrong Answer

Solution code:
import math
import sys
N = input()
lista = N.split()

A = lista[0]
B = lista[1]

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

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 numpy as np
a, b = np.array(input().split(), dtype=np.float64)
print(int(a*b))

Submission status: Wrong Answer

Solution code:
a,b=input().split()
b,c=b.split('.')
b=b+'.'+c[:2]
print(int(int(a)*float(b)))

Submission status: Wrong Answer

Solution code:
import math

A, B = input().split()

X = float(A)*float(B)

print(math.floor(X))

Submission status: Wrong Answer

Solution code:
import sys

# 実行環境(0:vscode, 1:atcoder)
MODE = 1

# 入力の次元
DIMENSION = 1

# int型に変換
INT_TYPE = 0

if not (MODE):
    with open("input.txt", "r") as f:
        s = f.read()
else:
    s = sys.stdin.read()

if DIMENSION == 0:
    if INT_TYPE == 1:
        s = int(s)
elif DIMENSION == 1:
    if INT_TYPE == 0:
        s = s.split()
    elif INT_TYPE == 1:
        s = [int(x) for x in s.split()]
elif DIMENSION == 2:
    if INT_TYPE == 0:
        s = [x.split() for x in s.splitlines()]
    elif INT_TYPE == 1:
        s = [[int(y) for y in x.split()] for x in s.splitlines()]

A = int(s[0])
B_x = int(float(s[1]))
B_y = float(s[1])-B_x

print(int(A * B_x + A * B_y))

Submission status: Wrong Answer

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

print(int(a_ * b_ / 100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
import sys
from decimal import Decimal

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

Submission status: Wrong Answer

Solution code:
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 = input().split()
A = int(A)
C1 = A*int(B[0])
C2 = A*int(B[2])*0.1
C3 = A*int(B[3])*0.01
Ans = C1+C2+C3
#print(C1)
#print(C2)
#print(C3)
Ans = math.floor(Ans)
print(Ans)

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=input().split()
x=b[3]
y=b[2]
z=b[0]
print(int(int(a)*int(z)+int(a)*int(y)/10+int(a)*int(x)/100))

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!
import math
a,b = input().split()
a = int(a)
b = float(b)
res = a * b
res = math.floor(res)
print(int(res))

Submission status: Wrong Answer

Solution code:
import math

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

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

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

Submission status: Wrong Answer

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

AA = int(A)
BB = float(B)
mul = AA * BB
#print(mul)
C = int(mul)
print(C)

Submission status: Wrong Answer

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

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

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

print(c)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import sys
import math

num_list = input().split()
ans = int(num_list[0]) * float(num_list[1])
print(int(ans))

Submission status: Wrong Answer

Solution code:
a,b = map(float,input().split())
a = int(a)
if a == 0 or b == 0.0 :
    print(0)
    exit()
print(int(a*b))

Submission status: Wrong Answer

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

A = int(inp[0])
B = float(inp[1])

test = A * B
res = int(A * B)

print(str(res))

Submission status: Wrong Answer

Solution code:
import sys
import math
def II(): return int(input())
def MI(): return input().split()
def LI(): return list(map(int,input().split()))
def TI(): return tuple(map(int,input().split()))
def RN(N): return [input().strip() for i in range(N)]


def main():
    A, B = MI()
    A = int(A)
    B = float(B)
    #print(math.floor(A*B))
    print(int((A*B)//1))


if __name__ == "__main__":
	main()

Submission status: Wrong Answer

Solution code:

def resolve():
    a, b = map(float, input().split())
    _mul = a*b
    print(int(_mul))

if __name__ == "__main__":
    resolve()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B = map(float,input().split())
A = str(int(A))
L = len(A)
if L == 1:
    print(int(int(A)*B))
else:
    a1,a2 = int(A[:L//2]),int(A[L//2:])
    B = round(B,2)
    print(int(a1*B*(10**(L-L//2)))+int(a2*B))

Submission status: Wrong Answer

Solution code:

def default():
    a=input()
    a=a.split()
    a[0]=int(a[0])
    a[1]=float(a[1])
    print(int(a[0]*a[1]))
if(__name__=="__main__"):
    default()