我的PAT-BASIC代码仓:https://github.com/617076674/PAT-BASIC
我的PAT-ADVANCED代码仓:https://github.com/617076674/PAT-ADVANCED
原题链接:
PAT-BASIC1094:https://pintia.cn/problem-sets/994805260223102976/problems/1071785997033074688
PAT-ADVANCED1152:https://pintia.cn/problem-sets/994805342720868352/problems/1071785055080476672
题目描述:
PAT-BASIC1094: