Advertisement
Guest User

Untitled

a guest
Dec 19th, 2018
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. int cnt = 0, idx = (n - 1) / 2 + 1;
  2. while(cnt < (n + 1) / 2){
  3. is_list[idx] = true;
  4. cin >> val[idx];
  5. idx++;
  6. cnt++;
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement