摘要: C语言 #sscanf #代码学习 #codewars 题目链接:IP Validation | Codewars 代码如下: #include <stdio.h> int is_valid_ip(const char *addr) { unsigned n[4], i, nc; // Must b 阅读全文
posted @ 2024-02-06 21:01 Kazuma_124 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 题目链接:https://www.codewars.com/kata/5426d7a2c2c7784365000783/python def balanced_parens(n): ''' To construct all the possible strings with n pairs of b 阅读全文
posted @ 2024-02-06 11:41 Kazuma_124 阅读(10) 评论(0) 推荐(0) 编辑