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: Accepted

Solution code:
from math import floor
from decimal import Decimal

A, B = map(Decimal, input().split())
print(floor(A * B))

Submission status: Accepted

Solution code:
import sys
from decimal import *
input = sys.stdin.readline
A, B = input().split()
A = int(A)
B = Decimal(B)
print(int(A * B))

Submission status: Accepted

Solution code:
#import math

a,b=input().split()
a=int(a)
b=float(b)
b=int(b*100+0.5)

print(a*b//100)

Submission status: Accepted

Solution code:
from decimal import Decimal

A, B = input().split()
A = int(A)
B = Decimal(B)
print(int(A * B))

Submission status: Accepted

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

import decimal, math
A = decimal.Decimal(A)
B = decimal.Decimal(B)

print(math.floor(A*B))

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
#%% for atcoder uniittest use
import sys
input= lambda: sys.stdin.readline().rstrip()
def pin(type=int):return map(type,input().split())
def tupin(t=int):return tuple(pin(t))
def lispin(t=int):return list(pin(t))
#%%code
from decimal import Decimal  as D
def resolve():
    A,B=input().split()
    a=D(A)
    b=D(B)
    print(int(a*b))
#%%submit!
resolve()

Submission status: Accepted

Solution code:
import sys
INF = 1 << 60
MOD = 10**9 + 7 # 998244353
sys.setrecursionlimit(2147483647)
input = lambda:sys.stdin.readline().rstrip()
def resolve():
    a, b = input().split()
    a = int(a)
    s, t = b.split('.')
    b = int(s + t)
    print(a * b // 100)
resolve()

Submission status: Accepted

Solution code:
from decimal import *

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

Submission status: Accepted

Solution code:
def main():
    A, B = input().split()
    b = int(B.replace('.', '')) * 100

    return int(A) * b // 10000

print(main())

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

sys.setrecursionlimit(500005)
stdin = sys.stdin

ni = lambda: int(ns())
na = lambda: list(map(float, stdin.readline().split()))
ns = lambda: stdin.readline().rstrip()  # ignore trailing spaces

a, b = na()
a = int(a)
b = round(b*100)
print(a*b//100)

Submission status: Accepted

Solution code:
import decimal

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

print(a * b // 1)

Submission status: Accepted

Solution code:
import bisect
import cmath
import heapq
import itertools
import math
import operator
import os
import random
import re
import string
import sys
from collections import Counter, defaultdict, deque
from copy import deepcopy
from decimal import Decimal
from functools import lru_cache, reduce
from math import gcd
from operator import add, itemgetter, mul, xor

import numpy as np

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()
ans = Decimal(a) * Decimal(b)
print( int(ans))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

A, B = sys.stdin.readline().rstrip().split(" ")

A = int(A)
B1, B2 = B.split(".")
answer = A * (int(B1) * 100 + int(B2))

print(answer // 100)

Submission status: Runtime Error

Solution code:
import math

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

print(math.floor(a*b))

Submission status: Runtime Error

Solution code:
import collections

def prime_factorize(n):
    a = []
    while n % 2 == 0:
        a.append(2)
        n //= 2
    f = 3
    while f**2 <= n:
        if n % f == 0:
            a.append(f)
            n //= f
        else:
            f += 2
    if n != 1:
        a.append(n)
    return a

count = 0

N = int(input())
c = collections.Counter(prime_factorize(N))

K = [sum(range(1,i)) for i in range(2,10)]
#print(K)
 
for i in c:
  for j in range(len(K)):
    if c[i] < K[j]:
      count += j
      break
      
print(count)

Submission status: Runtime Error

Solution code:
1000000000000000 9.99

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
print(eval(input().replace('.','').replace(' ','*'))//100)

Submission status: Runtime Error

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

print(int(a * b))

Submission status: Runtime Error

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

print(math.ceil(a*b))

Submission status: Runtime Error

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

print(math.ceil(a*b))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math

A, B = map(str, input().split())
A = int(A)
B = decimal.Decimal(B)
print(math.floor(A*B))

Submission status: Runtime Error

Solution code:
import math
import numpy as np
np.set_printoptions(suppress=True)

A, B = map(str, input().split())
A = int(A)
B = decimal.Decimal(B)
print(math.floor(A*B))

Submission status: Runtime Error

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

text = str(math.floor(A * B))
index = text.index('.')
if index >= 0:
  print(text[:index])
else:
  print(text)

Submission status: Runtime Error

Solution code:
import sys

input = sys.stdin.readline

def main():
    ans = 0
    a, b = input().split()
    b =  b.replace(".", "")
    ans = str(int(a)*int(b)/100)
    ans = int(ans[:-3])

    print(ans)

if __name__ == '__main__':
    main()

Submission status: Runtime Error

Solution code:
import sys

input = sys.stdin.readline

def main():
    ans = 0
    a, b = input().split()
    b =  b.replace(".", "")
    ans = str(int(a)*int(b))
    ans = int(ans[:-2])

    print(ans)

if __name__ == '__main__':
    main()

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b=input().split()
a = int(a)
b = int(b.repalce('.',""))

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = float(input())
b = float(input())
print('%.0f' % a * b)

Submission status: Runtime Error

Solution code:
a,b = map(float,input().split(" "))
    print('%.0f' % a*b)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

print(A * B // 1)

Submission status: Runtime Error

Solution code:
import math


def main() -> None:
    a, b = input().split()

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

    return


if __name__ == '__main__':
    main()

Submission status: Runtime Error

Solution code:
import math


def main() -> None:
    a, b = input().split()

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


if __name__ == '__main__':
    main()

Submission status: Runtime Error

Solution code:
import math


def main() -> None:
    a, b = input().split()

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

    return


if __name__ == '__main__':
    main()

Submission status: Runtime Error

Solution code:
import math


def main() -> None:
    a, b = input().split()

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

    return


if __name__ == '__main__':
    main()

Submission status: Runtime Error

Solution code:
import math


def main() -> None:
    a, b = map(int, input().split())

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


if __name__ == '__main__':
    main()

Submission status: Runtime Error

Solution code:
A,B=input().split()
A=int(A+0.5)
B=int(100*float(B)+0.1)
print(int(A*B/1000)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

result = long (A*B)
print(result)

Submission status: Runtime Error

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

result,x = str(A*B).split(".")
print(result)

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
A=input()
B=input()
print(A*B)
//凑字数 凑字数 凑字数 也不知道自己python语法对不对。。交一发试试

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A,B = map(int,'198 1.10'.split())
result = int(A*B)
print(result)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
m = input("")
list = m.split(" ")
s1 = list[1].split(".")
s2 = list[0].split(".")
if 0<=eval(list[0])<10**15 and 0<=eval(list[1])<10 and len(s1[1])==2 and len(s2) == 1:
    num = eval(list[0]) * eval(list[1])
    num = int(num)
print(num)

Submission status: Runtime Error

Solution code:
m = input("")
list = m.split(" ")
if 0<=eval(list[0])<10**15 and 0<=eval(list[1])<10 and list[0].isdigit():
    num = eval(list[0]) * eval(list[1])
    num = int(num)
print(num)

Submission status: Runtime Error

Solution code:
import sys
a = int(input())
b = float(input())
if a == 0 or b == 0:
    print(0)
else:
    print(int(a*b))

Submission status: Runtime Error

Solution code:
m = eval(input(""))
n = eval(input(""))
num = m*n
num = int(num)
print(num)

Submission status: Runtime Error

Solution code:
import sys
a = int(input())
b = float(input())
print(int(a*b))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

print(math.floor(a*b))

Submission status: Runtime Error

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

print(math.floor(a*b))

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A=int(A)
B=list(B)
N=B[0]+B[2]+B[3]
N=int(N)
C=int(A*N//100)
print(C)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A,B=input().split()
B=list(B)
N=B[1]+B[2]+B[3]
N=int(N)
C=int(A*N/100)
print(C)

Submission status: Runtime Error

Solution code:
A=int(input())
B=float(input())
C=int(A*B)
print=C

Submission status: Runtime Error

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

print(int(a*b))

Submission status: Runtime Error

Solution code:
#include <bits/stdc++.h>

using namespace std;

typedef long long int ll;
typedef pair<int,int> P;

#define rep(i,n) for(int i=0;i<(n);++i)
#define repi(i,a,b) for(int i=int(a);i<(b);i++)
#define repr(i,b,a) for(int i=int(b);i>=(a);i--)
#define all(x) x.begin(),x.end()

const ll mod = 1e9+7;
const ll INF = 1e9;

ll gcd(ll a,ll b){return b?gcd(b,a%b):a;}
int dx[4]={1,0,-1,0};
int dy[4]={0,1,0,-1};
bool valid(int lx,int ux,int ly,int uy,int x,int y){
	return lx<=x&&x<ux&&ly<=y&&y<uy; 
}
ll power(ll x,ll p){
	if(p==0)return 1;
	ll res=power(x*x%mod,p/2);
	if(p%2==1)res=res*x%mod;
	return res;
}

int main()
{
	double a,b;
	cin>>a>>b;
	cout<<ll((a*(b*100+0.001))/100)<<endl;
	return 0;
}

Submission status: Runtime Error

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

C = A * B
C = int(C)

print(C)

Submission status: Runtime Error

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

C = A * B
C = int(C)

print(C)

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import decimal
n = int(input())
a = list(map(int, input().split()))
ans = 1
if 0 in a:
  print(-1)
else:
  flag = True
  for i in a:
    ans *= i
    if ans > (10 ** 18):
      print(-1)
      flag = False
      break
  if flag:
    print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

print((a*b)//100)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A = input()
b = input()
B = b * 100
int(B)
print(B * A /100)

Submission status: Runtime Error

Solution code:
A = input()
b = input()
int B = b * 100
print(B * A /100)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math
a,b=[i for i in input().split()]

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

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

Submission status: Runtime Error

Solution code:
a,b=[int(i) for i in input().split()]a,b=[float(i) for i in input().split()]

print(int(a*b))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
st = input().strip().split()

a = int(st[0])
b = 0

for x in st[1]:
  if x == '.':
  else: b = b*10 + int(x)

print(a*b//100)

Submission status: Runtime Error

Solution code:
st = input().strip().split()

a = int(st[0])
b = 0

for x in st[1]:
  if x == '.':
  else: b = b*10 + x

print(a*b//100)

Submission status: Runtime Error

Solution code:
st = input().strip().split()

mul = int(st[0])

b = 0
for x in st[1]:
  if x == '.':
  else: b = b*10 + x

print(a*b//100)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#include <bits/stdc++.h>
#include <chrono>
#include <math.h>
using namespace std;
using ll = long long;
using ld = long double;
using namespace std::chrono; 
#define fo(i,z,n) for(int i = z;i<n;i++)
#define Fo(i,z,n) for(ll i = z;i<n;i++)
#define INT_BITS 32
#define mod 1000000007
#define vi vector<int>
#define vll vector<ll>
#define vvi vector<vector<int> >
#define vvl vector<vector<ll> > 
#define pb push_back
#define f first
// #define s second
#define int long long
#define float long double
#define all(c) (c).begin(), (c).end()
#define endl '\n'



int32_t main()
{
 
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
     cout.tie(0);
   	
//     int t;
//      cin >> t;

//      while(t--){



// }
     int a;
     double b;
     cin >> a >> b;
     int x = b*100;
     a = a*x;
     a = a/100;
     cout << a << endl;


return 0;
}

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
inputs = input().split()
a = int(inputs[0])
b = inputs[1]
b = 100 * int(b[0]) + 10 * int(b[1]) + int(b[2])

print(int(a * b / 100))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A = float(input())
B = float(input())
print(int(A*B))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A,B= list(input().split())
a = int(B[0])
b = int(B[2])
c = int(B[3])
if int(A) > 1000:
   e = int(A[-2])
   f = int(A[-1])
   d = (int(A)- 10 * e - f)/100
   error = 10 * (c * e + b * f) + c * f
   error = int(error/100)
   ans = int(A) * a + 10 * d * b + e * b + c * d + error
   print(ans)
else:
   print(int(int(A)*float(B))

Submission status: Runtime Error

Solution code:
A,B= list(input().split())
a = int(B[0])
b = int(B[2])
c = int(B[3])
e = int(A[-2])
f = int(A[-1])
d = (int(A)- 10*e - f)/100
error = 10 * (c * e + b * f) + c * f
error = int(error/100)
ans = int(A) * a + 10 * d * b + e * b + c * d + error
print(ans)

Submission status: Runtime Error

Solution code:
A,B= list(input().split())
a = int(B[0])
b = int(B[2])
c = int(B[3])
d = int(A[0])
e = int(A[1])
f = int(A[2])
error = 10 * (c * e + b * f) + c * f
error = int(error/100)
ans = int(A) * a + 10 * d * b + e * b + c * d + error
print(ans)

Submission status: Runtime Error

Solution code:
A = input()
B = input()
C = A*B
print(C.floor())

Submission status: Runtime Error

Solution code:
n = input().spilt(' ')
print(int(float(n[0]) *float(n[1])))

Submission status: Runtime Error

Solution code:
program hi;
var 
    a: int64;
    b: real;

begin
    readln(a, b);
    writeln((a * round(b * 100)) div 100);
end.

Submission status: Runtime Error

Solution code:
n=int(input())
a=list(map(int,input().split()))
a.sort()

ans=1
for i in a:
  ans=ans*i
  if ans>10**18:
    ans=-1
    break
    
print(ans)

Submission status: Runtime Error

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

for x in (A,B):
  if float(x)==int(float(x)):
    x = int(x)
  else:
    x = float(x)

def dicimal2int(d):
  d = str(d)
  if '.' not in d:
    return int(d),0
  if d[:2]=="0.":
    for i in range(2,len(d)):
      if d[i] != '0':
        break
    n_move = len(d)-2
    return int(d[i:]),n_move
  idx = d.index('.')
  n_move = len(d)-idx-1
  return int(d[:idx]+d[idx+1:]),n_move

C1,n1 = dicimal2int(A)
C2,n2 = dicimal2int(B)

D = C1*C2
n = n1+n2

if n==0:
  print(D)
  exit()
  
def int2dicimal(N,n_move):
  if n_move==0:
    return N
  N = str(N)
  for i in range(len(N)):
    if N[-i-1] != '0':
      break
  n_zero = i
  if n_zero>n_move:
    return int(N[:-n_move])
  if n_zero>0:
    N = N[:-n_zero]
    n_move -= n_zero
  if len(N)-1>=n_move:
    return float(N[:-n_move]+'.'+N[-n_move:])
  return float("0."+'0'*(n_move-len(N))+N)

print(int(int2dicimal(D,n)))

Submission status: Runtime Error

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

for x in (A,B):
  if float(x)==int(float(x)):
    x = int(x)
  else:
    x = float(x)

def dicimal2int(d):
  d = str(d)
  if '.' not in d:
    return int(d),0
  if d[:2]=="0.":
    for i in range(2,len(d)):
      if d[i] != '0':
        break
    n_move = len(d)-2
    return int(d[i:]),n_move
  idx = d.index('.')
  n_move = len(d)-idx-1
  return int(d[:idx]+d[idx+1:]),n_move

C1,n1 = dicimal2int(A)
C2,n2 = dicimal2int(B)

D = C1*C2
n = n1+n2

if n==0:
  print(D)
  exit()
  
def int2dicimal(N,n_move):
  if n_move==0:
    return N
  N = str(N)
  for i in range(len(N)):
    if N[-i-1] != '0':
      break
  n_zero = i
  if n_zero>n_move:
    return int(N[:-n_move])
  N = N[:-n_zero]
  n_move -= n_zero
  if len(N)-1>=n_move:
    return float(N[:-n_move]+'.'+N[-n_move:])
  return float("0."+'0'*(n_move-len(N))+N)

print(int(int2dicimal(D,n)))

Submission status: Runtime Error

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

if float(A)==int(float(A)):
  A = int(A)
else:
  A = float(A)
  
if float(B)==int(float(B)):
  B = int(B)
else:
  B = float(B)
    
print(int(A*B))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

print(int(A*B/100))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
from decimal import Decimal

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

a = Decimal(a)
b = Decimal(b)

print(a*b)

Submission status: Runtime Error

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

print(int(a*b/100))

Submission status: Runtime Error

Solution code:
def main():
    a, b = input().split()
    b = 100 * b

    answer = a * b // 100
    print(answer)


if __name__ == '__main__':
    main()

Submission status: Runtime Error

Solution code:
import math

A, B = input().split()

B_float = float(B)
A = int(A)
B_p = int(B.split(".")[0])
B_c = int(B.split(".")[1])

if (A == 0) or (B == 0):
  print(0)
else:
  print(A * B_p + int(str(A * B_c)[:-2]))

Submission status: Runtime Error

Solution code:
import math

A, B = input().split()

try:
  B_float = float(B)
  A = int(A)
except:
  print(0)

B_p = int(B.split(".")[0])
B_c = int(B.split(".")[1])

print(A * B_p + int(str(A * B_c)[:-2]))

Submission status: Runtime Error

Solution code:
import math

A, B = input().split()
B_float = float(B)
A = int(A)
B_p = int(B.split(".")[0])
B_c = int(B.split(".")[1])

if (A == 0) or (B == 0):
  print(0)
else:
  print(A * B_p + int(str(A * B_c)[:-2]))

Submission status: Runtime Error

Solution code:
import math

A, B = input().split()
A = int(A)
B_p = int(B.split(".")[0])
B_c = int(B.split(".")[1])

print(A * B_p + int(str(A * B_c)[:-2]))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
from math import floor 
from fractions inport Fraction

A, B = input().split()
A = int(A)
B = Fraction(B)
print(floor(A*B))

Submission status: Runtime Error

Solution code:
import math
from fractions inport Fraction

A, B = input().split()
A = int(A)
B = Fraction(B)
print(math.floor(A*B))

Submission status: Runtime Error

Solution code:
def main():
  A = list(map(int, input().split()))
  
  if 0 in A:
    print(0)
    return
  
  prod = 1
  for a in A:
    prod *= a
    if prod > 1000000000000000000:
      print(-1)
      return
  print(prod)
  
main()

Submission status: Runtime Error

Solution code:
def main():
  N = int(input())
  A = list(map(int, input().split()))
  
  if 0 in A:
    print(0)
    return
  
  prod = 1
  for a in A:
    prod *= a
    if prod > 1000000000000000000:
      print(-1)
      return
  print(prod)
  
main()

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
def main():
    a,b = input().split()
    if int(b) <= 0:
        print(0)
        return
        
    print(int(int(a) * float(b)))

main()

Submission status: Runtime Error

Solution code:
def main():
    ab = [int(_x) for _x in input().split()]
    print(int(ab[0] * ab[1]))


main()

Submission status: Runtime Error

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

print(A*B//100)

Submission status: Runtime Error

Solution code:
import math

a, b = input().split()
c = (int(a)*int(b*100))/100
d = math.floor(c)
print(d)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
N = list(input().split())
A = int(N[0])
b1,b2 = N[1].split('.')
B = int(b1+b2)
prd = list(str(A*B))
ans = 0
if len(prd) < 3:
    ans = 0
else:
    prd.pop(-1,-2)
    ans = int(''.join(prd))
print(ans)

Submission status: Runtime Error

Solution code:
N = list(input().split())
A = int(N[0])
b1,b2 = N[1].split('.')
B = int(b1+b2)
prd = list(string(A*B))
ans = int(prd[0]+prd[1]+prd[2])
print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math
A, B = input().split(" ")
A = int(A.strip())
B = int(B.strip().replace(".", ""))
print(math.floor(A * B / 100)

Submission status: Runtime Error

Solution code:
import sys
import numpy as np
from math import ceil as C, floor as F
from collections import defaultdict as D
from functools import reduce as R
 
ALP = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
alp = 'abcdefghijklmnopqrstuvwxyz'
def _X(): return sys.stdin.readline().rstrip().split(' ')
def _S(ss): return tuple(ss) if len(ss) > 1 else ss[0]
def S(): return _S(_X())
def Ss(): return list(S())
def _I(ss): return tuple([int(s) for s in ss]) if isinstance(ss, tuple) else int(ss)
def I(): return _I(S())
def _Is(ss): return list(ss) if len(ss) > 1 else [ss]
def Is(): return _Is(I())
 
a, b = S()
b = 100 * float(b)
 
print(int(a*b/100))

Submission status: Runtime Error

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

print(ans[:ans.find('.')])

Submission status: Runtime Error

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

print(ans[:ans.find('.')])

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A = input()
B = input()

A *= B
A = round(A)

print(A)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
# coding: utf-8
A,B=map(int,input().split())
B=B*100

ans=A*B
ans=ans/100

print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
def multply(a: int, b: float) -> int:
    return int(a * b)

a, b = map(int, input().split())
print(multply(a, b))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a=int(input())
b=double(input())
print((int)a*b)

Submission status: Runtime Error

Solution code:
import math
from fractions import Fraction

# a = Fraction(28, 10)
# b = Fraction(27, 10)
# x = a - b
# print(x)  # -> 1/10


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

b = Fraction(int(b*10000000000000,10000000000000))

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

x = a * b * 100
print(x // 100)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = int(input())
b = float(input())

print(int(a / b))

Submission status: Runtime Error

Solution code:
n=float(input());m=float(input());print(int(n*m))

Submission status: Runtime Error

Solution code:
a,b = map(int(intput().split()))
print(int(a*b))

Submission status: Runtime Error

Solution code:
if __name__ == "__main__":
    A,B = input().split(" ")
    A = int(A)
    B = float(B)
    B = int(B * 100 + 0.5) # * 100 で生じる誤差を修正
    A *= B
    print(int(A/100)))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

tmp = a*b
ans = int(tmp)

print(ans)

Submission status: Runtime Error

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

tmp = a * b
ans = int(tmp)

print(ans)

Submission status: Runtime Error

Solution code:
from sys import stdin
import sys

a,b = [int(x) for x in stdin.readline().rstrip().split()]
print(a*(b*100)/100)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
# coding: utf-8
# Your code here!

a,b=input().split()
b=list(b)
if a=="0" or b=="0":
    print(0)
else:
    b.remove('.')
    b=''.join(b)
    a=int(a)
    b=int(b)
    c=str(a*b)
    c=list(c)
    del c[-1]
    del c[-1]
    c=''.join(c)
    print(c)

Submission status: Runtime Error

Solution code:
a,b=input().split()
b=list(b)
b.remove('.')
b=''.join(b)
a=int(a)
b=int(b)
c=a*b
c=list(str(c))
c.insert('.',len(c)-3)
print(''.join(c))

Submission status: Runtime Error

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