Skip to content

Instantly share code, notes, and snippets.

View krummi's full-sized avatar

Hrafn Eiríksson krummi

View GitHub Profile
@krummi
krummi / b.cpp
Last active October 20, 2016 12:04
[2016 ACM Amman Collegiate Programming Contest] Problem B
#include <iostream>
#include <vector>
#include <string>
#include <sstream>
#include <cassert>
using namespace std;
int mapping[] = {6, 2, 5, 5, 4, 5, 6, 3, 7, 6};
int no_of_sticks(string n) {
@krummi
krummi / keybase.md
Created August 31, 2014 17:10
keybase.md

Keybase proof

I hereby claim:

  • I am krummi on github.
  • I am krummi (https://keybase.io/krummi) on keybase.
  • I have a public key whose fingerprint is 93FD F7BE 665C 3948 196E CDE7 976E 2A7B FDF3 89A2

To claim this, I am signing this object: