Skip to content

Instantly share code, notes, and snippets.

// ConsoleApplication3.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <string>
#include <iostream>
#define HEIST 0
#define PASSENGER 1
#define CARGO 2
class namefag {
#include <iostream>
unsigned long fgh(unsigned long n, unsigned long iter) {
if(!iter) {
return n+1;
} else {
iter -= 1;
unsigned long val = n;
for(unsigned long i = 0; i < n;i++) {
val = fgh(val,iter);