package com.menzus.gcj._2012.qualification.c;

import com.menzus.gcj.common.InputBlockParser;
import com.menzus.gcj.common.OutputProducer;
import com.menzus.gcj.common.impl.AbstractProcessorFactory;

public class CProcessorFactory extends AbstractProcessorFactory<CInput, COutputEntry> {
    public CProcessorFactory(String inputFileName) {
	super(inputFileName);
    }

    @Override
    protected InputBlockParser<CInput> createInputBlockParser() {
	return new CInputBlockParser();
    }

    @Override
    protected OutputProducer<CInput, COutputEntry> createOutputProducer() {
	return new COutputProducer();
    }
}

package de.at.codejam.problem3.gui;

import de.at.codejam.AbstractCodeJamProblemSolver;
import de.at.codejam.gui.AbstractCodeJamClient;
import de.at.codejam.problem3.Problem3Case;
import de.at.codejam.problem3.Problem3Solver;

public class Problem3Client extends AbstractCodeJamClient<Problem3Case> {

	@Override
	protected AbstractCodeJamProblemSolver<Problem3Case> getTaskSolver() {

		return new Problem3Solver();
	}

	@Override
	protected String getAssignmentName() {

		return "Recycled Numbers";
	}

	public static final void main(String[] args) {

		Problem3Client client = new Problem3Client();
		client.start();
	}

}
