Problem:


Score : 300 points

Problem Statement

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

Constraints

0 \leq A \leq 10^{15}

0 \leq B < 10

A is an integer.

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

Input

Input is given from Standard Input in the following format:

A B

Output

Print the answer as an integer.

Sample Input 1

198 1.10

Sample Output 1

217

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

Sample Input 2

1 0.01

Sample Output 2

0

Sample Input 3

1000000000000000 9.99

Sample Output 3

9990000000000000



Sample input:
198 1.10


Sample output:
217

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from math import floor
a,b=map(float,input().split())
seisu=int(b)
syosu=(b-seisu)*100
syosu=floor(syosu*10**2)/(10**2)
#print(syosu)
print(int(a*seisu+a*syosu//100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

ans = i[0] * i[1]
print(int(math.floor(ans)))

Submission status: Wrong Answer

Solution code:
import sys
#sys.exit()
#sorted( ,reverse=True)
#N = int(input())
S,T = map(str, input().split())
S = int(S)
T = T.replace('.','')
T = int(T)
#A = list(map(int, input().split()))
#A = [int(input()) for _ in range(N)]

#cnt = 0
#cnt += 1



#print(N)
#print(S,T)
#print(S*T)
#print(S*T/100)
#print(A)
#print('Yes')
#print('No')
print(int(S*T/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))

Submission status: Wrong Answer

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

print(math.floor(ans))

Submission status: Wrong Answer

Solution code:
from decimal import Decimal, ROUND_DOWN, getcontext
a, b = map(str, input().split())
getcontext().prec = 6
getcontext().rounding = ROUND_DOWN
x = Decimal(a)
y = Decimal(b)
print("{:10f}".format(Decimal(x * y), rounding=ROUND_DOWN))

Submission status: Wrong Answer

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

a = int(a)
b = float(b)

print(int(math.floor(a*b)))

Submission status: Wrong Answer

Solution code:
import math

N = list(map(float, input().split()))
ans = math.floor(N[0] * N[1])
print(ans)

Submission status: Wrong Answer

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

print( A * B  // 100 )

Submission status: Wrong Answer

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


def main(a, b):
    return int(a*b)


print(main(A, B))

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

Solution code:
#coding:utf-8

V = [int(float(i) * 100) for i in input().split()]

V[0] = int(V[0]/100)

C = V[0] * V[1]

C = C / 100

C = int(C)

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

Submission status: Wrong Answer

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

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

print(int(a*b))

Submission status: Wrong Answer

Solution code:
a,b = [int(i) if i.isdigit() else float(i) for i in input().split() ]
print(int(a*b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from math import trunc
N = input().split()

if 0 <= int(N[0]) <= pow(10, 15) and 0 <= float(N[1]) < 10:
    S = int(N[0])*float(N[1])
    print(trunc(S))
else:
    print("change your input")

Submission status: Wrong Answer

Solution code:
import numpy as np
import math

a, b = map(float, input().split())
b = b.as_integer_ratio()
ans = a * b[0] / b[1]

print(int(ans))

Submission status: Wrong Answer

Solution code:
import sys
# from random import choice,randint
# from bisect import bisect_left as bl             
# from bisect import bisect_right as br  
# from collections import deque,defaultdict,Counter
from math import sqrt,floor,ceil
# from itertools import combinations,permutations
# from heapq import heapify,heappop,heappush,heappushpop
# inp=sys.stdin.readline
# out=sys.stdout.write
# flsh=sys.stdout.flush
# ranomd string generator --> a = ''.join(random.choices(string.ascii_lowercase, k = 1000))
 
sys.setrecursionlimit(10**9)
inf = 10**20
eps = 1.0 / 10**10
mod = 10**9+7
mod1=998244353
dd = [(-1,0),(0,1),(1,0),(0,-1)]
ddn = [(-1,0),(-1,1),(0,1),(1,1),(1,0),(1,-1),(0,-1),(-1,-1)]

#fact=[1]
#for i in range(1,100001):
#    fact.append((fact[-1]*i)%mod)
#ifact=[0]*100001
#ifact[100000]=pow(fact[100000],mod-2,mod)
#for i in range(100000,0,-1):
#    ifact[i-1]=(i*ifact[i])%mod
 
def MI(): return map(int, inp().strip().split())
def LI(): return list(map(int, inp().strip().split()))
def LLI(): return [list(map(int, l.split())) for l in sys.stdin.readlines().strip()]
def LI_(): return [int(x)-1 for x in inp().strip().split()] #use list comprehension for loops
def LF(): return [float(x) for x in inp().strip().split()] #use try and except for dictionaries
def LS(): return inp().strip().split() #declare local variables ... for functions assing them to variables
def I(): return int(inp().strip()) # before using example ... func = len for using len() funtcion
def F(): return float(inp().strip()) #sort dictionary after zipping
def S(): return inp().strip() #use map function for mapping list to a fuction
def pf(s): return out(s+'\n')
def JA(a, sep): return sep.join(map(str, a)) #use this for string concatenation
def JAA(a, s, t): return s.join(t.join(map(str, b)) for b in a)
def modinv(n,p):return pow(n,p-2,p)
def ncr(n,r,p):                      
    t=((fact[n])*((ifact[r]*ifact[n-r])%p))%p
    return t

####################Actualcode################################
def solve():
    a,b=LF()
    a = int(a)
    b = b*(10000.0000000000000)
    ans = a*b
    ans = (ans)//10000
    print(int(ans))

def main():
    solve()


######## Python 2 and 3 footer by Pajenegod and c1729
py2 = round(0.5)
if py2:
    from future_builtins import ascii, filter, hex, map, oct, zip
    range = xrange

import os, sys
from io import IOBase, BytesIO

BUFSIZE = 8192
class FastIO(BytesIO):
    newlines = 0
    def __init__(self, file):
        self._file = file
        self._fd = file.fileno()
        self.writable = "x" in file.mode or "w" in file.mode
        self.write = super(FastIO, self).write if self.writable else None

    def _fill(self):
        s = os.read(self._fd, max(os.fstat(self._fd).st_size, BUFSIZE))
        self.seek((self.tell(), self.seek(0,2), super(FastIO, self).write(s))[0])
        return s
    def read(self):
        while self._fill(): pass
        return super(FastIO,self).read()

    def readline(self):
        while self.newlines == 0:
            s = self._fill(); self.newlines = s.count(b"\n") + (not s)
        self.newlines -= 1
        return super(FastIO, self).readline()

    def flush(self):
        if self.writable:
            os.write(self._fd, self.getvalue())
            self.truncate(0), self.seek(0)

class IOWrapper(IOBase):
    def __init__(self, file):
        self.buffer = FastIO(file)
        self.flush = self.buffer.flush
        self.writable = self.buffer.writable
        if py2:
            self.write = self.buffer.write
            self.read = self.buffer.read
            self.readline = self.buffer.readline
        else:
            self.write = lambda s:self.buffer.write(s.encode('ascii'))
            self.read = lambda:self.buffer.read().decode('ascii')
            self.readline = lambda:self.buffer.readline().decode('ascii')

sys.stdin, sys.stdout = IOWrapper(sys.stdin), IOWrapper(sys.stdout)

inp = lambda: sys.stdin.readline().rstrip('\r\n')
out = lambda x: sys.stdout.write(x)
flsh= lambda: sys.stdout.flush()

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
import sys
from math import ceil, floor
from collections import deque, Counter, defaultdict
from fractions import gcd
input = lambda: sys.stdin.readline().rstrip()

def eprint(s):
    sys.stderr.write('DEBUG: {}'.format(s))
    return

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

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
from decimal import Decimal

a, b = input().split()
a = int(a)
b = float(b)
c = int(b * 100)
d=a*c
answer = str(Decimal(d))
print(answer[:-2])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
one, two = map(float, input().split())
result = one * two

print(math.floor(result))

Submission status: Wrong Answer

Solution code:
text = input().split()
A = int(text[0])
B = float(text[1])
B*=100
C = int(B)
if(A * C < 100):
    print(0)
else:
    print(str(A * C)[:-2])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from math import floor
 
i,f = input().split()
i = int(i)
f = float(f)
print(floor(i*f))

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

Submission status: Wrong Answer

Solution code:
x, y = [float(x) for x in input().split()]
y = y*100
ans = int(x*y)
ans = ans//100
print(ans)

Submission status: Wrong Answer

Solution code:
from sys import stdin
import math
A, B= map(float, stdin.readline().rstrip().split())

tmp = A*B
res = math.floor(tmp)
print(res)

Submission status: Wrong Answer

Solution code:
import numpy as np
#A, B = map(float, input().split())

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

A = np.array(A, dtype=np.float128)

ans = A[0] * A[1]

ans =int(ans)
print(str(ans))

Submission status: Wrong Answer

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

ans = list(str(math.floor((A*B)*10**2)))
if len(ans) <= 2:
    print(0)
else:
    print(''.join(ans[:-2]))

Submission status: Wrong Answer

Solution code:
import math

alist = input().split()
a=int(alist[0])
b=float(alist[1])

bx=b*100
ba=int(bx//100)
bb=int((bx//10)-ba*10)
bc=int(bx-ba*100-bb*10)
#print(ba, bb, bc)

answer=a*ba+(a*bb)//10+(a*bc)//100
print(answer)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
A,B = map(float,input().split(" "))
ans = B*A
if ans >= 10**16:
    s = str(ans)
    p = s.find("e")
    r = str(math.floor(float(s[:p])*(10**2)))
    e = "0"*(int(s[p+2:])-2)
    print(r+e)
else:
    print(math.floor(ans))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import bisect
import heapq
import math
import random
import sys
from collections import Counter, defaultdict, deque
from decimal import ROUND_CEILING, ROUND_HALF_UP, Decimal
from functools import lru_cache, reduce
from itertools import combinations, combinations_with_replacement, product, permutations
from operator import add, mul, sub, or_

sys.setrecursionlimit(100000)
input = sys.stdin.readline
INF = 2**62-1

def read_int():
    return int(input())

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

def read_float():
    return float(input())

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

def read_str():
    return input().strip()

def read_str_n():
    return list(map(str, input().split()))

def error_print(*args):
    print(*args, file=sys.stderr)


def main():
    a, b = read_str_n()
    a = int(a)
    b= b.replace('.', '')
    b = int(b)
    ans = a*b/100
    print(math.floor(ans))


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import math

A, B = map(float, input().split())
B = B * 1e15

C = math.floor(A * B)
C = C / 1e15

print(math.floor(C))

Submission status: Wrong Answer

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

val = a * b
val = math.floor(val)

print(val)

Submission status: Wrong Answer

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


a, b = map(float, input().split())
a = int(a)
b = b * 1000.00000000
answer = a * b
answer = answer / 1000
out(trunc(answer))

Submission status: Wrong Answer

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

if A > 100:
    B *= 100
    ans = A * B
    ans /= 100
    print(math.floor(ans))
else:
    ans = float(A)*float(B)
    # print(ans)
    print(int(ans))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
a,b=map(eval,input().split())
if a < 0 and a > 10**5 :
    exit()
elif b < 0 and b >= 10 :
    exit()
else :
    print(math.trunc(a*b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

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

hoge = str(int(a)*float(b))
for i in hoge:
  if i == ".":
    break
  print(i,end="")

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 sys,collections as cl,bisect as bs,math
from fractions import Fraction
sys.setrecursionlimit(100000)
input = sys.stdin.readline
mod = 10**9+7
Max = sys.maxsize
def l(): #intのlist
	return list(map(int,input().split()))
def m(): #複数文字
	return map(float,input().split())
def onem(): #Nとかの取得
	return int(input())
def s(x): #圧縮
	a = []
	if len(x) == 0:
		return []
	aa = x[0]
	su = 1
	for i in range(len(x)-1):
		if aa != x[i+1]:
			a.append([aa,su])
			aa = x[i+1]
			su = 1
		else:
			su += 1
	a.append([aa,su])
	return a
def jo(x): #listをスペースごとに分ける
	return " ".join(map(str,x))
def max2(x): #他のときもどうように作成可能
	return max(map(max,x))
def In(x,a): #aがリスト(sorted)
    k = bs.bisect_left(a,x)
    if k != len(a) and a[k] ==  x:
        return True
    else:
        return False

def pow_k(x, n):
    ans = 1
    while n:
        if n % 2:
            ans *= x
        x *= x
        n >>= 1
    return ans

"""
def nibu(x,n,r):
	ll = 0
	rr = r
	while True:
		mid = (ll+rr)//2

	if rr == mid:
		return ll
	if (ここに評価入れる):
		rr = mid
	else:
		ll = mid+1
"""

a,b = m()
co = 0
po = b
while True:
	if int(po) == po:
		break

	else:
		po *= 10
		co += 1 
	
aa = Fraction(int(a),1)
bb = Fraction(int(po),10**co)

print(int(aa*bb))

Submission status: Wrong Answer

Solution code:
#coding:utf-8

V = [int(float(i) * 100) for i in input().split()]

print("{},{}".format(V[0],V[1]))

V[0] = int(V[0]/100)

C = V[0] * V[1]

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

C = C / 100

C = int(C)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A, B = map(str, input().split())
A = int(A)
B = float(B)
Ax = A // 100
Ay = A % 100
Bx = B // 1
By = int((B - Bx) * 100)
p = int(Ax * Bx * 100 + Ax * By + Ay * Bx)
q = (Ay * By) // 100
if len(str(p)) > 5:
  t = str(p)
  x0 = t[-1]
  x1 = t[-2]
  x2 = t[0 : len(t) - 3]
  k = x1 + x0
  l = int(k) + q
  l = str(l)
  m = x2 + l
  ans = int(m)
else:
  ans = p + q
print(ans)

Submission status: Wrong Answer

Solution code:
import math

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

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

C = A * B

print(math.floor(C))

Submission status: Wrong Answer

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

import math
print(math.floor(round(A*B,17)))

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import math
def main():

    A, B = input().split()
    A = int(A)
    B = float(B)
    v = B - int(B)
    u = int(A * v)
    return u + int(B) * A


if __name__ == '__main__':
    print(main())

Submission status: Wrong Answer

Solution code:
from math import trunc
things = list(input().split())
a = int(things[0])
b = float(things[1])
c = int(b*100)
answ = list(str(a*c))
answ.insert(-2, ".")
final = ""
for x in answ:
	if x != ".":
		final += x
	else:
		break
if final == "" or final == "-":
	print(0)
else:
	print(final)

Submission status: Wrong Answer

Solution code:
from sys import exit
import math
ii = lambda : int(input())
mi = lambda : map(int,input().split())
li = lambda : list(map(int,input().split()))

a = list(input().split())
n=int(a[0])
m= float(a[1])
print(int(n*math.ceil(m*100)/100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

A_exp = '{:.14E}'.format(A).split("E")
B_exp = '{:.14E}'.format(B).split("E")

x = float(A_exp[0]) * float(B_exp[0])
x_exp = '{:.14E}'.format(x).split("E")

e = int(A_exp[1]) + int(B_exp[1])

print(int(  float(x_exp[0]) * (10**(int(x_exp[1])+e)) ))

Submission status: Wrong Answer

Solution code:
import math
from decimal import *
a,b = map(float, input().split())
#Decimal(a)
#Decimal(b)
b = b*100
#b_i = float(b - math.floor(b))
#print(b_i)
ans = a*b
#ans_i = math.floor(a*b_i)
# ans = math.floor(Decimal(a)*Decimal(b))
print(int(ans//100))

Submission status: Wrong Answer

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

# print(A, B)
B = int(B * 100)
sum = int(A) * int(B)

print(int(sum / 100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
a = input().split()
c = float(a[0])*float(a[1])
d = math.floor(c)
print(d)

Submission status: Wrong Answer

Solution code:
#!/usr/bin/python3

from decimal import *

#標準出力からの読み込み
input_1 = input()
a = Decimal(input_1.split(" ")[0])
b = Decimal(input_1.split(" ")[1])

if (a == 0) or (b == 0):
    output = 0
else:
    output = Decimal.to_integral_exact(a*b)

print(output)

Submission status: Wrong Answer

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

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

m = A*B

if m>=100:
  result = int(str(m)[:-2])
else:
  result = 0
  
print(result)

Submission status: Wrong Answer

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

print(C)

Submission status: Wrong Answer

Solution code:
try:
    
    A,B=input().split(' ')
    
    A_int=int(A)
    B_float=float(B)
    
    if A_int>=0 and A_int<=10**15 and B_float>=0 and B_float<10:
        
        print(int(A_int*B_float))
    
    
    
except Exception as e:
    print(e)

Submission status: Wrong Answer

Solution code:
import sys
from math import floor

def _sa(): return sys.stdin.readline().strip().split()


def main():
    a, b = _sa()
    return floor(int(a) * float(b))


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

Submission status: Wrong Answer

Solution code:
##C

[A,B] = list(input().split())

if A=='0' or B=='0.00':
    out=0
else:
    A = int(A)
    B = float(B)
    BB = 100*B
    dammy = int(A * BB)
    dammy2 = list(str(dammy))
    #print(dammy2)

    if len(dammy2)<=2:
        out=0
    else:
        del dammy2[-1]
        del dammy2[-1]
        out=int(''.join(dammy2))

print(out)

Submission status: Wrong Answer

Solution code:
import math
hoge = list(input().split())
A = int(hoge[0])
B = float(hoge[1])
B1 = int(B)
B2 = int(B*10%10)
B3 = int(B*100%10)
ans = int(A*B1 + A*B2*0.1 + A*B3*0.01)
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
T = 1
while(T > 0):
    A, B = input().split()
    A = int(A)
    B = float(B)
    ans = int(A*B)
    print(ans)
    T -= 1

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b=map(float,input().split())
k = [str(i) for i in str(a*b)]
print("".join(k[i] for i in range(k.index("."))))

Submission status: Wrong Answer

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

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

import math

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

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import *
A, B = map(float, input().split())
B = int(B * 100)
A = int(A)
ans = A * B
ans = ans // 10
ans = ans // 10
print(ans)

Submission status: Wrong Answer

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

import math
math.floor(round(A*B,17))

Submission status: Wrong Answer

Solution code:
a, b = map(float, input().split())
ans = 0
b *= 100
for i in range(int(b)):
    ans += a
print(int(ans // 100))

Submission status: Wrong Answer

Solution code:
from sys import stdin
import math

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

print(math.floor(A*B))

Submission status: Wrong Answer

Solution code:
import sys
from math import ceil, floor
from collections import deque, Counter, defaultdict
from fractions import gcd
input = lambda: sys.stdin.readline().rstrip()

def eprint(s):
    sys.stderr.write('DEBUG: {}'.format(s))
    return

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

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

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

if A > 100:
    B *= 100
    ans = A * B
    ans /= 100
    print(int(ans))
else:
    ans = float(A)*float(B)
    # print(ans)
    print(int(ans))

Submission status: Wrong Answer

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

print(int(a * b / 100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b=map(float,input().split())
bl=list(str(b))
if len(bl)==3:
    bl.append("0")
ans1=a*int(bl[0])
ans2=a*int(bl[2])/10
ans3=a*int(bl[3])/100
ans=ans1+ans2+ans3
print(int(ans))

Submission status: Wrong Answer

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

if B == 10.00:
    print(A*10)
    exit()

if B == 0.00:
    print(0)
    exit()

if B ==1.00:
    print(A)
    exit()

if B ==9.00:
    print(A*9)
    exit()
print(math.floor(A*B))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

a, b = map(lambda x: int(float(x) * 100), input().split())
print(a * b // 10000)

Submission status: Wrong Answer

Solution code:
import math
ab = list(map(float, input().split()))



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


z = float(a * b)

ans = math.floor(z)
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B = input().split()
B,C = B.split(".")
A = int(A)
B = int(B)
C = int(C)
s = A*B
t = 0
if C>=10:
    t = A*C//100
elif C>=1:
    t = A*C//10
print(f"{s+t:.0f}")

Submission status: Wrong Answer

Solution code:
import math
a,b = map(float, input().split())
for i in range(11):
    if i <= b <i+1:
        c = int(i)
        d = int(100 * (b - i))
        break
        
e = int(a) * c
f = int(a) * d
g = f //100
h = e + g
print(h)

Submission status: Wrong Answer

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

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

# print(A, B)
B = int(B * 100)
sum = A * B

print(int(sum / 100))

Submission status: Wrong Answer

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

a = int(a)



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

answer = a*b

answer = str(answer)

print(answer[0:-2])

Submission status: Wrong Answer

Solution code:
a, b =input().split()
a = int(a)
b = int(float(b)*100)
n = str(a*b)
if len(n) < 3:
    print(0)
else:
    print(n[:-2])

Submission status: Wrong Answer

Solution code:
s=input()
a,b=s.split(' ')
a=int(a)
b=100*int(b[0])+int(b[2:])
s=str(a*b)
print(s[:len(s)-2])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
list = input().split()
a=int(int(list[0]))
b=int(float(list[1])//1)
c= float(list[1])%1
ans = a*b+int(a*c)
print(math.floor(ans))

Submission status: Wrong Answer

Solution code:
import math

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

print(math.floor(A*B))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
text = input().split()
A = int(text[0])
B = float(text[1])
B*=100
C = int(B)
print(int((A * C) / 100))

Submission status: Wrong Answer

Solution code:
a,b = input().strip().split()
a,b = [int(a), float(b)]
c = a*b;
d = ""
cc = str(c)
for i in range(len(cc)):
	if(cc[i]=='.'):
		break
	d+=cc[i]

print(d)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

a = list(map(float,input().split()))
print(int(a[0]*a[1]))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
[a,b] = [x for x in input().split()]
a = int(a)
b = int(float(b) * 100.0)

print(int(a*b/100.0))

Submission status: Wrong Answer

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

# A, B = 1000000000000000, 9.99
# A, B = 1, 0.01

decimalLength = str(B).split(".")[1].__len__()

B = B * 10 ** decimalLength

res = A * B

resInterger = str(int(res))
result = resInterger[0:len(resInterger) - decimalLength]
if result == '':
    print(0)
else:
    print(result)

Submission status: Wrong Answer

Solution code:
import math

a = list(input().rstrip().split(" "))

A,B = int(a[0]),float(a[1])
if A >= 100:
    B2 = int(100*B)
    ans = int((A-100)*B2/100)+int(100*B)

elif A < 100:
    ans = int(A*B)    
print(ans)

Submission status: Wrong Answer

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


print(math.floor(ans))

Submission status: Wrong Answer

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


A = int(A)

B = float(B)
import math

print(math.floor(A * B))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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