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

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

#print(B)
ans = []
p = [[]for k in range(len(B))]
for k in range(len(B)):
    for j in range(k):
        p[k].append(0)
for k in range(1, len(B)+1):
    a = 0
    for j in range(1, len(A)+1):
        if a > 9:
            a = int(str(a)[0]) + int(B[-k])*int(A[-j])
        else:
            a = int(B[-k])*int(A[-j])
        #print(a)

        p[k-1].append(int(str(a)[-1]))
        if j == len(A) and a >9:
            p[k-1].append(int(str(a)[0]))

for k in range(len(B)):
    for j in range(len(p[-1]) - len(p[k])):
        p[k].append(0)

#print(p)
a = 0
for k in range(len(p[0])): 
    if int(a) > 9: 
        a = int(str(a)[0])
    else:
        a =0
    for j in range(len(p)):
        a += p[j][k]
    ans.append(str(a)[-1])

#print(ans)
op = ""
for k in range(1, len(ans)-1):
    op += ans[-k]
if len(ans)<3:
    print(0)
else:
    print(op)

Submission status: Wrong Answer

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


if A*B < 100:
    print(int(A*B))
else:
    B_int = int(round(B*100))
    import math
    ans = format(math.modf(B_int*A)[1],".0f")
    print(ans[:len(ans)-2])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
A,B=map(float,input().split())
C=A*B
if A==10**15 and int(B)==10:
  print(10**16)
else:
  print(math.floor(C))

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

if A == 0 or B == 0:
    print(0)
else:
    A1 = int(A)
    B1 = B * 100
    B2 = int(B1)

    product = A1 * B2 / 100

    print(math.floor(product))

Submission status: Wrong Answer

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

i = list(input().split())
print(math.floor(int(i[0])*float(i[1])))

Submission status: Wrong Answer

Solution code:
from sys import stdin
import math

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = map(float, input().split())
a = round(a)
b_100 = round(b * 100)
c = a*b_100/100 - 0.49
print(round(c))

Submission status: Wrong Answer

Solution code:
from sys import stdin
import math
l = stdin.readline().rstrip().split()
A=int(l[0])
B=float(l[1])
ANS=A*(B*100)
print(math.floor(A*B))

Submission status: Wrong Answer

Solution code:
import math

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

b = math.floor(b*100)

print(int(a*b/100))

Submission status: Wrong Answer

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

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

res = a * b

print(str(int(res)))

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:
def examA():
    A, B = LI()
    ans = A*B
    print(ans)
    return

def examB():
    N = I()
    A = LI()
    for a in A:
        if a==0:
            print(0)
            return
    ans = 1
    for a in A:
        ans *= a
        if ans>10**18:
            print(-1)
            return
    print(ans)
    return

def examC():
    A, B = list(map(float, input().split()))
    #print(A,B)
    ans = A*(B+_ep)
    print(int(ans+_ep))
    return

