Company: Texas
Difficulty: medium
Data Encryption Evaluate the three encryption overloads described in the source. Input Format `base ratio`; then `q`; then queries `D`, `I x`, or `S x`. Output Format For `D`, output `base + ratio`; otherwise output `base + ratio - x`. Notes This is the deterministic standard-input reconstruction of the source overloads. Use 64-bit integers.