奇数?偶数?
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,判断n是奇数还是偶数。
格式
输入
1个数n(n).
输出
如果n是奇数,输出1
,否则输出0
样例
123
1
588
0
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