find anagrams by 51b

char s[];main(_,t){for(gets(t);gets(s);)s[strspn(t,s)]||puts(s);}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top