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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Sun May 31 21:07:49 2020

@author: NEC-PCuser
"""

A, B = map(str, input().split())
A = int(A)
B = float(B) * 100 // 1


C = str(A * int(B) // 100)
print(C)

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)
print(math.floor(d))

Submission status: Wrong Answer

Solution code:
ab = input().split()
a = int(ab[0])
b = ab[1]
import math
s = a*int(b[0])
ad = None
if len(b) > 2:
  tmp = str(a*int(b[2]))
  if len(str(tmp)) > 1:
    s+=int(str(a*int(b[2]))[:-1])
  ad = int(str(a*int(b[2]))[-1])
if len(b) > 3:
  tmp = str(a*int(b[3]))
  if len(str(tmp)) > 2:
    s+=int(str(a*int(b[3]))[:-2])
  if len(str(a*int(b[3]))) > 1:
    ad += int(str(a*int(b[3]))[-2])
    if ad > 9:
      s += int(str(ad)[:-1])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b= list(map(str, input().split()))
a_=int(a)
# 少数何桁か
b_=int(b.replace('.',''))
seisu=int((a_*b_)/100)
print(seisu)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b=input().split()
a=int(a)
b=int(float(b)*100)
r=a*b
print(r)
print(str(r)[:-2] + "." + str(r)[-2:])

Submission status: Wrong Answer

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

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
ab=input().split()
a=int(ab[0])
b=int(float(ab[1])*100)
#print(b)
print((a*b)//100)

Submission status: Wrong Answer

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

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
a, b = input().split()
a = int(a)
b = float(b)
a_last = a % 100
if len(str(a)) > 2:
    a_first = int(str(a)[:-2])
else:
    a_first = 0
ans = (a_first * int(b * 100))
diff = a_last * b
ans += math.floor(diff)
ans = str(ans).split('.')[0]
print(ans)

Submission status: Wrong Answer

Solution code:
import math as math

n, m = input().split()

A = int(n)
B = float(m)

print(math.floor(A*B))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:

input_line = input()
Line = input_line.split()
a = Line[0]
b = Line[1]

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

b = int(b*100)

# print(a,b)

ans = a*b
# print(ans)

ans = float(ans) / 100
# print(ans)

print(int(ans))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(a*b//100)

Submission status: Wrong Answer

Solution code:
a, b = list(input().split())
a = int(a)
b = float(b)
print(int((a*b*100)/100) if a != 0 and b != 0 else 0)

Submission status: Wrong Answer

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

###
# main
if(__name__ == '__main__'):
    # input
    a_in, b_in = input().split(" ")
    a = int(a_in)
    b_int = int(float(b_in))
    b_float = float(b_in) - b_int

    ans = a*b_int + int(a*b_float)

    print(ans)

# else:
    # do nothing

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

c = a * (b*10**2)
c = c // 1e2
print(int(c))

Submission status: Wrong Answer

Solution code:
import math
A, B = map(float, input().split())
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)
    #nl=[int(i) for i in s]#int(i)にすれば数字も行ける
    #nl=list(map(int, input().split(" ")))#数字の時
    print(int(int(a)*float(b)))
    #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:
import math
input = list(map(float, input().split()))
print(math.floor(input[0]*input[1]))

Submission status: Wrong Answer

Solution code:
import math
q = input().split(" ")
A = int(q[0])
B = q[1].split(".")

if B[1][0]=="0":
  B[1] = B[1][1]

print(B[0]+" " +B[1])
print(math.floor(A*int(B[0]) + ((A*int(B[1]))/100)))

Submission status: Wrong Answer

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

print("{}".format(int(a*b)))

Submission status: Wrong Answer

Solution code:
inf = 10 ** 18
mod = 10 ** 9 + 7
a,b = map(float, input().split())
a100 = int(a)
b100 = int(b*100)
ans = str(a100*b100)
if len(ans) > 2:
    print(ans[:-2])
else:
    print(0)

Submission status: Wrong Answer

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



if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

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

a = int(a)
c = int((b - int(b))*100)
d = int(b)

print(a * d + a * c // 100)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if 0 in numbers:
  print("0")
else:
 result=1
 for n in numbers:
    result *= n

 print(math.floor(result))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

c=a*b
c=int(c)

print(c)

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():
    A,B = map(float,input().split())
    if A == 0 or B == 0:
        print(0)
    else:
        A = int(A)
        B = int(B*100)
        C = A*B
        C = C//100
        print(C)
    
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import sys
import math

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

  print(str(A * B)[:-2])

if __name__ == "__main__":
  main()

Submission status: Wrong Answer

Solution code:

n,k =input().split()

a=int(n) * float(k)

for i in str(a):
    if i == '.':exit()
    print(i,end='')

Submission status: Wrong Answer

Solution code:
import math
import itertools
import numpy as np



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

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

print(int(a * b / 100))

Submission status: Wrong Answer

Solution code:
import math
s = [input() for i in range(1)] 
li = list(map(str, s[0].split()))
li1 = float(li[0])
li2 = float(li[1])
print(math.floor(li1 * li2))

Submission status: Wrong Answer

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

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

Solution code:
text = input().split()
A = int(text[0])
if(text[1][-2] == '.'):
    B = int(text[1][:-2] + text[1][-1:])
    print(str((A * B))[:-1])
elif(text[1][-3] == '.'):
    B = int(text[1][:-3] + text[1][-2:])
    print(str((A * B))[:-2])
else:
    ERROR

Submission status: Wrong Answer

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

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

b = int(B*100)


print(A*b//100)

Submission status: Wrong Answer

Solution code:
def abc169_c():
    sin = input().split()
    A = int(sin[0])
    B = float(sin[1])
    B1 = int(100 * B)
    ans, _ = divmod(A * B1, 100)
    print(ans)

abc169_c()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
li = input().split()
a = int(li[0])
b = round(float(li[1]), 2)
i, f = math.modf(b)
ans_i = int(a * round(i, 2))
ans_f = int(a * f)
print(ans_i + ans_f)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A, B = list(map(float, input().split()))
print(int(int(A)*B//1), end='')

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

Submission status: Wrong Answer

Solution code:
def resolve():
    import math
    N, M = [float(i) for i in input().split()]
    print(math.floor(N * M))


resolve()

Submission status: Wrong Answer

Solution code:
from decimal import *
getcontext().prec = 3

a, b = input().split()

print(int(int(a) * Decimal(b)))

Submission status: Wrong Answer

Solution code:
# -*- coding:utf-8 -*-
import sys
def main():
  n, m = map(str, input().split())
  ms = m[0:len(m)-3]
  mt = m[len(m)-2:len(m)]
  print ((int(n) * int(ms) + int(int(n) * int(mt) / 100)))

main()

Submission status: Wrong Answer

Solution code:
X = str(input())
em = 0
Return = []
for spam in range(len(X)):
    if X[spam] == " ":
        Return.append(float(X[em:spam]))
        em = spam+1
Return.append(float(X[em:]))
x = 1
for a in Return:
    x = x * a
 
print(int(x))

Submission status: Wrong Answer

Solution code:
def solve(a,b):  # fix inputs here
    a = int(a)
    b = int(float(b)*100)
    return (a*b)//100

a,b = input().split()
res = solve(a,b)
print(res)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
a,b = map(float,input().split())
print(str(a*b)[:-2])

Submission status: Wrong Answer

Solution code:
from math import floor, ceil


def main():

    A, B = map(float, input().split())
    A = int(A)
    if A == 0 or B == 0:
        print(0)
        return
    AB = A*B
    AB = floor(AB)
    print(AB)


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

print(int(A*B))

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 sys
sys.setrecursionlimit(10000000)
input=sys.stdin.readline
import math

n,k =input().split()

a=int(n) * float(k)

for i in str(a):
    if i == '.':exit()
    print(i,end='')

Submission status: Wrong Answer

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

import numpy as np

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

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

Submission status: Wrong Answer

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

print(int(((x*y)//100)))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

Solution code:
aaa = list(map(float, input().split()))

A = int(aaa[0])
B = aaa[1]

print(int(A * B))

Submission status: Wrong Answer

Solution code:
import math

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

print(math.floor(ans))

Submission status: Wrong Answer

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

print(str(A*B).split('.')[0])

Submission status: Wrong Answer

Solution code:

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(int(d))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B = map(float,input().split())
a = int(A)
b0 = int(B)
b2 = int((B - b0) * 100)
print(b0,b2)
c1 = a * b0
c2 = a * b2
print(c1+(c2//100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from math import floor
a, b = [float(i) for i in input().split()]
print(floor(a * floor(b * 100) //100))

Submission status: Wrong Answer

Solution code:
import  math

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

Submission status: Wrong Answer

Solution code:
import math
X, Y = input().split()
x = int(X)
y = float(Y)
print(int(x * y))

Submission status: Wrong Answer

Solution code:
import sys
import math
import itertools
import collections
import heapq
import numpy as np

rl = sys.stdin.readline

a, b = map(float, rl().split())
c = a*b
print(int(c//1))

Submission status: Wrong Answer

Solution code:
import math
a, b = map(float, input().split())
b *= 100
if(a == 0 or b == 0):
  print(0)
else:
  print(math.floor(a*b/100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A, B = input().split()
A = int(A)
a = A % 100
b = A - a
c = b / 100
B = float(B)
B = int(100 * B)
x = B % 1000
y = B % 100
z = B % 10
ans = int(c * B + a * x + ((a-(a%10)) / 10) * y + int(((a%10)*8)*10 + z * a))
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

A = int(s[0])
B = s[1]

seisu = int(B[0])
daiiti = int(B[2])
daini = int(B[3])

big = A*seisu

small = A*daiiti
if small >= 10:
  small = int(str(small)[:-1])
else:
  small = 0

too_small = A*daini
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:
a,b=map(float,input().split())
b*=10
k=a*b
print(int(k//10))

Submission status: Wrong Answer

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

print( math.floor(ia*fb/100) )

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = input().split()
a0 = float(a[0])
a1 = float(a[1])
c = a0*a1
print(str(int(c)))

Submission status: Wrong Answer

Solution code:
def resolve():
    AB = input().split()
    A = int(AB[0])
    B = float(AB[1])
    B100 = int(B * 100)
    print(int(A*B100/100))
resolve()

Submission status: Wrong Answer

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

res = str(a*b)
print(int(res.split('.')[0]))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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
ab=input().split()
a=int(ab[0])
b=int(float(ab[1])*100)
#print(b)
print(a*b//100)

Submission status: Wrong Answer

Solution code:
import math

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

C = A * B

print(math.floor(C))

Submission status: Wrong Answer

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

print(int(math.floor(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:
# python 3.8.2用
import math
import fractions
import bisect
import collections
import itertools
import heapq
import string
import sys
import copy
import numpy as np
from decimal import *
from collections import deque
from math import gcd
sys.setrecursionlimit(10**7)
MOD = 10**9+7
INF = float('inf') #無限大
def lcm(a,b):return (a*b) // gcd(a,b) #最小公倍数
def iin(): return int(sys.stdin.readline()) #整数読み込み
def ifn(): return float(sys.stdin.readline()) #浮動小数点読み込み
def isn(): return sys.stdin.readline().split() #文字列読み込み
def imn(): return map(int, sys.stdin.readline().split()) #整数map取得
def imnn(): return map(lambda x:int(x)-1, sys.stdin.readline().split()) #整数-1map取得
def fmn(): return map(float, sys.stdin.readline().split()) #浮動小数点map取得
def iln(): return list(map(int, sys.stdin.readline().split())) #整数リスト取得
def iln_s(): return sorted(iln()) # 昇順の整数リスト取得
def iln_r(): return sorted(iln(), reverse=True) # 降順の整数リスト取得
def fln(): return list(map(float, sys.stdin.readline().split())) # 浮動小数点リスト取得
def join(l, s=''): return s.join(l) #リストを文字列に変換
def perm(l, n): return itertools.permutations(l, n) # 順列取得
def perm_count(n, r): return math.factorial(n) // math.factorial(n-r) # 順列の総数
def comb(l, n): return itertools.combinations(l, n) # 組み合わせ取得
def two_distance(a, b, c, d): return ((c-a)**2 + (d-b)**2)**.5 # 2点間の距離
def m_add(a,b): return (a+b) % MOD
def lprint(l): print(*l, sep='\n')

import numpy as np

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

print(math.floor(a*b))

Submission status: Wrong Answer

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

# print(A, B)
# print(A * int(B))
# print(A * (B-int(B)))

ans = A * int(B) + int(A * (B-int(B)))
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#n = int(input())
#a,b = map(int,input().split())
#a_L = list(map(int,input().split()))

import math
a,b = map(float,input().split())
a = int(a)
b = int(b*100)
#b1 = int(b * 100)
if a*b < 100:
    print(0)
else:
    print(math.floor(a*b/100))