leetcode:consider special case when input array is NULL
codeforces:add solution to  codeforces #262 Div2 problem A
codeforces:comment
codeforces:AC solution to codeforces #262 Div2 C problem
leetcode:not using range to check number range to reduce time complexity a lot
topcoder:add solutions to some SRM contests