fork download
  1. import java.util.*;
  2. import java.io.*;
  3.  
  4. public class Main{
  5. static class FastReader{
  6. public FastReader(){
  7. }
  8. String next(){
  9. while(st==null || !st.hasMoreTokens()){
  10. try {
  11. st=new StringTokenizer(br.readLine());
  12. } catch (IOException e) {
  13. e.printStackTrace();
  14. }
  15. }
  16. return st.nextToken();
  17. }
  18. int nextInt(){
  19. return Integer.parseInt(next());
  20. }
  21. long nextLong(){
  22. return Long.parseLong(next());
  23. }
  24. double nextDouble(){
  25. return Double.parseDouble(next());
  26. }
  27. String nextLine(){
  28. String str="";
  29. try {
  30. str=br.readLine().trim();
  31. } catch (Exception e) {
  32. e.printStackTrace();
  33. }
  34. return str;
  35. }
  36. }
  37. static class FastWriter {
  38. private final BufferedWriter bw;
  39.  
  40. public FastWriter() {
  41. this.bw = new BufferedWriter(new OutputStreamWriter(System.out));
  42. }
  43.  
  44. public void print(Object object) throws IOException {
  45. bw.append("" + object);
  46. }
  47.  
  48. public void println(Object object) throws IOException {
  49. print(object);
  50. bw.append("\n");
  51. }
  52.  
  53. public void close() throws IOException {
  54. bw.close();
  55. }
  56. }
  57. public static void main(String[] args) {
  58. try {
  59. FastReader in=new FastReader();
  60. FastWriter out = new FastWriter();
  61. int testCases=in.nextInt();
  62. while(testCases-- > 0){
  63. // write code here
  64. }
  65. out.close();
  66. } catch (Exception e) {
  67. return;
  68. }
  69. }
  70. }
  71.  
Success #stdin #stdout 0.08s 47180KB
stdin
1
stdout
Standard output is empty