South Korean president Park Geun-hye says North Korea will pay for any provocation as she takes part in a ceremony to mark Armed Forces Day.