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:
n = int(input())
r = list(map(int,input().split()))

lim = 10^18

for i in range(n):
    if i == 0:
        x = r[i]
    else:
        x = x * r[i]
    
    if x >= lim:
        x = -1
        break

if x > lim:
        x = -1
print(int(x))

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()
c = a*b
if type(c) == 'int':
    s = c
s,t =c.split('.')
print(s)

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 = a + g
print(math.floor(h))

Submission status: Runtime Error

Solution code:
_A,_B=input().split()
A=int(_A)
B=float(_B)
B100=int(B*100)
ans=A*B100
str_ans=str(ans)
anslen=len(str_ans)
ansstr=str_ans[0:anslen-2]
print(int(ansstr))

Submission status: Runtime Error

Solution code:


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

Submission status: Runtime Error

Solution code:
#include <bits/stdc++.h>
using namespace std;
using LL = int64_t;
using ULL = int64_t;
const LL LLHUGE = numeric_limits<LL>::max() / 5; // for int64_t: 1.8 * 10^18
using P = pair<LL, LL>;
#define rep(i, n) for (LL i = 0; i < (n); ++i)
#define all(v) (v).begin(), (v).end()
//#define DEBUG

template <typename V>
void print_all(const V& v) {
  for (const auto e: v) {
    cout << e << "\t";
  }
  cout << endl;
}

int main() {
  ULL A;
  string bstr;
  cin >> A >> bstr;
  //ULL b100 = B * 100ull;
  
  string bstrint = "";
  for (auto e: bstr) {
    if (e != '.') {
      bstrint += e;
    }
  }
  ULL b100 = (ULL)stol(bstrint);

  cout << (A * b100) / 100ull << endl;
  

  #ifdef DEBUG
  cout << A << endl;
  cout << bstr << endl;
  cout << bstrint << endl;
  // cout << 123 << endl;
  #endif
}

Submission status: Runtime Error

Solution code:
a,b=map(float, input().split())
t_i =int(a * b * 100)
t_s = str(t_i)
c= int((t_i-int(t_s[-1])-10*int(t_s[-2]))/100)
print(c)

Submission status: Runtime Error

Solution code:
#include<bits/stdc++.h>
#define ll long long int
#define pb push_back
#define pp pop_back
#define rt return
#define cinarr(n,arr) for(int i=0;i<n;i++)cin>>arr[i]
#define putarr(n,k,arr) for(int i=0;i<n;i++)arr[i]=k
#define MOD 1000000007
using namespace std;



// Multiplies str1 and str2, and prints result.
string multiply(string num1, string num2)
{
    int len1 = num1.size();
    int len2 = num2.size();
    if (len1 == 0 || len2 == 0)
    return "0";

    // will keep the result number in vector
    // in reverse order
    vector<int> result(len1 + len2, 0);

    // Below two indexes are used to find positions
    // in result.
    int i_n1 = 0;
    int i_n2 = 0;

    // Go from right to left in num1
    for (int i=len1-1; i>=0; i--)
    {
        int carry = 0;
        int n1 = num1[i] - '0';

        // To shift position to left after every
        // multiplication of a digit in num2
        i_n2 = 0;

        // Go from right to left in num2
        for (int j=len2-1; j>=0; j--)
        {
            // Take current digit of second number
            int n2 = num2[j] - '0';

            // Multiply with current digit of first number
            // and add result to previously stored result
            // at current position.
            int sum = n1*n2 + result[i_n1 + i_n2] + carry;

            // Carry for next iteration
            carry = sum/10;

            // Store result
            result[i_n1 + i_n2] = sum % 10;

            i_n2++;
        }

        // store carry in next cell
        if (carry > 0)
            result[i_n1 + i_n2] += carry;

        // To shift position to left after every
        // multiplication of a digit in num1.
        i_n1++;
    }

    // ignore '0's from the right
    int i = result.size() - 1;
    while (i>=0 && result[i] == 0)
    i--;

    // If all were '0's - means either both or
    // one of num1 or num2 were '0'
    if (i == -1)
    return "0";

    // generate the result string
    string s = "";

    while (i >= 0)
        s += to_string(result[i--]);

    return s;
}
// Function for finding sum of larger numbers 
string findSum(string str1, string str2) 
{ 
    // Before proceeding further, make sure length 
    // of str2 is larger. 
    if (str1.length() > str2.length()) 
        swap(str1, str2); 
  
    // Take an empty string for storing result 
    string str = ""; 
  
    // Calculate length of both string 
    int n1 = str1.length(), n2 = str2.length(); 
  
    // Reverse both of strings 
    reverse(str1.begin(), str1.end()); 
    reverse(str2.begin(), str2.end()); 
  
    int carry = 0; 
    for (int i=0; i<n1; i++) 
    { 
        // Do school mathematics, compute sum of 
        // current digits and carry 
        int sum = ((str1[i]-'0')+(str2[i]-'0')+carry); 
        str.push_back(sum%10 + '0'); 
  
        // Calculate carry for next step 
        carry = sum/10; 
    } 
  
    // Add remaining digits of larger number 
    for (int i=n1; i<n2; i++) 
    { 
        int sum = ((str2[i]-'0')+carry); 
        str.push_back(sum%10 + '0'); 
        carry = sum/10; 
    } 
  
    // Add remaining carry 
    if (carry) 
        str.push_back(carry+'0'); 
  
    // reverse resultant string 
    reverse(str.begin(), str.end()); 
  
    return str; 
} 




