Skip to content

Instantly share code, notes, and snippets.

Program received signal SIGSEGV, Segmentation fault.
0x0000000000402dbd in std::_Hashtable<int, std::pair<int const, int>, std::allocator<std::pair<int const, int> >, std::_Select1st<std::pair<int const, int> >, std::equal_to<int>, std::hash<int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, false, false, true>::_M_deallocate_nodes(std::__detail::_Hash_node<std::pair<int const, int>, false>**, unsigned long) ()
# include <iostream>
# include <cstdio>
#include <cmath>
#include <vector>
#include <unordered_map>
#include <array>
using namespace std;
float logBase2(float N)