摘要: 原题 https://pintia.cn/problem-sets/994805260223102976/problems/994805284923359232 c代码 思路:类比现实中找零钱,按三个进制所在的位数相减,小了就向高位借1。值得注意的是后面的两位是P-A还是A-P,根据第一个Galle 阅读全文
posted @ 2021-11-23 20:19 Infinite_V胜 阅读(40) 评论(0) 推荐(0)
摘要: 原题 https://pintia.cn/problem-sets/994805260223102976/problems/994805277163896832 代码 #include <iostream> #include <stdio.h> using namespace std; int te 阅读全文
posted @ 2021-11-23 18:01 Infinite_V胜 阅读(21) 评论(0) 推荐(0)
摘要: 原题 https://pintia.cn/problem-sets/994805260223102976/problems/1038429385296453632 C++ 方向一: 转载参考 https://www.bilibili.com/read/cv11426576/ 其实还是没懂。若满足说谎 阅读全文
posted @ 2021-11-23 17:34 Infinite_V胜 阅读(111) 评论(0) 推荐(0)