int main()
{
 string a,b;
 cin>>a>>b;
 string m1="",m2="";
 int i=0;
 while(b[i]!='.')
 {
     m1+=b[i];
     i++;
     
 }
 i++;
 while(i!=b.size())
 {
     m2+=b[i];
     i++;
     
 }
 string add1=multiply(a,m1);
 string add2=multiply(a,m2);
 string ch="";
 for(int i=0;i<add2.length()-2;i++)
 ch+=add2[i];
 string ans=findSum(add1,ch);
 cout<<ans;
 rt 0;
}/* End of main */

Submission status: Runtime Error

Solution code:
import math

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

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

Submission status: Runtime Error

Solution code:
#include <iostream>
using namespace std;
long double a,b;
int main()
{
    cin>>a>>b;
    long double c=a*b;
    cout<<(int)c;
    return 0;
}

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#include <iostream>
#include <vector>
#include <algorithm>
#include <numeric>
#include <map>
#include <set>
#define INF (1e9 + 7)
#define distance(x1, y1, x2, y2) sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2));
#define rep(i, N) for(ll i = 0; i < N; i++)
#define rep2(i, j, k) for(ll i = j; i < k; i++)
typedef long long ll;
using namespace std;
using vl = vector<ll>;
using vvl = vector<vector<ll>>;
using vi = vector<int>;
using vvi = vector<vector<int>>;
using vs = vector<string>;
using vvs = vector<vector<string>>;
int main(){
    
    ll A;
    double B;
    cin >> A >> B;
    ll ans = A * B;
    cout << ans << endl;

    return 0;
}

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

Submission status: Runtime Error

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

x = a*b

print(math.floor(x))

Submission status: Runtime Error

Solution code:
num1 = int(input())
num2 = float(input())
mul = num1 * num2
print(int(mul))

Submission status: Runtime Error

Solution code:
import math

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

Submission status: Runtime Error

Solution code:
i = int(input())
k = float(input())

ans = i*k
j = i*k
j*=10
j%=10
ans-=j/10
print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import numpy as np

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

print(np.floor(a * b))

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 (long(math.floor(a*b)))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
x = int(input())
y = int(input())
print({.0f}.format(x*y))

Submission status: Runtime Error

Solution code:
n = input()
p = input()

print(int(n*p))

Submission status: Runtime Error

Solution code:
import math
print(math.floor(int(input())*int(input())))

Submission status: Runtime Error

Solution code:
i = int(input())
k = int(input())

ans = i*k
j = i*k
j*=10
j%=10
ans-=j/10
print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

#a=[float(n) for n in a]

print(float(int(a[0])*int(a[1])))

Submission status: Runtime Error

