the same ArrayA as ArrayB by jonathan camacho

while(<>){chomp;($ls,$rs)=split/==/,$_;@ls=sort(split(/,/,$ls));@rs=sort(split(/,/,$rs));print"@ls"eq"@rs"?"same\n":"different\n"}

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

download

return to the top page