Skip to content

Instantly share code, notes, and snippets.

alvineadel / 1.
Last active Dec 30, 2015
UVA - 11172 - Relational Operators
View Major
import java.util.*;
import java.lang.*;
class Main
public static void main (String[] args) throws java.lang.Exception
Scanner in = new Scanner(;
alvineadel / 1.
Last active Dec 30, 2015
UVA - 10038 - Jolly Jumpers
View 1.

Problem E: Jolly Jumpers

A sequence of n > 0 integers is called a jolly jumper if the absolute values of the difference between successive elements take on all the values 1 through n-1. For instance,

1 4 2 3
is a jolly jumper, because the absolutes differences are 3, 2, and 1 respectively. The definition implies that any sequence of a single
alvineadel / 0_reuse_code.js
Created Dec 5, 2013
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console