Solution code:
import numpy
A,B=list(map(float,input().split(' ')))
B2=int(B*100)
A=int(A)
if 100>A*B2:
    print(0)
if numpy.floor(A*B)==A*B:
    print(int(A*B))
else:
    print(int(str((''.join(list(str(A*B2))[:-2])))))

Submission status: Runtime Error

Solution code:
n = int(input())
a = np.array(list(map(int, input().split())))
a = np.prod(a)
print(a if a <= 10**18 else -1)

Submission status: Runtime Error

Solution code:
import math

input_line = input().split()

a = float(input_line[0])
b = float(input_line[1])

ans = a*b

ans = math.fsloor(ans)
print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b=map(float,input().split())
c=a*b
d=iuput(c)
e=d[:-3]
f=int(e)
print(f)

Submission status: Runtime Error

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

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

print(math.floor(r))

Submission status: Runtime Error

Solution code:
package main

import (
	"bufio"
	"fmt"
	"math"
	"os"
	"strconv"
)

const (
	initialBufSize = 10000
	maxBufSize = 1000000000000000000
)

var sc = bufio.NewScanner(os.Stdin)

func nextInt() int {
	sc.Scan()
	i, e := strconv.Atoi(sc.Text())
	if e != nil {
		panic(e)
	}
	return i
}

func nextFloat() float64 {
	sc.Scan()
	i, e := strconv.ParseFloat(sc.Text(), 64)
	if e != nil {
		panic(e)
	}
	return i
}


func main() {
	buf := make([]byte, initialBufSize)
	sc.Buffer(buf, maxBufSize)
	sc.Split(bufio.ScanWords)

	a, b := nextInt(), nextFloat()

	fmt.Println(int(float64(a)*b))
}

func isPrime(n int) bool {
	for i := 2.0; i <= math.Sqrt(float64(n)); i++ {
		if n%int(i) == 0 {
			return false
		}
	}
	return true
}


func slicePrint(s []int) {
	for i, v := range s {
		if i != 0 {
			fmt.Printf(" ")
		}
		fmt.Printf("%v", v)
	}
	fmt.Println("")
}

func abs(n int) int {
	if n < 0 {
		return -n
	}
	return n
}

Submission status: Runtime Error

Solution code:
import math
print(math.floor(int(input()*int(input()))))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A = int(input())
B = float(input())
C = float("{:.2f}".format(B))
print(A * 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:
a = int(input())
b = float(input())

print(math.floor(a * b))

Submission status: Runtime Error

Solution code:
from decimal import Decimal

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

ab = Decimal(a) * Decimal(b)
result = str(ab).split('.')

print(int(result[0]))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math
a,b=eval(input())
a=a*b;
print(math.trunc(a))

Submission status: Runtime Error

Solution code:
#include<bits/stdc++.h>
using namespace std;
int main() {
  long long a;
  long double b;
  cin >> a >> b;
  cout <<(long long)(a * b);
}

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math

a, b = map(float, raw_input(" ").split())

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

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])
tmp = str(a2*b2)
l = len(tmp)
ans = int(tmp[0:l-2])
print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
S = input().split()
x = int(S[0])
y = float(S[1]) * 100

