Репост из: 别宝のPTA
#leetcode #每日一题
657. 机器人能否返回原点
return ( moves.count("R")==moves.count("L") and moves.count("U") == moves.count("D") )
今天这题好简单
657. 机器人能否返回原点
return ( moves.count("R")==moves.count("L") and moves.count("U") == moves.count("D") )
今天这题好简单