import java.util.*;

public class Verifier
{
    public static final String EXAMPLE1_FILE = "example1.txt";
    public static final int TOTAL_ORE_1 = 13312;
    public static final long TOTAL_FUEL_1 = 82892753L;
    public static final String EXAMPLE2_FILE = "example2.txt";
    public static final int TOTAL_ORE_2 = 180697;
    public static final long TOTAL_FUEL_2 = 5586022L;
    public static final String EXAMPLE3_FILE = "example3.txt";
    public static final int TOTAL_ORE_3 = 2210736;
    public static final long TOTAL_FUEL_3 = 460664L;

    public Verifier (boolean debug)
    {
        _debug = debug;
        _theParser = new Parser(debug);
    }

    public final boolean verify ()
    {
        Vector<Reaction> reactions = _theParser.loadData(EXAMPLE1_FILE);
        NanoRefinery factory = new NanoRefinery(reactions, _debug);
        boolean verified = false;
        long totalOre = 1000000000000L;
        int oreNeeded = factory.oreNeeded(0);
        long iterations = totalOre / oreNeeded;

        factory = new NanoRefinery(reactions, _debug);
        
        oreNeeded = factory.oreNeeded(iterations*100);

        System.out.println("ore consumed over "+(iterations*100)+" iterations: "+oreNeeded);

        if (oreNeeded == TOTAL_ORE_1)
        {

        }
        else
            System.out.println("Failed on "+EXAMPLE1_FILE);

        return verified;
    }

    private boolean _debug;
    private Parser _theParser;
}
@@ -1116,20 +1116,16 @@
 erations
-*100
 );%0A%0A    
@@ -1168,17 +1168,16 @@
  over %22+
-(
 iteratio
@@ -1182,13 +1182,8 @@
 ions
-*100)
 +%22 i

Update Verifier.java