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)
B=B*100
B=int(B)
if (0<=A<=10**15)and(0<=B<1000):
    C=A*B
    C=C//100
    C=int(C)
    print(C)

Submission status: Wrong Answer

Solution code:
import math

A,B=input().split()

A = int(A)
NB,_ = B.split('.')
NB = int(NB)
B = float(B)
f = B - NB

ans = NB * A + math.floor(A*f)

print(ans)

Submission status: Wrong Answer

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

A = int(A)

B = float(B)*100

print(A*int(B))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

print(math.ceil(a*b))

Submission status: Wrong Answer

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

A = int(inp[0])
_B = float(inp[1])
B = _B * 100

res = int(A*B // 100)

print(str(res))

Submission status: Wrong Answer

Solution code:
s = input()
A = s.split()[0]
A = int(A)
B = s.split()[1]
B = float(B)
P = int(B*100)
T = A*P
T = str(T)
if len(T)<3 or A==0 or B==0.0:
    ans = 0
else :
    ans = T[:-2]
print(ans)

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
A, B = [s for s in input().split()]
A = int(A)
B = int(float(B) * 100)
 
print(str(A * B // 100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

while 10**15 < A or 10 < B or A < 0 or B < 0:
    A , B =list(map(float,input().split()))
    if 0 <= A and A <= 10**15 and 0 <= B and B < 10:
        break
b = math.floor(B)
c = math.floor(A * b)

print(c)

Submission status: Wrong Answer

Solution code:
import os

import sys

if os.getenv("LOCAL"):
    sys.stdin = open("_in.txt", "r")

sys.setrecursionlimit(10 ** 9)
INF = float("inf")
IINF = 10 ** 18
MOD = 10 ** 9 + 7
# MOD = 998244353

a, b = sys.stdin.buffer.readline().decode().rstrip().split()
a = int(a)
b = int(float(b) * 100)
print(a * b // 100)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import Decimal
import math
a,b = list(map(float, input().split()))
b *= 100
A = int(a)
B = int(b)
#print(a)
#print(b)

#ab = a*b
#print(ab)

#ac = Decimal(a*b)
print(A*B//100)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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)*100)

    ans = a*b_int
    ans = ans//100

    print(ans)

# else:
    # do nothing

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
 
if __name__ == '__main__':
    str = input().strip()
    
    a, b = str.split()
 
    aval = int(a)
    bval = int(float(b) * 100)
    
    print(aval * bval // 100)

Submission status: Wrong Answer

Solution code:
import math
hoge = list(input().split())
A = int(hoge[0])
B1 = int(float(hoge[1]))
B2 = (float(hoge[1])-B1)*100
ans = int(A*B1 + A*B2//100)
print(ans)

Submission status: Wrong Answer

Solution code:
a, b = [float(i) for i in input().split()]
a = int(a)
#print(a,b)
#print(a*b)
ans = a*b*10
print(ans // 10)

Submission status: Wrong Answer

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

main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
A, B = [ float(i) for i in input().strip().split(' ')]
B = int(B * 100)
print(math.floor(A*B/100))

Submission status: Wrong Answer

Solution code:
import numpy as np
import math

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

  # if len(result) > 2:
  #   print(result[:-2])
  # else:
  #   print(0)

if __name__ == "__main__":
  resolve()

Submission status: Wrong Answer

Solution code:
import sys
#import numpy as np
import math
#from fractions import Fraction
#import itertools
#from collections import deque
#import heapq
#from fractions  import gcd
a,b=input().split()
a=int(a)
b=float(b)
b=int(b*100)
ans=str(a*b)
n=len(ans)
if n>2:
  print((a*b)//100)
else:
  print(0)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


b = b*100

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

print(int(ans))

Submission status: Wrong Answer

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

print((a*b)//1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
ab_str = input().split()
a = int(ab_str[0])
b_str = ab_str[1].split('.')
b = int(b_str[0] + b_str[1])
print(int(a * b / 100))

Submission status: Wrong Answer

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

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

print(ans)

Submission status: Wrong Answer

Solution code:
def getN():
    return int(input())
def getNM():
    return map(int, input().split())
def getList():
    return list(map(int, input().split()))
def getArray(intn):
    return [int(input()) for i in range(intn)]
def input():
    return sys.stdin.readline().rstrip()

from collections import defaultdict, deque, Counter
from sys import exit
import heapq
import math
import copy
from bisect import bisect_left, bisect_right

import sys
sys.setrecursionlimit(1000000000)
mod = 10 ** 9 + 7

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = [float(i) for i in input().split()]
a = int(a)
#print(a,b)
#print(a*b)
ans = int(a*b)*10
print(ans // 10)

Submission status: Wrong Answer

Solution code:
import math 

A,B = map(float,input().split())
A = int(A)
B = int(B*1000)
S = A*B
S = S/1000
print(int(S))

Submission status: Wrong Answer

Solution code:
X = input().split(" ")
A = int(X[0])
B = float(X[1])*1000

m = A * B
m = int(m // 1000)

print(m)

Submission status: Wrong Answer

Solution code:
from decimal import *
A,B =map(lambda x:Decimal(x),input().split(' '))
print(A*B)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
input = input()
split = input.split()
num1 = int(split[0])
num2 = float(split[1]) * 100
out = num1 * num2 //100
print(int(out))

Submission status: Wrong Answer

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

import math
# a_1, a_2 = math.modf(a)
# b_1, b_2 =math.modf(b)

# total = math.floor(a_1*b_1) + math.floor(a_1*b_2) + math.floor(a_2*b_1) + math.floor(a_2 * b_2)

b*=100

ans = a*b//100

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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 = A * int(B) // 100
print(C)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

product = a * b

print(str(product)[0:str(product).find(".")])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

numbers = input().split()
a = float(numbers[0])
b = float(numbers[1]) * 100

c = a * b / 100

print(int(c))

Submission status: Wrong Answer

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

if B[0] == 0:
    BH =      B[2]+B[3]
else:
    BH = B[0]+B[2]+B[3]

ABH = str(int(A)*int(BH))
print(ABH[:-2])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def getN():
    return int(input())
def getNM():
    return map(int, input().split())
def getList():
    return list(map(int, input().split()))
def getArray(intn):
    return [int(input()) for i in range(intn)]
def input():
    return sys.stdin.readline().rstrip()

from collections import defaultdict, deque, Counter
from sys import exit
import heapq
import math
import copy
from bisect import bisect_left, bisect_right

import sys
sys.setrecursionlimit(1000000000)
mod = 10 ** 9 + 7

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b = [float(i) for i in input().split()]
a = int(a)
#print(a,b)
#print(a*b)
print(int(a*b)*10 // 10)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

B *= 100

ans = A * B / 100

print(int(ans))

Submission status: Wrong Answer

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

#ab = a*b
#print(ab)

#ac = Decimal(a*b)
print(a*b/100)

Submission status: Wrong Answer

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

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

ans = A*B
if ans == 0:
  print(0)
else:
  print(math.floor(ans/100))

Submission status: Wrong Answer

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

# output
print(A*int(B) + A*B_//100)

Submission status: Wrong Answer

Solution code:
# Problem C - Multiplication 3

import math

# input
A, B = input().split()
A = int(A)
B = float(B) * 100

# initialization
ans = math.floor((A * B)/100)

# output
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

A = int(inp[0])
_B = float(inp[1])
B = int(_B * 100)

res = int(A*B / 100)

print(str(res))

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
import collections
import itertools as it
import math
#import numpy as np
 
#  = input()
#  = int(input())
a, b  = map(float, input().split())

print(int(a * (100 * b) / 100))

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

ans = a*b

print(int(ans//100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

B=int(B*1000)

ans=A*B//1000

print(ans)

Submission status: Wrong Answer

Solution code:
from decimal import Decimal, ROUND_FLOOR
import math
a,b=map(str,input().split())
c=Decimal(int(a))*Decimal(float(b))
d = c.quantize(Decimal('0'),  rounding=ROUND_FLOOR)
print(d)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math 

A,B = map(float,input().split())
A = int(A)
B = B*1000
S = A*B
S = S/1000
print(int(S))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if len(r) == 0:
    r = 0
print(r)

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

Solution code:
import math
from decimal import Decimal
n=input().split()
a = int(n[0])
b=Decimal(n[1])
ans = a*b

print(ans)

Submission status: Wrong Answer

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

ans = A*B

print(math.floor(ans/1000))
# print(type(math.floor(ans/100)))

Submission status: Wrong Answer

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

main()

Submission status: Wrong Answer

Solution code:
import sys
import math
A,B = input().split()
A=int(A)
B=float(B)
if A==0:
    print(0)
    sys.exit()
if B==0:
    print(0)
    sys.exit()
k=math.floor(A*B)
print(k)

Submission status: Wrong Answer

Solution code:
import sys
import math
from collections import deque
from collections import defaultdict

def main():
    a,b = list(map(float,sys.stdin.readline().split()))
    b100 = round(b * 100)
    
    ans = (a * b100) // 100
    print(str(ans))

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

A = int(inp[0])
_B = float(inp[1])
B = int(_B * 100)

res = A*B

print(str(res))

Submission status: Wrong Answer

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

b *= 100
print(int(math.floor(a*b/100)))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import Decimal
in_ = list(input().split())
A = int(in_[0])
B = Decimal(in_[1])
ans = Decimal(A * B)
print(ans)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# = int(input())
A, B = input().split()
# = list(map(int, input().split()))
# = [int(input()) for i in range(N)]
# = [list(map(int, input().split())) for i in range(N)]

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

AB = int(A*Bh/100)

print(AB)

Submission status: Wrong Answer

Solution code:
import math 

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

Submission status: Wrong Answer

Solution code:
from math import gcd, sqrt, cos, radians, pi
from collections import defaultdict as d
from itertools import combinations as c

#n = int(input())
a, b = map(float, input().split())
#x, y, z = map(int, input().split())
#a, b, h, m = map(int, input().split())
#arr = list(map(int, input().split()))
		
print(round(a*b))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import numpy as np
import math

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

  # if len(result) > 2:
  #   print(result[:-2])
  # else:
  #   print(0)

if __name__ == "__main__":
  resolve()

Submission status: Wrong Answer

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

A = int(num[0])
B = int(float(num[1])*100)
print(int(A*B)//100)

Submission status: Wrong Answer

Solution code:
import sys
import math
from collections import deque
from collections import defaultdict

def main():
    a,b = list(map(float,sys.stdin.readline().split()))
    b100 = round(b * 100)
    
    ans = (a * b100) // 100
    print(math.floor(ans))

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

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

print((A*B)//100)

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!
import decimal
a,b = map(float, input().split())
# 3.141592653589793
sum=a*b
val_pi_d = decimal.Decimal(sum)

# decimal型による切り捨て
val_floor_d = val_pi_d.quantize(decimal.Decimal('0.001'), rounding=decimal.ROUND_FLOOR)
print(int(val_floor_d))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
sys.setrecursionlimit(10 ** 6)
# input = sys.stdin.readline    ####
def int1(x): return int(x) - 1
def II(): return int(input())

def MI(): return map(int, input().split())
def MI1(): return map(int1, input().split())

def LI(): return list(map(int, input().split()))
def LI1(): return list(map(int1, input().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]

def SI(): return input().split()

def printlist(lst, k='\n'): print(k.join(list(map(str, lst))))
INF = float('inf')

from math import ceil, floor, log2
from collections import deque
from itertools import combinations as comb, combinations_with_replacement as comb_w, accumulate, product
from heapq import heapify, heappop, heappush

sys.maxsize = 1_000_000_000_000_000_000_0

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

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

    # print(a, b)
    t = a * b
    print((t - t % 100) // 100)

if __name__ == '__main__':
    solve()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:


a,b = map(float,input().split())
a = int(a)
b100 = int(b*100)
k = a * b100

print(str(k//100))

Submission status: Wrong Answer

Solution code:
# N = int(input())
A, B = [float(i) for i in input().split()]
print(int(int(A)*(B+0.001)))

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:
N = list(map(str,input().split()))
A = int(N[0])
B = float(N[1])

B100 = round(B*100)

ans = A * B100

print(int(ans/100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
a,b = [x for x in 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)
b=int(b*100)
c=a*b
print(int(c//100))

Submission status: Wrong Answer

Solution code:
from decimal import Decimal
in_ = list(input().split())
A = int(in_[0])
B = int(float(in_[1]) * 100)
ans = Decimal(A * B)
print(ans)

Submission status: Wrong Answer

Solution code:
# Problem C - Multiplication 3

import math

# input
A, B = input().split()
A = int(A)
B = int(float(B) * 100)

# initialization
ans = (A * B)/100
ans = int(ans)

# output
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b = map(eval,input().split())
a1=round(a,0)
b1=round(b,2)
print((a1*b1)//100)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

a = int(S[0])
b = int(float(S[1]) *100)
c = int(a*b)
print(c//100)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
n=input().split()
a = int(n[0])
b=float(n[1])*100
b= int(b)
ans = a*b

print(ans/100)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# N = int(input())
A, B = [float(i) for i in input().split()]
print(int(A*(B+0.001)))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(int(A*B)/100)

Submission status: Wrong Answer

Solution code:

a, b = input().split()
c=int(a)
d=float(b)
e=float(c*d*100//100)
f=int(e)
print(f)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
A, B = input().split()
A = int(A)
B = int(B[0] + B[2] + B[3])
print(int(A*B / 100))

Submission status: Wrong Answer

Solution code:
def Sum (a,b) :
    ans = []
    n = len(a)-1
    m = len(b)-1
    c = 0
    while n>=0 and m>=0 :
        temp = int(a[n])+int(b[m])+c
        ans.append(str(temp%10))
        c = temp//10
        n -=1 
        m -= 1
    while n>=0:
        temp = int(a[n])+c
        ans.append(str(temp%10))
        c = temp//10
        n -=1 
    while m>=0:
        temp = int(b[m])+c
        ans.append(str(temp%10))
        c = temp//10
        m -=1
    if c!= 0 :
        ans.append(str(c))
    return "".join(ans[::-1]) 

a, b = input().split(" ")
b = int(float(b)*100)
ans = "0"
while b>0 :
    ans = Sum(ans, a)
    b -=1
if len(ans) <= 2 :
    print("0")
else :
    print(ans[:-2])

Submission status: Wrong Answer

Solution code:
from decimal import *
a=input().split()
A=int(a[0])
B=a[1].replace(".","")
#B_int=int(B)
#B_float=int(B)*100-int(B)*100
print(A,B)

ans=int(A)*int(B)//100
#print(A*B_int,(A*B_float)//100)
print(ans)

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
import sys
input = sys.stdin.readline
a, b = map(float, input().split())
a = int(a)
b = int(b*100)
# print(a*b)
print(int((a*b)//100))

Submission status: Wrong Answer

Solution code:
import math
from decimal import Decimal

a,b = map(float,input().split())
a = int(a)
b100 = b*100
k = a * b100

print(str(int(k//100)))

Submission status: Wrong Answer

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

B100 = B*100

ans = A * B100

print(int(ans/100))

Submission status: Wrong Answer

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

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:
"""
[a,b]=list(map(float,input().split()))
import math
a=int(a)
b=int(b*100)
ans=a*b
ans=ans/100
ans=math.floor(ans)
print(ans)
"""
[a,b]=list(input().split())
a=int(a)
b12=list(b.split('.'))
bkai=int(b12[0]*100+b12[1])
ans=a*bkai
ans=ans//100
print(ans)