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 sys
n=int(input())
a=list(map(int,input().split()))
ans=1
for i in a:
  ans=i*ans
  if ans>10**18:
    print(-1)
    sys.exit()
print(ans)

Submission status: Runtime Error

Solution code:
from Decimal import *
n1, n2 = map(Decimal, input().split())
print(int(n1*n2))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

print(int(a * b))

Submission status: Runtime Error

Solution code:
from Decimal import decimal

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

Submission status: Runtime Error

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

print(int(a*b))

Submission status: Runtime Error

Solution code:
a, b = input().split()
a = int(a)
b = float(b)
c = int(100*b)
c = str(c)
ans = 0
for i in range(3):
  ans += a * int(c[i]) * 10**(2-i)
ans = ans // 100
print(ans)

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
from decimal import Decimal
a,b=list(map(decimal,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:
A, B = input().split()
a = int(A)
b = float(B)*100

print((A*B)//100)

Submission status: Runtime Error

Solution code:
import decimal from math
n,m=map(decimal,input().split())
print(int(n*m))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

fa=int(a[0])
fb=int(a[1]*100)

print(fa*fb//100)

Submission status: Runtime Error

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

fa=int(a[0])
fb=int(a[1]*100)

print((fa*fb//100)

Submission status: Runtime Error

Solution code:
from decimal import *
i = input().split()
a = int(i[0])
b = Decimal(i[1])i
print(int(a * b))

Submission status: Runtime Error

Solution code:
from decimal import Decimal
s = map(float,input().split())
S = Decimal(A)*Decimal(B)
print(S//1)

Submission status: Runtime Error

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

c = a * b

print(floor(c))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

print(floor(c))

Submission status: Runtime Error

Solution code:
import math

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

print(math.floor(c))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
ma = lambda :map(int,input().split())
ni = lambda:int(input())
import collections
import math
import itertools
gcd = math.gcd
a,b = input().split()
a = int(a)
b100 = 100*int(b[0]) + 10*int(b[1]) +int(b[2])

print(a*b100//100)

Submission status: Runtime Error

Solution code:
A = int(input())
B = str(input())
b = int(B.replace(".",""))
print(A * b // 100)

Submission status: Runtime Error

Solution code:
n = int(input())
a = list(map(int,input().split()))
s = 1
if 0 in a:
    print(0)
else:
    for i in a:
        s *= i
        if s > 10**18:
            print(-1)
            break
    if s <= 10**18:
        print(s)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

long long MOD = 1000000000 + 7;
long long MAX = 1000000000000000000;

int main(){
  cout << setprecision(10);
  ll A;
  string B;
  cin >> A >> B;

  ll b1 = B[0] - '0';
  ll b2 = B[2] - '0';
  ll b3 = B[3] - '0';

  b1 *= 100 * A;
  b2 *= 10 * A;
  b3 *= 1 * A;

  cout << (b1 + b2 + b3)/100 << endl;

}

Submission status: Runtime Error

Solution code:
#解放2
from decimal import Decimal
from floor import math
a, b = input().split()
a = int(a)
b = Decimal(b)
print(floor(a*b))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a, b = input().split()
A = int(a)
B_list = list(b)
 
count = -1
check = -1
B = ""
 
for char in B_list:
  if char == ".":
    count = 0
    check = 0
  else:
    if check == 0:
      if count >= 0:
        count += 1
    B += char
 
result = A * int(B)  
result_list = list(str(result))
if count >= len(result_list):
  for n in range(count - len(result_list) + 1):
    result_list.insert("0", 0)
else:
  result_list.insert(- count, ".")
answer = ""
for char in result_list:
  if char == ".":
  	break
  answer += char
print(answer)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b = input().split()
a1 = int(a)
bs = list(b)
b1 = int(bs[0])
b2 = 0
if len(b)==3:
    b2 = int(bs[2])*10
else:
    b2 = int(bs[2]+bs[3])
b1 = b1*100+b2
ans = list(str(a1*b1))
del ans[-1]
del ans[-1]
print(''.join(ans))

Submission status: Runtime Error

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

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

print(a*b//100)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math
A = input()
B = input()
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:
# -*- coding: utf-8 -*-
import numpy as np
import math

A, B = input().split()
A = int(A)
B_float = float(B)
B_int = int(B[0]+B[2:])
if B_float < 1:
    B_float = B_float*100
    C = A*B_float/100
    #C_str = str(C)
    print("{}".format(int(C)))
else:
    C = A*B_int
    C_str = str(C)
    #iti = C_str.find('.')
    print("{}".format(int(C_str[:-2])))

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-
import numpy as np
import math

A, B = input().split()
A = int(A)
B_float = float(B)
B_int = int(B[0]+B[2:])
if B_float < 1:
    B_float = B_float*100
    C = A*B_float/100
    #C_str = str(C)
    print("{}".format(int(C)))
else:
    C = A*B_int
    C_str = str(C)
    iti = C_str.find('.')
    print("{}".format(int(C_str[:-2])))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n,m=map(int,input().split(" "))
print(int(n*m))

Submission status: Runtime Error

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

print(int(int(A)*B+0.5)))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A, B = [x for x in input().split()]

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

print(A*B // 100

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#TIME : 
import sys
from math import sqrt
input = sys.stdin.readline

def inp():
    return(int(input()))
def inlt():
    return(list(map(int,input().split())))
def insr():
    s = input()
    return(list(s[:len(s) - 1]))
def invr():
    return(map(int,input().split()))

AB = input().split()
a = int(AB[0])
b = int(AB[1]*100)
res = int((a*b/100))
print(res)

Submission status: Runtime Error

Solution code:
from decimal import Decimal
a,b = input().split()
c = (int(a)*(decimal(b)*1000000))/1000000
print(int(c//1)

Submission status: Runtime Error

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

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

c = a*b // 100

print(c)

Submission status: Runtime Error

Solution code:
a,b = map(float, input().split())
 
c = a * (b*10**4)
c = c // 1e4
print(int(c)

Submission status: Runtime Error

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

b = int(b*100)

ans = (a*b)//100

print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

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

b0,b1 = b.split('.') if '.' in b else [int(b), 0]
b0 = int(b0)
b1 = int(b1)

print a*b0 + a*b1/100

Submission status: Runtime Error

Solution code:

a,b = raw_input().split(' ')

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

b0,b1 = b.split('.') if '.' in b else [int(b), 0]#

print a*b0 + a*b1/100

Submission status: Runtime Error

Solution code:
#include <stdio.h>
#include <math.h>
// #include <time.h>

int main(){
    long long int a;
    char bb[5];
    int i;
    scanf("%lld %s", &a, bb);
    long long int b=0;

    for(i=0;bb[i]!='\0';i++){
      if(bb[i]!='.'){
        b = 10*b + bb[i] - '0';
      }
    }
    printf("%lld\n", b*a/100);
    return 0;
}

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

using namespace std;

typedef long long ll;
typedef vector<int> vi; 
typedef vector<vi> vvi;
typedef vector<string> vs;
typedef pair<int, int> pii;

#define sz(a) int((a).size())
#define pb push_back
#define mp make_pair
#define fi first
#define se second
#define all(c) (c).begin(),(c).end()
#define rall(c) (c).rbegin(),(c).rend()
#define ini(a, i) memset(a, i, sizeof(a))
#define contains(i, c) ((c).find(i) != (c).end())

#define rep(i, n) for(int i = 0; i < n; i++)
#define rep1(i, n) for(int i = 1; i <= n; i++)
#define repa(i, a, b) for(int i = (a); i < (b); i++)
#define repd(i, n) for(int i = (n)-1; i >= 0; i--)

#define TRACE(x...) x
#define watch(x) TRACE(cerr << #x" = " << x << endl)
#define watch_all(x) TRACE(cerr << #x" = "; for(auto __i : x) cerr << __i << " "; cerr << endl)

//=========================

typedef unsigned long long ull;

void run_test() {
	ull a; double _b;
	cin >> a >> _b;
	ull b = _b * 100;
	ull ans = a * b / 100;	
	cout << ans << endl;
}

//=========================

int main() {
	ios::sync_with_stdio(0); cin.tie(0);
	//int t = 1, _t; cin >> _t; while(t <= _t) { cout << "Case #" << t++ << ": "; run_test(); }
	//int t; cin >> t; while(t--) run_test();
	run_test();
	return 0;	
}

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
from decimal import Decimal
from sys import stdin
def LD(): return list(map(Decimal,stdin.readline().rstrip().split()))
 
tmp = LD()
ans = int(a*b)
print(ans)

Submission status: Runtime Error

Solution code:
a,b = map(str, input().split())
a = int(a)
b = float(b)
b = b.as_integer_ratio()
up = a*b[0]
print(int(up/b[1])

Submission status: Runtime Error

Solution code:
#include<bits/stdc++.h>
#include <chrono>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
using namespace std::chrono;
using namespace std;
#define ordered_set tree<pr, null_type,less<pr>, rb_tree_tag,tree_order_statistics_node_update>
// declaration: ordered_set os;  methods->  1. *os.find_by_order(x)   2. os.order_of_key(k) ->return int

#define fr(x,i,n) for(int x = i; x < n; ++x)
#define fb(x,i,n) for(int x = i; x >= n; --x)
#define pr pair<ll,int>
#define ll long long int
#define ld long double
const ll mod=998244353;


//const ll mod=1e9+7;
ll f(ll x,ll n){
    ll r=1;
    while(n){
        if(n%2==1)
        r=(r*x)%mod;
        x=(x*x)%mod;
        n/=2;
    }
    return r;

}
int nod(ll x){
    int c=0;
    while(x){
        x/=10LL;
        c++;
    }
    return c;
}
void solve(){
    ll a,b;
    float c;
    cin>>a>>c;
    c*=100;
    b=c;
    ll ans=a*b;
    ans/=100LL;
    cout<<ans;

}
int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    cout.tie(NULL);
//    build();
    int t=1;
//    cin>>t;
    while(t--)
    solve();

}

Submission status: Runtime Error

Solution code:
from decimal import Decimal


def main():
    A, B = map(Decimalt,input().split())

    print(int(A*B))
    return

if __name__ == '__main__':
    main()

Submission status: Runtime Error

Solution code:
from decimal import Decimal

def main():
    x,y = map(Decimalt,input().split())
    print(int(x*y))

if __name__ == '__main__':
    main()

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
from decimal import Decimal

x,y = map(Decimalt,input().split())
print(int(x*y))

Submission status: Runtime Error

Solution code:
#pragma GCC optimize("O3,unroll-loops")
#include <bits/stdc++.h>
using namespace std;
int main() {
	ios_base :: sync_with_stdio(0);
	cin.tie(0);
	cout.tie(0);
	long long a;
	int b;
	long double p;
	cin >> a >> p;
	b = p * 100;
	cout << a * b / 100 << '\n';
	return 0;
}

Submission status: Runtime Error

Solution code:
/* *>>>>>Anshit_Bhardwaj<<<<<* */
#include <bits/stdc++.h>
#define ll long long
#define f(i, x, n) for(int i = x; i < n; i++)
#define dbg(x) cout << x << endl
#define dbg2(x, y) cout << x << ' ' << y << endl
#define dbg3(x, y, z) cout << x << ' ' << y << ' ' << z << endl
#define mod 1000000007
using namespace std;

int main(){
    ios::sync_with_stdio(0);
    cin.tie(0);
    ll a, b;
    double d;
    cin >> a >> d;
    b = d * 100;
    a *= b;
    cout << a / 100 << endl;
}

Submission status: Runtime Error

Solution code:
import sys
def input():
    return sys.stdin.readline().strip()

def main():
    A, B = input().split()
    if int(A) == 0 or int(B) == 0:
        print(0)
        return
    A = int(A)
    B = int(float(B)*100)
    print(A*B//100)


main()

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
def main():
  a, b = map(str, input().split())
  print(round(int(a)*floar(b)))

main()

Submission status: Runtime Error

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

main()

Submission status: Runtime Error

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

print(a*b)

Submission status: Runtime Error

Solution code:
import math

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

b=100*b

print(math.floor(a*b/100))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#include <cstdio>
#include <iostream>
#include <string>
#include <vector>
#include <sstream>
#include <map>
#include <set>
#include <queue>
#include <algorithm>
#include <cmath>
#include <cstring>
#include <typeinfo>
#include <numeric>
#include <functional>
#include <unordered_map>
#include <bitset>
#include <stack>
#include <assert.h>
#include <unordered_set>
#include <random>


using namespace std;
using ll = long long;
using ull = unsigned long long;

const ll INF = 1e18;
const ll MOD = 1e9 + 7;

#define REP(i, n) for(ll i = 0; i < n; i++)


























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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
from decimal import Decimal

a, b = input().split()
a = int(a)
b_100  = Decimal(b * 100)
print(int(a * b_100 // 100))

Submission status: Runtime Error

Solution code:
import sys
sys.setrecursionlimit(10**8)
def ii(): return int(sys.stdin.readline())
def mi(): return map(int, sys.stdin.readline().split())
def li(): return list(map(int, sys.stdin.readline().split()))
def li2(N): return [list(map(int, sys.stdin.readline().split())) for i in range(N)]
def dp2(ini, i, j): return [[ini]*i for i2 in range(j)]
def dp3(ini, i, j, k): return [[[ini]*i for i2 in range(j)] for i3 in range(k)]
#import bisect #bisect.bisect_left(B, a)
#from collections import defaultdict #d = defaultdict(int) d[key] += value
#from collections import Counter # a = Counter(A).most_common()
#from itertools import accumulate #list(accumulate(A))
'''
N = ii()
A = li()
ans = 1
for num in A:
    ans *= num
    if ans > 10**18:
        if 0 in A:
            print(0)
        else:
            print(-1)
        exit()

print(ans)
'''

N = ii()
A = li()
ans = 1
for num in A:
    if ans <= 10**18 / num - 0.1:
        ans *= num
    else:
        if 0 in A:
            print(0)
        else:
            print(-1)
        exit()

print(ans)

Submission status: Runtime Error

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

typedef long long ll;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
typedef vector<pii> vii;
typedef vector<pll> vll;

const double PI = acos(-1);
#define MOD 1000000007  ///1e9+7

#define pb push_back
#define F first
#define S second
#define test int tc; cin>>tc; while(tc--)
#define forn(i,n) for(i=0;i<n;i++)
#define rforn(i,n) for(i=n-1;i>=0;i--)
#define all(a) a.begin(),a.end()
#define rall(a) a.rbegin(),a.rend()
#define sz(x) x.size()
#define el <<'\n'
#define sp <<' '

#define mem(a,b) memset(a, b, sizeof(a))
#define gcd(a,b) __gcd(a,b)
#define lcm(a,b) (a*(b/gcd(a,b)))
#define sqr(a) (a)*(a)

#define fastio() ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
#define file() freopen("input.txt","r",stdin);freopen("output.txt","w",stdout);
#define fraction() cout.unsetf(ios::floatfield); cout.precision(10); cout.setf(ios::fixed,ios::floatfield);

///******************************** C o d e ********************************///



main()
{
    long double a,b;
    while(cin>>a>>b)
    {
        b*=100.0;
        a= (long long) a;
        b= (long long) b;
        a*=b;
        a/=100.0;
        string x=to_string(a);
        for(int i=0;i<x.find('.');i++) cout<<x[i];
    }
}


///Thank you.


///Brainless_Loco Terminates Here!

Submission status: Runtime Error

Solution code:
print(eval(input().translate({46:'',32:42}))//100)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
from decimal import *

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

print(a*b)

Submission status: Runtime Error

Solution code:
import sys
sys.setrecursionlimit(10**8)
def ii(): return int(sys.stdin.readline())
def mi(): return map(int, sys.stdin.readline().split())
def li(): return list(map(int, sys.stdin.readline().split()))
def li2(N): return [list(map(int, sys.stdin.readline().split())) for i in range(N)]
def dp2(ini, i, j): return [[ini]*i for i2 in range(j)]
def dp3(ini, i, j, k): return [[[ini]*i for i2 in range(j)] for i3 in range(k)]
#import bisect #bisect.bisect_left(B, a)
#from collections import defaultdict #d = defaultdict(int) d[key] += value
#from collections import Counter # a = Counter(A).most_common()
#from itertools import accumulate #list(accumulate(A))

## floatは16桁までしか保証しない
## B*100がダメなのは 2.51*100 = 250.99999999999997 のようになる場合があるから
from decimal import Decimal
'''
A, B = map(str, sys.stdin.readline().split())
A = Decimal(A)
B = Decimal(B)
print(A * B//1)
'''

'''
四捨五入で誤差の影響をなくす
A, B = map(str, sys.stdin.readline().split())
A = int(A)
B = int(round(float(B)*100))
print(A*B//100)
'''

'''
#微小な数を足してあげることで誤差の影響をなくす
A, B = map(str, sys.stdin.readline().split())
A = int(A)
B = int(float(B)*100+0.1)
print(A*B//100)
'''


#微小な数を足してあげることで誤差の影響をなくす
A, B = map(str, sys.stdin.readline().split())
A = int(A)
if B[0] == '0':
    B = int(B[:2])
else:
    B = int(B.replace('.', ''))
print(A*B//100)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const static ll INF = 1e15;
// __uint128_t

int main(){
    ll A; long double B; cin >> A >> B;
    ll b = B*100;
    cout << A*b/100 << endl;
    
}

Submission status: Runtime Error

Solution code:
/**
 *    author: Behradm
 *    Created: 31.05.2020 21:01:48
 *    In the Name of God
**/
#include <bits/stdc++.h>

using namespace std;

int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  long double a, b;
  cin >> a >> b;
  long double res = a * b * 1.0;
  cout << (long long) res << '\n';
  return 0;
}

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

c=b/1000

x=int(a*b)

print(x)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
x,y = list(map(decimal.Decimal,input().split()))
y*=100
print(math.floor((x*y)/100))

Submission status: Runtime Error

Solution code:
x,y = list(map(decimal.Decimal,input().split()))
y*=100
print(math.floor(x*y/100))

Submission status: Runtime Error

Solution code:
n = int(input())
if n==1:
  print(0)
else:
  cnt = 0
  flg = 0
  for i in range(1000000):
    if n<i:
      break
    if i==0 or i==1 or n%i!=0:
      continue
    j = i
    while(n%j==0):
      if flg==0:
        flg = 1
      n /= j
      j *= i
      cnt += 1
  if flg==0:
    print(1)
  else:
    print(cnt)

Submission status: Runtime Error

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

print(int(c))

Submission status: Runtime Error

Solution code:
n = int(input())
if n==1:
  print(0)
else:
  cnt = 0
  flg = 0
  for i in range(1000000):
    if n<i:
      break
    if i==0 or i==1 or n%i!=0:
      continue
    j = i
    while(n%j==0):
      if flg==0:
        flg = 1
      n = int(n/j)
      j *= i
      cnt += 1
  if flg==0:
    print(1)
  else:
    print(cnt)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:

A,B=input().split()
B=B[:-3]+B[-2]
print(A＊B)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a, b = [float(s) for s in input().split(" ")]
a = int(a)
b = round(b*100)
print(a*b//100))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
from decimal import Decimal

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

print(c)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math
A, B = map(int, input().split())
S = '100' + str(B)
S = int(S)

ans = A * B /100
print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math
a,b = input(long()), input(float())
print(math.truncate(a*b))

Submission status: Runtime Error

Solution code:
import math
a,b = map(str,input().split())
a = int(a)
b_ =str()
for i in b:
    if(i != "."):
        b_ = b_ +i
# print(b_)
ans = (a*b_)//100
print(ans)

Submission status: Runtime Error

Solution code:
import sys
def input():
    return sys.stdin.readline()[:-1]
a, b= input().split()
a = int(a)
b = int(b * 100)
output = a * b // 100
print(output)

Submission status: Runtime Error

Solution code:
import sys
def input():
    return sys.stdin.readline()[:-1]
a, b= input().split()
a = int(a)

# floatをそのまま掛け算すると精度が足りずに誤差が生じるため、.を消してintにする。
# b = int(b.replace(".", ""))
# もしくは普通に* 100でもよい
b = int(b * 100)

output = a * b // 100
# 小数点は2桁までで確定なので、100で切り捨て除算する。
print(output)

Submission status: Runtime Error

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

ans = b * 100
ans *= a
ans /= 100
print(ans//1)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = int(a)
b = b * 1000
print(int(a*b/1000))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-
"""pyhton_file.ipynb

Automatically generated by Colaboratory.

Original file is located at
    https://colab.research.google.com/drive/13RovZ8qFEyLQyhR9-JgSQ4p90syiGDJq
"""

import math
a = int(input())
b = float(input())
print(math.trunc(a*b))

10

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

c = float(a) * float(b)

print(c)

ans = int(c//1)

print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

for s in range(len(B)):
    if B[s] != ".":
        B100 += B[s]

B100 = int(B100)

ans = A * B100 // 100

print(ans[0])

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
AB = input().split()
A = int(AB[0])
B = int(AB[1] * 100)

print(A * B // 100)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
ab=input().split()
a=int(ab[0])
b=int(ab[0]+ab[2]+ab[3])
 
s=a*b
print(int(s/100))

Submission status: Runtime Error

Solution code:
def prime_factorize(n):
    a = []
    N = n
    cnt = 0
    while n % 2 == 0:
        cnt += 1
        n //= 2
    if cnt > 0:
        a.append(cnt)
        #print(2)
    f = 3
    cnt = 0
    while f * f <= n:

        if n % f == 0:
            cnt += 1
            n //= f
        else:
            f += 2
            cnt = 0
        a.append(cnt)
    if n != 1:
        a.append(1)
    return a


n = int(input())
ans = 0
lis = prime_factorize(n)
#print(lis)

for i in range(len(lis)):
    val = 1
    while val <= lis[i]:
        lis[i] -= val
        val += 1
        ans += 1
print(ans)

Submission status: Runtime Error

Solution code:
import math

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

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

Submission status: Runtime Error

Solution code:
ab=input().split()
a=int(ab[0])
b=int(b[0]+b[2]+b[3])

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