/* * Problem : DIVISOR * Contest : UOI-2006 (Dnepropetrovsk) * Type : Test Generation * Date : March 28, 2006 * Author : Shamil Yagiyayev * Language : C# * Compiler : .NET 1.1 * Algorithm: Predefined tests */ using System.IO; class GenDivisorTests { static long Process(int n) { int[] cnt = new int[n+1]; // everything is 0 bool[] prime = new bool[n+1]; // everything is false for (int i=2; i<=n; i++) { int curr = i; for (int j=2; j