We are the Stanford International Collegiate Programming Contest (ICPC) club!

Come learn about algorithms and data structures, and apply your knowledge in fun competitions!

Join Us About ICPCOver 50,000 students across 3,000 universities around the world participate in ICPC each year.

Participate **individually** or as a **team**! Level up your programming skills together with your teammates. We welcome students of all backgrounds and experiences.

You are given two binary strings, with the same length and same number of ones. You may repeatedly spend one dollar to take either string and swap two of its adjacent digits. How much does it cost to make the two strings identical?

00101 11000

$5