fork download
  1. #include <iostream>
  2. #include <vector>
  3. #include <boost/functional/hash.hpp>
  4. using namespace std;
  5.  
  6. int main() {
  7. // your code goes here
  8. vector<int64_t> brick_vec;
  9. brick_vec.emplace_back(1);brick_vec.emplace_back(2);
  10. auto hash = boost::hash_range(brick_vec.begin(), brick_vec.end());
  11. cout << hash;
  12. return 0;
  13. }
Success #stdin #stdout 0s 4476KB
stdin
Standard input is empty
stdout
3370697991563800380