Add Binary Strings

Medium · rating 1350 · Strings, Math

Read two binary strings, one per line. Print their sum as a binary string (no leading zeros, except the value zero is 0).

Constraints: 1 ≤ length ≤ 104

Related problems

Open Add Binary Strings in Code Arena →