Guest User

Untitled

a guest
Dec 14th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. //檢查左邊最大值
  2. int lmax = 0;
  3. for (int j = 0; j <= pos; j++)
  4. {
  5. if (arr[j] > lmax)
  6. {
  7. lmax = arr[j];
  8. }
  9. }
Add Comment
Please, Sign In to add comment