If it says protons - there is no information about proton energy, so it can't be solved.
However, in the case of photons - there is a known formula linking photon's frequency with its energy, there is also a known formula linking photon's frequency with its wavelength.