Guest User

Untitled

a guest
Jan 24th, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. hpsort1.c || hpsort2.c
  2.  
  3. line 8,9
  4. leaf = (Num-1);
  5. root = (Num-1) / 2;
  6.  
  7. 12, 23の while を <= に
  8.  
  9. 24,26
  10. HpSwap(Data, 0, leaf);
  11. DownHeap1(Data, leaf, 0);
Add Comment
Please, Sign In to add comment