We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Java
- Introduction
- Java Loops II
- Discussions
Java Loops II
Java Loops II
Sort by
recency
|
3163 Discussions
|
Please Login in order to post a comment
import java.util.; import java.io.;
class Solution { public static void main(String[] args) { Scanner in = new Scanner(System.in); int t = in.nextInt(); // Number of test cases
}
Working Code
import java.util.; import java.io.;
class Solution{ public static void main(String []argh){ Scanner in = new Scanner(System.in); int t=in.nextInt(); int common=0; for(int i=0;i
}
Working code
import java.util.; import java.io.;
class Solution{ public static void main(String []argh){ Scanner in = new Scanner(System.in); int t=in.nextInt(); for(int i=0;i0) System.out.print(" "); System.out.print(a);
}
import java.util.; import java.io.;
class Solution{ public static void main(String []argh){ Scanner in = new Scanner(System.in); int t=in.nextInt(); for(int i=0;i0) System.out.print(" "); System.out.print(a);
}
import java.util.; import java.io.; import java.lang.Math.*;
class Solution{ public static void main(String []argh){ Scanner in = new Scanner(System.in); int t=in.nextInt(); //in for(int i=0;i
}