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 MyAllgoritmicLib;

public class NOK {
	public static int lcm (int a, int b)
	{
		return a * b / NOD.gcd (a, b);
	}
	
	public static long lcm (long a, long b)
	{
		return a * b / NOD.gcd (a, b);
	}
	
	public static double lcm (double a, double b)
	{
		return a * b / NOD.gcd (a, b);
	}
}
