Editorial for WC '15 Contest 2 J2 - The Empire Strikes Back
Submitting an official solution before solving the problem yourself is a bannable offence.
Much like the first problem, this one tests basic skills in interpretation and implementation. The difference here is that neither looping nor if-statements can be avoided. Given two integers
Note that we don't have to overcomplicate the solution by storing the numbers into arrays. We can simply process the input one by one as we go, since
Comments