fork download
  1. import java.io.*;
  2. import java.math.*;
  3. import java.util.*;
  4.  
  5. public final class Main {
  6. private static final class tokens extends LinkedList<String> {
  7. tokens(String line) {
  8. super(new LinkedList<String>());
  9. for (String token: line.split(" "))
  10. add(token); }
  11. String next() { return remove(); }
  12. int nextInt() { return Integer.parseInt(next()); }
  13. long nextLong() { return Long.parseLong(next()); }
  14. double nextDouble() { return Double.parseDouble(next()); }
  15. char nextChar() { return next().charAt(0); }
  16. byte[] nextBytes() { return next().getBytes(); }
  17. BigInteger nextBigInt() { return new BigInteger(next()); } }
  18. private static tokens nextLine(BufferedReader cin) {
  19. String line = null;
  20. try { line = cin.readLine(); }
  21. catch (IOException e) { e.printStackTrace(); }
  22. return new tokens(line); }
  23. private static byte[] to_bytes(String s) { return s.getBytes(); }
  24. private static byte[] to_bytes(Integer x) { return to_bytes(x.toString()); }
  25. private static byte[] to_bytes(Long x) { return to_bytes(x.toString()); }
  26. private static byte[] to_bytes(BigInteger x) { return to_bytes(x.toString()); }
  27. private static byte[] to_bytes(String f, Double x) {
  28. return to_bytes(String.format(f,x)); }
  29. private final static byte[] space = to_bytes(" ");
  30. private final static byte[] endl = to_bytes("\n");
  31. public static void main(String[] args) throws IOException {
  32. final InputStreamReader istream = new InputStreamReader(System.in);
  33. final BufferedReader cin = new BufferedReader(istream);
  34. for (int T = nextLine(cin).nextInt(); T > 0; --T) {
  35. cout.write(endl); }
  36. cout.flush(); } }
  37.  
Success #stdin #stdout 0.08s 51232KB
stdin
Standard input is empty
stdout
Standard output is empty