Monday 28 January 2013

1030. Triple Fat Ladies Problem code: EIGHTS

 #include<stdio.h>
int main()
{
    int test;
      long long int k,temp;
      scanf("%d",&test);
   
      while(test--)
      {
          scanf("%lld",&k);
          temp=(k-1)*250+192;
          printf("%lld\n",temp);
      }
      return 0;
}

No comments:

Post a Comment