import java.io.*; import java.util.*; class Ideone { { dos.writeUTF(s); dos.flush(); byte[] buf = baos.toByteArray(); char[] chars = s.toCharArray(); int[] codes = new int[chars.length]; for (int i=0; i<chars.length;i++) codes[i]=chars[i]; } }
Standard input is empty
26 [0, 24, -19, -96, -75, -19, -65, -104, -19, -96, -75, -19, -65, -103, -19, -96, -75, -19, -65, -102, -19, -96, -75, -19, -65, -101] [-16, -99, -97, -104, -16, -99, -97, -103, -16, -99, -97, -102, -16, -99, -97, -101] 16 𝟘𝟙𝟚𝟛 𝟘𝟙𝟚𝟛 8 [55349, 57304, 55349, 57305, 55349, 57306, 55349, 57307] -19 -96 -75