HF RL Explorer

Implement a command-line tool /app/query intervals that reads a file of integer intervals and supports range…

Implement a command-line tool /app/query intervals that reads a file of integer intervals and supports range…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input file format : A text file where each line contains two integers separated by a single space: start…

The task

**Input file format**: A text file where each line contains two integers separated by a single space: `start end` (inclusive on both ends, start ≤ end). Lines may be empty. The file may contain duplicate intervals. The file encoding is UTF-8, but may contain BOM at the start.

Part of ai-and/termgrade-environments.