摘要: This time, you are supposed to find A+B where A and B are two polynomials. Input Specification: Each input file contains one test case. Each case occu 阅读全文
posted @ 2019-11-22 23:38 沐辰雨 阅读(367) 评论(0) 推荐(0) 编辑
摘要: 字符串 APPAPT 中包含了两个单词 PAT,其中第一个 PAT 是第 2 位(P),第 4 位(A),第 6 位(T);第二个 PAT 是第 3 位(P),第 4 位(A),第 6 位(T)。 现给定字符串,问一共可以形成多少个 PAT? 输入格式: 输入只有一行,包含一个字符串,长度不超过1, 阅读全文
posted @ 2019-11-22 22:14 沐辰雨 阅读(247) 评论(0) 推荐(0) 编辑