Skip to content

oddgnome

bradendubois edited this page Nov 8, 2021 · 8 revisions

Odd Gnome

ID: oddgnome

Difficulty: 1.6

CPU Time: 1 second

Memory: 1024 MB

Solution

For each case, keep an "ID" that increments as the numbers are read in, an "expected" that is incremented by one each time, initialized the 1+the first number read in.

Clone this wiki locally