Jev 分類在 Robert Pop 的 jev-is-odd 標奇數或偶數

作者: Robert Pop

分類

Robert Pop

GitHub

分類這個使用案例

  • Classification1.00
  • Shipped0.97
  • Measured0.98
  • Usefulness0.72
  • Repo1.00
  • Ready0.95
  • Specific case0.93
  • Copy quality0.54
  • Creativity0.65
  • Distinct intent0.84
成本
$0.00029098 for 20 calls
延遲
294.3 ms median
結果
固定案例 20/20 正確

對每個整數問 Jev 一個 Choice:odd 或 even。

問題

Primitive

Choice

Ask a multiple choice question

Name
parity
指示
Is this integer odd or even? Zero is even. Negative integers have the same parity as their absolute value.
準則
  • odd

    Not divisible by 2.

  • even

    Divisible by 2.