I hereby claim:
- I am vikramls on github.
- I am vikramls (https://keybase.io/vikramls) on keybase.
- I have a public key whose fingerprint is 3A0D 157C 2320 288D A4F3 B3B1 F606 2D80 5244 6C2F
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
""" | |
Watch for check-in to the source git repository and build photos using sigal. | |
""" | |
import os | |
from subprocess import check_call | |
from glob import glob |
"""glasses arranged in a pyramid: | |
1 | |
2 3 | |
4 5 6 | |
7 8 9 10 | |
Each glass gets half the water of the one diagonally above it. So for 2 units, 1=1unit, 2,3=1/2unit. | |
""" | |
def make_pyramid(levels): |
#include <map> | |
#include <iostream> | |
using namespace std; | |
multimap<string, int> data; | |
int& get_value(string key) | |
{ | |
return data.find(key)->second; |