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:
import math
a, b = map(str, input().split())
ans = 0
ans += int(a) * int(b[0]) * 100
ans += int(a) * int(b[2]) * 10
ans += int(a) * int(b[3])
tmp = list(str(ans))
tmp.pop(-1)
tmp.pop(-1)
print(int("".join(tmp)))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A,B= input().split()
A = int(A)
B2 = int(B*1000)
#print(A*B*100000)
print(int(A*B2/1000))

Submission status: Runtime Error

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

b=int(a[0])*(int(a[1])*1000)

print(int(b/1000))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A,B= input().split()
A = int(A)
B2 = B*1000
#print(A*B*100000)
print(int(A*B2/1000))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A,B= map(input().split())
A = int(A)
B2 = B*1000
#print(A*B*100000)
print(int(A*B2/1000))

Submission status: Runtime Error

Solution code:
#!/usr/bin/env python
# coding: utf-8

import math

def ri():
    return int(input())

def rl():
    return list(input().split())

def rli():
    return list(map(int, input().split()))

def main():
    a, b = ri()
    a = float(a)
    b = float(b)
    ab = a*b
    print(math.floor(ab))


if __name__ == '__main__':
    main()

Submission status: Runtime Error

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

print(A*B // 100)

Submission status: Runtime Error

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

a, b = input().split()

from decimal import Decimal
import math
print(math.floor(int(a)*Decimal(b))

Submission status: Runtime Error

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

print(a*b//100)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
As,Bs=input().split()
A=int(As)
B=float(Bs)
B100=int((Bs+0.001)*100)
print(A*B100//100)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
# coding: utf-8
import sys

kaisu = int(input())
num = list(map(int,input().split(' ')))
print(num)
val = 1
for i in range(0, kaisu):
    if(num[i] == 0):
        print('0')
        sys.exit()

for j in range(0, kaisu):
  	if(num[i]/10**18 < 1):
      val = val * num[j]
    else:
      print('-1')
      sys.exit()

print(val)

Submission status: Runtime Error

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

b=int(a[0])*int(a[1]*1000)

print(int(b/1000))

Submission status: Runtime Error

Solution code:
A, B = map(str, input().split())
 
B = str(int(float(B)*100) + 0.0001)
 
#print(B)
ans = []
p = [[]for k in range(len(B))]
for k in range(len(B)):
    for j in range(k):
        p[k].append(0)
for k in range(1, len(B)+1):
    a = 0
    for j in range(1, len(A)+1):
        if a > 9:
            a = int(str(a)[0]) + int(B[-k])*int(A[-j])
        else:
            a = int(B[-k])*int(A[-j])
        #print(a)
 
        p[k-1].append(int(str(a)[-1]))
        if j == len(A) and a >9:
            p[k-1].append(int(str(a)[0]))
 
for k in range(len(B)):
    for j in range(len(p[-1]) - len(p[k])):
        p[k].append(0)
 
#print(p)
a = 0
for k in range(len(p[0])): 
    if int(a) > 9: 
        a = int(str(a)[0])
    else:
        a =0
    for j in range(len(p)):
        a += p[j][k]
    ans.append(str(a)[-1])
 
#print(ans)
op = ""
for k in range(1, len(ans)-1):
    op += ans[-k]
if len(ans)<3:
    print("0")
else:
    print(op)

Submission status: Runtime Error

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

from decimal import Decimal

a, b = input().split()

print(int(decimal(a)*decimal(b)))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#include<bits/stdc++.h>
using namespace std; 
#define mod 1000000007
#define N 100005
#define ll long long
#define ull unsigned long long
#define loop1(i, j, k, step) for (int i=j; i<k; i+=step)
#define loop(i, j, k) for (int i=j; i<k; i++) 
#define rloop1(i, j, k, step) for (int i=j; i>=k; i-=step)
#define rloop(i, j, k) for(int i=j; i>=k; i--)
#define rep(i, k) for(int i = (0); i < (k); i++ )
#define rrep(i, k) for(int i = k-1; i >= 0; i-- )

#define forall(it, l) for(auto it=l.begin(); it != l.end(); it++)
#define mp make_pair
#define pb push_back
#define pop pop_back
#define F first
#define S second
#define sz(x) (int)(x).size()
#define endl "\n"
#define Max (int)INT_MAX
#define Min (int)INT_MIN
#define MEM(a, b) memset(a, (b), sizeof(a))
#define fast_io ios_base::sync_with_stdio(0), cin.tie(NULL)
typedef vector<int> vi;
typedef pair<int,int> pi;
typedef vector<ll> vl;
typedef pair<ll,ll> pll;


void solve()
{ 
	ll a,b;
	cin>>a;
	string s;
	cin>>s;
	b=(s[0]-'0')*100 + (s[2]-'0')*10 + (s[3]-'0')*1;
	cout<<a*b/100<<endl;
}
int  main() 
{
	fast_io;
    int t=1;
    //cin>>t;
    while(t--)
    	solve();
	return 0; 
}

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math
A, B = map(double, input().split())
B *= 1000
mul = A * B
mul2 = math.floor(mul//1000)
print(mul2)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
# 初期入力
from decimal import Decimal
import sys
input = sys.stdin.readline
A,B = (str(x) for x in input().split())
a =Decimal(A)
b =Decimal(B)
ans =int(A *B)
print(ans)

Submission status: Runtime Error

Solution code:
v\A,B  = input().split()
Flag = 1:

if A=='0' || B=='0':
    Flag = 0

if Flag 
    if B[0] == 0:
        BH =      B[2]+B[3]
    else:
        BH = B[0]+B[2]+B[3]

    ABH = str(int(A)*int(BH))
    print(int(ABH[:-2]))
else:
    print(0)

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,b = [int(x) for x in input().split()]
print(int(math.floor(a*b)))

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:
A,B=input().split()
A=int(A)
B=round(100*B)
print(A*B%100)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

if B == '0':
    Flag = 0

if Flag 
    if B[0] == 0:
        BH =      B[2]+B[3]
    else:
        BH = B[0]+B[2]+B[3]

    ABH = str(int(A)*int(BH))
    print(int(ABH[:-2]))
else:
    print(0)

Submission status: Runtime Error

Solution code:
#import math
#N=int(input())
A,B = map(float,input().split())
#N=int(input())
#A = list(map(int,input().split()))
#S=str(input())
A=int(A)
B=Decimal(B*100)
c=A*B
c=str(c//100)
print(c)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
from decimal import Decimal
a,b=map(str,input().split())
f1 = Decimal(a)
f2 = Decimal(b)
print(int(a*b))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import sys
sys.setrecursionlimit(10**8)
input = sys.stdin.readline

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

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

Submission status: Runtime Error

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

print(int(a*b))

Submission status: Runtime Error

Solution code:
import numpy as np 
A,B = map(float,input().split())
print(numpy.trunc(A*B))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
def main():
    s = sys.stdin.readline().rstrip().split()
    a = int(s[0])

    b = int(float(s[1])*100)

    ans=a*b//100
    l = []
    while ans!=0:
        p = ans%10
        ans //=10
        l.append(p)
        
    for i in l[::-1]:
        print(i,end="")
main()

Submission status: Runtime Error

Solution code:
from decimal import *
 
a = list(input().rstrip().split(" "))
 
A,B =Decimal(int(a[0])),float(a[1])
 
if A > 100:
    C = int(B*100)
    
    ans2 = (A-100)*C
    ans3 = int(ans2/100)
    ans = C + ans3
else:
    ans = int(A*B)
    
print(ans)

Submission status: Runtime Error

Solution code:
//Author: Fuadul Hasan(fuadul202@gmail.com)
//BSMRSTU,Gopalganj
#include<bits/stdc++.h>
using namespace std;int tc = 1;
#define happy ios::sync_with_stdio(false);
#define coding  cin.tie(0);
#define F first
#define S second
#define mp make_pair
#define ll long long
#define Pi atan(1)*4
#define pb  push_back
#define vpr vector<pr> 
#define pr pair<int, int> 
#define vi std::vector<int>
#define vll std::vector<ll>
#define YES printf("YES\n");
#define NO printf("NO\n");
#define Yes printf("Yes\n");
#define No printf("No\n");
#define all(n) n.begin(),n.end()
#define point(x) setprecision(x)
#define Test printf("Case %d: ",tc++);
#define Unique(c) (c).resize(unique(all(c))-(c).begin())
#define vout(v) for (auto z: v) cout << z << " "; cout << endl;

const int M = 1e9 + 7;
const ll  Inf = (ll)2e18 + 5;
const int N   = 2e5 + 5;
ll vis[N],res[N];

int solve() 
{
	//happy coding

	 ll n;cin>>n;
	 string s; cin>>s;
	 ll idx = find(all(s),'.') - s.begin();
	 ll a = stoi(s.substr(0,idx));
	 ll b = stoi(s.substr(idx+1));
	 ll mn = a*100+b;
	 cout<<(mn*n)/100<<endl;
	
	return 0;
}
int main(){
	int test = 1;
	//scanf("%d", &test);
	while (test--)solve();return 0;
}

Submission status: Runtime Error

Solution code:
from collections import defaultdict
from math import gcd
import time
import sys
from collections import Counter
import itertools
import math
from decimal import *
# read = sys.stdin.buffer.read
# readline = sys.stdin.buffer.readline
# readlines = sys.stdin.buffer.readlines
input = sys.stdin.readline

temp = input().split(" ")
a = int(temp[0])
b = math.floor(temp[1]*100)
ans = a*b/100
print(math.floor(ans))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
from decimal import Decimal

numbers = input().split()
a = float(numbers[0])
b = Decimal(numbers[1])

c = a * b

print(int(c))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
# import inbuilt standard input output  
from sys import stdin, stdout  
  
# suppose a function called main() and 
# all the operations are performed 
def main(): 
  
    # input via readline method
    n,b=raw_input().split()
    n, b = [int(n), float(b)]
    # array input similar method 
    c=n*b
    print(int(c))
  
# call the main method 
if __name__ == "__main__": 
    main()

Submission status: Runtime Error

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

if B[0] == 0:
    BH =      B[2]+B[3]
else:
    BH = B[0]+B[2]+B[3]

ABH = str(int(A)*int(BH))
print(int(ABH[:-2]))

Submission status: Runtime Error

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


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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import sys
input = sys.stdin.readline


def main():
    a, b = [float(i) * 100 for i in input().split()]
    print((a ** b) // 100)


if __name__ == '__main__':
    main()

Submission status: Runtime Error

Solution code:
import math

def RA():
    return list(map(int, input().split()))
  
n, m = RA()
print(math.floor(n * m))

Submission status: Runtime Error

Solution code:
#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int,int>;

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

Submission status: Runtime Error

Solution code:
from sys import stdin
import math
 
A, B = [x for x in input().split()]
A = int(A)
B = round(B*100)
 
print(A*B/100)

Submission status: Runtime Error

Solution code:
import math

a, b = [float(num) for num in input().split()]
r = floor(a * b)
print(r)

Submission status: Runtime Error

Solution code:
import sys
input = sys.stdin.readline


def main():
    a, b = [int(i * 100) for i in input().split()]
    print((a ** b) // 100)


if __name__ == '__main__':
    main()

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a, tmp = map(str, input().split())
b = list(tmp)
del b[1]
bb = "".join(b)
abb = int(a) * int(bb)
ans = list(str(abb))
del ans[-2:]
print(int("".join(ans)))

Submission status: Runtime Error

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

b = decimal(b)

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A,B=map(float,input(),split())
C=B*1000
print(A*C//1000)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math
hoge = list(input().split())
A = int(hoge[0])
B1 = int(hoge[1])
B2 = (float(hoge[1])-B1)*100
ans = A*B1 + A*B2//100
print(ans)

Submission status: Runtime Error

Solution code:
from decimal import Decimal
m,n = map(eval,input().split())
print(Decimal(m)*Decimal(b))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math
n, m = input().split()
x = decimal(n)
y = dicimal(m)
ans = math.floor(x*y)
print(ans)

Submission status: Runtime Error

Solution code:
import math
x,y = map(str,input().split())
y=int(float(y)*100)
a=int(x)*y

a=int(str(a)[:-2])
print(a)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math
x=input().split()
a=int(x[0])
b=int(float(x[1])*100)
c = int(a * b)
print(round(c/100.0,2)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
def resolve():
  S = input().split(" ")
  A = int(S[0])
  B = float(S[1])
  B = int(B * 100)
  if A == 0 or B == 0:
    print(0)
    return True
  AB = np.asarray([A, B], dtype = np.uint64)
  # print("{:17}".format(AB[0]*AB[1]).replace(" ", "").replace(".0", ""))
  # result = str(AB[0]*AB[1])
  print(A*B//100)

  # if len(result) > 2:
  #   print(result[:-2])
  # else:
  #   print(0)

if __name__ == "__main__":
  resolve()

Submission status: Runtime Error

Solution code:
#include<iostream>
#include<string>
#include<vector>
#include<cmath>
#include<algorithm>

using namespace std;

int main() {

	int32_t a;
	double b;
	cin >> a >> b;
	int32_t ans = b * a;
	cout << ans << endl;
}

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:

import math

A = list(map(double, input().split()))

A[1]=A[1]*100
answer=A[0]*A[1]
answer=answer//100
print(int(answer))

Submission status: Runtime Error

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

#define lli long long
#define all(i) i.begin(),i.end()
#define rall(i) i.rbegin(),i.rend()
#define rep0(i,j) for(int i=0;i<j;i++)
#define rep1(i,j) for(int i=1;i<=j;i++)
#define rep0d(i,j) for(int i=j-1;i>=0;i--)
#define MOD 1000000007
#define MAX (lli)1e12 
typedef pair<lli, lli> p; 
class Graph{
  int V;
  vector<list<p>> adj; 
  const int INF = (int)1e6;

  public: 
  Graph(lli V): adj(V){ 
    this->V = V; 
  } 

  void addEdge(int u, int v, int w){ 
    adj[u].push_back(make_pair(v, w)); 
  } 

  lli edgeNum(){
    lli sum=0;
    rep0(i,V)sum+=adj[i].size();
    return sum;
  }

  bool route(lli from, lli to){//vec[i]==j: j->iっていうもとに戻れる道がある
    vector<lli> vec(V, -1);
    dfs(1,from,vec);
    return vec[to] >= 0;
  }

  void dfs(lli ed, lli num, vector<lli>& vec){
    for(auto e: adj[num]){
      if(vec[e.first] != -1)continue;
      vec[e.first] = num;
      dfs(ed+1, e.first, vec);
    }
  }

  vector<int> bfs(int n){
    queue<int> q;
    vector<int> vec(V,-1);

    q.push(n);
    vec[n]=0;
    while(!q.empty()){
      int p=q.front();
      q.pop();
      for(auto e:adj[p]){
        if(vec[e.first]==-1){
          q.push(e.first);
          vec[e.first] = e.second + vec[p];
        }
      }
    }
    return vec;
  }

  vector<int> shortestPath(int src){ 
    priority_queue< p, vector <p> , greater<p> > pq; 
  
    vector<int> dist(V, INF); 
    pq.push(make_pair(0, src)); 
    dist[src] = 0; 
  
    while (!pq.empty()) { 
        int u = pq.top().second; 
        pq.pop(); 
  
        list<p>::iterator i; 
        for (auto i = adj[u].begin(); i != adj[u].end(); ++i) { 
            int v = i->first; 
            int weight = i->second; 
  
            if (dist[v] > dist[u] + weight) { 
                dist[v] = dist[u] + weight; 
                pq.push(make_pair(dist[v], v)); 
            } 
        } 
    } 
    for(int i=0;i<V;i++)if(dist[i]==INF)dist[i]=-1;
    return dist;
  } 

};

struct UF{
    vector<int> par,size;

    UF(int N) : par(N), size(N, 1){
        rep0(i,N)par[i] = i;
    }

    int root(int x){
        if (par[x] == x) return x;
        return par[x] = root(par[x]);
    }

    void unite(int x, int y){
        int rx = root(x);
        int ry = root(y);
        if(rx == ry) return;
        par[rx] = ry;
        size[rx] += size[ry];
    }

    bool same(int x, int y){
        int rx = root(x);
        int ry = root(y);
        return rx == ry;
    }

    int getSize(int x){
        return size[x];
    }
};
struct BIT{
  vector<lli> tab;//bit table
  BIT(int n):tab(n+1){
    rep0(i,n+1)tab[i]=0;
  }

  void add(int p, lli num){
    for(++p;p<tab.size();p+=p&-p)tab[p]+=num;
  }

  lli sum(int p){//from 0 to p
    lli ans=0;
    for(++p;p>0;p-=p&-p)ans+=tab[p];
    return ans;
  }

  void debug(){
    rep0(i,tab.size())cout << tab[i] << ' ';
    cout << endl;
  }
};
 
//pairに関するもの
lli sum(p c){
  return (c.first + c.second);
}
p operator-(const p & l,const p & r) {   
    return {l.first-r.first,l.second-r.second};                                    
}
bool cmpf(const pair<lli, lli> left, const pair<lli, lli> right) {
    return left.first < right.first;
}
bool cmps(const pair<lli, lli> left, const pair<lli, lli> right) {
    return left.second < right.second;
}
 
lli gcd(lli a, lli b){
    if(a < b)return gcd(b, a);
    lli temp;
    while((temp = a%b)){
        a=b;
        b=temp;
    }
    return b;
}

struct nCr{
  vector<lli> f, rf;
  lli count=0;
  nCr(lli num): f(num), rf(num){
      count = num;
      f[0] = 1;
      rep1(i, num) f[i] = (f[i - 1] * i) % MOD;
      rep0(i, num+1) rf[i] = inv(f[i]);
  }
    
  lli inv(lli x) {
      lli res = 1;
      lli k = MOD - 2;
      lli y = x;
      while (k) {
          if (k & 1) res = (res * y) % MOD;
          y = (y * y) % MOD;
          k /= 2;
      }
      return res;
  }
  lli C(lli n, lli k) {
      if(k > n || k<0)return 0;
      lli a = f[n];
      lli b = rf[n-k];
      lli c = rf[k];
   
      lli bc = (b * c) % MOD;
      return (a * bc) % MOD;
  }
};
int main(){
  lli a;
  long double b;
  cin >> a >> b;
  cout << ((lli)(b*100) * a) /100;
}

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math
n=input().split()
a = int(n[0])
b=int(n[1]) *100

ans = a*b

print(ans/100)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
N = int(input())
A = [int(x) for x in input().split()]
ans=1
for i in range(N):
    ans=ans*A[]
    if ans>10**18:
        print(-1)
        exit
    elif ans==0:
        print(0)
        exit
print(ans)

Submission status: Runtime Error

Solution code:
import math
n=input().split()
a = int(n[0])*100
b=int(n[1]) *100

ans = a*b

print(ans/100)

Submission status: Runtime Error

Solution code:
import numpy as np
import scipy as sp
import math
 
x, y = input().split()
a = int(x)
b = math.floor(y*100)
c = b/100
print(math.floor(a*c))

Submission status: Runtime Error

Solution code:
import math
X = input().split(" ")
A = int(X[0])
B100 = float(X[1])*100
ab = math.floor(A*B)//100
print(str(ab))

Submission status: Runtime Error

Solution code:
A,B = input().split()
A = int(A) 
B = float(B)
B = "{:.2f}".format(B)
#print(int(A*B))
print(int(A*B))

Submission status: Runtime Error

Solution code:
import functools
import operator
n = int(input())
a = list(map(int,input().split()))
c = functools.reduce(operator.mul,a)
if c > 10**18:
    print(-1)
else:
    print(c)

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math
import decimal

r = list(map(float,input().split()))

x = decimal.Decimal(str(r[1])).quantize(Decimal('0'),rounding=ROUND_HALF_UP)
y = decimal.Decimal(str(r[1])).quantize(Decimal('0.01'),rounding=ROUND_HALF_UP)

z = x * y

z = math.floor(z)

print(z)

Submission status: Runtime Error

Solution code:
import math

a = input().split()
s1 = a[0]
s2 = a[1]
num1 = int(s1)
num2 = int(s[0])*100 + int(s[2]+s[3])

print((num1*num2)//100)

Submission status: Runtime Error

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


void solve(long long A, long double B){
    ll a = B * 100;
    cout<<A * a / 100<<endl;
}

int main(){
    long long A;
    scanf("%lld",&A);
    long double B;
    scanf("%Lf",&B);
    solve(A, B);
    return 0;
}

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math
import decimal

r = list(map(float,input().split()))

x = decimal.Decimal(str(r[1])).quantize(Decimal('0'),rounding=ROUND_HALF_UP)
y = decimal.Decimal(str(r[1])).quantize(Decimal('0.01'),rounding=ROUND_HALF_UP)

z = x * y

z = math.floor(z)
if r[0] == 0 or r[1] == 0:
    z = int(0)

print(z)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import functools
import operator
N=input()
ans=0
A=input().split()

for x in range(int(N)):
  A[x]=int(A[x])


ans = functools.reduce(operator.mul, A)
if(ans>10**18):
  print('-1')
else:
  print(ans)

Submission status: Runtime Error

Solution code:
n=int(input()) 
a=list(map(int,intput().split())); 
int ans=1; 
for i in a:
	ans=ans*i
x=10**18 
if ans>x:
	print(-1) 
else:
	print(ans)

Submission status: Runtime Error

Solution code:

import math
from fractions import Fraction
                                                                                                           

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

A=Fraction(A,15)
B=Fraction(B,15)

ans=A*B

print(math.floor(ans))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
><

Submission status: Runtime Error

Solution code:
A, B = map(float, input().split())
print("{.0f}".format(A*B))

Submission status: Runtime Error

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

x =(a*b,abs_tool =0.001)
print(int(x))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
num = list(input().split())

A = int(num[0])
B = int(float(num[1])*100
print(A*B//100)

Submission status: Runtime Error

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

A,B=input().split()
x=int(B[0])
y=int(B[2])
z=int(B[3])

ans1=str(int(A)*x)
ans2=str(int(A)*y)
ans3=str(int(A)*z)

ans=int(ans1)+int(ans2[:-1])+int(ans1[-2])
if int(ans2[-1])*10+int(ans2[-2:]) > 100:
    ans+=1
print(int(ans))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
from sys import stdin
a,b = map(double,stdin.readline().rstrip().split())
print(math.floor(a*b))

Submission status: Runtime Error

Solution code:
n = int(input())

b = float(input())
b *= 100
ans = n * b / 100

print(ans)

Submission status: Runtime Error

Solution code:
a,b=map(float,input().split())
x=int(a*b//1)
if x =0:
    print("0")
else:
    print(x)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math

a,b = map(input().split())
a = int(a)
b = int(b[0])*100+int(b[2]+b[3])
print((a*b)//100)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

res = a * b

print int(res)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math
A,B=list(map(str,input().split()))
A=int(A)
B.replace('.','')
C=int(B)
D=A*C
if D<100:
    print(0)
    exit()
D=str(D)
print(D[0:-2])

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

if __name__ == '__main__':

    ABC_169_C()

Submission status: Runtime Error

Solution code:
import math


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

Submission status: Runtime Error

Solution code:
def main():
    inputList = input().split()
    print(int(inputList[0]) * int(inputList[1]))

if __name__ == "__main__":
    main()

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
import numpy as np
a,b = map(float,input().split())
 
c = np.array([a],dtype='f16')
d = np.array([b],dtype='f16')
e = np.array([],dtype='f16')
e = c*d
print(int(e))

Submission status: Runtime Error

Solution code:
import math
import sys

a,b = raw_input().split()
k = int(a) * int(float(b))
answer = math.floor(k)
print(answer)