Even or Odd
CodeChefOpen on judge ↗
Bessie's cruel second grade teacher has assigned a list of $N$ $(1 \leq N \leq 100)$ positive integers I $(1 \leq I \leq 10^{60})$ for which Bessie must determine their parity (explained in second grade as "Even... or odd?"). Bessie is overwhelmed by the size of the list and by the size of the numbers. After all, she only learned to count recently. Write a program to read in the N integers and pr
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start