[ create a new paste ] login | about

10sr

Name:
Email:
Site/Blog: http://10sr.github.com
Location: japan
Default language: Python
Favorite languages:
About:

Saved pastes by 10sr:

C, pasted on Dec 12:
1
2
3
4
5
//! gcc -o multikeyquicksort.bin multikeyquicksort.c -W -Wall -O3 -std=gnu99 
// http://amiq11.tumblr.com/post/69755652390/multi-key-quick-sort

#include <stdio.h>
#include <stdint.h>
...
view (113 lines, 4 lines of output)
Python, pasted on Mar 4:
1
2
3
4
5
# 3 prisoners problem
# http://www.bing.com/search?q=3%E5%9B%9A%E4%BA%BA%E5%95%8F%E9%A1%8C
# http://ja.wikipedia.org/wiki/3%E5%9B%9A%E4%BA%BA%E5%95%8F%E9%A1%8C

import random
...
view (50 lines, 510 lines of output, 1 comment)
Python, pasted on Mar 4:
1
2
3
4
5
#!/usr/bin/env python

def ack(x, y):
    if(x == 0):
        return y + 1
...
view (12 lines, 1 line of output)