Skip to main content
Commonmark migration
Source Link

#Java, 143 141 125 88 bytes

Java, 143 141 125 88 bytes

interface T {static void main(String[]a){System.out.print(a[0]);main(a[0].split("0"));}} 

Ungolfed Test Code

interface T { static void main(String[] a) { System.out.print(a[0]); main(a[0].split("0")); } } 

#Java, 143 141 125 88 bytes

interface T {static void main(String[]a){System.out.print(a[0]);main(a[0].split("0"));}} 

Ungolfed Test Code

interface T { static void main(String[] a) { System.out.print(a[0]); main(a[0].split("0")); } } 

Java, 143 141 125 88 bytes

interface T {static void main(String[]a){System.out.print(a[0]);main(a[0].split("0"));}} 

Ungolfed Test Code

interface T { static void main(String[] a) { System.out.print(a[0]); main(a[0].split("0")); } } 
deleted 82 characters in body
Source Link
Shaun Wild
  • 2.6k
  • 19
  • 26

#Java, 143 141 125125 88 bytes

interface T {static void main(String[]a){int i=new java.util.Scanner(System.in).nextInt();do System.out.print(ia[0]);while;main(i>0a[0].split("0"));}} 

This definitely needs a lot of work.

Ungolfed Test Code

interface T {  static void main(String[] a) { int i = new java.util.Scanner(System.in)out.nextIntprint(a[0]); do { System.outmain(a[0].printsplit(i"0")); } while (i > 0); } } 

#Java, 143 141 125 bytes

interface T{static void main(String[]a){int i=new java.util.Scanner(System.in).nextInt();do System.out.print(i);while(i>0);}} 

This definitely needs a lot of work.

interface T { static void main(String[] a) { int i = new java.util.Scanner(System.in).nextInt(); do { System.out.print(i); } while (i > 0); } } 

#Java, 143 141 125 88 bytes

interface T {static void main(String[]a){System.out.print(a[0]);main(a[0].split("0"));}} 

Ungolfed Test Code

interface T {  static void main(String[] a) { System.out.print(a[0]); main(a[0].split("0")); } } 
deleted 22 characters in body
Source Link
Shaun Wild
  • 2.6k
  • 19
  • 26

#Java, 143 141141 125 bytes

interface T{static void main(String[]a)throws Exception{int i=new java.util.Scanner(System.in).nextInt();do System.out.print(i);while(i>0);}} 

This definitely needs a lot of work.

interface T { static void main(String[] a) throws Exception { int i = new java.util.Scanner(System.in).nextInt(); do { System.out.print(i); } while (i > 0); } } 

#Java, 143 141 bytes

interface T{static void main(String[]a)throws Exception{int i=new java.util.Scanner(System.in).nextInt();do System.out.print(i);while(i>0);}} 

This definitely needs a lot of work.

interface T { static void main(String[] a) throws Exception { int i = new java.util.Scanner(System.in).nextInt(); do { System.out.print(i); } while (i > 0); } } 

#Java, 143 141 125 bytes

interface T{static void main(String[]a){int i=new java.util.Scanner(System.in).nextInt();do System.out.print(i);while(i>0);}} 

This definitely needs a lot of work.

interface T { static void main(String[] a) { int i = new java.util.Scanner(System.in).nextInt(); do { System.out.print(i); } while (i > 0); } } 
added 6 characters in body
Source Link
Shaun Wild
  • 2.6k
  • 19
  • 26
Loading
Source Link
Shaun Wild
  • 2.6k
  • 19
  • 26
Loading