Skip to main content
Commonmark migration
Source Link

#C 59 Bytes

C 59 Bytes

r;f(s)char*s;{for(r=0;r=*s?~r&1<<(*s>=*++s):0;);return!*s;}

#C 59 Bytes

r;f(s)char*s;{for(r=0;r=*s?~r&1<<(*s>=*++s):0;);return!*s;}

C 59 Bytes

r;f(s)char*s;{for(r=0;r=*s?~r&1<<(*s>=*++s):0;);return!*s;}
added 2 characters in body
Source Link
cleblanc
  • 3.5k
  • 10
  • 16

#C 5759 Bytes

fr;f(r,s)char*s;{for(;r=*sr=0;r=*s?~r&1<<(*s>=*++s):0;);return !*s;}

#C 57 Bytes

f(r,s)char*s;{for(;r=*s?~r&1<<(*s>=*++s):0;);return !*s;}

#C 59 Bytes

r;f(s)char*s;{for(r=0;r=*s?~r&1<<(*s>=*++s):0;);return!*s;}
deleted 383 characters in body
Source Link
cleblanc
  • 3.5k
  • 10
  • 16

#C 133 125 118 116 106 102 89 88 81 70 58 5557 Bytes

r;ff(char*sr,s)char*s;{for(;r=*s?~r&1<<(*s>=*++s):0;);return !*s;}

in case you can't set r=0 before calling the function for a second time it's 58 Bytes

r;f(char*s){for(r=0;r=*s?~r&1<<(*s>=*++s):0;);return !*s;}

Test it with this main function

main(c,v)char**v;
{
    f(v[1])?puts("T"):puts("F");
}

#C 133 125 118 116 106 102 89 88 81 70 58 55 Bytes

r;f(char*s){for(;r=*s?~r&1<<(*s>=*++s):0;);return !*s;}

in case you can't set r=0 before calling the function for a second time it's 58 Bytes

r;f(char*s){for(r=0;r=*s?~r&1<<(*s>=*++s):0;);return !*s;}

Test it with this main function

main(c,v)char**v;
{
    f(v[1])?puts("T"):puts("F");
}

#C 57 Bytes

f(r,s)char*s;{for(;r=*s?~r&1<<(*s>=*++s):0;);return !*s;}
deleted 1916 characters in body
Source Link
cleblanc
  • 3.5k
  • 10
  • 16
Loading
added 198 characters in body
Source Link
cleblanc
  • 3.5k
  • 10
  • 16
Loading
added 145 characters in body
Source Link
cleblanc
  • 3.5k
  • 10
  • 16
Loading
added 237 characters in body
Source Link
cleblanc
  • 3.5k
  • 10
  • 16
Loading
added 55 characters in body
Source Link
cleblanc
  • 3.5k
  • 10
  • 16
Loading
added 138 characters in body
Source Link
cleblanc
  • 3.5k
  • 10
  • 16
Loading
added 139 characters in body
Source Link
cleblanc
  • 3.5k
  • 10
  • 16
Loading
deleted 1 character in body
Source Link
cleblanc
  • 3.5k
  • 10
  • 16
Loading
added 139 characters in body
Source Link
cleblanc
  • 3.5k
  • 10
  • 16
Loading
added 162 characters in body
Source Link
cleblanc
  • 3.5k
  • 10
  • 16
Loading
deleted 2 characters in body
Source Link
cleblanc
  • 3.5k
  • 10
  • 16
Loading
added 178 characters in body
Source Link
cleblanc
  • 3.5k
  • 10
  • 16
Loading
added 174 characters in body
Source Link
cleblanc
  • 3.5k
  • 10
  • 16
Loading
added 192 characters in body
Source Link
cleblanc
  • 3.5k
  • 10
  • 16
Loading
Source Link
cleblanc
  • 3.5k
  • 10
  • 16
Loading