Discussion of Problem 1731. DillVery easy:) just print numbers 1,2,...,n then n+1,2*n+1,...,m*n+1 Sorry,can you explain why... Thank you. because if you take any 2 numbers(a1,a2) from the 2 line and any 2 numbers(b1,b2) from the 3 line, a1+b1!=a2+b2 and a1+b2!=a2+b1... or 1, 2, 3, ... n 100, 200, 300, m*100 :) Can someone explain me why following solution incorrect? 1,2,3,..,n n, 2*n+1, 3*n+2, .. m*n+m-1 I got WA#1 with it. cause you have n twice Can someone explain me why following solution incorrect? 1,2,3,..,n n, 2*n+1, 3*n+2, .. m*n+m-1 I got WA#1 with it. _ Edited by author 20.04.2010 00:42 I had done as you saggest and after my program was crashed on 6 test. What it means? And what me do now? Please help, because it very importent for me. Thank you for advance! Very easy:) just print numbers 1,2,...,n then n+1,2*n+1,...,m*n+1 Everithing is done! Sorry for my mindless please. You may write random numbers and get AC@) How? it's not true. random numbers can't be always true. In fact sometimes random numbers can be equal.in statement is's written that equal numbers should not be. And even if won't be equals is possible to catch WA. Sorry for bad Englis.:) Excuse me again. I would like to know from what thinking I can gone to this solution. Because I must to explain my teacher why this variant of solution is correct.Please explain me how to gone to such solution logically or vhere I can read about it. Thank you for advance! Very easy:) just print numbers 1,2,...,n then n+1,2*n+1,...,m*n+1 |