C. 奇数还是偶数?

    Type: Default 1000ms 256MiB

奇数还是偶数?

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.

题目描述

输入一个数字 nn,判断其是奇数还是偶数。

输入格式

一行一个正整数 nn

输出格式

如果是奇数,输出 oddodd

如果是偶数,输出 eveneven

2
even
7
odd

数据规模与约定

对于 100%100\% 的数据,1x<1010001 \le x \lt 10^{1000}

  • 子任务 1(30 分):保证是偶数。
  • 子任务 2(30 分):保证 1x10181\le x\le 10^{18}
  • 子任务 3(40 分):没有特殊限制。

XAZXOI Round 12 - Level 1

Not Attended
Status
Done
Rule
Ledo
Problem
4
Start at
2025-4-12 16:00
End at
2025-4-13 12:00
Duration
2 hour(s)
Host
Partic.
10