HF RL Explorer

Write a command-line tool fixed calc that reads decimal strings from stdin and computes their sum, product…

Write a command-line tool fixed calc that reads decimal strings from stdin and computes their sum, product…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input format: one line per operation, each line containing two numbers separated by a space. Numbers are…

The task

Input format: one line per operation, each line containing two numbers separated by a space. Numbers are decimal strings optionally signed, with up to 10 integer digits and up to 4 fractional digits. The empty string is not a valid number. A line with exactly one number is a "stability check" on that number. Output…

Part of ai-and/termgrade-environments.