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

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

public class BProcessorFactory extends AbstractProcessorFactory<BInput, BOutputEntry> {
    public BProcessorFactory(String inputFileName) {
	super(inputFileName);
    }

    @Override
    protected InputBlockParser<BInput> createInputBlockParser() {
	return new BInputBlockParser();
    }

    @Override
    protected OutputProducer<BInput, BOutputEntry> createOutputProducer() {
	return new BOutputProducer();
    }
}


public class Code2DataStructure {
	
	private int noOfGooglers;
	private int surprisingTrplets;
	private int p;
	private int[] marks;
	private int result;
	public int getNoOfGooglers() {
		return noOfGooglers;
	}
	public void setNoOfGooglers(int noOfGooglers) {
		this.noOfGooglers = noOfGooglers;
	}
	public int getSurprisingTrplets() {
		return surprisingTrplets;
	}
	public void setSurprisingTrplets(int surprisingTrplets) {
		this.surprisingTrplets = surprisingTrplets;
	}
	public int getP() {
		return p;
	}
	public void setP(int p) {
		this.p = p;
	}
	public int[] getMarks() {
		return marks;
	}
	public void setMarks(int[] marks) {
		this.marks = marks;
	}
	public int getResult() {
		return result;
	}
	public void setResult(int result) {
		this.result = result;
	}
	
	

}