def examD():
    def factorization(n):
        arr = defaultdict(int)
        temp = n
        for i in range(2, int(-(-n ** 0.5 // 1)) + 1):
            if temp % i == 0:
                cnt = 0
                while temp % i == 0:
                    cnt += 1
                    temp //= i
                arr[i] = cnt
        if temp != 1:
            arr[temp] = 1
        if arr == []:
            arr[n] = 1
        return arr
    C = [0,1,3,6,10,15,21,28,36,45]
    N = I()
    F = factorization(N)
    ans = 0
    #print(F)
    for f in F.values():
        for i in range(10):
            if C[i]>f:
                ans += i-1
                break
    print(ans)
    return

def examE():
    N = I()
    A = [0]*N
    B = [0]*N
    for i in range(N):
        A[i],B[i] = LI()
    A.sort()
    B.sort()
    if N%2==0:
        L = (A[N//2-1] + A[N//2])/2
        R = (B[N//2-1] + B[N//2])/2
        ans = int((R-L)*2) +1
    else:
        L = A[N//2]
        R = B[N//2]
        ans = (R-L)+1

    print(ans)
    return

def examF():
    inv = pow(2,mod2-2,mod2)
    N, S = LI()
    A = LI()
    dp = [[0]*(S+1)for _ in range(N+1)]
    dp[0][0] = pow(2,N,mod2)
    for i in range(N):
        a = A[i]
        for s in range(S+1):
            dp[i+1][s] += dp[i][s]
            dp[i+1][s] %= mod2
            if (s+a<=S):
                dp[i+1][s+a] += dp[i][s]*inv%mod2
                dp[i + 1][s+a] %= mod2
   # print(dp)
    ans = dp[-1][-1]%mod2
    print(ans)
    return

import sys,bisect,itertools,heapq,math,random
from copy import deepcopy
from heapq import heappop,heappush,heapify
from collections import Counter,defaultdict,deque
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
def I(): return int(input())
def LI(): return list(map(int,sys.stdin.readline().split()))
def LSI(): return list(map(str,sys.stdin.readline().split()))
def LS(): return sys.stdin.readline().split()
def SI(): return sys.stdin.readline().strip()
global mod,mod2,inf,alphabet,_ep
mod = 10**9 + 7
mod2 = 998244353
inf = 1<<60
_ep = 10**(-12)
alphabet = [chr(ord('a') + i) for i in range(26)]

sys.setrecursionlimit(10**7)

if __name__ == '__main__':
    examC()

"""
142
12 9 1445 0 1
asd dfg hj o o
aidn
"""

Submission status: Wrong Answer

Solution code:
A, B = map(float, input().split())
C = '{:.2f}'.format(B)
a = int(float(A)) * float(C)
print(int(float(a)))

Submission status: Wrong Answer

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

b2=int(b*100)
#print(b2)

ans=a*b2
#print(ans)

ans=int(ans/100)

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import sys
imput=sys.stdin.readline
a,b = input().split()
a= int(a)
b= float(b)

import math
print(int(a*b))

Submission status: Wrong Answer

Solution code:
import sys
import math

a,b = (i for i in input().split())

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



c = a*b

#print(c)
#print(type(c))
ans = math.floor(c)

print(ans)

Submission status: Wrong Answer

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

a=int(a)
b=float(b)  
print(type(a*b))
print(int(a*b))

Submission status: Wrong Answer

Solution code:
from decimal import *
A, B = map(float, input().split())
A = int(A)
B = str(B)
ans = 0
for i in range(len(B)):
    if i == 0:
        tmp = A*int(B[i])
        ans += tmp
    elif i == 2:
        tmp = A*int(B[i]) * 0.1
        tmp = int(tmp)
        ans += tmp
    elif i == 3:
        tmp = A*int(B[i]) * 0.01
        tmp = int(tmp)
        ans += tmp
    ans = float(Decimal(str(ans)).quantize(Decimal('3'), ROUND_DOWN))
print(int(ans))

Submission status: Wrong Answer

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

A,B=input().split()
x=int(B[0])
y=int(B[2])
z=int(B[3])

ans=int(A)*x
ans+=int(A)*y*0.1
ans+=int(A)*z*0.01
print(int(ans))

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

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

from decimal import Decimal
from fractions import Fraction
import math
dc_a = Decimal.from_float(a)
dc_b = Decimal.from_float(b*100)

ans = dc_a*dc_b

print(math.floor(ans/100))

Submission status: Wrong Answer

Solution code:
import math

if __name__ == "__main__":

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

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

Submission status: Wrong Answer

Solution code:
def main():
    inputList = input().split()
    print(int(int(inputList[0]) * float(inputList[1])))

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
# モジュールのインポート
import math

# 標準入力の取得
A, B = list(map(float, input().split()))

# 求解処理
result = math.floor(A * B)

# 結果出力
print(result)

Submission status: Wrong Answer

Solution code:
import math
A,B=input().split()
a=int(A)
b=[str(z) for z in B]
n_B=[]
for y in b:
    if y=='.':
        pass
    else:
        n_B.append(y)
if n_B[0]=='0':
    del n_B[0]
if n_B[0]=='0':
    del n_B[0]
bb=''.join(n_B)
print(int(a*int(bb)/100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B = [float(i) for i in input().split()]
A = int(A)
C = A//(10**8)
D = A%(10**8)
C *= B*(10**8)
D *= B
D = int(D)
print(int(C + D))

Submission status: Wrong Answer

Solution code:
a,b=map(float,input().split())
tempb=b*100
temp=999
for i in range(1001):
  if abs(i-tempb)<temp:
    tb=i
    temp=abs(i-tempb)
print(tb*a//100)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a,b=input().split()
a=int(a)
if b[0]=="0":
  if b[2]!="0":
    b=int(b[2:])
  else:
    b=int(b[3])
else:
  b=int(b.replace('.', ''))

c=a*b
c=str(c)
c=c[:-2]
print(c)

Submission status: Wrong Answer

Solution code:
A,B=input().split()
A=int(A)
flag=1
size=len(B)
ans=0
for i in range(size):
  if B[i]==".":
    flag=0
  else:
    if flag==1:
      ans+=A*int(B[i])*10**(size-i-3-flag)
    else:
      ans+=A*int(B[i])//10**abs(size-i-3-flag)
print(int(ans))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


def solve(A: int, B: float):
    Bbig = int(B)
    # print(Bbig)
    Bsmall = int((B - Bbig) * 10)
    # print(Bsmall)
    Bsmall2 = int((B - Bbig) * 100) - Bsmall * 10
    # print(Bsmall2)
    Abig = A * Bbig * 100
    # print(Abig)
    Asmall = (A * Bsmall) * 10
    # print(Asmall)
    Asmall2 = (A * Bsmall2)
    # print(Asmall2)
    print((Abig + Asmall + Asmall2) // 100)
    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 = float(next(tokens))  # type: float
    solve(A, B)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

num = (A / 100000000) * B
print(math.floor(num * 100000000))

Submission status: Wrong Answer

Solution code:
import numpy as np
import math

def resolve():
  S = input().split(" ")
  A = int(S[0])
  B = float(S[1])
  AB = np.asarray([A, B * 100], dtype = np.uint64)
  # print("{:17}".format(AB[0]*AB[1]).replace(" ", "").replace(".0", ""))
  result = str(AB[0]*AB[1])
  if len(result) > 2:
    print(result[:-2])
  else:
    print(0)

if __name__ == "__main__":
  resolve()

Submission status: Wrong Answer

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

import math
ha = input()
kita = ha.split(" ")
a = float(kita[0])
b = float(kita[1]) 
m = a*b
print(math.floor(m))

Submission status: Wrong Answer

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

ans = str(A*B)
if len(ans) <= 2:
    print(0)
else:
    print(ans[:-2])

Submission status: Wrong Answer

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

b = b*100

ans = a*b
#Decimal(ans)
#ans_i = math.floor(a*b_i)
# ans = math.floor(Decimal(a)*Decimal(b))

print(ans//100)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
a = input()
list = a.split(" ")
x = int(list[0])
y = list[1]
y_l = y.split(".")
y0 = int(y_l[0])
y1 = int(y_l[1])
y = y0 + y1 / 100
xy = x * y
print(math.floor(xy))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(int(a*b+0.0001))

Submission status: Wrong Answer

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

print(math.trunc(a*b))

Submission status: Wrong Answer

Solution code:
a, b = map(str, input().split())
aa = int(a)
bb1 = int(b[0])
bb2 = int(b[2])
bb3 = int(b[3])

print(int(aa // 1 * bb1 + aa * bb2 // 10 + aa * bb3 // 100))

Submission status: Wrong Answer

Solution code:
l = []
l = list(map(float,input().split()))
ans = l[0]*l[1]
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:
import math
import decimal

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

x = decimal.Decimal(r[0])
y = decimal.Decimal(r[1])

z = x * y

if r[0] == 0 or r[1] == 0:
    z = int(0)

print(z)

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 = int(B // 1)
By = int((B - Bx) * 100)
p = Ax * Bx * 100 + Ax * By + Ay * Bx
s = p // 100
t = p % 100
q = (Ay * By) // 100
if s > 0:
    print(str(s) + str(t + q))
else:
    print(p + q)

Submission status: Wrong Answer

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

print(math.floor(A[0]*A[1]))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
[A,B] = list(input().split())
A = int(A)
#B = float(B)
BB = B[0]
#print(int(BB))

dammy1 = A * int(BB)
S = (float(B) - int(BB)) * 100
dammy2 = (S * A) /100

out=dammy1 + dammy2

print(int(out))

Submission status: Wrong Answer

Solution code:
from fractions import Fraction

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

a = Fraction(a)
b = Fraction(b)

print(int(a*b))

Submission status: Wrong Answer

Solution code:
import math
A, B = map(float, input().split())
A = int(A)
a = math.floor(B)
b = float(B- a)

if((B- a)* 100 == 0):
  print(A* a)
else:
  print(A* a+ math.floor(A* b))

Submission status: Wrong Answer

Solution code:

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

print(int(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:
def main():
    from decimal import Decimal
    A, B = (float(i) for i in input().split())
    a = int(A)
    b = Decimal(B)
    ans = 0.0
    for i, s in enumerate(j for j in str(b) if j != "."):
        S = str(a)
        if i != 0:
            v = int(S[:-i]) if S[:-i] else 0
        else:
            v = int(S)
        ans += v*int(s)
    answer = []
    for t in str(ans):
        if t == ".":
            break
        answer.append(t)
    print("".join(answer))


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
from decimal import Decimal

a,b = list(map(float, input().split()))
#print(a)
#print(b)

#ab = a*b
#print(ab)
print(int(a*b))
#ac = Decimal(a*b)
#print(int(ac))

Submission status: Wrong Answer

Solution code:
import math

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

print(int(A*B))

Submission status: Wrong Answer

Solution code:
A,B = list(map(float,input().split(" ")))
A = int(A)
B = int(B*100)
if A*B < 100:
  print(0)
else:
  print(A*B//100)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def examA():
    A, B = LI()
    ans = A*B
    print(ans)
    return

def examB():
    N = I()
    A = LI()
    for a in A:
        if a==0:
            print(0)
            return
    ans = 1
    for a in A:
        ans *= a
        if ans>10**18:
            print(-1)
            return
    print(ans)
    return

def examC():
    A, B = list(map(float, input().split()))
    #print(A,B)
    B *= 100
    ans = A*B/100
    print(int(ans+_ep))
    return

def examD():
    def factorization(n):
        arr = defaultdict(int)
        temp = n
        for i in range(2, int(-(-n ** 0.5 // 1)) + 1):
            if temp % i == 0:
                cnt = 0
                while temp % i == 0:
                    cnt += 1
                    temp //= i
                arr[i] = cnt
        if temp != 1:
            arr[temp] = 1
        if arr == []:
            arr[n] = 1
        return arr
    C = [0,1,3,6,10,15,21,28,36,45]
    N = I()
    F = factorization(N)
    ans = 0
    #print(F)
    for f in F.values():
        for i in range(10):
            if C[i]>f:
                ans += i-1
                break
    print(ans)
    return

def examE():
    N = I()
    A = [0]*N
    B = [0]*N
    for i in range(N):
        A[i],B[i] = LI()
    A.sort()
    B.sort()
    if N%2==0:
        L = (A[N//2-1] + A[N//2])/2
        R = (B[N//2-1] + B[N//2])/2
        ans = int((R-L)*2) +1
    else:
        L = A[N//2]
        R = B[N//2]
        ans = (R-L)+1

    print(ans)
    return

def examF():
    inv = pow(2,mod2-2,mod2)
    N, S = LI()
    A = LI()
    dp = [[0]*(S+1)for _ in range(N+1)]
    dp[0][0] = pow(2,N,mod2)
    for i in range(N):
        a = A[i]
        for s in range(S+1):
            dp[i+1][s] += dp[i][s]
            dp[i+1][s] %= mod2
            if (s+a<=S):
                dp[i+1][s+a] += dp[i][s]*inv%mod2
                dp[i + 1][s+a] %= mod2
   # print(dp)
    ans = dp[-1][-1]%mod2
    print(ans)
    return

import sys,bisect,itertools,heapq,math,random
from copy import deepcopy
from heapq import heappop,heappush,heapify
from collections import Counter,defaultdict,deque
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
def I(): return int(input())
def LI(): return list(map(int,sys.stdin.readline().split()))
def LSI(): return list(map(str,sys.stdin.readline().split()))
def LS(): return sys.stdin.readline().split()
def SI(): return sys.stdin.readline().strip()
global mod,mod2,inf,alphabet,_ep
mod = 10**9 + 7
mod2 = 998244353
inf = 1<<60
_ep = 10**(-12)
alphabet = [chr(ord('a') + i) for i in range(26)]

sys.setrecursionlimit(10**7)

if __name__ == '__main__':
    examC()

"""
142
12 9 1445 0 1
asd dfg hj o o
aidn
"""

Submission status: Wrong Answer

Solution code:
L = input().split()
A = float(L[0])
B = int(float(L[1]) * 100)
ans = 0
m = 1
for i in range(len(str(B))):
    x = B % 10
    B //= 10
    ans += A * (x * m)
    m *= 10
print(int(ans//100))

Submission status: Wrong Answer

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

print(int(a*b-0.0001))

Submission status: Wrong Answer

Solution code:
import io,sys
sys.setrecursionlimit(10**6)

def main():
    s = sys.stdin.readline().rstrip().split()
    a = int(s[0])
    a0 = a%10**5
    a//=10**5
    a1 = a%10**5
    a//=10**5

    b = float(s[1])

    print(int(a*b*10**10)+int(a1*b*10**5)+int(a0*b))
main()

Submission status: Wrong Answer

Solution code:
A, B = input().split()
A = int(A)
ans = []

for b in B:
    if b != ".":
        b = int(b)
        ans.append(A * b)

anss = ans[0] + int(ans[1]*0.1) + int(ans[2]*0.01)
print(anss)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a, b = map(str, input().split())
aa = int(a)
bb1 = int(b[0])
bb2 = int(b[2])
bb3 = int(b[3])

print(int(aa // 1 * bb1 + aa * bb2 // 10 + aa * bb3 // 10))

Submission status: Wrong Answer

Solution code:
#from pprint import pprint
#from collections import deque
#from collections import defaultdict
#from collections import Counter
#from copy import deepcopy
#from itertools
#from bisect import bisect_right #二分探索用のモジュール bisect_right(a_list,value)

#import sys 
#sys.setrecursionlimit(N) #N回まで再起を許可する。

# = map(int,input().split())

# = list(map(int,input().split()))

# = [list(map(int,input().split())) for _ in range(XXXX)]

def fl(x):
    digits = 3
    form = '%.'+str(digits-1)+'e'
    return float((form % x))


a,b = input().split()

if b == 10.00:
    print(a*b)
    exit()

a = int(a)
b = float(b)
b = fl(b)
#print(b*100)
b_seisu = int(b)
b_syosu = int(b*100 - b_seisu*100)


seisu = a * b_seisu
syosu = a * b_syosu // 100


print(int(seisu+syosu))

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

b1 = int(B)
b2 = B - b1

a1 = A*b1
a2 = math.floor(A*b2)

a = a1 + a2
print(math.floor(a))

Submission status: Wrong Answer

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

b = int(B)
remain = B - b
ans = A * b
bit = 0.5
#print("b=",b,", remain=",remain,", ans=",ans)
while A * bit > 0.5:
    if remain > bit:
        ans += A * bit
        remain -= bit
    bit /= 2
    #print("remain=",remain,", ans=",ans,", bit=",bit,", A*bit=",A*bit)
ans = int(ans)
if (AB > ans):
    print(AB)
else:
    print(ans)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

C=A*B100
print(C//100)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = [float(num) for num in input().split()]
a = int(a)
bb = int(1e56 * b)
r = a * bb
print(str(r)[:-56])

Submission status: Wrong Answer

Solution code:
import math
a,b =map(float,input().split())
n = 2  # 切り捨てしたい桁
print(math.floor(math.floor(a)*(math.floor(b * 10 ** n) /(10 ** n))))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
from decimal import Decimal

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

Submission status: Wrong Answer

Solution code:
import math,itertools,fractions,heapq,collections,bisect,sys,queue,copy

sys.setrecursionlimit(10**7)
inf=10**20
mod=10**9+7
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)]

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def LS(): return sys.stdin.readline().split()
def S(): return input()

def main():
  a,b=LS()
  a=int(a)
  b=float(b)
  a/=100
  b*=100
  return math.floor(a*b)

# main()
print(main())

Submission status: Wrong Answer

Solution code:
import math 

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

Submission status: Wrong Answer

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

print(result)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline
#n = int(input())
#l = list(map(int, input().split()))
'''
A=[]
B=[]
for i in range():
    a, b = map(int, input().split())
    A.append(a)
    B.append(b)'''
import math
from fractions import Fraction
ab=input().split()
a=int(ab[0])
#print(int(float(ab[1])*100))
b=int(float(ab[1])*100)
#print(b)
if a*b>=100:
    print((a*b)//100)
else:
    print(int(a*b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
A, B  = input().split()
A = list(map(int, A))
B = float(B)
sum = 0
cnt = 0
for i in range(len(A)):
  a = A[-1-i]
  sum += math.floor(a * B * 10 ** cnt)
  cnt += 1
  # print(sum)
print(math.floor(sum))

Submission status: Wrong Answer

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

import sys
import math

def main():
    a,b = input().split()
    a = int(a)
    b = float(b)
    ans = a*b
    print(math.floor(ans))

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
A, B = map(float, input().split())
AB = A * B
ab = AB // 1
ans = int(ab)
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 = map(str,input().split())
A = int(A)
B = int(float(B)*100)
C = str((A*B)//100)
print(C)

Submission status: Wrong Answer

Solution code:
a,b=map(float,input().split())
tempb=b*100
temp=999
for i in range(1001):
  if abs(i-tempb)<temp:
    tb=i
    temp=abs(i-tempb)
print(round(tb*a/100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

print(ans)

Submission status: Wrong Answer

Solution code:
from decimal import *

def main():
    a, b = input().split()
    a = Decimal(a)
    b = Decimal(b)
    print(a * b)





if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

times = a * b
new_times = times // 100
print(new_times)

Submission status: Wrong Answer

Solution code:
import math
a,b=map(float,input().split())
a=int(a)
b=b*100
ans=int(a*b//100)
print(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 = float(B)

ans = A * B
ans = int(ans)

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
import numpy as np

def main():
    a = list( map( float, input().split()))
    #print(format(a[0], '.20f'))
    a1 = int(a[0])
    a2 = int(a[1]*100)
    #print(format(a[1], '.20f'))
    #print(format(a2, '.20f'))
    s = a1*a2/100
    #print(format(s, '.20f'))
    print(math.floor(s))
    
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
A,B = map(float,input().split())
M = A*B
sum = 0
while M >= 1:
    if M >= 10**15:
        M -= 10**15
        sum += 10**15
    elif M >= 10**14:
        M -= 10**14
        sum += 10**14
    elif M >= 10**13:
        M -= 10**13
        sum += 10**13
    elif M >= 10**12:
        M -= 10**12
        sum += 10**12
    elif M >= 10**11:
        M -= 10**11
        sum += 10**11
    elif M >= 10**10:
        M -= 10**10
        sum += 10**10
    elif M >= 10**9:
        M -= 10**9
        sum += 10**9
    elif M >= 10**8:
        M -= 10**8
        sum += 10**8
    elif M >= 10**7:
        M -= 10**7
        sum += 10**7
    elif M >= 10**6:
        M -= 10**6
        sum += 10**6
    elif M >= 10**5:
        M -= 10**5
        sum += 10**5
    elif M >= 10**4:
        M -= 10**4
        sum += 10**4
    elif M >= 10**3:
        M -= 10**3
        sum += 10**3
    elif M >= 10**2:
        M -= 10**2
        sum += 10**2
    elif M >= 10:
        M -= 10
        sum += 10
    elif M >= 1:
        M -= 1
        sum += 1
#ans = int(A*B)
print(sum)

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:
import math

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

num = (A / 1000000000000000) * B
print(math.floor(num * 1000000000000000))

Submission status: Wrong Answer

Solution code:
a,b = input().strip().split()
a = int(a)
b = float(b)
p = a*b % 1
ans = int(a*b - p)
print(ans)