close
/*
* AUTHOR : benbendog
* DATE : 2011/4/11
* PROBLEM: given 2 strings, compare if they are the same
if the same, output yes
otherwise, judge if the blank cause the problem,
if so
OUTPUT FORMAT ERROR
else
WRONG ANSWER
* SOLUTION: compare the string first, if the same , output yes
otherwise, take away all the blank in both string
then compare again, if the same, output
OUTPUT FORMAT ERROR , else output WRONG ANSWER
*/
全站熱搜
留言列表