fork download
  1. #include <stdio.h>
  2.  
  3. t;x(char*s){t+=*s%2*2;return--t?*s&&x(s+1):*s*!1[s];}
  4.  
  5. int main(void) {
  6. printf("%d\n", x("ba"));
  7. return 0;
  8. }
  9.  
Success #stdin #stdout 0s 2156KB
stdin
Standard input is empty
stdout
1