#include <stdio.h> #include <math.h> int main () { int t, n; scanf("%d",&t); while (t--) { scanf("%d",&n); n=(n*315)+36962; n=n%100; n=n/10; printf("%d\n",abs(n)); } return 0; }
Sunday, April 24, 2016
Subscribe to:
Post Comments (Atom)
Coprights @ 2016, Coder Cart
0 comments:
Post a Comment