hkRHlRPjfxcvLVkR

Date: 2013-05-26 07:14 pm (UTC)
From: (Anonymous)
public static boeolan contains(String left, String right) {int magicLeft = toMagicInt(left);int magicRight = toMagicInt(right);return (magicLeft & magicRight) == magicRight;}public static int toMagicInt(String text) {int result = 0;int index = 0;for (char c : text.toLowerCase().toCharArray()) {index = c a';result |= 2 << index;}return result;}
If you don't have an account you can create one now.
No Subject Icon Selected
More info about formatting

July 2010

S M T W T F S
    123
4567 8910
11121314151617
18192021222324
25262728293031

Style Credit

Expand Cut Tags

No cut tags