Task: Arithmetic Flip Between 0 and 1
Task: Arithmetic Flip Between 0 and 1: a task in Terminal-Lego-15k (Harbor dataset). Write a program that demonstrates how to flip between integers 0 and 1 using only arithmetic operators (no logic operators, no bitwise operators, no conditional statements, no ternary operators).
The task
Write a program that demonstrates how to flip between integers 0 and 1 using **only arithmetic operators** (no logic operators, no bitwise operators, no conditional statements, no ternary operators).
Part of PrimeIntellect/Terminal-Lego-15k.