B1016.部分A+B(15) #include <cstdio> #include <cstring> int calc(long long a, long long da) { int aa = 0; while(a != 0) { if(a % 10 == da){ aa = aa * 10 + da; } a /= 10; } return aa; } int main() { long long a, b, da, db; int pa, pb; scanf("…
题目AC汇总 甲级AC PAT A1001 A+B Format (20 分) PAT A1002 A+B for Polynomials(25) PAT A1005 Spell It Right (20) PAT A1006 Sign In and Sign Out (25) PAT A1009 Product of Polynomials(25) PAT A1011 World Cup Betting(20) PAT A1012 Best Rank(25) PAT A1016 Phone B…