EIGHTS - Triple Fat Ladies - SPOJ Solution C++

  Problem Link : EIGHTS  


👉 Hint : edit please

 


✅ 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;
    }
}

 

Thank you for your patience reading. If you enjoyed this post, I’d be very grateful if you’d help it spread by emailing it to a friend, or sharing it on Whatsapp or Facebook. 

😇Happy Learning!!