Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
Focusing

Dhruval Dhruval10

:octocat:
Focusing
View GitHub Profile
@Dhruval10
Dhruval10 / gift1.java
Created Sep 18, 2016 — forked from stphung/gift1.java
My solution to "Greedy Gift Givers" from USACO
View gift1.java
/*
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;