print(((x*y)//100)

Submission status: Runtime Error

Solution code:
L = map(int, input().split())
prod = int(L[0]*L[1])
print(prod)

Submission status: Runtime Error

Solution code:
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll INF=1e18;
int main()
{
    cout<<setprecision(0);
    cout<<setiosflags(ios::fixed);
    ll x;
    double y;
    cin>>x>>y;
    cout<<floor(x*y)<<endl;
}

Submission status: Runtime Error

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

Submission status: Runtime Error

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

###
# main
if(__name__ == '__main__'):
    # input
    a_in, b_in = input().split(" ")
    a = float(a_in)
    b_int = int(b_in)
    b_float = float(b_in) - b_int

    ans = a*b_int + int(a*b_float)

    print(ans)

# else:
    # do nothing

Submission status: Runtime Error

Solution code:
A ,B= map(float,input().split())
A = int(A)
C = str(B)
if B == 10.0:
  D = 1000
elif B == 0.0:
  D = 0
else:
  D = int(C[-1]) + int(C[-2])*10 + int(C[-4])*100
ans = A*D
ans = ans//100
print(ans)

Submission status: Runtime Error

Solution code:
a,b = input().split()
n = b.find('.')
bi,bf = int(b),0
if n > 0:
  bi = int(b[:n])
  bf = int(b[n+1:])
print(int(int(a)*(bi*100+bf)/100))

Submission status: Runtime Error

Solution code:
lst = []
lst = [item for item in input().split()]
print(long(long(lst[0]) * float(lst[1])))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math

input_line = input().split

a = float(input_line[0])
b = float(input_line[1])

ans = a*b
ans = math.floor(ans)
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:
from math import trunc
A, B = input().split()

print(trunc(int(A), float(B)))

Submission status: Runtime Error

Solution code:
a,b = input().split()
c = a*b
s,sc =c.split('.')
print(s)

Submission status: Runtime Error

Solution code:
inputNum = int(input())
if inputNum in range(2, pow(10, 5)+1):
  input = input()
  inputArr = input.split()
  result = 1
  for n in range(inputNum):
    result = int(inputArr[n]) * result
  if result in range(0, pow(10, 18)+1):
    print(result)
  else:
    print(-1)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import sys
import math

num_list = input().split()
ans = int(num_list[0]) * float(num_list[1]) * 100
ans = str(int(ans))[:-2]
print(int(ans))

Submission status: Runtime Error

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

print((a*b)//100)

Submission status: Runtime Error

Solution code:
a = input().split()
c = float(a[0])*float([1])
print(int(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>
#define rep(i,a,b) for(int i=a;i<b;i++)
#define rrep(i,b,a) for(int i=b;i>=a;i--)
#define fori(a) for(auto i : a )
#define all(a) begin(a), end(a)
#define set(a,b) memset(a,b,sizeof(a))
#define sz(a) a.size()
#define pi 3.14159
#define ll long long
#define ull unsigned long long
#define pb push_back
#define PF push_front //deque
#define mp make_pair
#define pq priority_queue
#define mod 1000000007
#define f first
#define s second
#define pii pair< int, int >
#define vi vector<int>
#define vpii vector<pii>
#define debug(v) for(auto i:v) cout<<i<<" ";
#define tc int t; cin >> t; while(t--)

using namespace std;
string repeat(string s, int n) {
    string s1 = "";
    for (int i=0; i<n;i++)
        s1+=s;
    return s1;
}
string getString(char x) {
    string s(1, x);
    return s;
}

void optimizeIO(){
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    cout.tie(NULL);
}
int gcd(int a, int b){
    if (a == 0)  return b;
    return gcd(b % a, a);
}

void solve(){
  ull a;
  float b;
  cin>>a>>b;
  b=(b*100.0);
  ull z=(ull) b;
  z=(z*a)/100;
  cout<<z<<endl;
}
int main(){
    optimizeIO();
    // tc
    {
      solve();
    }
}

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:
1 0.01

Submission status: Runtime Error

Solution code:
a,b=map(int,inpup().split())
c=a*b
d=iuput(c)
e=d[:-3]
f=int(e)
print(f)

Submission status: Runtime Error

Solution code:
import math ,numpy
a,b = map(numpy.double, input().split())
if(b==0.00 or a == 0):
    print(0)
else:
    print("%d"% int(a*b))

Submission status: Runtime Error

Solution code:
import math
from decimal import Decimal


A, B = map(float, input().split())
answer = A * Decimal(B)

print(math.floor(answer))

Submission status: Runtime Error

Solution code:
import math

input_line = input().split


a = float(input_line[0])
b = float(input_line[1])

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

Submission status: Runtime Error

Solution code:
#include <cstdio>
#include <cstring>
#include <cmath>
#include <utility>
#include <iostream>
#include <functional>
#include <bitset>
#include <algorithm>
#include <vector>
#include <forward_list>
#include <set>
#include <map>
#include <queue>
#include <deque>
#include <stack>
#include <tuple>
#include <numeric>
#define rep(i, s, g) for ((i) = (s); (i) < (g); ++(i))
using namespace std;
using ll = long long;
using P = pair<ll, ll>;
const ll MOD = 1e9 + 7;
const ll INF = (1ll << 60);

int main(void)
{
    ll a;
    double b;
    cin >> a >> b;
    ll y = ceil(b * 100.0);

    ll ans = a * y;

    ans /= 100;

    cout << ans << endl;
}

Submission status: Runtime Error

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

using namespace std;

unsigned long long int res=1;

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
x=int(input())
y=float(input())
print(int (x*y))

Submission status: Runtime Error

Solution code:
def main():
	import sys
	input = sys.stdin.readline
	k = int(input())
	h = tuple(map(int,input().split()))
	ans = 1
	for i in range(k):
		ans *= h[i]
	if ans <= 10 **18:
		print(ans)
	else:
		print(-1)
	


if __name__ == '__main__':
	main()

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
//#pragma GCC optimize "trapv"
#include <bits/stdc++.h>
using namespace std;
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
#define rand rng
#define fios ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define DEBUG(x) cout << '>' << #x << ':' << x << endl;
#define M_PI 3.14159265358979323846
typedef long long ll;



int main() {
	//fios;
	ll a;
	double b;
	cin >> a >> b;
	ll ans = trunc(a*b);

	cout << ans << endl;
}

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b = input().split()
c = a*b
print('{:1g}'.format(c))

Submission status: Runtime Error

Solution code:
N = int(input())
nums = list(map(int, input().split()))
 
ans = 1
for num in nums:
    ans *= num
    
if ans <= (10**18):
    print(ans)
else:
    print(-1)

Submission status: Runtime Error

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

import math

C = math.log10(A) + math.log10(B)
D = 10**C

print(int(D))

Submission status: Runtime Error

Solution code:
import  math

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

Submission status: Runtime Error

Solution code:
a,b = input().split()
c = a*b
print('{:g}'.format(c))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import sys
N = int(input())
nums = list(map(int, input().split()))

count = 0
ans = 1
while True:
    ans *= nums[count]
    count+=1
    if N == count:
        if ans > (10**18):
            print(-1)
        else:
            print(ans)
        sys.exit()

Submission status: Runtime Error

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

using namespace std;

long long int res=1;

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#include <stdio.h>

int main(int argc, char const *argv[])
{
    int a;
    float b;
    scanf("%d %f",&a,&b);
    printf("%d", (int)(a*b));
    return 0;
}

Submission status: Runtime Error

Solution code:
#include<bits/stdc++.h>
using namespace std;
int main()
{
    long long int a;
    cin>>a;
    string str;
    cin>>str;
    long long int ans=0;
    ans+=a*(str[0]-'0');
    ans+=a*(str[2]-'0')/10;
    ans+=a*(str[3]-'0')/100;
    cout<<ans<<endl;
    return 0;
}

Submission status: Runtime Error

Solution code:
import math
A,B = map(int,input().split())
print(math.ceil(A*B+0.000000001)-1)

Submission status: Runtime Error

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

i = list(map(double, input().split()))
ans = int(np.prod(i))
print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b = input().split()
c = a*b
print('{:,}'.format(c))

Submission status: Runtime Error

Solution code:
s=input().replace(" ","*").replace(".","")
t=eval(s)
t=int(t//100)
print(t)

Submission status: Runtime Error

Solution code:
import  math

a,b=map(input().split())
a=int(a)
A = math.floor(a*b)
print(A)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b = double(input())
print(math.floor(a * b))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
from decimal import Decimal
n,k = input().split()
n =int(n)
k =Decimal(k)
a = math.floor(n*k)
print(a)

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
n, m= input().split()
import math
print(math.floor(n *m))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

fl = A*B
st = str(fl)
ans ,tr = st.split(".")

print(ans)

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
import  math

a,b=map(int,input().split())
A = math.floor(a*b)
print(A)

Submission status: Runtime Error

Solution code:
A,B=input().split()
A_=[A[:-2],A[-2:]]

if A_[0]=='':
    A_[0]='0'
    
A_[0]=int(A_[0])*100
A_[1]=int( A_[1])

A,B=input_[0].split()

B=float(B)
print(int(A_[0]*B + A_[1]*B))

Submission status: Runtime Error

Solution code:
A,B = input().split()
A = int(A)
C1 = A*int(B[0])
C2 = A*int(B[2])*0.1
C3 = A*int(B[3])*0.01
Ans = C1+C2+C3
#print(C1)
#print(C2)
#print(C3)
Ans = math.floor(Ans)
print(Ans)

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 sys
import math

readline = sys.stdin.readline
readall = sys.stdin.read
ns = lambda: readline().rstrip()
ni = lambda: int(readline().rstrip())
nm = lambda: map(int, readline().split())
nl = lambda: list(map(int, readline().split()))
prl = lambda x: print(*x ,sep='\n')

a,b = input().split(' ')
a = int(a)
b = float(b)
t = str(b).replace('.','')
res = 0
for i in range(3):
    res += int(str(t)[i]) * a // (10 ** i)
print(int(res))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n=int(input())
ans=1
li = input().split()
zero=False
for i in li:
  ans*=int(i)
  if ans==0:
    zero=True
  if ans>1000000000000000000:
    ans=-1

if ans<0:
  ans=-1
if zero:
  ans=0
print(ans)

Submission status: Runtime Error

Solution code:
import math

num = raw_input()
num = num.split()

a1 = (int)(num[0])
b1 = (float)(num[1])

ans = a1*b1
ans = math.floor(ans)
ans = (int)(ans)

print ans

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
import java.util.Scanner;
import java.lang.Math;

public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner();
        int A = Intger.parseInt(sc.next());
        double B = Double.parseDouble(sc.next());
        System.out.println(Math.floor(A*B));
    }
}

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n = int(input())

aList = list(map(int, input().split()))

result = 0

for i in range(n):
  if i == 0:
    result = aList[i]
    continue
  result = result * aList[i]

enemy = 10 ** 18

if result < enemy:
  print(result)
else:
  print("-1")

Submission status: Runtime Error

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

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 sys
#import numpy as np
import math
#from fractions import Fraction
#import itertools
#from collections import deque
#import heapq
#from fractions  import gcd
input=sys.stdin.readline
a,b=input().split()
a=int(a)
b=float(b)
b=int(b*100)
ans=str(a*b)
n=len(ans)
print(int(ans[:n-2]))

Submission status: Runtime Error

Solution code:
#include<bits/stdc++.h>
#include<iostream>
#include<cstdio>
#include<cstring>
#include<algorithm>
#include<cmath>
#define ll long long
#define PB push_back
#define POP pop_back()
#define PII pair<int,int>
#define FI first
#define SE second
#define ULL unsigned long long
#define endl '\n'
using namespace std;
const int INF=0x3f3f3f3f;
const double pi=acos(-1),eps=1e-8;

int main()
{

	long double a,b;
	cin>>a>>b;
	ll ans=a*b;
	cout<<ans;
 	return 0;
}

Submission status: Runtime Error

Solution code:
# your code goes here
temp = raw_input().split()
ans = 1
for i in temp:
	ans = ans*float(i)
print(int(ans))

Submission status: Runtime Error

Solution code:
import sys
import math

readline = sys.stdin.readline
readall = sys.stdin.read
ns = lambda: readline().rstrip()
ni = lambda: int(readline().rstrip())
nm = lambda: map(int, readline().split())
nl = lambda: list(map(int, readline().split()))
prl = lambda x: print(*x ,sep='\n')

a,b = input().split(' ')
a = int(a)
b = float(b)
t = int(b * 100)
res = 0
for i in range(3):
    res += int(str(t)[i]) * a // (10 ** i)
print(int(res))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
from decimal import Decimal

n,k = input().split()
n =int(n)
k =Decimal(k)


a = math.floor(n*k)
print(a)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a, b = input().split()
a = int(a)
b_i = int(b[:-3])
b_f = int(b[-2:])
if b_f == 0:
  print(a*b_i)
  exit()
b_m = a*b_f
print(a*b_i + int(str(b_m)[:-2]))