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: Runtime Error

Solution code:
from decimal import *

a = list(input().rstrip().split(" "))

A,B =Decimal(int(a[0])),float(a[1])

if A > 10**6:
    C = int(B*100)
    ans1 = int(100*B)
    ans2 = (A-100)*C
    ans3 = ans2/100
    ans = int(ans1 + ans3)
else:
    ans = int(A*B)
    
print(ans)

Submission status: Runtime Error

Solution code:
# coding: utf-8


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

    a = int(a)
    b = str(b)
    # print(b)
    b = b[0] + b[2] + b[3]
    b = int(b)
    # print(b)
    # exit()
    
    return a*b // 100


print(main())

Submission status: Runtime Error

Solution code:
import math


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

Submission status: Runtime Error

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


print(int(a*b))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a, b = input().split()
b = float(f"{b:.2f}")
print(int(int(a) * b))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = list(map(str,input().split()))
a[1] = a[1]*100
b = int(a[0])*int(a[1])/100

print(int(b))

Submission status: Runtime Error

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

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

ans = int(str(a*b)[:-2])

print(ans)

Submission status: Runtime Error

Solution code:
from decimal import *
def ABC_169_C():
    getcontext().prec=28
    i=0
    A,B= map(float, input().split())
    k=Decimal(A)*Decimal(B)
    k=str(k)
    i=k.index('.')
    print(k[0:i])

if __name__ == '__main__':

    ABC_169_C()

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

digit = log10(a)//1 #a:digit+1桁
tem = digit
while tem != digit // 2:
    a = a // 10 // 1
    b = b * 10 // 1
    tem -= 1
