摘要:
正整数A的“DA(为1位整数)部分”定义为由A中所有DA组成的新整数PA。例如:给定A = 3862767,DA = 6,则A的“6部分”PA是66,因为A中有2个6。 现给定A、DA、B、DB,请编写程序计算PA + PB。 输入格式: 输入在一行中依次给出A、DA、B、DB,中间以空格分隔,其中 阅读全文
摘要:
题目描述 输入描述: 输出描述: 输入例子: 输出例子: 以上是我第一次想的,不知道哪里出错了,希望看到的各位帮忙review一下~~ 接下来是参考牛客某童鞋写的: 阅读全文
摘要:
题目描述 输入描述: 输出描述: 输入例子: 输出例子: 阅读全文
摘要:
题目描述 输入描述: 输出描述: 输入例子: 输出例子: 我觉得PAT乙级这些题审题真的太重要了。。。 阅读全文
摘要:
题目描述 输入描述: 输出描述: 输入例子: 输出例子: 阅读全文