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:
#include <bits/stdc++.h>
#include <math.h>
using namespace std;

int main(){
    long long a, ans;
    double b;
    cin >> a >> b;
    ans = a * b;
    cout << ans << endl;
}

Submission status: Runtime Error

Solution code:
import decimal
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:
import math
a,b=map(int,input().split())
c=a*b
print(math.floor(c))

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
from math import trunc
N = input().split()

if 0 <= int(N[0]) <= pow(10, 15) and 0 <= float(N[1]) < 10 and len(N[1].rsplit('.')[-1]) == 2:
    S = round(int(N[0])*float(N[1], 2),2)
    print(trunc(S))
else:
    print("change your input")

Submission status: Runtime Error

Solution code:
#include <iostream>
#include <cstdio>
#include <cmath>
#include <cstring>
#include <string>
#include <vector>
#include <set>
#include <queue>
#include <utility>
#include <algorithm>
#include <map>
#include <unordered_map>
#include <bitset>
#include <numeric>
#include <cassert>
using namespace std;

#define REPP(i,a,b) for(int i = (a); i < (b); ++i)
#define REP(i,a) for(int i = 0; i < (a); ++i)
#define PER(i,a) for(int i = (a) - 1; i >= 0; --i)
#define SZ(x) ((int)(x).size())
#define ALL(x) (x).begin(), (x).end()
#define MP make_pair

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

int main() {
  int a;
  double b;
  cin >> a >> b;
  int ans = a * b;
  cout << ans << endl;
  return 0;
}

Submission status: Runtime Error

Solution code:
a,b = raw_input().split(" ")

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

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

Submission status: Runtime Error

Solution code:
n = int(input())
a = list(map(int,input().split()))
result = 1
target = 10**18

if a.count(0) >= 1:
  result = 0
else:
  for an in a:
    if result > target:
      result = -1
      break
    else:
      result = an*result 

print(result)

Submission status: Runtime Error

Solution code:
print(int(eval(input().replace(" ","*")))

Submission status: Runtime Error

Solution code:
A,B=map(str,input().split())
A=int(A)
B=list(B)
B.remove('.')
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:
a = input()
b = input()

x = a*b

y = int(x)

print(x)

Submission status: Runtime Error

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

#a='3'
#b='1,1'
aa=int(a)
bb=float(b)
print(int(aa*bb))a,b=map(float,input().split())

from decimal import*
A=Decimal(str(a))
AA=A.quantize(Decimal('0'),rounding=ROUND_FLOOR)
B=Decimal(str(b))
BB=B.quantize(Decimal('0.01'),rounding=ROUND_FLOOR)

K=AA*BB
print(int(K))

Submission status: Runtime Error

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

print((int)(a*b))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math
A = int(input())
B = float(input())
print (math.trunc(A*B))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
huseikaizyanaidarobokekorosuzo

Submission status: Runtime Error

Solution code:
using System;
using System.Collections.Generic;
using System.Linq;

namespace ConsoleApp2
{
    class Program
    {
        static void Main(string[] args)
        {
            var solver = new Solver();
            solver.Calc();
        }
    }

    public class Solver
    {
        public struct AB
        {
            public int A;
            public int B;
        }

        int N;
        List<string> list = new List<string>();



        public void AddNext(string input, int count)
        {


            if (count == N)
            {
                list.Add(input + "1");
                list.Add(input + "0");
                return;
            }
            else
            {

                AddNext(input + "1", count + 1);
                AddNext(input + "0", count + 1);
            }

        }

        public void Calc()
        {
            var ps = Console.ReadLine().Split();
            var A = double.Parse(ps[0]);
            var B = double.Parse(ps[1]);

            var C = A * B;

            Console.WriteLine(Math.Floor(C));


        }


    }

}

Submission status: Runtime Error

Solution code:
a, b=map(str, input().str())
x=int(a)
y=float(b)
print(x)
print(y)

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-
A, B = map(str, input().split())
a = A.split('.')
b = B.split('.')
a_base = b_base = 0
if len(a) == 2:
  a_base = len(a[1])
  A = a[0]+a[1]
if len(b) == 2:
  b_base = len(b[1])
  B = b[0]+b[1]

l = total = 0
if len(A) > len(B):
  l = A
  total = int(B)
else:
  l = B
  total = int(A)

l_base = 0
for i in range(len(l) // 5 + 1):
  total *= max(1,int(l[i*5:i*5+5]))
  if 0 < i:
    l_base += len(l[i*5:i*5+5])

total *= 10 ** (l_base - a_base - b_base)
print(int(total))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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:
#include <bits/stdc++.h>
using namespace std;

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

tmp1 = A * int(B[0])
tmp2 = A * int(B[2])
tmp3 = A * int(B[3])

tmp2 *= 0.1
tmp3 *= 0.01

print(math.floor(tmp1 + tmp2 + tmp3))

Submission status: Runtime Error

Solution code:
import numpy as np
def main():

    A, B = input().split()
    A = np.array(int(A), dtype=np.int64)
    B = np.array(float(B), dtype=np.float64)
    v = A * B
    return int(v)

if __name__ == '__main__':
    print(main())

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
num = int(input())
num_list = list(map(int,input().split()))
answer = 1
for i in range(num):
  answer = answer * num_list[i]
if answer > 10**18:
  print("-1")
else:
  print(answer)

Submission status: Runtime Error

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


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

Submission status: Runtime Error

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

print(int(ans))

Submission status: Runtime Error

Solution code:
from sys import stdin
input =stdin.readline
a=1;
lst = [] 
n = int(input()) 
lst=list(map(int,input().strip().split()))
  
for i in lst:
    if i==0:
        print(0)
        a=0;
        break
    a*=i;
    if(a>1000000000000000000):
        print(-1)
        break
if(a<=1000000000000000000 and a!=0 ):
    print(a)

Submission status: Runtime Error

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

int main() {
  long long A; cin >> A;
  double B; cin >> B;
  double ans = A * B;
  cout << fixed << setprecision(0);
  cout << floor(ans) << endl;
}

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b = input().split()
c = a*b
if type(c) == int:
	s = c
s,t =c.split('.')
print(s)

Submission status: Runtime Error

Solution code:
n=int(input())
ans=0
for i in range(n):
    a,b=map(int,input().split())
    if(n%2==0 and i==n//2-1):
        ans=b-a+2
    if(n%2!=0 and i==n//2):
        ans=b-a+1
print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
i = 0
ans = 1
n = int(input())
a = list(map(int, input().split()))
if 0 in a:
    print(0)
else:
    while ans<10**10 and i<len(a):
        ans*=a[i]
        i+=1
    if (ans<=10**18):
        print(ans)
    else:
        print(-1)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b=map(float,input().split())
c=a*b
d=str(c)
if '.' in d:
  if d[-3]=='.':
    e=d[:-3]
    f=int(e)
  if d[-2]=='.':
    e=d[:-2]
    f=int(e)
else:
  f=int(d)
print(f)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

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

Submission status: Runtime Error

Solution code:
a, b = input().split()
a = int(a)
b = float(b)
import math
if a*b = 0.00:
  print(0)
else:
  print(math.floor(a*b))

Submission status: Runtime Error

Solution code:
from decimal import Decimal

a, b = input().split()
a = int(a)
b = float(b)
c = int(b * 100)
d=a*c
answer = str(Decimal(d))
answer = int(answer[:-2])
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 math

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

print(math.trunc(a*b))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math

N, M = map(float, input.split())

red = N * M

print(math.floor(reed))

Submission status: Runtime Error

Solution code:
a, b = input().split()
a = int(a)
b = float(b)
import math
if a*b = 0.00:
  print(0)
else
  print(math.floor(a*b))

Submission status: Runtime Error

Solution code:
import math
(a, b) = input().split(" ")
n = math.log10(float(a)) + math.log10(float(b)*100) - 2
print(int(math.pow(10, n)))

Submission status: Runtime Error

Solution code:
import math
s= input().split()
a = int(s[0])
b = float(s[1])
if 0 in a or b:
    print(0)
    else:
        c = math.trunc(a*b)
        print(c)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#include <iostream>
#include <math.h>
#include <string>
#include <vector>
#include <fstream>
#include <algorithm>
using namespace std;

int main() {
    unsigned long long a,k;
    float b;
    cin>>a>>b;
    k=trunc(a*b);
    cout<<k;
    return 0;
}

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b
input(a b)
print(int(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:
import math
from fractions import Fraction

A, B = map(str,input().split())
#print(A,B)

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

#B = format(B,"f")
#print(A,B)

X = Fraction(A,B)
Y = Fraction(B,A)

Z = X * Y

print(math.floor(Z))

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
from decimal import *
A, B = input().strip().split()
A, B = [int(A), float(B)]
if A>=0 and A<=10**15:
    if B>=0 and B<10 :
        Decimal(str(B)).quantize(Decimal('0.01'),round(ROUND_DOWN))
        result=A*B
        new=round(result)
        print(new)

Submission status: Runtime Error

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

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

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

Submission status: Runtime Error

Solution code:
import math
 
a_0, b_0 = input().split()
a = int(a_0)


small = str(a*int(b_0[-2:]))



ans = a*int(b_0[0:-3]) +int(small[:-2])
print(ans)

Submission status: Runtime Error

Solution code:
from math import ceil, floor
from decimal import Decimal

A, B = input().split()
A = int(A)
B = float(B)
B1 = int(B)
B2 = int(str(B)[-2:])

ans1 = Decimal(A) * Decimal(B1)
ans2 = Decimal(A) * Decimal(B2) // 100

ans = ans1 + ans2
print(ans)

Submission status: Runtime Error

Solution code:
n = int(input())
data = list(map(int, input().split()))
 
a = 1
i = 0
j = 0
    
while i<n:
  while j < n:
    if data[j]==0:
    	  a = 0
    	  break
    j +=1
  break
  a = a*data[i]
  i += 1
 
if a > 10**18:
  a = -1
 
print(a)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
//B Python

N = int(input())
numbers = [int(n) for n in input().split()]
mlt = 1
if 0 in numbers:
    print(0)
else:
    for n in numbers:
        mlt *= n
        if mlt > 1000000000000000000:
            mlt = -1
            break
    print(mlt)

Submission status: Runtime Error

Solution code:
import math

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

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

Submission status: Runtime Error

Solution code:
n = int(input())
a = list(map(int, input().split()))
ans = 1
if 0 in a:
    print(0)
    exit()
for i in range(n):
    ans *= a[i]
if ans > 10 ** 18:
    ans = -1
print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import numpy as np;
import math;
A, B = input().split();
A = int(A);

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math
A=int(input())
B=float(input())
C=float(A*B)
truncC=math.trunc(C)
print(truncC)

Submission status: Runtime Error

Solution code:
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main()
{
    double a, ans = 0;
    string p;
    cin >> a >> p;
    ans += (p[0]-'0') * a;
    ans += ((p[2]-'0') * a) / 10;
    ans += ((p[3]-'0') * a) / 100;
    printf("%.0f", ans);
}

Submission status: Runtime Error

Solution code:
import numpy as np;
import math;
A, B = input().split();
A = int(A);
B = float(B);

Submission status: Runtime Error

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

BB = int(B*100)

C = BB * A /100

C =math.floor(C)
print(C)

Submission status: Runtime Error

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

BB = int(B*100)

C = BB * A /100

C =math.floor(C)

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

output = 1


for num in input_nums:
    output *= int(num)   

print(int(output))

Submission status: Runtime Error

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

print(int(A*B))

Submission status: Runtime Error

Solution code:
import math

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A = int(input())
B = double(input())
print(math.floor(A*B))

Submission status: Runtime Error

Solution code:
import math
A, B = [int(A) for A in raw_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:
from sys import stdin
input =stdin.readline
a=1;
lst = [] 
n = int(input()) 
lst=list(map(int,input().strip().split()))
  
for i in lst:
    if i==0:
        print("0")
        break
    a*=i;
    if(a>1000000000000000000):
        print(-1)
        break
if(a<=1000000000000000000):
    print(a)

Submission status: Runtime Error

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

res = ""
for ch in b:
	if ch not in ('0', '.'):
		res += ch
		
b = int(res)

prod = (a * b) // 100

print(prod)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math

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


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

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

Submission status: Runtime Error

Solution code:
import math

A, B = list(input().split())
A = int(A)
B = '{:.2f}'.format(B).replace('.', '')
B = int(B)

# A *= 100
# B = int(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:
#! /usr/bin/env python3

import math


if __name__ == "__main__":
    A, B = input().split()
    print(math.floor(Decimal(A) * Decimal(B)))

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 math

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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:
#include<bits/stdc++.h>

#ifndef LOCAL
#pragma GCC optimize("O3")
#endif
//#pragma GCC optimize("Ofast")
//#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
//#pragma GCC optimize("unroll-loops")

#define endl        '\n'
#define ll          long long
#define pb          push_back
#define vi          vector<ll int>
#define all(a)      (a).begin(),(a).end()
#define F           first
#define S           second
#define rs(v,n)     v.resize(n)
#define hell        1000000007
#define peak        9123372036854775807
#define pii         acos(-1)
#define clr(a,x)    memset(a,x,sizeof(a))
using namespace std;

#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
template<typename T>
using ordered_set = tree<T,null_type,less<T>,rb_tree_tag,tree_order_statistics_node_update>;

namespace InOp{
template<class x,class y>
istream &operator>>(istream &in,pair<x,y> &p) 
{ 
    in>>p.F>>p.S;
    return in;
}
template<class x>
istream &operator>>(istream &in,vector<x> &v) 
{
    for(auto& i:v)
        in>>i;
    return in;
}
template<class x,class y>
ostream &operator<<(ostream &out,pair<x,y> &p) 
{ 
    out<<"("<<p.F<<","<<p.S<<") ";
    return out; 
}
template<class x>
ostream &operator<<(ostream &out,vector<x> &v) 
{ 
    out<<v.size()<<endl;
    for(auto i:v)
        out<<i<<" ";
    out<<endl;
    return out; 
}
}
using namespace InOp;

namespace ModOp{
template<class x,class y,class z> z add(x a,y b,z m){return (a+b)%m;}
template<class x,class y,class z> z sub(x a,y b,z m){return (a-b+m)%m;}
template<class x,class y,class z> z mul(x a,y b,z m){return ((ll)a*b)%m;}
template<class y,class z> z expo(ll b,y e,z m){ll a=1;b%=m;while(e!=0){if((e&1)==1){a=a*b;a=a%m;}b=b*b;b%=m;e>>=1;}return a%m;}
template<class x,class z> z inv(x b,z m){return expo(b,m-2,m);}
template<class x,class y> x invGeneral(x a,y b){if(a==0)return b==1?0:-1;x m=invGeneral(b%a,a);return m==-1?-1:((1-(ll)b*m)/a+b)%b;}
template<class x,class y,class z> z div(x a,y b,z m){ll c=inv(b,m);return mul(a,c,m);}
}
using namespace ModOp;

namespace Debug{
template<class x> void deb(x a){cerr<<"a"<<": "<<a<<endl;}
template<class x,class y> void deb(x a,y b){cerr<<"a"<<": "<<a<<" | "<<"b"<<": "<<b<<endl;}
template<class x,class y,class z> void deb(x a,y b,z c){cerr<<"a"<<": "<<a<<" | "<<"b"<<": "<<b<<" | "<<"c"<<": "<<c<<endl;}
template<class x,class y,class z,class xy> void deb(x a,y b,z c,xy d){cerr<<"a"<<": "<<a<<" | "<<"b"<<": "<<b<<" | "<<"c"<<": "<<c<<" | "<<"d"<<": "<<d<<endl;}
}
using namespace Debug;

#define N  1000005

int main()
{
    ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0);
    ll tt=1;
    // cin>>tt;
    while(tt--)
    {
    	ll i,j,k,l,r,x,y,m,n;
    	string s;
    	cin>>x>>s;
    	y=s[0]-'0';
    	ll ans=x*y;
    	m=0;
    	m=s[2]-'0';
    	m=m*10;
    	m+=s[3]-'0';
    	// cout<<m<<endl;
    	n=x*m;
    	n/=100;
    	ans+=n;
    	cout<<ans;
    }
    return 0;
}

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#include <stdio.h>

int main(void)
{
    long long a;
    double b;

    scanf("%lld", &a);
    scanf("%lf", &b);

    printf("%lld", (long long)(a*b));

    return 0;
}

Submission status: Runtime Error

Solution code:
import math

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

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

print(math.floor(A * B))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
input_ = input()
input_list = input_.split(" ")
A, B = int(input_list[0]), float(input_list[1])
no_error_B = int(str(B * 100)[:3]) / 100
print(int(no_error_B * A))

Submission status: Runtime Error

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

c = float(b)
 
x = a*c
 
print(math.floor(x))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b = map(float, input().split())
a,b = input().strip().split()
a,b = [int(a), float(b)]
c = a*b;
d = int(c)
print(d)

Submission status: Runtime Error

Solution code:
n = int(input())
a = []
sum = 1
for i in range(n):
    b = int(input())
    if(b==0):
        sum = 0
    a.append(b)
if sum != 0:
    for i in range(n):
        sum *= a[i]
if(sum > 1000000000000000000):
    print(-1)
else:
    print(sum)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import sys
import math

n = int(input())
a = list(map(int, input().split()))

ans = a[0]

for i in range(1, n):
    ans *= a[i]
    if math.log10(ans) > 18:
        print("-1")
        sys.exit()


print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
import math

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

Submission status: Runtime Error

Solution code:
9990000000000000
9990000000000000def readInt():
    return list(map(float, input().split()))

a,b = readInt()
a = int(a)
count = 0
ans = 0
# print(a)
while a > 0:
    c = a % 10
    a = a // 10
    ans += c * (10**count) * b
    count += 1
    # print(a,c)
print(int(ans))

Submission status: Runtime Error

Solution code:
import math
a,b = map(float, input().split())
for i in range(1,11):
    if i <= b <i+1:
        c = int(i)
        d = b - i
        
e = int(a) * c
f = a * d
g = int(math.floor(f))
h = e + g
print(math.floor(h))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

using ll = long long;
using VI = vector<ll>;
using VVI = vector<VI>;
using P = pair<ll, ll>;

int main() {
  ll a;
  double bf;
  string bs;

  cin >> a >> bs;
  ll b = (bs[0] - '0') * 100 + (bs[2] - '0') * 10 + (bs[3]) - '0';
  a = a * b;

  a = a / 100LL;

  cout << a << endl;

  return 0;
}

Submission status: Runtime Error

Solution code:
import math
n=int(input())
p=float(input())
t=int(n*p)
print(t)

Submission status: Runtime Error

Solution code:
A, B = map(int, input().split())
format(A*B, '.0f')

Submission status: Runtime Error

Solution code:
import numpy as np
from decimal import Decimal

N = int(input())
A = list(map(int, input().split()))

A = np.array(A).dtype(np.int64)

ans = int(np.prod(A))

if ans > 10**18:
  print(-1)
else:
  print(ans)

Submission status: Runtime Error

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


print(A*int(b0) + math.floor(((A*int(b1))/100)

Submission status: Runtime Error

Solution code:
A, B = input().split()
ans = A * B
format(ans, '.0f')

Submission status: Runtime Error

Solution code:
#include <bits/stdc++.h>
using namespace std;
int main(){
	long long x;
  	cin >> x;
  	double p;
  	cin >> p;
	p *= 100;
	p = (int)(p);
	x *= p;
	cout << x / 100 << endl;
	return 0;
}

Submission status: Runtime Error

Solution code:
import math
a,b = map(float, input().split())
for i in range(1,11):
    if i <= b <i+1:
        c = i
        d = b - i
        
e = a * c
f = a * d
g = math.floor(f)
h = e + g
print(math.floor(h))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b = map(str,input().split())
a2 = int(a)
b2 = 100*int(b[0:1])+10*int(b[2:3])+int(b[3:4])
if a2 == 0 or b2 == 0:
    ans = 0
else:
    tmp = str(a2*b2)
    l = len(tmp)
    ans = int(tmp[0:l-2])
print(ans)

Submission status: Runtime Error

Solution code:
A, B = input().split()
ans = A * B
print(format(ans, '.0f'))

Submission status: Runtime Error

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

a=list(a)
b=list(b)
a0=int(''.join(a))
a1=int(''.join(a[:-1]))
a2=int(''.join(a[:-2]))
b0=int(b[0])
b1=int(b[2])
b2=int(b[3])
ss=a0*b0+a1*b1+a2*b2
print(ss)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A, B = input().split()
print(format((A*B), '.0f'))

Submission status: Runtime Error

Solution code:
a,b = input().split()
c = a*b
if type(c) == int:
    s = c
s,t =c.split('.')
print(s)

Submission status: Runtime Error

Solution code:
#include<bits/stdc++.h>
using namespace std;
#define     debug       printf("\n<<CameHere<<\n")
#define     mem(x,y)    memset(x, y, sizeof(x))
#define     all(qz)     qz.begin(),qz.end()
#define     rall(qz)    qz.rbegin(),qz.rend()
#define     inf         LONG_LONG_MIN
#define     INF         LONG_LONG_MAX
#define     mod         1000000007
#define     Sqr(x)      ((x)*(x))
#define     ll          long long
#define     mk          make_pair
#define     pb          push_back
#define     pi          acos(-1.0)
#define     cos(a)      cos(a*pi/180)
#define     sin(a)      sin(a*pi/180)
#define     tan(a)      tan(a*pi/180)

ll pow(ll c,ll d){return d==0?:c*pow(c,d-1);}
ll gcd(ll a,ll b) {return b==0? a:gcd(b,a%b);}
ll lcm(ll a,ll b) {return ((a*b)/gcd(a,b));}
/*---------AL ASAD NUR RIYAD------------*/


int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    //freopen("input.txt", "r", stdin);
    //freopen("output.txt", "w", stdout);

    double a,b;
    cin>>a>>b;
    double R=floor(a*b);
    cout<<fixed<<setprecision(0)<<R<<endl;

    return 0;
}

Submission status: Runtime Error

Solution code:
/******************************************************************************

                              Online C++ Compiler.
               Code, Compile, Run and Debug C++ program online.
Write your code in this editor and press "Run" button to compile and execute it.

*******************************************************************************/

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

typedef long long ll;

int main()
{
    ll a;
    double b;
    cin>>a>>b;
    double x=a*b;
    cout<<(ll)x<<endl;    //cout<<s;
    
    

    return 0;
}

Submission status: Runtime Error

Solution code:
a,b=input().split()
r=''
x=0
for i in b:
  if i=='.':
    r=r
  elif i!='0':
    x=1
    r=r+i
  elif x==1 and i=='0':
    r=r+i
A=int(a)
B=int(r)
print(A*B//100)