print(int(a*b//1))

Submission status: Runtime Error

Solution code:
# N=int(input())
# a=int(input())
import numpy

A,B=map(str,input().split(" "))
A=int64(A)
B=int64(float(B)*100)

# print(A)
# print(B)

#A=[int(_) for _ in input().split(" ")]

if A==0 or B==0:
    ans=0
else:
    ans = A*B // 100
    
print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

a = int(a)
b = int(b*100)
ans = int(fraction(a*b,100))

print(ans)

Submission status: Runtime Error

Solution code:
def main():
    a,b = input().split()
    a = int(a)
    b_n = b[0]
    b_ = b[2:]
    ans = int(a*int(b_n))+int(str(a*int(b_))[:-2])
    print(int(ans))

if __name__ == "__main__":
    main()

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:

inps = input().split()
A=int(inps[0])
B = float(inps[1])

print(floor(A*B))

Submission status: Runtime Error

Solution code:
import math
x,y = map(float,input().split())
x = int(x)
y = print('{:.2f}'.format(y))

print(math.floor(x*y))

Submission status: Runtime Error

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

a,b= input().split()
d = Decimal(a)*Decimal(b)
print(Decimal(d).quantize(Decimal('0'), rounding=ROUND_DOWN))

Submission status: Runtime Error

Solution code:
#include<iostream>
#include<vector>
#include<algorithm>
#include<queue>
#include<deque>
#include<cmath>
#include<map>
#include<cstring>

using namespace std;
typedef long long ll;
const int INF = 1e9;
const int MOD = 1e9 + 7;
const ll LLINF = 1LL<<60;
#define P pair<ll, ll>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define pb push_back
#define mp make_pair
#define all(x) (x).begin(),(x).end()
#define print(x) cout << (x) << endl

class mint {
    long long x;
public:
    mint(long long x=0) : x((x%MOD+MOD)%MOD) {}
    mint operator-() const {
      return mint(-x);
    }
    mint& operator+=(const mint& a) {
        if ((x += a.x) >= MOD) x -= MOD;
        return *this;
    }
    mint& operator-=(const mint& a) {
        if ((x += MOD-a.x) >= MOD) x -= MOD;
        return *this;
    }
    mint& operator*=(const  mint& a) {
        (x *= a.x) %= MOD;
        return *this;
    }
    mint operator+(const mint& a) const {
        mint res(*this);
        return res+=a;
    }
    mint operator-(const mint& a) const {
        mint res(*this);
        return res-=a;
    }
    mint operator*(const mint& a) const {
        mint res(*this);
        return res*=a;
    }
    mint pow(ll t) const {
        if (!t) return 1;
        mint a = pow(t>>1);
        a *= a;
        if (t&1) a *= *this;
        return a;
    }
    // for prime MOD
    mint inv() const {
        return pow(MOD-2);
    }
    mint& operator/=(const mint& a) {
        return (*this) *= a.inv();
    }
    mint operator/(const mint& a) const {
        mint res(*this);
        return res/=a;
    }

    friend ostream& operator<<(ostream& os, const mint& m){
        os << m.x;
        return os;
    }
};

/* -- template -- */

int main() {
    ll A; cin >> A;
    double B; cin >> B;
    ll c = 0;
    ll ci;
    while(B >= 1.0) {
        c++;
        B -= 1.0;
    }
    ll tmpa = B * 100.0;
    tmpa = A * tmpa;
    tmpa /= 100;
    cout << A * c + tmpa << endl;
}

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

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

c = a*b

print(int(a*b)

Submission status: Runtime Error

Solution code:
def cc():
    a, b = map(str, input().split())
    a2 = int(a)
    b2 = int(b.replace('.', ''))
    c = a2 * b2
    ans = str(c)[0:-2] if len(c) > 2 else 0
    print(ans)
if __name__ == "__main__":
    cc()

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
def main():
    a,b = input().split()
    a = int(a)
    b_n = b[0]
    b_ = b[2:]
    ans = a*int(b_n)+int(str(a*int(b_))[:-2])
    print(int(ans))

if __name__ == "__main__":
    main()

Submission status: Runtime Error

Solution code:
from decimal import *

a = list(input().rstrip().split(" "))

A,B =Decimal(int(a[0])),float(a[1])

if A > 1**6:
    C = int(B*100)
    ans1 = int(100*B)
    ans2 = (A-100)*C
    ans3 = int(ans2/100)
    ans = ans1 + ans3
else:
    ans = int(A*B)
    
print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
def cc():
    a, b = map(str, input().split())
    a2 = int(a)
    b2 = int(b.replace('.', ''))
    c = a2 * b2
    print(str(c)[0:-2])

    if __name__ == "__main__":
    cc()

Submission status: Runtime Error

Solution code:
li = list(int(input()) , float(input()))

a = li[0]
b = li[1]

print(int(a*b))

Submission status: Runtime Error

Solution code:
n=int(input())
A=list(map(int,input().split()))
from collections import deque
q=deque(A)
 
ans=1
while len(q)>0:
    p=q.popleft()
    ans=ans*p
if ans>1000000000000000000:
    print(-1)
else:
    print(ans)

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:
S = input().split()
A = int(S[0])
B = float(S[1])

from mpmath import mp
mp.dps = 50

res = mp.mpf(B*A)
print(int(res))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = input();
b = input();
print(a*b)

Submission status: Runtime Error

Solution code:
l =[]
l = list(map(float,input().split()))
ans = 0
for i in range(0,l[0]):
  ans = ans + l[1]
print(int(ans))

Submission status: Runtime Error

Solution code:
#include<bits/stdc++.h>
#include<string.h>
#define pb push_back
#define all(v) v.begin(),v.end()
#define see(x) cout<<#x<<" : "<<x<<endl;
#define ya cout<<"YES"<<endl;
#define no cout<<"NO"<<endl;
typedef unsigned long long ll;
using namespace std;
int main()
{
//    ios::sync_with_stdio(false);
//    cin.tie(NULL),cout.tie(NULL);
    //freopen("test.txt","r",stdin);

        //ll ans=1;
        double n,m;
        //cin>>n>>m;
        scanf("%lf %lf",&n,&m);
        //ans=1.0*n*m*1.0;
        printf("%lld\n",(ll)(n*m));
//cout<<ans<<endl;

    return 0;
}

Submission status: Runtime Error

Solution code:
import math
n = int(input())
if n == 1:
    print(0)
    exit()
def makeprime(value):
    flag  = [True for _ in range(value)]
    ans = []
    for i in range(1,len(flag)):
        if flag[i]:
            ans.append(i+1)
            for j in range(i,len(flag),i+1):
                flag[j] = False
    return ans
for i in range(2,int(math.sqrt(n)+1)):
    if n%i == 0:
        flag = 1
        break
else:
    flag = 0
if flag:
    u = []
    r = n
    ans = 0
    rem = makeprime(int(math.sqrt(n)))
    for i in rem:
        o = 1
        while (i**o <= n):
            u.append(i**o)
            o += 1
    u.sort()
    for i in u:
        if n%i == 0:
            ans += 1
            n //= i
    print(ans)
else:
    print(1)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

c = a*b;

print(int(c))

Submission status: Runtime Error

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

print(floor(result))

Submission status: Runtime Error

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

x=int(a*b)
print('{.0}'.format(x))

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
# coding: utf-8
# Your code here!
import math
import numpy as np

string = input().split()
A = float(string[0])
B = float(string[1])

keta = np.log10(float(math.floor(A*B)))


def mypow(nuko):
    pai = 1
    for i in range(int(nuko)):
        pai = pai * 10
    return pai
    

hoge = np.log10(B)
neko = mypow(keta-(hoge+2)) 

print(int( math.floor(A*B) - (math.floor(A*B) % neko) ) )

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
N = int(input())

def factorization(n):
    arr = []
    temp = n
    for i in range(2, int(-(-n**0.5//1))+1):
        if temp%i==0:
            cnt=0
            while temp%i==0:
                cnt+=1
                temp //= i
            arr.append([i, cnt])

    if temp!=1:
        arr.append([temp, 1])

    if arr==[]:
        arr.append([n, 1])

    return arr

print(len(factorization(N)))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
def main():
    a,b = input().split()
    a = int(a)
    b_n = b[0]
    b_ = b[2:]
    ans = a*int(b_n) + int(str(int(b_)*a)[:-2])
    print(int(ans))

if __name__ == "__main__":
    main()

Submission status: Runtime Error

Solution code:
l = input().split()
a = int(l[0])
b = int(float(l[1])*100.)
ans = a * b
aans = str(ans)[:-2]

print(int(aans))

Submission status: Runtime Error

Solution code:
import math
import numpy as np
from decimal import *
a,b = map(float,input().split())
print(math.floor(np.multiply(Decimal(a)*Decimal(b))))

Submission status: Runtime Error

Solution code:
A, B = map(float, input().split())
C = '{:.2f}'.format(B)
a = int(float(A)) * C
print(int(float(a)))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = input()
b = input()
k = a * b
answer = math.floor(k)
print(answer)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math
a,b = map(str, input().split())
a = int(a)
b = b.replace(".","")
if len(b) == 2:
    b = b + '0'
b = int(b)
ans = a*b
if ans == 0:
    print(0)
else:
    print(int(str(ans)[:-2]))

Submission status: Runtime Error

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

if isinstance(B,int):
    B = int(B)
else:
    B = float(B)
print(math.floor(A*B))

Submission status: Runtime Error

Solution code:
from math import floor
a, b = [float(i) for i in input().split()]
b = b * 100
p = int(str(b)[0])
q = int(str(b)[1])
r = int(str(b)[2])
print(floor(a * p + (a * q) / 10 + (a * r)/100))

Submission status: Runtime Error

Solution code:
re = input().split())
a = int(re[0])
b = float(re[1]])
for i in range(10):
    if i <= b <i+1:
        c = int(i)
        d = int(100 * (b - i))
        break
    
e = a * c
f = a * d
g = f // 100
h = e + g
print(h)

Submission status: Runtime Error

Solution code:
import itertools
import copy
from collections import deque
import heapq
ab = input().split()
A = int(ab[0])
B = int(float(ab)*100)
ans = (A*B)//100
print(ans)

Submission status: Runtime Error

Solution code:
N=int(input())
P=list(map(int,input().split()))
import numpy
Q=numpy.array(P)
 
result =numpy.prod(Q)
 
if result>pow(10, 18):
    print('-1')
else:
    print(str(result))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math


a, b = map(float, input().split())
times = 0
if a == 0 or b == 0:
    print(0)
else:
    for k in range(0, a):
        times += b
    new_times = math.floor(times)
    print(new_times)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
# coding: utf-8
# Your code here!
import math
import numpy as np

string = input().split()
A = float(string[0])
B = float(string[1])

keta = np.log10(A)


def mypow(nuko):
    pai = 1
    for i in range(int(nuko)):
        pai = pai * 10
    return pai
    

hoge = np.log10(B)
neko = mypow(keta-(hoge+2)) 

print(int( math.floor(A*B) - (math.floor(A*B) % neko) ) )

Submission status: Runtime Error

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

C = A*B

C = C/100;

print(C)

Submission status: Runtime Error

Solution code:
A, B = map(float, input().split())
C = '{:.2f}'.format(B)
a = int(A) * C
print(int(float(a)))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math
a, b = map(int, input().split())
num = a*b
print(f'{num:.0f}')

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A,B=map(str,input().split())
A=int(A)
B=list(B)
if len(B)<=2:
    B.append('0')
    B.append('0')
elif B[-3]=='.':
        B.remove('.')
elif B[-2]=='.' :
    B.remove('.')
    B.append('0')
else:
    B.append('0')
    B.append('0')
n=len(B)
b=sum(10**(n-1-j)*int(B[j]) for j in range(n))
ans=list(str(A*b))
ans.pop(len(ans)-1)
ans.pop(len(ans)-1)
n2=len(ans)
trueans=sum(10**(n2-1-j)*int(ans[j]) for j in range(n2))
print(trueans)

Submission status: Runtime Error

Solution code:
import math
N = [float(e) for e in input().split()]
ans = str(N[0]*N[1])
ans1 = ans[0:-2]
print(int(ans1))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
import math
a, b = map(int, input().split())
num = a*b
print('{:.0f}'.format(num))

Submission status: Runtime Error

Solution code:
# coding: utf-8
# Your code here!
import math
import numpy as np

string = input().split()
A = float(string[0])
B = float(string[1])

keta = np.log10(A)


def mypow(nuko):
    pai = 1
    for i in range(int(nuko)):
        pai = pai * 10
    return pai
    
    
hoge = np.log10(B)

neko = mypow(keta-(hoge+2)) 

print(int( math.floor(A*B) - (math.floor(A*B) % neko) ) )

Submission status: Runtime Error

Solution code:
from decimal import Decimal
import math
a,b=map(str,input().split())
c=Decimal(a)
d=Decimal(b)
e=Decimal(c*d)
f=math.floor(e)
print(f)
from decimal import *
import math
a,b=map(str,input().split())
c=Decimal(a)
d=Decimal(b)
e=Decimal(c*d)
f=math.floor(e)
print(f)

Submission status: Runtime Error

Solution code:
import math
 
a, b = input().split()
result = a*b
if(result > 10 ** 18):
  print(-1)
else:
  print(result)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

print(int(a*b))

Submission status: Runtime Error

Solution code:
import math ,numpy
a,b = map(float, input().split())
if(b==0.00 or a == 0):
    print(0)
else:
    print(math.trunc(a*b))

Submission status: Runtime Error

Solution code:
from decimal import Decimal

IN = input().split()
A = Decimal(IN[0])
B = Decimal(IN[1])

ans = A*B

if ans < 1:
    print(0)
else:
    math.floor(ans)

Submission status: Runtime Error

Solution code:
,y=input() . split()
x,y =[ float (y), int (x)]
c = math.trunc(x*y)
print(c)

Submission status: Runtime Error

Solution code:
def factorization(y):
    arr = []
    temp = y
    for i in range(2, int(-(-y**0.5//1))+1):
        if temp%i==0:
            cnt=0
            while temp%i==0:
                cnt+=1
                temp //= i
            arr.append([i, cnt])
    if temp!=1:
        arr.append([temp, 1])
    if arr==[]:
        arr.append([y, 1])
    return arr
n=int(input())
if n==1:
  print(0)
  exit()

ans=0
l=factorization(n)
for i,j in l:
    if j<=2:
      ans+=1
    else:
      c=1
      t=1
      while j>0:
        ans+=1
        j-=c
        c+=t
        if j<t:
          break
        t+=1     
print(ans)

Submission status: Runtime Error

Solution code:
import math
a,b = map(str, input().split())
a = int(a)
b = b.replace(".","")
if len(b) == 2:
    b = b + '0'
b = int(b)
ans = a*b
print(int(str(ans)[:-2]))

Submission status: Runtime Error

Solution code:
def main():
    a,b = input().split()
    a = int(a)
    b_n = b[0]
    b_ = b[2:]
    ans = a*int(b_n)
    c = str(int(b_)*a)[:-2]
    print(int(ans+int(c)))

if __name__ == "__main__":
    main()

Submission status: Runtime Error

Solution code:
import math

str = input().split()
 
print(math.floor(int(str[0]) * int(str[1])))

Submission status: Runtime Error

Solution code:
import math

a, b = input.split()
result = a*b
if(result > 10 ** 18):
  print(-1)
else:
  print(result)

Submission status: Runtime Error

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

print(math.floor(ans))

Submission status: Runtime Error

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

print((A*B)%10)

Submission status: Runtime Error

Solution code:
a,b=map(int,input().split())
c=a*b
f=str(c).index(".")
print(str(c)[0:f+1])

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a, b = input().split()
a = int(a)
ib = 0
for i in range(len(b)):
  ib += int(b[len(b)-i-1]) * 10**i

c = int(a*ib/100)

print(c)

Submission status: Runtime Error

Solution code:
#include <bits/stdc++.h>
using namespace std;

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

Submission status: Runtime Error

Solution code:
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <stdlib.h>
#include <limits.h>
#include <stdbool.h>

#define rep(i, n) for(int i=0; i<(n); ++i)
#define max  100000

int main(void){
 
    long long int a;
    double b;
    long double c;
    
    scanf("%lld%lf", &a, &b);
    
    c=a*b;
    a=c;
    
    printf("%lld", a);
    
    return 0;
}

Submission status: Runtime Error

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

print(ans)

Submission status: Runtime Error

Solution code:
#include <iostream>
using namespace std;
int main()
{
    int64_t a;
    double b;
    cin >> a >> b;
    cout << int64_t(a * b);
}

Submission status: Runtime Error

Solution code:
#include <bits/stdc++.h>
using namespace std;
#define ll  long long int
#define fast ios_base::sync_with_stdio(false);cin.tie(NULL);
#define pb push_back
#define pp pop_back
#define in insert
#define ff first
#define ss second
#define e endl
#define debug cout<<"we are debuuging"<<endl;
#define MOD 998244353
ll fast_expo(ll x,ll p)
{if(p==0) return 1;
else if(p%2==0){ ll t=fast_expo(x,p/2)%MOD;return (t*t)%MOD;} else return (x*(fast_expo(x,p-1))%MOD)%MOD;}
int main()
{
     ll a;
     double b;
	cin>>a>>b;
	b = (b)*(100.00);
	ll bb = (ll)b;
	ll aans = (a*bb);
	ll val = aans/100;
	cout <<val;
}

Submission status: Runtime Error

Solution code:
import math
num1=int(input())
num2=float(input())
mul=num1*num2
# int(float(mul))

print(int(round(mul)))

Submission status: Runtime Error

Solution code:
def main():
    a, b = input().split()
    cnt = 1
    a = int(a)
    a1 = a
    while True:
        if a % 10 == 0:
            a /= 10
            cnt += 1
        else:
            break

    if cnt >= 2:
        b = float(b)
        #print(a, b, a*b)
        ans = int(a * b * 100) * (10 ** (cnt-2))
        print(ans)
    else:
        print(int(a1 * b))



if __name__ == "__main__":
    main()

Submission status: Runtime Error

Solution code:
import math
A, B = input().split()
A = int(A)
B = float(B)
B = format(B, '.20f')
# B *= 100
# B = int(B)
# ans = A*B
# ans /= 100
ans = A*B
print(math.floor(ans))

Submission status: Runtime Error

Solution code:
#include<iostream>
#include<string>

using namespace std;
int main(){
    int ans;
    float a,b ;
    cin>>a ;
    cin>>b;
    ans = a*b;
    cout<<ans;
    return 0 ;
}

Submission status: Runtime Error

Solution code:
import math
A, B = [int(A) for A in input().split()]  
if float(B) >= 1:
    print(math.trunc(A * B))
elif 1 > float(B) > 0:
    print(0)
else:
    print(A * B)

Submission status: Runtime Error

Solution code:
a, b = input().split()
a = int(a)
ib = 0
for i in range(len(b)):
  ib += int(b[len(b)-i-1]) * 10**i

c = int(a*b/100)

print(c)

Submission status: Runtime Error

Solution code:
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <stdlib.h>
#include <limits.h>
#include <stdbool.h>

#define rep(i, n) for(int i=0; i<(n); ++i)
#define max  100000

int main(void){
 
    long long int a;
    double b;
    long double c;
    
    scanf("%lld%lf", &a, &b);
    
    c=a*b;
    
    printf("%Lf", c);
    
    return 0;
}

Submission status: Runtime Error

Solution code:
import math
from decimal import *

sa, sb = input().split()
a = Decimal(sa)
b = float(sb)
lb = Decimal(b * 100)

ans = Decimalc(Decimal(a * lb) // Decimal(100))
print(int(ans))

Submission status: Runtime Error

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

for i in range(len(num)):
  if num[i] == '.':
    break
  ans += num[i]
print(int(ans))

Submission status: Runtime Error

Solution code:
A,B = (float(x) for x in input().split())
print(math.floor(A*B))

Submission status: Runtime Error

Solution code:
def main():
    a,b = input().split()
    a = int(a)
    b_n = b[0]
    b_ = b[2:]
    ans = a*int(b_n)
    c = str(int(b_)*a)[:-2]
    print(ans+int(c))

if __name__ == "__main__":
    main()

Submission status: Runtime Error

Solution code:
from decimal import *
import math
a,b=map(str,input().split())
c=Decimal('a')
d=Decimal('b')
e=Decimal('c*d')
f=math.floor(e)
print(f)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
x,y = input().split()
sum = int((x*y)%1)
print(sum)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A,B=map(str,input().split())
A=int(A)
B=list(B)
if '.' in B:
    B.remove('.')
else:
    B.append('0')
    B.append('0')
n=len(B)
b=sum(10**(n-1-j)*int(B[j]) for j in range(n))
ans=list(str(A*b))
ans.pop(len(ans)-1)
ans.pop(len(ans)-1)
n2=len(ans)
trueans=sum(10**(n2-1-j)*int(ans[j]) for j in range(n2))
print(trueans)

Submission status: Runtime Error

Solution code:
from decimal import *
import math
a,b=map(str,input().split())
c=Decimal("a")
d=Decimal("b")
e=c*d
f=math.floor(e)
print(f)

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
def main():
    a,b = input().split()
    a = int(a)
    b_n = b[0]
    b_ = b[2:]
    ans = a*int(b_n)
    a = str(int(b_)*a)[:-2]
    print(ans+int(a))

if __name__ == "__main__":
    main()

Submission status: Runtime Error

Solution code:
#include<iostream>
#include<vector>
#include<map>
#include<set>
#include<algorithm>
#include<queue>
#include<cstring>

using namespace std;

typedef long long int ll;

ll max(ll a,ll b)
{
    return a>b?a:b;
}

ll min(ll a, ll b)
{
    return a<b?a:b;
}

ll abs(ll a)
{
    return a>0?a:-a;
}


int main()
{
//     ll n;
//     cin>>n;
    
//     ll i;
//     ll prod=1;
//     vector<ll> arr(n);
//     for(i=0;i<n;++i){
//         cin>>arr[i];
//         if(arr[i]==0){
//             cout<<0;
//             return 0;
//         }
//     }

//     for(i=0;i<n;++i){
        
//         if(arr[i]>1e18){
//             cout<<"-1";
//             return 0;
//         }
//         if(prod>1e18){
//             cout<<"-1";
//             return 0;
//         }
//         if(){
//             cout<<-1;
//             return 0;
//         }
//         prod*=arr[i];
//     }
//     if(prod>1e18||prod<0){
//         cout<<"-1";
//         return 0;
//     }
//     cout<<prod;



    ll a;
    double b;
    cin>>a>>b;
    int c=(int)b;
    ll prod1,ans;
    
    prod1=(ll)c*a;
    int dig1,dig2;
    b=b-c;
    dig1=(int)(10*b);
    b=b-double(dig1*0.1);
    dig2=(int)(100*b);
    double f1,f2;
    f1=(dig1*a)/10.0-(ll)((dig1*a)/10);
    f2=(dig2*a)/100.0-(ll)((dig2*a)/100);

    ans=prod1+(ll)((dig1*a)/10)+(ll)((dig2*a)/100);
    if(f1+f2>=1){
        ans++;
    }
    cout<<ans;
}

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math

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

# A *= 100
B = float(B)
B = math.floor( * 100)

AB = A * B / 100
floored = int(math.floor(AB))
print(floored)

# AB = A * B
# AB = str(AB)
# AB = AB[0:-2]
# AB = 0 if AB == '' else AB
# print(AB)

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
x,y = input().split
sum = (x * y) % 1
print(sum)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A,B = map(int,input().split( ))
B_0 = B//1
B_1 = B%1
ans_0 = round(A*B_0)
ans_1 = A*round(B_1*100)//100
print(int(ans_0 + ans_1))

Submission status: Runtime Error

Solution code:
import math

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

# A *= 100
B = math.floor(B * 100)

AB = A * B / 100
floored = int(math.floor(AB))
print(floored)

# AB = A * B
# AB = str(AB)
# AB = AB[0:-2]
# AB = 0 if AB == '' else AB
# print(AB)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n=input().split()
a=int(n[0])
b=int(eval(n[1]+'*100'))
print(b)
if b<1:
  print(int(a*b))
else:
  #print(int(b*100)*a)
  print(int(str(b*a)[:-2]))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
from decimal import *
import math
a,b=map(str,input().split())
c=Decimal('a')
d=Decimal('b')
e=c*d
f=math.floor(e)
print(f)

Submission status: Runtime Error

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

a = int(a)
b_unchi = b.split(".")
b_int = int(b_unchi[0])
b_float = int(b_unchi[1])
bbb = b_int * 100 + b_float
s = a * b
print(s // 100)

Submission status: Runtime Error

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

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

x = a*b

y = int(x)

print(x)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

C = (A * B)%100
D = ((A * B) - C)/100

print(D)