fork(6) download
  1. import java.util.*;
  2. import java.lang.*;
  3.  
  4. class Main
  5. {
  6. public static void main (String[] args) throws java.lang.Exception
  7. {
  8. for (int i = 0; i < 3; i++)
  9. System.out.println(" @@@".substring(i, i+3));
  10. }
  11. }
Success #stdin #stdout 0.02s 245632KB
stdin
Standard input is empty
stdout
  @
 @@
@@@