find anagrams by nn

main(_,s){for(;gets();)strpbrk(s,"DMOPW")+strlen(s)-6||puts();}

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

download

return top