Write a command-line tool /app/stream agg.py that reads a binary file of 64-bit little-endian unsigned…
Write a command-line tool /app/stream agg.py that reads a binary file of 64-bit little-endian unsigned…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input: A binary file containing a sequence of uint64 values in little-endian byte order. The file may be empty…
The task
**Input:** A binary file containing a sequence of `uint64` values in little-endian byte order. The file may be empty or its size may not be a multiple of 8 bytes (trailing partial record must be ignored without crashing). The file path is given as the first positional argument.
Part of ai-and/termgrade-environments.