Aurora's Blog

Home Archives About
2017-07-25
UVA

UVA11547




#include<iostream>

using namespace std;
int t = 0,n=0;

int main(void) {

 cin >> t;
 while (t--)
 {
  cin >> n;

  n = n* 315+36962;

  cout << abs(n/10%10) << endl;
 }
 system("PAUSE");
}


Share Comments
  • Algorithm
  • UVA
Newer
UVA10004
Older
UVA488

Categories

  • Leetcode3
  • Other3
  • UVA80
  • ZeroJudge1

Recent Posts

  • UVA673
  • UVA11368
  • Leetcode#4
  • UVA10079
  • UVA483

Tags

  • Algorithm87
  • Leetcode3
  • Other3
  • UVA80
  • ZeroJudge1
      
Powered by Hexo ant Theme by landscape @ 2017 Rick Wu
Home Archives About