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:
inp = input()
inp = input()
 
def mp(nums):
  n = 1
  for num in nums:
    n *=num
  return n
 
limit= 10 ** 18
num = mp([int(x) for x in inp.split(" ")])
 
if num > limit:
  print(-1)
else:
  print(num)

Submission status: Runtime Error

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

print(int(a*c))

Submission status: Runtime Error

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

print(int(a*b))

Submission status: Runtime Error

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

print(int(a*b))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

b = int(b)*100

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

Submission status: Runtime Error

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

b = int(b*100)

print((a*b)//100)

Submission status: Runtime Error

Solution code:
import math
 
def main ():
  a,b = list(input().split())
  c = int(a)
  d = float(b)
  e = d * 100
  c *= e
  c /= 100
  c = math.floor(c)
  print(ac)
 
main()

Submission status: Runtime Error

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

a=[float(p) for p in a]

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

Submission status: Runtime Error

Solution code:
import math

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

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

main()

Submission status: Runtime Error

Solution code:
#C
A,B = map(int,input().split())
C = str(A*B)
print(C.split('.')[0])

Submission status: Runtime Error

Solution code:

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

res = (A*B)//100
print(res)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
def main():
  A,B = input.split()
  A = int(A)
  B = round(float(B)*100)

  res = (A*B)//100
  print(res)
  return
 
main()

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

main()

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
def main():
  
    a, b = map(str, input().split())
    res = int(a) * ((int(b)+0.001) * 100) // 100
    print(int(res))
 
if __name__ == '__main__':
    main()

Submission status: Runtime Error

Solution code:
def main():
  
    a, b = map(int, input().split())
    res = a * ((b+0.001) * 100) // 100
    print(int(res))
 
if __name__ == '__main__':
    main()

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math 
from decimal import Decimal
a,bmap(Decima,input().split())
c=a*b
print(math.floor(c))

Submission status: Runtime Error

Solution code:
import match
from  decimal import Decimal
a,b=map(map(Decimal,input().split()));
c=a*b
print(math.floor(c))

Submission status: Runtime Error

Solution code:
n, m =map(double,input().split()) 

M = 10000*m
a = n * M
ans = float(a / 10000)
print(round(ans))

Submission status: Runtime Error

Solution code:
n, m =map(double,input().split()) 

M = 10000*m
a = n * M
ans = float(a / 10000)
print(int(ans))

Submission status: Runtime Error

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

print(a // b)

Submission status: Runtime Error

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

print(a//b)

Submission status: Runtime Error

Solution code:
from math import floor
import decimal
a,b = map(Decimal,input().split())
r = floor(a * b)
print(r)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math
from decimal import Decimal
a, b = input().split()
//a = decimal.Decimal(a)
//b = decimal.Decimal(b)
print(math.floor(Decimal(a) * Decimal(b)))

Submission status: Runtime Error

Solution code:
def main():
  l = input().split()
  A, B = int(l[0]), int(l[1])
  print(int((A*(B*100))/100))

main()

Submission status: Runtime Error

Solution code:
def main():
  l = input().split()
  A, B = int(l[0]), int(l[1])
  print(int(A*(B*100)/100))

main()

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
from math import floor
n = int(input())
m = float(input())
res = n * m
print(floor(res))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
using namespace std;
 
int main() {
    long double a,b;
    cin >> a >> b;
    long double res = a*b;
    cout << ceil(res) << endl;
    return 0;
}

Submission status: Runtime Error

Solution code:
#include <iostream>

using namespace std;

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

Submission status: Runtime Error

Solution code:
x0, x1 = list(map(flaot, input().split()))
print(int(x0*x1))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a, b = map(float,input().split())
b*=100
n=str(a*b)
ans=""
for i in n/100:
  if i == ".":
    break
  else:
    ans+=i
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:
a, b = map(int,input().split())
n=str(a*b)
ans=""
for i in n:
  if i == ".":
    break
  else:
    ans+=i
print(ans)

Submission status: Runtime Error

Solution code:

n = input().split()

ans = int(n[0])*int(n[1])

print(math.floor(ans))

Submission status: Runtime Error

Solution code:
import math

def main()
    a,b = map(float,  input().split())
    sum = a * b
    print(int(math.floor(sum)))

main()

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
fn main(){
    let raw = input();
    let x: Vec<&str> = raw.split(' ').collect();
    
    let a: f64 = x[0].parse::<f64>().unwrap();
    let b: f64 = x[1].parse::<f64>().unwrap() * 100.0;
    
    println!("{}", (a * b / 100.0) as i32);
}

fn input() -> String{
    let mut buf = String::new();
    std::io::stdin().read_line(&mut buf).unwrap();
    buf.trim_end().to_string()
}

Submission status: Runtime Error

Solution code:
fn main(){
    let raw = input();
    let x: Vec<&str> = raw.split(' ').collect();
    
    println!("{:?}", x);
    
    let a: f64 = x[0].parse::<f64>().unwrap();
    let b: f64 = x[1].parse::<f64>().unwrap() * 100.0;
    
    println!("{}", (a * b / 100.0) as i32);
}

fn input() -> String{
    let mut buf = String::new();
    std::io::stdin().read_line(&mut buf).unwrap();
    buf.trim_end().to_string()
}

Submission status: Runtime Error

Solution code:
a, b = map(int, input().split())
number = str(a * b)
index = number.find('.')
number = number[:index]
print(number)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import Decimal from decimal as de

a, b = input().split()
a = int(a)
b = de(float(b))
print(int(a*b))

Submission status: Runtime Error

Solution code:
decimal.Decimal

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import decimal

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#include <iostream>
using namespace std;

int main(){
	int x;
    double y,i;
    cin >> x >> y;
    i = x*(y*100);
    cout << i/100;
    
}

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import sys
 
a,b = map(int,sys.stdin.readline().split(" "))
print(a*b)

Submission status: Runtime Error

Solution code:
import math 
import sys 


a,b = input().split(" ")

print(a*b)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:

def main():
	a = float(input())
	b = float(input())
	
	print(int(a*b))

main()

Submission status: Runtime Error

Solution code:

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

print(int(a*b))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
inp = input().split()
a = int(inp[0])
b = inp[1]
b100 = int(b*100)

print(int(a*b100/100))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
from sys import stdin
import math

a, b = stdin.readline().rstrip().split()

_b = math.round(float(b)*100) #100倍
c = int(int(a)*_b)
print(c/100)

Submission status: Runtime Error

Solution code:
inputs= list(input().split())
A=int(inputs[0])
B=int(float(inputs[1]+0.5)*100)
Ans=A*B/100//1
print(int(Ans))

Submission status: Runtime Error

Solution code:
inputs= list(input().split())
A=int(inputs[0])
B=int(inputs[1]+0.5)*100
Ans=A*B/100
print(Ans)

Submission status: Runtime Error

Solution code:
inputs= list(input().split())
A=int(inputs[0])
B=int(float(inputs[1]+0.5)*100)
Ans=A*B/100
print(Ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

A = int(C[0])
B = int(C[1]*100)



E = A*B

F = E/100

print(F)

Submission status: Runtime Error

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

A = int(C[0])
B = int(C[1]*100)



E = A*D

F = E/100

print(F)

Submission status: Runtime Error

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

using namespace std;

#define REP(i,n)	for(int i=0, i##_len=(n); i<i##_len; ++i)
#define REPS(i,s,n)	for(int i=(s), i##_len=(n); i<i##_len; ++i)

#define ALL(obj)	(obj).begin(),(obj).end()
#define sz(x) (int)(x).size()
#define v(T) vector<T>
#define VEC vector

typedef unsigned int 			uint;
typedef unsigned long long int	ull;
typedef long long int 			ll;

typedef pair<int,int>			P;
typedef vector<int>				Vint;
typedef vector<Vint>			VV;

template<typename T>string join(const v(T)&v)
{stringstream s;REP(i,sz(v))s<<' '<<v[i];return s.str().substr(1);}
template<typename T>inline ostream& operator<<(ostream&o,const v(T)&v)
{if(sz(v))o<<join(v);return o;}

#undef _P
#define _P(...) (void)printf(__VA_ARGS__)
#define MAX 		100010


const ll LINF = (ll)9e18+7;		//
const int INF = 100100100;			//2,147,483,647 (Max int)
const ll MOD = 1e9+7;
// テンプレ終了
//====================================================================//

// int DP[MAX];



int main(){
	ll A;
	double B;
	cin >> A>>B;
	B *= 100;
	B = (ll)B;

	ll ans = (ll)A*B/100;

	printf("%lld\n",ans);
	
	return 0;
}

Submission status: Runtime Error

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

A = int(A)
B100 = int(B.replace('.', ''))

ans = A * B * 0.01

print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math

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

ans = a*b

print(math.trunc(ans))

Submission status: Runtime Error

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

using namespace std;

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

  cout << ans << endl;
  return 0;
}

Submission status: Runtime Error

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

A = int(A)
B = float(B)
B = (B*100).round()

print((A*B)//100)

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import sys 
input =sys.stdin.readline 
from deciaml import Decimal 

def main():
	a,b= list(map(Decimal,input().strip().split()))
	print(int(a*b))

main()

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(int,input().split())
print((a*(100*b))//100)

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-
a, b = input().split()
b_arr = b.split('.')
print(int(a)*(int(b_arr[0])+*int(b_arr[1])//100))

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-
import math
a_n = map(int, input().split())
res = 1 * a for a in a_n
for a in a_n:
  res  *= a

res = -1 if math.log10(res) > 18 else res
print(res)

Submission status: Runtime Error

Solution code:
import math


def solve():
    A, B = input().split()
    A = int(A)
    B = math.floor(B*100)
    print(A*B//100)


if __name__ == '__main__':
    solve()

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = input().split()
for i in range(2):
    a[i] = int(a[i]) if i == 0 else float(a[i]*100)
print(int(a[0] * a[1] / 100))

Submission status: Runtime Error

Solution code:
#A, B = map(float, input().split())
a = input().split()
for i in range(2):
    a[i] = int(a[i]) if i == 0 else float(a[i]*100)
print(int(a[0] * a[1] / 100))
#print(type(a[0]))
#print(type(a[1]))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math as m

def Div():
    N = int(input())
    c = 0
    k = N//2 + 1
    for i in range(2,k):
        if(prime(i)):
            for j in range(1,int(m.sqrt(N))+1):
                p = i ** j
                if(p>N):
                    break
                if(N%p==0):
                    N = N //p
                    c = c + 1
    
    return c

print(Div())

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import decimal from decimal
import math

A, B = input().split()

B = decimal(B)
A = int(A)
product = A*B

print(math.floor(product))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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=list(map(int,input().split()))
B*=100
A=A*B
print(A//100)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

a = int(a)
b = int(b.replcae('.', ''))

print((a * b) // 100)

Submission status: Runtime Error

Solution code:
    def main():
        a,b = map(float,input().split())
        x = a*b
        y = x%1
        z = int(x-y)
        if x-y-z > z+1-(x-y):
            print(z+1)
            return
        else:
            print(z)
            return
    main()

Submission status: Runtime Error

Solution code:
def main():
    a,b = map(float,input().split()
    c = 100 * b
    x = a*c
    y = x%100
    z = int(x-y)
    p = z / 100
    print(int(p))
main()

Submission status: Runtime Error

Solution code:
from math import floor as f
a = input().split()
print(f(int(a[0]) * (int(float(a[1] * 100))) / 100))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:

a, b = list(input().split())

a = int(a)
b = b.replace(".","")
b= int(b)
print(int(a*b/100)

Submission status: Runtime Error

Solution code:
def main():	
	n = int(input())
	res = 1
	q = list(map(int, input().split()))
	if 0 in q:
		print(0)
		return
	for i in q:
		res *= i
		if res > 1000000000000000000 :
			print(-1)
			return
	print(res)

main()

Submission status: Runtime Error

Solution code:
def main():	
	n = int(input())
	res = 1
	q = list(map(int, input().split(' ')))
	for i in q:
		if(i == 0):
			print(0)
			return
	for i in q:
		res *= i
		if(res > 1000000000000000000):
			print(-1)
			return
	print(res)

main()

Submission status: Runtime Error

Solution code:
n = int(input())
res = 1
q = list(map(int, input().split(' ')))
for i in q:
	if(i == 0):
		print(0)
		exit()
for i in q:
	res *= i
	if(res > 1000000000000000000):
		print(-1)
		exit()
print(res)

Submission status: Runtime Error

Solution code:
n = int(input())
res = 1
q = list(map(int, input().split()))
for i in q:
	if(i == 0):
		print(0)
		exit()
for i in q:
	res *= i
	if(res > 1000000000000000000):
		print(-1)
		exit()
print(res)

Submission status: Runtime Error

Solution code:
def multi3():
    nums = list(map(float,input().split()))
    return m.floor(nums[0] * nums[1])


if __name__ == "__main__":
    print(multi3())

Submission status: Runtime Error

Solution code:
import numpy as np
import sys
#import copy


def xnxn(n=0):
    """
    args:
        int n: a number of lows to read
    example:
        input   1
        retrun  1

        input   1 2 3
        return  [1,2,3]
        input   1 2 3
                4 
        return  [[1,2,3],
                [4]]
    """
    if n == 0:
        temp = list(map(int, input().split()))
        if len(temp) == 1:
            return temp[0]
        elif len(temp) > 1:
            return temp
    else:
        temp = [list(map(int, input().split())) for _ in range(n)]
        return temp


def sp_xnxn(n=0):
    """
    args:
        int n: a number of lows to read
    example
        input   1
        retrun  [1]

        input   123
        return  [1,2,3]

        input   123
                4 
        return  [[1,2,3],
                [4]]
    """
    if n == 0:
        return [int(k) for k in xsxs()]
    else:
        return [[int(k) for k in xsxs()] for _ in range(n)]


def xsxs(n=0):
    """
    args:
        int n: a number of lows to read 
    example:
        input   AA
        retrun  AA

        input   A BBB CC
        return  ["A","BBB","CC"]

        input   A BB CCC
                D
        return  [["A","BBB","CC"],
                ["D"]]
    """
    if n == 0:
        temp = list(input().split())
        if len(temp) == 1:
            return temp[0]
        elif len(temp) > 1:
            return temp
    else:
        return [list(input().split()) for _ in range(n)]


def sp_xsxs(n=0):
    """
    args:
        int n: a number of lows to read 
        example:
            input   A
            retrun  ["A"]

            input   ABC
            return  ["A","B","C"]

            input   ABC
                    D
            return  [["A","B","C"],
                    ["D"]]
    """
    if n == 0:
        return [s for s in xsxs()]
    else:
        return [[s for s in xsxs()] for _ in range(n)]


a, b = xnxn()

print(int(a*b))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import Math
A = int(input()) 
B = float(input())
print(Math.floor(A*(B*100)/100))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
x, y = input().split()
 
x = int(x)
y = float(y)
 
print(int(x * y, '10'))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
x, y = input().split()

x = int(x)
y = float(y)

print(int(x * y, 10))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
from floor import math

a, b = input().split()
a = int(a)
b = round(float(b) * 100)
print(a * b // 100)

Submission status: Runtime Error

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

using namespace std ;

typedef long long int ll ; 
#define fast ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
typedef pair<ll,ll> Pll ;
typedef vector<vector<Pll> > VVP ;
typedef vector<vector<ll> > VV ;
typedef vector<ll> V ;
 const ll MOD = (pow(10,9)+7) ;

ll lcm(ll a,ll b){
  return (a*b)/__gcd(a,b) ;
}
void vec_p(vector<ll> &a){
 for(ll i=0;i<a.size();i++){
   cout << a[i] <<" " ;
 }
 cout << "\n" ;
} 
void Graph_p(VV &G){
  for(ll i=0;i<G.size();i++){
    cout << i <<"--> " ;
    for(ll j=0;j<G[i].size();j++){
      cout << G[i][j] <<" " ;
    }
    cout << "\n" ;
  }
}

void sorting(vector<ll>&a){
    sort(a.begin(),a.end(),greater<ll> ()) ;
}
void vec_in(vector<ll>&a,ll n){
  for(ll i=0;i<n;i++){
    ll x ;
    cin >> x ;
    a.push_back(x) ;
  }
}
ll binpow(ll a,ll b){
    ll res = 1;
    while (b > 0){
        if (b & 1)
            res = res * a;
        a = a * a;
        b >>= 1;
    }
    return res;
}
void Graph_in(vector<vector<ll> > &G,ll n){
  ll x, y ;
  for(ll i=0;i<n;i++){

    cin >> x >> y ;
    G[x].push_back(y);
    G[y].push_back(x) ;
  }
} 

// void dfs(VV &G,ll root,vector<ll> &visit,vector<ll> &col,ll &cc){
//   visit[root] = 1 ;
//   col[root] = cc ;
//   for(ll i=0;i<G[root].size();i++){
//     ll child = G[root][i] ;
//     if(visit[child] == -1){
//       dfs(G,child,visit,col,cc) ;
//     }
//   }

// }

// ll Cycle_detector(vector<vector<ll> > &G,vector<ll> &visit,ll root){
//    visit[root] = 1 ;
//    for(ll i=0;i<G[root].size();i++){
//      ll leaf = G[root][i] ;
//      if(visit[leaf] ==1){
//        return -1 ;
//      }
//      else{
//        ll ans = dfs(G,visit,leaf) ;
//        if(ans == -1 ){
//          return -1 ;
//        }
//        else{
//          continue ;
//        }
//      }
//    }
//    return 1 ;
// }

ll ht(pair<ll,ll> a,ll x){
  ll e = a.second ;
  ll f = x- a.first ;

  return sqrt(pow(e,2) - pow(f,2)) ;
}

void levelfind(ll &r,VV &G,ll &cl,V &level,V &visit){
  visit[r]= 1 ;
  level[r] = cl ;
  for(ll i=0;i<G[r].size();i++){
    if(visit[G[r][i]]== -1){
      ll x = cl + 1 ;
      levelfind(G[r][i],G,x,level,visit) ;
    }
  }
}
void dfs(ll &root,VV &G,V &visit,ll &od,ll &ed,V &init,V &fin,V &ans,V &level){
  visit[root] = 1 ;
  ll in ;
  if(level[root]%2 == 0){
    in = init[root] + ed ;
  }
  else{
    in = init[root] + od ;
  }
  // ll in = init[root] + od + ed ;
  if(in%2 != fin[root]){
    ans.push_back(root) ;
    init[root] = fin[root] ;
    if(level[root]%2==0){
      ed ++ ;
    }
    else{
      od ++ ;
    }
  }


  for(ll i=0;i<G[root].size();i++){
    if(visit[G[root][i]]==-1){
      ll o = od ;
      ll e = ed ;
      // cout << "leaf---" <<G[root][i] <<"  "<<"odd "<<o <<" even "<<e <<"\n" ;
      dfs(G[root][i],G,visit,o,e,init,fin,ans,level) ;
    }
  }
}



int main(){
  fast
  ll a ;
  cin >> a ;
  double b ;
  cin >> b ;

  double m = a*b ;
 // cout << m <<"\n" ;
  ll x = floor(m) ;
  cout << x <<"\n" ;
}

Submission status: Runtime Error

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

na = float(a)
nb = float(b)

m = na*nb 
ans = int(m)

print(ans)

Submission status: Runtime Error

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

print(int(a*b))

Submission status: Runtime Error

Solution code:
from decimal import Decimal
from math import floor

a_in, b_in= input().split()
a = int(a)
b = Decimal(b_in)

print(floor(a * b))

Submission status: Runtime Error

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