Pairs in an array that sum to 15…

Messy and hacky, should use set rather than map. In reality should use a hash…

#include
#include

using namespace std;

int main() {

vector array;

array.push_back(1);
array.push_back(10);
array.push_back(5);

map exists;
for(size_t n=0;n