Problem:


Score : 300 points

Problem Statement

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

Constraints

0 \leq A \leq 10^{15}

0 \leq B < 10

A is an integer.

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

Input

Input is given from Standard Input in the following format:

A B

Output

Print the answer as an integer.

Sample Input 1

198 1.10

Sample Output 1

217

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

Sample Input 2

1 0.01

Sample Output 2

0

Sample Input 3

1000000000000000 9.99

Sample Output 3

9990000000000000



Sample input:
198 1.10


Sample output:
217

Submission status: Wrong Answer

Solution code:
import sys
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
    y = math.floor(100*y)
    ans = 100*c*x+d*x+c*y+math.floor(d*y/100)
    print(ans)

Submission status: Wrong Answer

Solution code:
ab = input().split()
a, b = int(ab[0]), float(ab[1])
b = str(int(b * 100))
ans = 0
for i in range(len(b)):
  ans += int(a * int(b[-1-i]) * 10 ** (i-2))
print(ans)

Submission status: Wrong Answer

Solution code:
import math

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

x = c * d
y = math.floor(x)

print(y)

Submission status: Wrong Answer

Solution code:
import sys
A, B = map(str, input().split())
if B == '0.00':
    print(0)
    sys.exit()
if B[0] == '0':
    if B[2] == '0':
        C = B[-1]
    else:
        C = B[-2:]
else:
    C = B[:-3] + B[-2:]
A = int(A)
D = int(C)
E = A * D
print(int(E / 100))

Submission status: Wrong Answer

Solution code:
from decimal import Decimal
s = input()
a, b = s.split()
a = int(a)
b = float(b)

print(int(a*b))

Submission status: Wrong Answer

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

print(int(A*B))

Submission status: Wrong Answer

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

a = int(a)

ans = a * b

print(round(ans))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

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

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

ans = str(a*b)

for i in ans:
    if(i=='.'): break
    else: print(i, end="")

Submission status: Wrong Answer

Solution code:
from decimal import *
from math import floor
A, B = map(float, input().split())
temp = Decimal(A) * Decimal(B)
print(floor(temp))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

ans = a*b
if ans < 100:
	print(0)
