#Lutece1001. 能被3和11整除吗
能被3和11整除吗
Migrated from Lutece 1001 能被3和11整除吗
All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.
Description
读入一个整数,判断该数能否被和整数。注意该数可能很大,它的范围为。
Input
有多组测试数据。输入的第一行是整数(),表示测试数据的组数。每一组测试数据只有一行,即为要判断的整数。该行没有其它多余的符号。
Output
对应每组输入,输出一行判断的结果,第一个单词(yes
或no
)表示该数能否被整除,第二个单词(yes
或no
)表示该数能否被整除,两个字符串之间用一个空格隔开。该行不能有其它多余的符号。
Samples
Resources
wxiaoping C语言练习