Entered natural numbers A (which digital amount is less then 250) and N (1<N<10000) to calculate a remain, what appears a number A divides with N.
In number A is the text file division.in first turn given, but in the second - number N cost.
In the text file division.out unique turn out remain, what appears A divides with N, cost.
Please please help me
This post has been edited by anna zande: 06 May 2009 - 06:17 AM