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(float, input().split())
s = (int(A)*B)
print(int(s))

Submission status: Wrong Answer

Solution code:
import math
def mul3():
    m,n = map(eval,input().split())
    res = math.trunc(m*n)
    if m == 0 or n == 0:
        res = 0
    return res

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

Submission status: Wrong Answer

Solution code:
import math
import numpy as np
a,b=map(np.longdouble,input().split())
c=math.floor(a)*b
print(math.floor(c))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

res=a*b_int+a*b_float
print(int(res))

Submission status: Wrong Answer

Solution code:
x,y = input ( " Please enter two numbers"). split () 
x,y =[ int (x), float (y)] 
mul = x*y
print(int(mul))

Submission status: Wrong Answer

Solution code:
import math

s = input().split()
A = float(s[0])
B = float(s[1])
c = math.floor(A * B)
print(c)

Submission status: Wrong Answer

Solution code:
import decimal

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

print(int(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)
    if c < 100:
        print(0)
        return

    r = str(c)
    # print(r)
    print(r[0:-2])


# 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:
x,y = map(float,input().split())
print(int(x*y))

Submission status: Wrong Answer

Solution code:
import sys
import itertools
sys.setrecursionlimit(1000000000)
from heapq import heapify,heappop,heappush,heappushpop
import math
import collections
import copy
import decimal

if __name__ == "__main__":
    a,b = map(float,input().split())
    a = decimal.Decimal(a)
    b = decimal.Decimal(b)*100
    print(int(a*b/100))

Submission status: Wrong Answer

Solution code:
from fractions import Fraction
x=input().split()
a=int(x[0])
b=float(x[-1])
b='{0:.2f}'.format(b)
b=float(b)
a=Fraction.from_float(a)
b=Fraction.from_float(b)
print(int(a*b))

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
import sys
import math
from bisect import bisect_left
from bisect import bisect_right
import collections
import copy
import heapq
from collections import defaultdict
from heapq import heappop, heappush
import itertools
input = sys.stdin.readline
from collections import defaultdict
from heapq import heappop, heappush

from decimal import *

##### リストの 二分木検索 #####
# bisect_left(lists, 3)
# bisect_right(lists, 3)

##### プライオリティキュー #####
# heapq.heapify(a) #リストaのheap化
# heapq.heappush(a,x) #heap化されたリストaに要素xを追加
# heapq.heappop(a) #heap化されたリストaから最小値を削除＆その最小値を出力

# heapq.heappush(a, -x) #最大値を取り出す時は、pushする時にマイナスにして入れよう
# heapq.heappop(a) * (-1) #取り出す時は、-1を掛けて取り出すこと

##### タプルリストのソート #####
# sorted(ans) #(a, b) -> 1st : aの昇順, 2nd : bの昇順
# sorted(SP, key=lambda x:(x[0],-x[1])) #(a, b) -> 1st : aの昇順, 2nd : bの降順
# sorted(SP, key=lambda x:(-x[0],x[1])) #(a, b) -> 1st : aの降順, 2nd : bの昇順
# sorted(SP, key=lambda x:(-x[0],-x[1])) #(a, b) -> 1st : aの降順, 2nd : bの降順

# sorted(SP, key=lambda x:(x[1])) #(a, b) -> 1st : bの昇順
# sorted(SP, key=lambda x:(-x[1])) #(a, b) -> 1st : bの降順

##### 累乗 #####
# pow(x, y, z) -> x**y % z

##### 割り算の切り上げ #####
# tmp = -(-4 // 3)

##### dict の for文 #####
# for k, v in d.items():
#     print(k, v)

##### 進数の変換 #####
# bin_str = bin(i)[2:]
# oct_str = oct(i)[2:]
# hex_str = hex(i)[2:]

def inputInt(): return int(input())
def inputMap(): return map(int, input().split())
def inputList(): return list(map(int, input().split()))
def inputStr(): return input()[:-1]

inf = float('inf')
mod = 1000000007

#-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
#-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

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

	numA = Decimal(A)
	numB = Decimal(B)
	ans = numA*numB

	print(int(ans))



#-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
#-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
# 2分検索のリバース
def bisect_left_reverse(a, x):
    if a[0] <= x:
        return 0
    if x < a[-1]:
        return len(a)
    # 二分探索
    ok = len(a) - 1
    ng = 0
    while (abs(ok - ng) > 1):
        mid = (ok + ng) // 2
        if a[mid] <= x:
            ok = mid
        else:
            ng = mid
    return ok

def bisect_right_reverse(a, x):
    if a[0] < x:
        return 0
    if x <= a[-1]:
        return len(a)
    # 二分探索
    ok = len(a) - 1
    ng = 0
    while (abs(ok - ng) > 1):
        mid = (ok + ng) // 2
        if a[mid] < x:
            ok = mid
        else:
            ng = mid
    return ok

#-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
#-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
# 2分検索
# 存在しない場合: None 存在する場合: その値
def binary_search(list, item):
    low = 0
    high = len(list) - 1

    while low <= high:
        mid = (low + high) //2
        guess = list[mid]
        if guess == item:
            return mid
        if guess > item:
            high = mid -1
        else:
            low = mid + 1
    return None

#-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
#-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
# N 個のボールを K グループに分ける場合のパターン数
def sunuke(N, K, mod=10**9+7):
	if N < K or K-1 < 0:
		return 0
	else:
		return combination(N-1, K-1, mod)

#-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
# nCr mod m
# rがn/2に近いと非常に重くなる
def combination(n, r, mod=10**9+7):
    r = min(r, n-r)
    res = 1
    for i in range(r):
        res = res * (n - i) * modinv(i+1, mod) % mod
    return res

# mを法とするaの乗法的逆元
def modinv(a, mod=10**9+7):
    return pow(a, mod-2, mod)

def egcd(a, b):
    if a == 0:
        return b, 0, 1
    else:
        g, y, x = egcd(b % a, a)
        return g, x - (b // a) * y, y

#-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
# nHr mod m
# 問題によって、combination()を切り替えること
def H(n, r, mod=10**9+7):
	# comb = Combination(n+r-1, mod)
	# return comb(n+r-1, r)
    return combination(n+r-1, r, mod)


class Combination:
    """
    O(n)の前計算を1回行うことで，O(1)でnCr mod mを求められる
    n_max = 10**6のとき前処理は約950ms (PyPyなら約340ms, 10**7で約1800ms)
    使用例：
    comb = Combination(1000000)
    print(comb(5, 3))  # 10
    """
    def __init__(self, n_max, mod=10**9+7):
        self.mod = mod
        self.modinv = self.make_modinv_list(n_max)
        self.fac, self.facinv = self.make_factorial_list(n_max)

    def __call__(self, n, r):
        return self.fac[n] * self.facinv[r] % self.mod * self.facinv[n-r] % self.mod

    def make_factorial_list(self, n):
        # 階乗のリストと階乗のmod逆元のリストを返す O(n)
        # self.make_modinv_list()が先に実行されている必要がある
        fac = [1]
        facinv = [1]
        for i in range(1, n+1):
            fac.append(fac[i-1] * i % self.mod)
            facinv.append(facinv[i-1] * self.modinv[i] % self.mod)
        return fac, facinv

    def make_modinv_list(self, n):
        # 0からnまでのmod逆元のリストを返す O(n)
        modinv = [0] * (n+1)
        modinv[1] = 1
        for i in range(2, n+1):
            modinv[i] = self.mod - self.mod//i * modinv[self.mod%i] % self.mod
        return modinv

#-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
# dfs のサンプル
def dfs(graph,parent,counter,edge):
    stk = []
    stk.append(edge)
    while len(stk) > 0:
        p = stk.pop()
        for e in graph[p]:
            if parent[p] == e:
                continue
            else:
                parent[e] = p
                counter[e] += counter[p]
                stk.append(e)

#-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
#-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
if __name__ == "__main__":
	main()

Submission status: Wrong Answer

Solution code:
import math
A, B = input().split()
a = int(A)
b = B.replace('.', '')
Adam = int(b)
Eve = a * Adam
Zeus = math.floor(Eve / 100)
print(Zeus)

Submission status: Wrong Answer

Solution code:
import sys, math
input = sys.stdin.readline

def main():
    inpt = input()
    A = int(inpt.split()[0])
    B = float(inpt.split()[1])

    B = int(B * 100)

    print(math.floor((A * B)//100))

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B=map(float,input().split())
t=0
if A%100==0:
  A=A/100
  t=1
ans=A*B
if t==1:
  ans=ans*100
print(str(ans).split('.')[0])

Submission status: Wrong Answer

Solution code:
import math
hoge = list(input().split())
A = int(hoge[0])
B =int(float(hoge[1])*100)
print("{}".format(A*B//100))

Submission status: Wrong Answer

Solution code:
import math

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

num = A * B
if num < 0:
    print(math.ceil(num))
    exit()
print(math.floor(num))

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 math
N,K=input().split()
N=int(N)
'''after=K.split(".")[1]
before=K.split(".")[0]
after=after[0:2]
K=eval(before+"."+after)
'''
K=eval(K)
K=round(K,2)
if K<10:
#print(before, after, K)
    print(math.trunc(N*K))

Submission status: Wrong Answer

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

    


if __name__ == "__main__":
  main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def cut(num, c):
    c=10**(-c)
    return (num//c)*c
l = list(map(float, input().split()))
Sum =l[0]*l[1]
Sum = cut(Sum,0)
print("%.0f" % Sum)

Submission status: Wrong Answer

Solution code:
def main():
    a, b = input().split(' ')
    a = int(a)

    b = b.replace('.', '')
    ans = int(0)
    tmp = int(1)
    for c in b:
        ans += int(a) * int(c) // int(tmp)
        tmp = int(tmp * int(10))

    print(ans)


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import math

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

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

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:
AB = list(input().split())

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

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


ans = int(A * B)

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

import fractions
import copy
import bisect
import math
import numpy as np
import itertools
from itertools import combinations_with_replacement
#import math#数学的計算はこれでいける。普通に0.5乗しても計算可能
#w=input()
from operator import itemgetter
from sys import stdin
#input = sys.stdin.readline#こっちの方が入力が早いが使える時に使っていこう
from operator import mul
from functools import reduce
from collections import Counter
#from collections import deque

#input = stdin.readline


j=0
k=0
n=3
r=1
a=[0]
#n=int(input())
#r=int(input())
#print(M)
#A=int(input())
#B=int(input())
#print(N)
"1行1つの整数を入力を取得し、整数と取得する"


#number_list=list(map(int, input().split(" ")))#数字の時
#print(number_list)
"12 21 332 とか入力する時に使う"
"1行に複数の整数の入力を取得し、整数として扱う"

'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
#メモ
for i in number_list:#こっちの方がrage使うより早いらしい
    print(number_list[i-1])#

'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

'''
x=[]
y=[]
for i in range(N):
    x1, y1=[int(i) for i in input().split()]
    x.append(x1)
    y.append(y1)
print(x)
print(y)
"複数行に2数値を入力する形式 x座標とy座標を入力するイメージ"
'''

'''
mixlist=[]
for i in range(N):
    a,b=input().split()
    mixlist.append((int(a),b))
print(mixlist)
"複数行にintとstrを複合して入力するやつ，今回はリスト一つで処理している"
'''

'''
#array=[input().split()for i in range(N)]
#print(type(array[0][0]))
#print(array)
"正方行列にstr型の値を入力"
'''

#brray=[list(map(int, input().split(" ")))for i in range(N)]
#print(type(brray[0][0]))
#print(brray)
'''
入力
1 2
4 5
7 8
出力結果
[[1, 2], [4, 5], [7, 8]]
'''
"列数に関して自由度の高いint型の値を入力するタイプの行列"
#以下に別解を記載
#N, M = [int(i) for i in input().split()]
'''
table = [[int(i) for i in input().split()] for m in range(m)]

print(type(N))
print(N)
print(type(M))
print(M)

print(type(table))
print(table)
'''




#s=input()
#a=[int(i) for i in s]
#print(a[0])
#print([a])
#単数値．桁ごとに分割したい．入力と出力は以下の通り
#イメージとして1桁ごとにリストに値を入れているかんじ
#intを取ると文字列分解に使える
'''
入力
1234
出力
1
[[1, 2, 3, 4]]
'''




'''
word_list= input().split(" ")
print(word_list[0])
"連続文字列の入力"
"qw er ty とかの入力に使う"
"入力すると空白で区切ったところでlistの番号が与えられる"
'''



'''
A, B, C=stdin.readline().rstrip().split()#str style 何個でもいけることが多い
print(A)
"リストではなく独立したstr型を入れるなら以下のやり方でOK"
'''


#a= stdin.readline().rstrip()
#print(a.upper())
"aという変数に入っているものを大文字にして出力"


#a,b=map(int, input().split())  #int style 複数数値入力　「A B」みたいなスペース空いた入力のとき

#なんかうまく入力されるけど
#a=[[int(i) for i in 1.strip()]for 1 in sys.stdin]
#a = [[int(c) for c in l.strip()] for l in sys.stdin]]
#print(a)
#複数行の数値を入力して正方行列を作成


##############################################################################################
##############################################################################################
#under this line explains example calculation



'''
コンビネーションの組み合わせの中身を出力する形式
for i in itertools.combinations(brray, 2)
combinationsをpermutationsにすれば順列になる
今回なら(abc133B)
入力
1 2
5 5
-2 8
出力
[[1, 2], [5, 5], [-2, 8]]
もちろん一次元リストでも使えるし
何よりiもリストのように使えるので便利
'''

#nCr combination
'''
def cmb(n,r):
    #When n < r , this function isn't valid
    r= min(n-r,r)
    #print(n,r)
    if r == 0: return 1
    over = reduce(mul, range(n, n-r, -1))
    #flochart mul(n,n-1)=x
    #next     mul(x,n-2)........(n-r+1,n-r)
    #mul read a,b and returns a*b

    under = reduce(mul, range(1, r+1))
    #print(over, under)
    #reduce is applied mul(1,2)=2
    #next   mul(2,3)=6
    #next   mul(6,4)=4.........last(r!,r+1)=r+1!

    return over // under
    #// is integer divide
    #calc example 5C2
    #over=5*4*3
    #under=3*2*1
a = cmb(n, r)
#print(a)
'''

'''
import itertools
from itertools import combinations_with_replacement

combinationについて
以下の違いを意識しよう
combinations() p, r 長さrのタプル列、ソートされた順で重複なし

combinations_with_replacement() p, r 長さrのタプル列、ソートされた順で重複あり


使用例 　　　　　　　　　　　                  出力　　
combinations('ABCD', 2)　　　　　　　　　　　　AB AC AD BC BD CD
combinations_with_replacement('ABCD', 2)　　 AA AB AC AD BB BC BD CC CD DD
'''



'''
#集計
#example
#a=[2,2,2,3,4,3,1,2,1,3,1,2,1,2,2,1,2,1]
#a=Counter(a)
for i in a.most_common(n):print(i)
#most_common()メソッドは、出現回数が多い要素順にCounterオブジェクトを並び替えます。
#引数にint型の数字nを設定した場合は、出現回数が高い上位ｎ個の要素を返します。
#何も設定しなければ、コンテナ型にあるすべての要素を出現回数の順番に並び替えたタプル型オブジェクトを返します。
#out put
#(2, 8)
 #(1, 6)
#(3, 3)
#(4, 1)
'''


#二部探索(binary search)
#A = [1, 2, 3, 3, 3, 4, 4, 6, 6, 6, 6]
#print(A)
#index = bisect.bisect_left(A, 5) # 7 最も左(前)の挿入箇所が返ってきている
#A.insert(index, 5)
#print(index)
#print(A)
'''
bisect.bisect_left(a, x, lo=0, h=len(a))
引数
a: ソート済みリスト
x: 挿入したい値
lo: 探索範囲の下限
hi: 探索範囲の上限
(lo, hiはスライスと同様の指定方法)
bisect_leftはソートされたリストaに対して順序を保ったままxを挿入できる箇所を探索します。leftが示す通り、aにすでにxが存在している場合は、挿入箇所は既存のxよりも左側になります。また、lo, hiを指定することで探索範囲を絞り込むことも可能です。デフォルトはaの全体が探索対象です。
'''

'''
素数の判定
'''
def is_prime(n):
    if n == 1: return False

    for k in range(2, int(np.sqrt(n)) + 1):
        #sqrt(n)+1以上は考えて約数はないので却下
        if n % k == 0:
            return False
            #割り切れたらFalse
    return True


'''
npのmaxとmaximumの違い
xs = np.array([1, -2, 3])
np.max(xs, 0)
この出力は3となります．[1, -2, 3]と0の4つの数字のうち，最も大きい値を出力します．

一方で，[max(1, 0), max(-2, 0), max(3, 0)]を出力したい時があります．
その時は，numpyのmaximum関数を用います．

xs = np.array([1, -2, 3])
np.maximum(xs, 0)  # [1, 0, 3]

'''

def factorial(x, mod=10**9+7):
    # x!
    # 階乗
    # ex) factorial(5) = 120
    tmp = 1
    for i in range(1, x+1):
        tmp = (tmp * i) % mod
    return tmp
    '''
    Basically, when you do a**d % n, you actually have to calculate a**d, which could be quite large.
    But there are ways of computing a**d % n without having to compute a**d itself, and that is what pow does.
    '''
"#a,bの最大公約数"
def gcd(a, b):
    while b:#0以外なら進んでいくが、0になった時にとまる余りが0より、最大公約数と言える
        #print(a,b)#2,3
        #やり方てきにユークリッドの互除法か
        a, b = b, a % b#aには2 bには2%3が入る
    return a

"#a,bの最小公倍数"
def lcm(a, b):
    return a * b // gcd (a, b)

"#nの約数を全て求める"
def divisor(n):
    i = 1
    table = []
    while i * i <= n:
        if n%i == 0:
            table.append(i)
            table.append(n//i)
        i += 1
    table = list(set(table))
    return table


########################################################################
########################################################################
#b2=a[:]  #1次元のときはコピーはこれで良い
#print(b2)

#a= [[0]*3 for i in range(5)] #2次元配列はこう準備、[[0]*3]*5だとだめ
#b3=copy.deepcopy(a)  #2次元配列はこうコピーする
#print(b3)

'''
ascii_letters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
ascii_lowercase = 'abcdefghijklmnopqrstuvwxyz'
ascii_uppercase = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
digits = '0123456789'
hexdigits = '0123456789abcdefABCDEF'
letters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuv...\xaf\xb0...
lowercase = 'abcdefghijklmnopqrstuvwxyz'
octdigits = '01234567'
printable = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTU...
punctuation = '!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'
uppercase = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
whitespace = '\t\n\x0b\x0c\r '
'''
'''
引数endに任意の文字列を指定すると、その文字列が改行の代わりに最後に挿入される。例えば連続するprint()の出力を改行なしで単純に連結したい場合は空文字列''を指定すればよい。

print('abc', end='---')
print('xyz')
# abc---xyz

print('abc', end='')
print('xyz')
# abcxyz
source: print_basic.py
なお、デフォルトで改行されるのは引数endのデフォルト値が改行文字'\n'に設定されているから。
'''

def main():
    n=3
    steps=0
    state=0
    w=1
    j=0
    k=0
    #lenを変数に置くと事故るから注意
    #=int(input())
    a,b=input().split()#a,bがともに文字列のとき
    #a,b=map(int, input().split(" "))
    #print(int(a*b))
    #mapでとってもstrで変換すればappend可能
    #s=input()
    #print(s)
    a=int(a)
    b=float(b)*100
    print(a,b)
    #a
    #nl=[int(i) for i in s]#int(i)にすれば数字も行ける
    #nl=list(map(int, input().split(" ")))#数字の時
    print(int(a*b/100))
    #brray=[list(map(int, input().split(" ")))for i in range(n)]
    #print(brray)


    #for i in range(1,n+1,2):#これで1個飛ばしループになる
    # pass
     #print(i)

    l = ['aaa', 'bbb', 'ccc']
    x=l.index('aaa')#ある要素のインデックス番号を取得
    #s = ''.join(l)
    #s = " ".join(map(str,a))#スペースを空ける時はこう
    #print(s)
    # aaabbbccc

    #if state in known_states and not flag: # state => 2 steps => 5
        #こうやってある要素がリストの中にあるか探すのか
    #print(f'steps: {steps}, state: {state}')
    #こう書いてあるとデバックしやすい

    #dp= [[0]*3 for i in range(5)]#列　行
    #dp用の0の入ったやつ
    #dp= [[0]*(w+1) for i in range(n+1)]#0からwまでのw+1回計算するから
    #print(dp)＃初期条件が入る分計算回数+1列分必要(この場合は判断すべきものの数)
    DP = np.zeros(w+1, dtype=int)#これでも一次元リストが作れる
    exdp=np.zeros((3,4)) # ３×４の２次元配列を生成。2次元ならこう
    #dtypeは指定しないとfloatになる
    #for i in range(n):#ちょっとした入力に便利
    #    a, b = map(int, input().split())
        #dp[i][0] += [a]
        #これだとintとlistをつなぐことになって不適
    #    dp[i] += [a]
    #    dp[i] += [b]
        #これはうまくいく
        #やり方はいろいろあるということ
    #print(dp)


    #brray=[list(map(int, input().split(" ")))for i in range(N)
    #print(brray)



    '''
    入力
    1234
    出力
    [1, 2, 3, 4]
    '''
    pin_l=["x" for i in range(10)]#内包表記に慣れろ
    #print(pin_l)

    ls = ["a", "b", "c", "d", "e"]


    #print(ls[2:5])
    #スライスでの取得

    #print(ls[:-3])
    #一番左端から右から3番目より左まで取得

    #print(ls[:4:2])
    #スライスで1個飛ばしで取得
    #ないときは左端スタート
    #始点のインデックス番号 : 終点のインデックス番号 : スキップする数+1
    #print(ls[::2])
    '''
    lsというリストの場合に、1つ飛びの値を取得したい場合には
    ls[::2]
    のようにします。こうすると、
    ["a", "c", "d"]と出力される
    '''

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
a,b = input().split()
if a.count(".") == 1:
    a = float(a)
else:
    a = int(a)
if b.count(".") == 1:
    b = float(b)
else:
    b = int(b)
print(int(a * b))

Submission status: Wrong Answer

Solution code:
import sys
input=sys.stdin.readline
sys.setrecursionlimit(10 ** 8)
from itertools import accumulate
from itertools import permutations
from itertools import combinations
from collections import defaultdict
from collections import Counter
import fractions
import math
from collections import deque
from bisect import bisect_left
from bisect import insort_left
import itertools
from heapq import heapify
from heapq import heappop
from heapq import heappush
import heapq
from copy import deepcopy
alf = list("abcdefghijklmnopqrstuvwxyz")
ALF = list("ABCDEFGHIJKLMNOPQRSTUVWXYZ")
#import numpy as np
INF = float("inf")
#d = defaultdict(int)
#d = defaultdict(list)
#N = int(input())
#A = list(map(int,input().split()))
#S = list(input())[:-1]
#S.remove("\n")
#N,M = map(int,input().split())
#S,T = map(str,input().split())
#A = [int(input()) for _ in range(N)]
#S = [list(input())[:-1] for _ in range(N)]
#A = [list(map(int,input().split())) for _ in range(N)]

A,B = map(float,input().split())
if math.floor(A) == 0 or math.floor(B) == 0:
    print(0)
else:
    A = int(A)
    c = (A // 100)
    d = A % 100
    x = math.floor(B)
    y = B - x
    rem = 0
    for i in range(100):
        if abs(y-i/100) < 0.005:
            rem = i
            break
    ans = 100*c*x+d*x+c*rem+(d*rem // 100)
    print(ans)

Submission status: Wrong Answer

Solution code:
a,b=input().split()
if(a=='0' or b=='0'):
    ans=0
else:
    res=int(a)*float(b)
    ans=int(res)
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
a,b=list(input().split())
o=int(a)
t=float(b)
print(math.trunc(o*t))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

C = a * b

print(math.floor(C))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

  res = A * B
  
  if(res < 100):
    res = 0
  else:
    res = str(A * B)[:-2]

  print(res)

if __name__ == "__main__":
  main()

Submission status: Wrong Answer

Solution code:
s=input().split(' ')
a=int(s[0])
b=float(s[1])
p=a*b
q=p-int(p)
if (q*10)>=5:
    p+=1

print(int(p))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

li = input().split()


a = '{:2f}'.format(int(li[0])*float(li[1]))
print(math.floor(float(a)))

Submission status: Wrong Answer

Solution code:
inputArr = input()
inputArr = inputArr.split()
a = int(inputArr[0])
b = float(inputArr[1])
if 0 <= a <= pow(10, 15):
  if 0 <= b < 10:
    print(int(float(a)*b))

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

Submission status: Wrong Answer

Solution code:
import math
A,B = input().split()
a = int(A)
b = float(B)
digit = 3
digit10 = 10 ** (digit -1)
b = math.floor(b*digit10)/digit10
#print(b)
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)
#print(int(B))

bb=b-int(b)

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

Submission status: Wrong Answer

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

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

res = str(A * B)
if len(res) > 2:
    res = res[:-2]

print(res)

Submission status: Wrong Answer

Solution code:
import math
i = input().split()
k = float(i[1])
i = int(i[0])

ans = i*k
j = i*k
j*=10
j%=10
ans-=j/10
print(math.floor(ans))

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:
a,b=input().split(' ')
a=int(a)
b=float(b)
b=int(b*100)
aa=a//100
aaa=a%100
ans=aa*b+(aaa*b)//100
print(ans)

Submission status: Wrong Answer

Solution code:
A,B=map(float,input().split())
t=0
if A%10==0:
  A=A/10
  t=1
ans=A*B
if t==1:
  ans=ans*10
print(str(ans).split('.')[0])

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
from decimal import *
getcontext().prec = 128
a,b=map(float, input().split())
a = int(a)
#a = Decimal(a)
b = Decimal(b)
#print(a*b)
print(math.floor(Decimal(a*b)))

Submission status: Wrong Answer

Solution code:
from functools import reduce
from fractions import gcd
import math
import bisect
import itertools
import sys
sys.setrecursionlimit(10**7)
input = sys.stdin.readline
INF = float("inf")


# 処理内容
def main():
    A, B = map(float, input().split())
    print(math.floor(A*B))


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

print(floor(a*b))

Submission status: Wrong Answer

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

def solve(A: int, B: float):
    int_b = math.floor(B)
    point_b = B - int_b
    ans_int = A * int_b
    ans_point = A * point_b
    ans = math.floor(ans_int) + math.floor(ans_point)
    print(ans)


# 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:
from sys import stdin, setrecursionlimit
from math import floor


def main():
    input = stdin.readline
    a, b = map(str, input().split())
    a = int(a)
    b = float(b)
    print(floor(a * b))


if __name__ == "__main__":
    setrecursionlimit(10000)
    main()

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# このファイルはutf-8で書かれているため、日本語を書く場合は上の記述が必要

text = input()

num_data = text.split(' ')


print(int(float(num_data[0]) * float(num_data[1])))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
import re

a = input()
b = int(re.sub('\s.+$','',a))
c = float(re.sub('^.+\s','',a))
d = float(b * c)
d = int(math.floor(d))
print (d)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

A,B = open(0).read().split()
A = int(A)
B = float(B).as_integer_ratio()
print(A*B[0]//B[1])

Submission status: Wrong Answer

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