#expression parsing
Practice
›
Codeforces Solutions
›
Helvetic Coding Contest 2018 online mirror (teams allowed, unrated)
›
CF 958D1 - Hyperspace Jump (easy) Rating: 1400 Tags: expression parsing, math Model: gpt-5-3-mini Solve time: 1m 35s Verified: yes (1/1 samples) Share: https://chatgpt.com/share/6a339d94-f784-83ec-a7e6-3815fd55bbe8 Solution Problem Understanding Each ship independently computes a target coordinate from a short arithmetic expression of the form “(a + b) / c”, where a, b, and c are small positive integers. After evaluating this expression, the result is a rational number. Ships that obtain exactly...