I hereby claim:
- I am wjwalcher on github.
- I am willwalcher (https://keybase.io/willwalcher) on keybase.
- I have a public key ASAYPyTMiNh1NDHST4x-tUPq7o02c2O3Ef43GEHg3nys0go
To claim this, I am signing this object:
#include <cuda_runtime.h> | |
#include <iostream> | |
#include <vector> | |
#include <string> | |
#include <device_launch_parameters.h> | |
#include <opencv2/core/core.hpp> | |
#include <opencv2/highgui/highgui.hpp> | |
#include <opencv2/imgproc.hpp> | |
using namespace cv; |
I hereby claim:
To claim this, I am signing this object:
# Stable Matching Problem, demonstrating the Gale-Shapley Algorithm | |
# for creating a stable matching between two sets of equal size | |
''' | |
Array representing the n Residents and n Hospitals | |
- in this case, n = 4 | |
''' | |
ResidentAndHospital = [[3, 5, 4, 6], | |
[4, 3, 6, 5], | |
[4, 5, 3, 6], |
import random | |
swap = True | |
swaps = 0 | |
counts = 0 | |
numElements = int(input("How big do you want the array to be? ")) | |
list_items = [None] * numElements | |
for i in range(0, numElements): | |
list_items[i] = random.randint(0, 100) | |
print(list_items) |