Advertisement
Guest User

Untitled

a guest
Oct 27th, 2016
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. #include <vector>
  2.  
  3. bool is_size_different(const std::vector<int> & collection_a,
  4. const std::vector<int> & collection_b, int difference) {
  5. bool result;
  6.  
  7. if ((collection_a.size() - collection_b.size()) > difference) {
  8. result = true;
  9. } else {
  10. result = false;
  11. }
  12.  
  13. return result;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement