LCM of Co-prime Numbers = Product Of The Numbers. Take part It is guaranteed that at least one solution exists. Carbon content must be less than 0.7. to help My CodeChef Solution. Nuggets. Why do real estate agents always ask me whether I am buying property to live-in or as an investment? The description of T T test cases follows. #include int main (void) { int T,a,b,c,d,i; scanf ("%d\n",&T); for (i=0;i int main (void) { int T,i,N; scanf ("%d\n",&T); for (i=0;i0) { int a []=new int [2]; a [0]=sc.nextInt (); a [1]=sc.nextInt (); int b=a [0]; int c=a [1]; if (b>c) { if ( (b-c)%2==0) { System.out.println ("1"); } else { System.out.println ("2"); } } else if (b