else:
	print(int(ans//100))

Submission status: Wrong Answer

Solution code:
def resolve():
    import math
    li = input().split()
    A = int(li[0])
    B = float(li[1])
    ans = math.floor(A*B)
    print(ans)
resolve()

Submission status: Wrong Answer

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

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

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

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import *

a, b = input().split()
a = Decimal(int(a))
b = Decimal((float(b)))
ans = a * b
ans = Decimal(str(ans)).quantize(Decimal(str(0)), rounding=ROUND_DOWN)
print(ans)

Submission status: Wrong Answer

Solution code:
import sys

input_methods=['clipboard','file','key']
using_method=0
input_method=input_methods[using_method]

tin=lambda : map(int, input().split())
lin=lambda : list(tin())
mod=1000000007

#+++++

def main():
	#a = int(input())
	#b , c = tin()
	a, b = input().split()
	a = int(a)
	b = float(b)*1000
	r = int((a*b)//1000)
	return r
	
	
	
	
#+++++
isTest=False

def pa(v):
	if isTest:
		print(v)
		
def input_clipboard():
	import clipboard
	input_text=clipboard.get()
	input_l=input_text.splitlines()
	for l in input_l:
		yield l

if __name__ == "__main__":
	if sys.platform =='ios':
		if input_method==input_methods[0]:
			ic=input_clipboard()
			input = lambda : ic.__next__()
		elif input_method==input_methods[1]:
			sys.stdin=open('inputFile.txt')
		else:
			pass
		isTest=True
	else:
		pass
		#input = sys.stdin.readline
			
	ret = main()
	if ret is not None:
		print(ret)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = input().split()
a = int(a)
b = b.replace('.', '')
c = 0
for i, n in enumerate(map(int, reversed(b))):
    c += n * 10 ** i

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

Submission status: Wrong Answer

Solution code:
import math

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

def multiple_ab(a, b):
  ans = math.floor(a * b)
  return ans

print(multiple_ab(a, b))

Submission status: Wrong Answer

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

b *= 100
a = int(a)
b = int(b)
if list(str(int(a * b)))[:-2]:
    [sys.stdout.write(i) for i in list(str(int(a * b)))[:-2]]
    print("")
else:
    print(0)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
a, b = map(str, input().split())
a_ = int(a)
b_ = math.floor(100.0 * float(b))

print(int(a_ * b_ / 100))

Submission status: Wrong Answer

Solution code:
import math
N,K=input().split()
N=int(N)
K=eval(K)
K=round(K,2)

print(math.trunc(N*K))

Submission status: Wrong Answer

Solution code:
a_s, b_s = input().split()

b_s = b_s.replace(".", "")

if len(a_s) > 5:
    print(str(int(a_s) * int(b_s))[:-2])
else:
    print(int(float(int(a_s) * int(b_s)) / 100))

Submission status: Wrong Answer

Solution code:
import math
A, B = map(float, input().split())
if B >= 1:
    print(math.trunc(A * B))
elif 1 > B > 0:
    print(0)
else:
    print(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:
s=input().split(' ')
a=int(s[0])
b=float(s[1])
d=a*b
print(int(d))

Submission status: Wrong Answer

Solution code:
import sys
def get_ints(): return map(int, sys.stdin.readline().strip().split())
def get_array(): return list(map(int, sys.stdin.readline().strip().split()))
def input(): return sys.stdin.readline().strip()
mod = 10**9 + 7

a,b = map(float, sys.stdin.readline().strip().split())
sum = int(a*b)
print(sum)

Submission status: Wrong Answer

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

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

ans = a*b

print(int(ans))

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

Submission status: Wrong Answer

Solution code:
import math
from decimal import *
A,B=input().split()
fB=Decimal(float(B))
print(math.floor(int(A)*fB))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
ab = input()
ablist = ab.split(' ')
a = int(ablist[0])
b = float(ablist[1])
b1 = int(b)
b2 = b - b1
b3 = b2 * 100
b4 = b3 * a
result = a * b1 + int(b4 // 100)
print(result)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
from decimal import *
a,b = map(float, input().split())
if (a==0 or b==0):
    print(0)
print(int(Decimal(a)*Decimal(b)//Decimal(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= input().split()

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

A, B = map(float, input().split())
check = A * B
ans = math.floor(check)

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
import math
a, b = map(float, input().split())
print(int(a*b))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

ans = x*y
print(int(ans))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A,B = map(str, 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 = round(float(B), 2)

C = A * B
C = int(C)
print(C)

Submission status: Wrong Answer

Solution code:
import math

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

A /= 1000
B *= 1000
B = int(B)
ans = A*B
ans = math.floor(ans)
ans = str(ans)
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

As,Bs=input().split()
A=int(As)
B=int(float(Bs)*100)
print(math.floor(A*B/100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

a = int(A)
b = float(B)

X = int(a * b)

print(X)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

lb = int(100.0 * b)
x = a * lb
y = x // 100
print(y)

Submission status: Wrong Answer

Solution code:
import math
x=input().split(" ")  
n=int(x[0]) 
#print(n," n")
#print(type(n)," n")
m=float(x[1]) 
#print(n," m")
#print(type(m)," m")
#print(n*m)
ans=math.floor(n*m)
#print(type(ans))
print(ans)

Submission status: Wrong Answer

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

import math, decimal
print(str(int(A) * int(float(B)*100))[0:-2])

Submission status: Wrong Answer

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


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

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

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

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


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

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



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

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

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

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

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

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


a,b=input2()
a=int(a)
print(math.floor(a*b))

Submission status: Wrong Answer

Solution code:

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

Submission status: Wrong Answer

Solution code:
import sys
import math

num_data = input().split()
num_list = [float(s) for s in num_data]
ans = num_list[0] * num_list[1]
print(int(ans))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
input_count = 0

import math

A, B = input().split()

A = int(A)
if '.' in B:
    B_a = int(B.split('.')[0])
    B_b_size = len(B.split('.')[1])
    B_b =  int(B.split('.')[1])
else:
    B_a = int(B)
    B_b_size = 0
    B_b = 0
if B_b_size == 0:
    ans = A * B_a
else:
    ans_a = A * B_a
    ans_b = A * B_b 
    ans = ans_a + int(ans_b * pow(10,- 1 * B_b_size))
print(ans)

Submission status: Wrong Answer

Solution code:
import numpy as np
A,B = np.array(list(map(float,input().split())),dtype='float64')
print(int(A*B))

Submission status: Wrong Answer

Solution code:
import sys
import math


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


sys.setrecursionlimit(20000000)

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


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


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import math
a,b=input().split()
print(math.ceil(float(a)*float(b))-1 if float(a)!=0 and float(b)!=0 and float.is_integer(float(a)*float(b))!=1 else math.ceil(float(a)*float(b)) if float(a)!=0 and float(b)!=0 else "0")

Submission status: Wrong Answer

Solution code:
from fractions import Fraction
_input = list(input().split())
A = Fraction(int(_input[0]))
B = Fraction(float(_input[1]))

print(int(A * B))

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(a*b//1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

b=input().split()
b1=int(b[0])

a=b1*(int(b[1][0])*100+int(b[1][2])*10+int(b[1][3]))

print(str(a)[:-2])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b = (float(x) for x in input().split())
a=int(a)
ans = a*b
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(int(A*B[0]/B[1]))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

b *= 100
a = int(a)
b=int(b)
[sys.stdout.write(i) for i in list(str(int(a * b)))[:-2]]
print("")

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

ans = float(ans)
ans = ans / 100

print(int(ans))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import numpy

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

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

Submission status: Wrong Answer

Solution code:
import sys
import math

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

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import math

a, b = input().split()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
'''     ##     ##  #######  # #  ######
        ##     ##  ##   ##  ###    ##
        ##     ##  ##    #  # #    ##
        #########  #######  # #    ##    '''

import sys
import math
# sys.setrecursionlimit(10**6)

def get_ints(): return map(int, sys.stdin.readline().strip().split())
def get_array(): return list(map(int, sys.stdin.readline().strip().split()))

def printspx(*args): return print(*args, end="")
def printsp(*args): return print(*args, end=" ")
def printchk(*args): return print(*args, end=" \ ")

MODPRIME = int(1e9+7); BABYMOD = 998244353;

if __name__ == "__main__":
    '''     ##     ##  #######  # #  ######
            ##     ##  ##   ##  ###    ##
            ##     ##  ##    #  # #    ##
            #########  #######  # #    ##    '''
    
    import sys
    import math
    # sys.setrecursionlimit(10**6)
    
    def get_ints(): return map(int, sys.stdin.readline().strip().split())
    def get_array(): return list(map(int, sys.stdin.readline().strip().split()))
    
    def printspx(*args): return print(*args, end="")
    def printsp(*args): return print(*args, end=" ")
    def printchk(*args): return print(*args, end=" \ ")
    
    MODPRIME = int(1e9+7); BABYMOD = 998244353;
    
    if __name__ == "__main__":
        # sys.stdin = open("input.txt","r")  # <<<  ^o^  Comment this line  ^_^  >>>
        a, b = input().split()
        a = int(a)
        b = float(b)
        ans = a * b
        print(math.trunc(ans))
    
    
    
    # #############################################################################
    '''
    THE LOGIC AND APPROACH IS BY ME @luctivud ( UDIT GUPTA )
    SOME PARTS OF THE CODE HAS BEEN TAKEN FROM WEBSITES LIKE::
    (I Own the code if no link is provided here or I may have missed mentioning it)
    >>> DO NOT PLAGIARISE.
    TESTCASES:
    '''



# #############################################################################
'''
THE LOGIC AND APPROACH IS BY ME @luctivud ( UDIT GUPTA )
SOME PARTS OF THE CODE HAS BEEN TAKEN FROM WEBSITES LIKE::
(I Own the code if no link is provided here or I may have missed mentioning it)
>>> DO NOT PLAGIARISE.
TESTCASES:
'''

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import *
a,b = map(float,input().split())
root2 = Decimal(a) * Decimal(b)
n = 0
y = Decimal(str(root2)).quantize(Decimal(str(10**(n*-1))), rounding=ROUND_DOWN)
print(y)

Submission status: Wrong Answer

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

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

a = int(a)


print(math.floor(a*b))

Submission status: Wrong Answer

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

print(ans//100)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b = input().split()
a = int(a)
b = float(b)
s = str(a*b)
print(s[:s.index('.')])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

import math
import decimal

print(math.floor(decimal.Decimal(A) * decimal.Decimal(B)))

Submission status: Wrong Answer

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

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

M=float(B).as_integer_ratio()

print(int(A*M[0]//M[1]))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = input().split()
res = str(int(a) * float(b))
i = res.index(".") 
print(int(res[:i]))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# env/bin/local python3

import math

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

if len(str(a)) <= 3:
    print(math.floor(a * b))
else:
    temp1 = (a % 1000) * b
    temp2 = (a // 1000) * b
    print(int(math.floor(temp1) + (temp2 * 1000)))

Submission status: Wrong Answer

Solution code:
import math
X = input().split()
A = float(X[0])
B = float(X[1])
C = A*B

print(math.floor(C))

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

Submission status: Wrong Answer

Solution code:
A, B = input().split()
A = int(A)
B = str(B)
res = int(B[0])*A
for i in range(2, len(B)):
    res += int(int(B[i])*A * (0.1**(i-1)))

print(res)

Submission status: Wrong Answer

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

print(int(A*B))

Submission status: Wrong Answer

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

if A == 0 or B == '0.00':
    ans = 0
else:
    ans = A*int(B[0])*100 + A*int(B[2])*10 + A*int(B[3])
    ans = str(ans)
    ans = ans[0:len(ans)-2]
print(ans)

Submission status: Wrong Answer

Solution code:
def main():
    import sys
    input = sys.stdin.readline
    from math import floor
    a, b = map(float, input().split())
    print(floor(a*b))

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import numpy as np
import math

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

print(int(ans))

Submission status: Wrong Answer

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

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

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

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

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

	else:
		po *= 10
		co += 1 
	


print(math.floor(a*po//(10**co)))

Submission status: Wrong Answer

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

print (int(A*B))

Submission status: Wrong Answer

Solution code:
from fractions import Fraction
import math
a,b = map(str,input().split())

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
# スペース区切りの整数の入力
A, B = input().split()
A = int(A)
B = B.replace('.', '')
B = int(B)
ans = A*B
# 文字列の入力
#s = input()
#開業されたN個要素を受け付ける
#input_list = [list(map(int, input().split())) for i in range(N)]
print(int(ans/100))

Submission status: Wrong Answer

Solution code:
from collections import Counter 
from collections import defaultdict
from collections import deque
from functools import reduce
import math
import itertools
import heapq
import numpy as np
import bisect
import sys
sys.setrecursionlimit(10**6)


def bfs(s,n,node):
    #頂点が探索済みかどうかのチェック配列
    check=[False for _ in range(n)]
    check[s]=True
    #次見る頂点を格納するキュー
    queue=deque([s])
    visited_num=1

    #問題固有の配列
    #color_check=[[True for _ in range(l)] for _ in range(n)]
    color=[-1 for _ in range(n)]
    color[s]=0
    
    while visited_num<n:
        #グラフが全連結ではない場合
        if len(queue)==0:
            #空配列を返す
            #現状までの計算済み配列を返してもいいと思う
            return color

        now_vertex=queue.popleft()
        #インデックスがない場合は
        for next_vertex in node[now_vertex]:


            if check[next_vertex]==True:
                continue

            queue.append(next_vertex)
            check[next_vertex]=True

            #問題固有の計算
            color[next_vertex]=color[now_vertex]+1
            visited_num+=1

    return color

#n=int(input())z
#n,m=list(map(int,input().split()))
#a=list(map(int,input().split()))
ceil=lambda x,y: (x+y-1)//y
input_list = lambda : list(map(int,input().split()))



#n=int(input())
#n,m=input_list()
#a=input_list()
a=input().split()
n=int(a[0])
m=a[1]
ans=0
ans+=n*int(m[0])
ans+=n*int(m[2])//10
ans+=n*int(m[3])//100
mod=0
mod+=int(a[0][-1])*int(m[2])*10

mod+=int(a[0][-2:])*int(m[3])

print(ans+mod//100)

Submission status: Wrong Answer

Solution code:
a, b = input().split()
a = int(a)
b = int(b.replace('.', ''))
print(str(a*b)[:-2])

Submission status: Wrong Answer

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

print(math.floor(a*b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


def main():
    A, B = input().split()
    # print(int(A)*float(B))
    print(int(math.floor(int(A)*float(B))))


if __name__ == '__main__':
    main()

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:
import sys
 
if __name__ == '__main__':
    str = input().strip()
    
    a, b = map(float, str.split())
 
    b *= 100
    
    print(int(a * int(b) / 100))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
from decimal import Decimal
import math
A, B = input().split()
A = Decimal(A)
B = Decimal(B)
ans = A*B
print(math.floor(ans/100))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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:
a, b = map(str, input().split())
a_ = int(a)
b_ = int(100.0 * float(b))

print(int(a_ * b_ / 100))