Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View johncip's full-sized avatar

John Cipriano johncip

View GitHub Profile
@johncip
johncip / name-length-histogram.txt
Last active January 7, 2016 22:39
Name distribution
User name metrics
Bin width: 1
Each # represents 500 users.
LENGTH OF FIRST NAME
====================
bins: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63]
freqs: [36, 510, 2547, 5905, 10086, 11103, 9461, 5363, 3918, 2780, 3515, 3655, 3609, 3213, 2246, 1469, 968, 576, 410, 253, 189, 162, 102, 57, 51, 42, 31, 24, 15, 4, 1, 4, 2, 2, 0, 1, 1, 0, 1, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1]
01:
02: #
@johncip
johncip / uva-fast-io
Created May 25, 2014 08:27
Contest problem fast I/O template
/*
* Title
*/
import java.io.BufferedOutputStream;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {