You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.