CRED Coins Solution || Codechef March Lunchtime 2022

        

CRED Coins Solution 

Codechef March Lunchtime 2022
Problem Code : CREDCOINS

Solution :

#include <bits/stdc++.h>
#define ll long long int
#define ull unsigned long long int
using namespace std;

void solve()
{
    ll x, y;
    cin >> x >> y;
    cout << (x * y) / 100 << "\n";
}

int main()
{
    ll t;
    cin >> t;
    while (t--)
    {
        solve();
    }
}

Comments