S2 初级场第三场 A、B、C题(java版题解)https://blog.nowcoder.net/n/fc462746e0524bd1ac7ce6bd1be56352