fork(1) download
  1. import java.io.*;
  2. import java.util.*;
  3. class Ideone
  4. {
  5. public static void main(String[] args) throws Exception
  6. {
  7. int[] arr = new int[]{0, 9, 227, 129, 130, 227, 129, 132, 227, 129, 134, 192, 94, 220, 204, 204, 204, 204, 205, 0, 1, 134, 167, 0, 0, 18, 8, 0, 1, 134, 167};
  8. byte[] brr = new byte[arr.length];
  9. for (int i = 0; i < arr.length;i++) brr[i]=(byte)arr[i];
  10. bais = new ByteArrayInputStream(brr);
  11. dis = new DataInputStream(bais);
  12. System.out.println(dis.readUTF());
  13. System.out.println(dis.readDouble());
  14. System.out.println(dis.readInt());
  15. System.out.println(dis.readLong());
  16. System.out.println(100007L+(1L<<35)+(1L<<41)+(1L<<44));
  17. }
  18. }
  19.  
Success #stdin #stdout 0.08s 32968KB
stdin
Standard input is empty
stdout
あいう
-123.45
100007
19825569138343
19825569138343