摘要: 1108.IP 地址无效化 题目链接:https://leetcode.cn/problems/defanging-an-ip-address/description/ 题解代码: class Solution { public: string defangIPaddr(string address 阅读全文
posted @ 2024-11-20 01:37 fufuaifufu 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 504.七进制数 题目链接:https://leetcode.cn/problems/base-7/description/ 题解代码: class Solution { public: string convertToBase7(int num) { string nums; int a=abs( 阅读全文
posted @ 2024-11-20 01:34 fufuaifufu 阅读(9) 评论(0) 推荐(0) 编辑