Editorial for WC '17 Contest 1 J2 - How's the Weather?


Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.
Submitting an official solution before solving the problem yourself is a bannable offence.

Rewriting the given formula to isolate F, we arrive at F = \frac{C \times 9}{5} + 32. We can then input the integer C, plug it into this formula, and output the resulting value of F. We don't need to worry about integer versus floating point division due to the guarantee that F will come out to an integer.


Comments

There are no comments at the moment.