EIGHTS - Triple Fat Ladies - SPOJ Solution C++

  Problem Link : EIGHTS 


👉 Hint : Simple Math

 


✅ C++ Solution :

    #include<bits/stdc++.h>
    using namespace std;
    #define ll long long int
     
     
    int main()
    {
        int t;
        cin>>t;
        while(t--)
        {
            ll k;
            cin>>k;
            cout<<192+(k-1)*250<<endl;
        }
    }