[ create a new paste ] login | about

jfs

Name:
Email:
Site/Blog:
Location:
Default language:
Favorite languages:
About:

Saved pastes by jfs:

Python, pasted on Jan 17:
1
2
3
4
5
print('# 7.')
def isNonIncreasing(l):
    for i, el in enumerate(l[1:]):
        if el >= l[i]:
            return False
...
view (6 lines, 1 line of output)
Python, pasted on Jan 8:
1
2
3
4
5
def nincr_seq_ivlad(seq):
    dp = [1]*len(seq)
    for i, ei in enumerate(seq):
        for j in xrange(i):
            if seq[j] < ei:
...
view (14 lines, 6 lines of output)
Python, pasted on Dec 4:
1
2
3
4
5
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""justin homework"""
from __future__ import with_statement
import re
...
view (21 lines, 1 line of output)
C++, pasted on Dec 3:
1
2
3
4
5
// $ g++ -std=c++0x -Wall alec.cpp -o alec && ./alec
#include <stdint.h> // uint64_t
#include <iostream>

namespace {
...
view (44 lines, 3 lines of output)
C++, pasted on Dec 3:
1
2
3
4
5
// $ g++ -std=c++0x -Wall alec.cpp -o alec && ./alec
#include <stdint.h> // uint64_t
#include <iostream>

namespace {
...
view (48 lines, 3 lines of output)