At least this because it was explicitly precluded as an acceptable solution in the OP and the later entries in that list also look unconvincing :
Incidentally, it the thread title "Exercise c++ problem" or "Exorcism c++ problem". The devil is, as always, in the detail.