Editorial for COCI '07 Contest 5 #1 Tri


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.

The number of combinations for the operator and equals sign is small enough to check each of them separately. Two errors to avoid are printing only one solution when there are multiple possible outputs and not using integer division which truncates the decimal part (a good way to work around this is to check if A \times C = B instead of A = B / C).


Comments

There are no comments at the moment.