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 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()
    ans = int(a)*b
    # print(ans)
    print(round(floor(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:
A, B = input().split()
A = int(A)
B = int(float(B) * 100)
ans = A * B // 100
print(ans)

Submission status: Wrong Answer

Solution code:
import math
h = list(map(float,input().strip().split()))[:2] 
ans=math.trunc(h[0]*h[1])

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

str_list = input().split()

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

result = a * b

print(math.floor(result))

Submission status: Wrong Answer

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

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:

import math


def main():

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

    print(math.floor(A*B))


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import math as m
list = []
a,b=input().split()
list.append([int(a), float(b)])
print(m.floor(list[0][0]*list[0][1]))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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


def solve(A: int, B: float):
    # r = math.floor(A*B)
    if A == 0 or B == 0.00:
        print(0)
        return

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


# 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 = float(next(tokens))  # type: float
    solve(A, B)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import numpy as np

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import math

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

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

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

Submission status: Wrong Answer

Solution code:
import math

A,B=input().split()

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

f = B - int(B)


ans = int(B) * A + int(f*A)

print(int(ans))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

a = int(l[0])
b = int(float(l[1]) * 100)
prod = (a * b) // 100;

print(prod)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/python3

import math

#標準出力からの読み込み
input_1 = input()
a = int(input_1.split(" ")[0])
b = int(input_1.split(" ")[1].replace(".", ""))
#浮動小数点だとエラーになるので整数のままにする

output = math.floor(a*b/100.0)
print(output)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
A, B = map(str, input().split())
f, i = math.modf(float(B))
print(int(A) * int(i) + int(int(A) * f))

Submission status: Wrong Answer

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

aa = float(a)
bb = float(b)

print(math.floor(aa*bb))

Submission status: Wrong Answer

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

if int(a) == 0 or float(b) == 0.0:
    print(0)
else:

    b_first, b_last = [x for x in b.split('.')]
    b_last = b_last.rstrip('0')

    if len(b_last) == 0:
        b_last = '0'        

    # print(b_first, b_last)

    ans = int(a) * int(b_first)

    k = (int(b_last) * int(a))/(10 ** len(b_last))

    # print(k)

    print(ans + int(k))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import Decimal, ROUND_HALF_UP, ROUND_HALF_EVEN
A, B = map(float, input().split())
C = A * B
print(Decimal(str(C)).quantize(Decimal('0'), rounding=ROUND_HALF_UP))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from functools import reduce
from operator import mul
x = list(map(float, input().split()))
# print(x)
# result = reduce(mul, x)
result = int(x[0] * x[1])
print(result)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#atcoder template
def main():
    import sys
    imput = sys.stdin.readline
    #文字列入力の時は上記はerrorとなる。
    #ここにコード
    #input
    A, B = map(float, input().split())

    #output
    A *= 100
    B *= 100
    A = int(A)
    B = int(B)
    print(A*B//10000)

    #N = 1のときなどcorner caseを確認！
if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
a, b = input().split()
a = int(a)
b = list(map(int, b.split('.')))
if len(b) == 1:
    ans = a * b[0]
elif b[-1] < 10:
    ans = a * (10 * b[0] + b[1]) // 10
else:
    ans = a * (100 * b[0] + b[1]) // 100
print(ans)

Submission status: Wrong Answer

Solution code:
import math
m = list(map(float,input().strip().split()))
a = m[0]
b = m[1]
c = a*b
c = math.floor(c)
print(c)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(math.floor(int(ab[0])*float(ab[1])))

Submission status: Wrong Answer

Solution code:
import math

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

if len(ab)>=3:
    print(ab[:-2])
else:
    print(0)

Submission status: Wrong Answer

Solution code:
S = input().split()
A = int(S[0])
B = float(S[1])
B_f = B - int(B)
B_i = int(B)
D = A * B_i
E = A * B_f
print(D + int(E))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

b = str(b)
ans = 0

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

print(int(ans))

Submission status: Wrong Answer

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

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

ans = 0
b2 = math.floor(b * 100) % 10
b1 = math.floor(b * 10) % 10
b0 = math.floor(b)

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

print(ans)

Submission status: Wrong Answer

Solution code:
A,B = map(float,input().split())
a1 = A//(10**10)
a2 = A%(10**10)
ans = a1*B*10**10 + a2*B
print(int(ans//1))

Submission status: Wrong Answer

Solution code:
import math
def solve():
    a, b = input().split()
    a = int(a)
    b = float(b)
    print(int(a*b))
    return 0
 
if __name__ == "__main__":
    solve()

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import math
s = input().split()
a=int(s[0]);b=float(s[1])
c=str(a*b)
print(c[:c.index('.')])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

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:
from math import sqrt,gcd,ceil,floor
def ii():return int(input())
def mi():return map(int,input().split())
def li():return list(mi())
def si():return input()

s=input().split()
a=int(s[0])
b1=int(s[1][0])
b2=int(s[1][2])
b3=int(s[1][3])
# print(a,b1,b2,b3)
ans=a*b1+(a*b2)//10+(a*b3)//100
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:
S = input().split()
x = int(S[0])
y = float(S[1])
import math
print(math.floor(x*y))

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

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

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

Submission status: Wrong Answer

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

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:
init =input().split(' ')

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

multi = a * b

result = int(multi // 1)

print(result)

Submission status: Wrong Answer

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


##########
if __name__ == "__main__":
    c()

Submission status: Wrong Answer

Solution code:
from fractions import Fraction
import math

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

Submission status: Wrong Answer

Solution code:
import math

A, B = map(float, input().split())
d = A*B
y = math.floor(d)
n = int(y)
print(n)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys, re
from math import ceil, floor, sqrt, pi, factorial, gcd
from copy import deepcopy
from collections import Counter, deque
from heapq import heapify, heappop, heappush
from itertools import accumulate, product, combinations, combinations_with_replacement
from bisect import bisect, bisect_left
from functools import reduce
# input = sys.stdin.readline 
def i_input(): return int(input())
def i_map(): return map(int, input().split())
def i_list(): return list(i_map())
def i_row(N): return [i_input() for _ in range(N)]
def i_row_list(N): return [i_list() for _ in range(N)]
def s_input(): return input()
def s_map(): return input().split()
def s_list(): return list(s_map())
def s_row(N): return [s_input for _ in range(N)]
def s_row_list(N): return [s_list() for _ in range(N)]
def Yes(): print('Yes')
def No(): print('No')
def YES(): print('YES')
def NO(): print('NO')
def lcm(a, b): return a * b // gcd(a, b)
sys.setrecursionlimit(10 ** 6)
INF = float('inf')
MOD = 10 ** 9 + 7
from decimal import *

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

    getcontext().prec = 3

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

    ans = a * b

    print(Decimal(floor(ans/100)))
            
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys, math
def main():
    s = list(input().split())
    a = int(s[0])
    b = float(s[1])
    x,y = int(b), b-int(b)
    y = int(y*100)
    print(a*x + math.floor(a*y/100))
    
if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from fractions import Fraction
a,b = map(float,input().split())
a = int(a)
b = int(b*100)
a = Fraction(a,1)
b = Fraction(b,100)
x = int(a*b)
print(x)

Submission status: Wrong Answer

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

if '.' not in B:
    B = int(B)
    print(A * B)
else:
    B = int(B.replace('.', ''))
    print(int(A * B / 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
print(seisu, daiiti, daini)

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



if __name__ == '__main__':
    a, b = input().split()

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

    print(math.floor(a * b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(int(int(b)*float(c)))
exit(0)

### C++と同じく、実行は、Opt + Ctl + N

'''
# -*- coding: utf-8 -*-
# get a integer
a = int(input())
# get two integers separated with half-width break
b, c = map(int, input().split())
# get a string
s = input()
# output
print('{} {}'.format(a+b+c, s))
'''

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = input().split()
x = int(a)
y = float(b)
x1 = x // 100000000
x2 = x - (x1 * 100000000)
a1 = x1 * 100000000 * y
a2 = x2 * y

print(a1,a2)

print(int(a1+a2))

Submission status: Wrong Answer

Solution code:
from decimal import Decimal, ROUND_DOWN


A,B = map(float,input().split())
ans = A*B
print(Decimal(str(ans)).quantize(Decimal('0'), rounding=ROUND_DOWN))

Submission status: Wrong Answer

Solution code:
import math
n, m = input().split()
n = int(n)
m = float(m)
ans = math.floor(n*m)
ans = int(ans)
print(ans)

Submission status: Wrong Answer

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


print(round(ans))

Submission status: Wrong Answer

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

a = int(a)
ans = math.floor(a*b)

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

print(math.floor(A*B))

Submission status: Wrong Answer

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

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

print("{}".format(int(math.floor(A*B))))

Submission status: Wrong Answer

Solution code:
phrase = input().split(" ")
a = int(phrase[0])
b = float(phrase[1])
c = a*b
if c/10 < 0.5 : 
  print(round(c))
else : 
  print(round(c) -1 )

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

a = int(a)

b = int(float(b)*100)

if(a != 0 and b != 0 and a*b > 100):
    print(a*b//100)
else:
    print(0)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

input_list = input().split()
A = int(input_list[0])
B = float(input_list[1])
final_B = math.floor(B * 10 ** 2) / (10 ** 2)

print(math.floor(A * final_B))

Submission status: Wrong Answer

Solution code:
import numpy as np
import math
import collections


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


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

Submission status: Wrong Answer

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

a=int(a)
b=float(b)
b=int(b*100)
#print(a)
#print(b)
if b==0:
    print(b)
elif a==0:
    print(a)
else:
    print(int(a*b//100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
import math


def input():
    return sys.stdin.readline().strip()


sys.setrecursionlimit(20000000)

MOD = 10 ** 9 + 7
INF = float("inf")


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

    answer = 0
    for i in range(len(c) - 2):
        answer = answer * 10 + int(c[i])

    print(answer)


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

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:
a,b = map(float,input().split())
if a == 0.0 or b == 0.0 :
    print(0)
    exit()
print(int(a*b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

c =a // 10**8
d =a % 10**8
e = int(b*100)
ce = c*e
de = d*e

f = ce*(10**8)+de

print(int(f/100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

x = r[0] * math.floor(r[1])

print(int(x))

Submission status: Wrong Answer

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

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

ans = A * B

print(int(ans))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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 = input().split()
a = int(a)
b = int(float(b)*100)
x = a*b
print(int(x*0.01))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import math
from decimal import Decimal

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

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

print(ans)

Submission status: Wrong Answer

Solution code:
import math

A, B = input().split()

X = int(A)*float(B)

print(math.floor(X))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from math import factorial as fact
import math
import sys
import itertools
import numpy as np
from collections import Counter
import datetime
from collections import deque


#入力:N(int:整数)
def input1():
	return int(input())

#入力:N,M(int:整数)
def input2():
	return map(float,input().split())

#入力:[n1,n2,...nk](int:整数配列)
def input_array():
	return list(map(int,input().split()))

def keta(N):
	return len(str(N))


def input_daytime(input_time):
	time,distance=input_time.split()
	t=time.split(":")
	se=str(t[-1]).split(".")
	dt1 = datetime.timedelta(hours=int(t[0]),minutes=int(t[1]),seconds=int(se[0]),milliseconds=int(se[1]))
	return dt1

def combinations(n,r):
	return list(itertools.combinations(range(n),r))



def all_sets(num_list):
	subsets=[]
	for i in range(2,len(num_list) + 1):
		for c in combinations(num_list, i):
			subsets.append(c) 
	return subsets

#公約数の列挙
def ch(x1):
	cf=[]
	for i in range(2,math.sqrt(x1)+1):
		if x1 % i==0:
			cf.append(i)
	return cf

def CountOneRoots(x,y):
	#x:縦，y:横
	return fact(x+y)/fact(x)/fact(y)

# 素因数分解
def prime_factorize(n):
    a = []
    while n % 2 == 0:
        a.append(2)
        n //= 2
    f = 3
    while f * f <= n:
        if n % f == 0:
            a.append(f)
            n //= f
        else:
            f += 2
    if n != 1:
        a.append(n)
    return a
	
def count_str(m):
	tmp={}
	for i in range(10):
		if i in tmp:
			tmp[i]=1
		else:
			tmp[i]+=1
	return tmp

def is_prime(n):
	if n==1: return True

	for i in range(2,int(math.sqrt(n))+1):
		if n%i==0:
			return False
	return True


I=input().split()
a=int(I[0])
b=round(float(I[1]),2)
print(math.floor(a*b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
from math import factorial
from collections import Counter
from fractions import Fraction
import heapq, bisect, fractions
import math
import itertools
sys.setrecursionlimit(10 ** 5 + 10)
INF = 10**15 +5
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()))
MOD = 10**9 + 7


a, b = input().split()
a = int(a)
b = float(b)
b1 = b-int(b)
b2 = int(b)
c = a*b2 + int(a*b1)
print(c//100)

Submission status: Wrong Answer

Solution code:
import math

inp = input().split()
a, b = int(inp[0]), inp[1]
a0 = int(a / 100) * 100
a1 = int((a-a0)/ 10) * 10
a2 = int(a-a0-a1)
ans = int(a0 * float(b)) + int(a1 * float(b[:-1])) + a2 * int(b[0])
print(ans)

Submission status: Wrong Answer

Solution code:
import sys
sys.setrecursionlimit(10000000)
input=sys.stdin.readline
import math

n,k =input().split()

a=int(n) * float(k)
print(int((a*100//100)))

Submission status: Wrong Answer

Solution code:
from decimal import *
a,b = map(float, input().split())
if (a==0 or b==0):
    print(0)
    exit()
x = Decimal(a)*Decimal(b)//Decimal(1)
print(x)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

ans = int(A * B)
print(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:
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(str, input().split())
A = int(A)
ans = 0
ans += A*int(B[0])
ans += (A*int(B[2]))//10
ans += (A*int(B[3]))//100
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = list(input().split())

a = int(x[0])
b = int(float(x[1]) * 100)

ans = str(a * b)
if len(ans) > 2:
    print(ans[:len(ans) - 2])
else:
    print(0)

Submission status: Wrong Answer

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

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

c = a * b

#c = str(c)
#if len(c) < 3:
#  print(0)
#else:
#  print(c[:-2],c)

print( a * b // 100 )

Submission status: Wrong Answer

Solution code:
from numba import njit
import math
a, b = list(map(float, input().split()))
@njit
def main():
    print(int(math.floor(a * b)))
main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
a,b=map(float, input().split())
#a=decimal.Decimal(a)
#b=decimal.Decimal(b)
print(math.floor(a*b))
#print((a*b).quantize(decimal.Decimal('1'), rounding=decimal.ROUND_FLOOR))

Submission status: Wrong Answer

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


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

    A = int(A)
    res = B - int(B)
    s = A * int(B)
    t = A * res
    print(s+int(t))


if __name__ == '__main__':
    main()