HF RL Explorer

Create a command-line tool /app/rq that maintains an in-memory collection of integer intervals and supports…

Create a command-line tool /app/rq that maintains an in-memory collection of integer intervals and supports…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input format (stdin): Each line is a command starting with one of these keywords, followed by arguments…

The task

**Input format (stdin):** Each line is a command starting with one of these keywords, followed by arguments separated by single spaces: - `ADD start end` — add the inclusive interval [start, end] to the collection. Both integers, start ≤ end. If an identical interval already exists, do nothing (no duplicate). -…

Part of ai-and/termgrade-environments.