摘要:
###题目链接 https://ac.nowcoder.com/acm/contest/19306/1035 ###题目分析 将每个数每一位都进行拆分即可。 ###AC代码 ```c++ #include using namespace std; int n, p = 1, num = 1; int 阅读全文
摘要:
###题目链接: https://ac.nowcoder.com/acm/contest/19306/1026 ###题目分析 这种题,画个图,模拟就对啦。 ###TLE代码 ```c++ #include using namespace std; int n, cnt; int w[25][25] 阅读全文
摘要:
###题目链接 https://ac.nowcoder.com/acm/contest/20960/1004 ###题目分析 注意当第i位为9是,此时进位就是0,但是`0 using namespace std; // 利用第i+1位判断第i位是否要进位 // 用x标记着结束 int n, t, p 阅读全文