HF RL Explorer

Task: Find a Missing Integer Not Among Given Integers

Task: Find a Missing Integer Not Among Given Integers: a task in Terminal-Lego-15k (Harbor dataset). Given a file containing integers (one per line), implement a program that finds an integer which is not contained in the file. The integers in the file are 32-bit non-negative integers (ranging…

The task

Given a file containing integers (one per line), implement a program that finds an integer which is **not** contained in the file. The integers in the file are 32-bit non-negative integers (ranging from 0 to 2,147,483,647).

Part of PrimeIntellect/Terminal-Lego-15k.