Shopping Change Solution || Codechef Starters - 27

       

Shopping Change Solution 

Codechef Starters - 27
Problem Code : SHOPCHANGE

Solution :

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

void solve()
{
    ll x;
    cin >> x;
    cout << 100 - x << "\n";
}

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

Comments