判断一个数能否同时被3和5整除
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
【题目描述】
判断一个数n 能否同时被3和5整除,如果能同时被3和5整除输出YES,否则输出NO。
【输入】
输入一行,包含一个整数n。( -1,000,000 < n < 1,000,000)
【输出】
输出一行,如果能同时被3和5整除输出YES,否则输出NO。
【输入样例】
15
【输出样例】
YES
【来源】
一本通在线评测
ZBC001(Zjc Beginner Contest001)(张锦程初学者竞赛001)
- Status
- Done
- Rule
- Ledo
- Problem
- 10
- Start at
- 2024-12-7 0:00
- End at
- 2024-12-14 0:00
- Duration
- 168 hour(s)
- Host
- Partic.
- 9