text:diff in task1 not done, program:need find rank