中文
English
Toggle navigation
YSACODE
F.A.Qs
Web Board
ProblemSet
Source/Category
Status
Ranklist
Contest
[
ProblemSet
Status
Ranklist
OI Ranklist
Statistics
]
Login
Problem J: 判断一个数能否同时被3和5整除
Problem J: 判断一个数能否同时被3和5整除
Time Limit:
1 Sec
Memory Limit:
128 MB
Submit:
342
Solved:
157
[
Submit
] [
Status
] [
Web Board
] [Creator:
]
Description
判断一个数n 能否同时被3和5整除
Input
输入一行,包含一个整数n。
Output
输出一行,如果能同时被3和5整除输出
YES
,否则输出
NO
Sample Input
Copy
15
Sample Output
Copy
YES