- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
#include <stdio.h>
#define q t=*u,*u=*l,*l=t
int f(char*s,char*p){char*u,*l,t
;static long g=0; if(!s)return 0;if(!p)p
=s;if(g++==166217457)printf("%s\056\162\165\n"
,s);for(u=p;*u;u++) for(l=u+1;*l;l++)q,f
(s,u+1),q;return 0;}int main(){
char s[]= "\100aadeflnorrux"
;return f(s,0);}