Skip to main content
deleted 24 characters in body
Source Link
Noodle9
  • 20.4k
  • 3
  • 23
  • 47

C (gcc), 33 29 2928 bytes

Saved a byte thanks to ceilingcat!!!

x;f(n){for(x=0;++x!=n;n-n;n/=x);} 

Try it online!

How

Uses the gcc C extension: ++<var1>! = <var2> as ++x!=n which increments x until x! is equal to n. ¯\(ツ)Try it online!

C (gcc), 33 29 bytes

x;f(n){for(x=0;++x!=n;n/=x);} 

Try it online!

How

Uses the gcc C extension: ++<var1>! = <var2> as ++x!=n which increments x until x! is equal to n. ¯\(ツ)

C (gcc), 33 29 28 bytes

Saved a byte thanks to ceilingcat!!!

x;f(n){for(x=0;++x-n;n/=x);} 

Try it online!

added 56 characters in body
Source Link
Noodle9
  • 20.4k
  • 3
  • 23
  • 47

C (gcc), 3333 29 bytes

n;fx;f(xn){for(n=0;++nx=0;++x!=x;x=n;n/=n=x);x=n;;} 

Try it online!Try it online!

How

Uses the gcc C extension: ++<var1>! = <var2> as ++n++x!=x=n which increments nx until nx! is equal to xn. ¯\(ツ)

C (gcc), 33 bytes

n;f(x){for(n=0;++n!=x;x/=n);x=n;} 

Try it online!

How

Uses the gcc C extension: ++<var1>! = <var2> as ++n!=x which increments n until n! is equal to x. ¯\(ツ)

C (gcc), 33 29 bytes

x;f(n){for(x=0;++x!=n;n/=x);} 

Try it online!

How

Uses the gcc C extension: ++<var1>! = <var2> as ++x!=n which increments x until x! is equal to n. ¯\(ツ)

added 3 characters in body
Source Link
Noodle9
  • 20.4k
  • 3
  • 23
  • 47

C (gcc), 33 bytes

n;f(x){for(n=0;++n!=x;x/=n);x=n;} 

Try it online!

How

Uses the c operatorgcc C extension: ++<var1>! = <var2> as ++n!=x which increments n until n! is equal to x. ¯\(ツ)

C (gcc), 33 bytes

n;f(x){for(n=0;++n!=x;x/=n);x=n;} 

Try it online!

How

Uses the c operator ++<var1>! = <var2> as ++n!=x which increments n until n! is equal to x. ¯\(ツ)

C (gcc), 33 bytes

n;f(x){for(n=0;++n!=x;x/=n);x=n;} 

Try it online!

How

Uses the gcc C extension: ++<var1>! = <var2> as ++n!=x which increments n until n! is equal to x. ¯\(ツ)

added 2 characters in body
Source Link
Noodle9
  • 20.4k
  • 3
  • 23
  • 47
Loading
edited body
Source Link
Noodle9
  • 20.4k
  • 3
  • 23
  • 47
Loading
added 9 characters in body
Source Link
Noodle9
  • 20.4k
  • 3
  • 23
  • 47
Loading
Source Link
Noodle9
  • 20.4k
  • 3
  • 23
  • 47
Loading