fix: fixed error in RMA bfs, Changed format of result file.