1001. 99 division
|
Description
Given a big integer n, please determine whether it can be divided by 99 or not.
Input
Input consists of multiple test cases. The first line of input contains a positive integer T, the number of test cases.
Output
For each test case, output on a single line. If n can be divided by 99,output "Yes". If n can not be divided by 99,output "No".
Sample Input
3 0 99 121
Sample Output
Yes Yes No Problem Source: 腾讯俱乐部ACM训练赛入门组
程序:
|