fork(1) download
  1. /* package whatever; */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. class Ideone
  8. {
  9. public static void main (String[] args) throws java.lang.Exception
  10. {
  11. String s = "ABCDEmasterbbbbbbb123";
  12. int j = -1;
  13. for (int i = 0; i < s.length(); i++) {
  14. char c = s.charAt(i);
  15. c += j;
  16. j = -j;
  17. System.out.print(c);
  18. }
  19. System.out.println();
  20. }
  21. }
Success #stdin #stdout 0.09s 320256KB
stdin
Standard input is empty
stdout
@CBEDn`tsfqcacacac032