Skip to content

Instantly share code, notes, and snippets.

View Dhruval10's full-sized avatar
:octocat:
Focusing

Dhruval Dhruval10

:octocat:
Focusing
View GitHub Profile
@Dhruval10
Dhruval10 / gift1.java
Created September 18, 2016 19:10 — forked from stphung/gift1.java
My solution to "Greedy Gift Givers" from USACO
/*
ID: stphung1
LANG: JAVA
TASK: gift1
*/
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.HashMap;