could be ignition switch,starter,corroded battery cables,or loose battery clamps some other things too.
check for loose clamps and corroded cables before you replace any thing.
What year some accord have a igniting switch recall(call your dealer and have them do a vin check on you car you might get a free ignition switch).
sorry didnt me to repeat you ohs we both must have replyed at the same time