Skip to content

Instantly share code, notes, and snippets.

@cieldeville
cieldeville / main.cpp
Created October 28, 2018 23:23
UVA 11475 'Extend to Palindrome
#include <iostream>
#include <cstring>
using namespace std;
#define MAX_LEN 100000
char buffer[2*MAX_LEN + 2];
char* original;
int originalLength;
@cieldeville
cieldeville / heap.lua
Created August 9, 2017 18:26
Implementation of a Binary Heap in Lua
-- heap.lua
--
-- Provides a binary heap datastructure which may be used
-- by other lua modules and / or scripts (e.g. for pathfinding)
--
-- Author: BlackyPaw
-- Version: 1.0.0
-- Last modified: 08/09/2017
local M = {}

Keybase proof

I hereby claim:

  • I am BlackyPaw on github.
  • I am blackypaw (https://keybase.io/blackypaw) on keybase.
  • I have a public key whose fingerprint is 032F 0C57 8A55 DD5A BE10 EE7C 9559 F2DA 3F53 BED2

To claim this, I am signing this object: