All three seem acceptable, but applicable to different timing of problem and opportunities to help.
The first would mean you learned of problem too late to do anything.
The second would mean you would have been willing to help, but were not asked to do so.
The third would be mean you regret not having been asked tohelp.