fork download
  1. class HelloWorld {
  2. public static void main (String[] args) {
  3. for (int i = 0; i < 32; i++) {
  4. System.out.println("" + i / 16 % 2 + i / 8 % 2 + i / 4 % 2 + i / 2 % 2 + i % 2);
  5. }
  6. }
  7. }
  8.  
  9. //https://pt.stackoverflow.com/q/205295/101
Success #stdin #stdout 0.04s 4386816KB
stdin
Standard input is empty
stdout
00000
00001
00010
00011
00100
00101
00110
00111
01000
01001
01010
01011
01100
01101
01110
01111
10000
10001
10010
10011
10100
10101
10110
10111
11000
11001
11010
11011
11100
11101
11110
11111