首页
沸点
课程
AI Coding
数据标注
更多
直播
活动
APP
插件
直播
活动
APP
插件
搜索历史
清空
创作者中心
写文章
发沸点
写笔记
写代码
草稿箱
创作灵感
查看更多
登录
注册
神明佑我
掘友等级
获得徽章 0
动态
文章
专栏
沸点
收藏集
关注
作品
赞
0
文章 0
沸点 0
赞
0
返回
|
搜索文章
神明佑我
1年前
关注
还原原始字符串 | 豆包MarsCode AI刷题
```python def solution(str1): def can_generate(s, target): """检查字符串s是否能通过操作生成目标字符串targ...
0
评论
分享
神明佑我
1年前
关注
RGB色值转换为整数值 | 豆包MarsCode AI刷题
```python def solution(rgb): rgb_values = rgb[4:-1].split(',') # Convert the string va...
0
评论
分享
神明佑我
1年前
关注
大数和中的极值位距离 | 豆包MarsCode AI刷题
```Python def add_large_numbers(num1: str, num2: str) -> str: """实现大数加法""" # 将较短的数字在前面...
0
评论
分享
神明佑我
1年前
关注
贪心猫的鱼干大分配 | 豆包MarsCode AI刷题
```python def solution(n, cats_levels): # 初始化每只猫的鱼干数量为1 fish_amounts = [1] * n # 从左到右遍...
0
评论
分享
神明佑我
1年前
关注
小C点菜问题 | 豆包MarsCode AI刷题
```python def solution(m: int, w: list) -> int: # 初始化价格计数字典 price_count = {} # 遍历每道菜的价...
0
评论
分享
神明佑我
1年前
关注
小U的最大连续移动次数问题 | 豆包MarsCode AI刷题
```c++ #include #include #include #include using namespace std; int solution(int m, in...
0
评论
分享
神明佑我
1年前
关注
数组元素之和最小化 | 豆包MarsCode AI刷题
```c++ #include #include #include using namespace std; int solution(int n, int k) { in...
0
评论
分享
神明佑我
1年前
关注
小E的射击训练 | 豆包MarsCode AI刷题
```python def solution(x: int, y: int) -> int: # 计算射击点到靶心的距离 distance = (x * x + y * y...
0
评论
分享
神明佑我
1年前
关注
小S的倒排索引 | 豆包MarsCode AI刷题
```java import java.util.*; public class Main { public static List solution(List a, Li...
0
评论
分享
神明佑我
1年前
关注
游戏排名第三大的分数 | 豆包MarsCode AI刷题
```python def solution(n: int, nums: list) -> int: # 使用集合去重 unique_scores = set(nums) ...
0
评论
分享
神明佑我
1年前
关注
组成字符串ku的最大次数 | 豆包MarsCode AI刷题
```python def solution(s: str) -> int: # 将字符串转换为小写 s = s.lower() # 初始化...
0
评论
分享
神明佑我
1年前
关注
小D的 abc 变换问题 | 豆包MarsCode AI刷题
```java public class Main { public static String solution(String s, int k) { // 初始化 St...
0
评论
分享
神明佑我
1年前
关注
小U的数字插入问题 | 豆包MarsCode AI刷题
``` public class Main { public static int solution(int a, int b) { // 将数字 a 和 b 转换为字符串...
0
评论
分享
神明佑我
1年前
关注
比赛配对问题 | 豆包MarsCode AI刷题
``` def solution(n: int) -> int: pairs = 0 while n > 1: if n % 2 == 0: pairs += n // 2...
0
评论
分享
神明佑我
1年前
关注
最大矩形面积问题 | 豆包MarsCode AI刷题
`` def solution(n, array): stack = [] max_area = 0 index = 0 while ind...
0
评论
分享
神明佑我
1年前
关注
观光景点组合得分问题 | 豆包MarsCode AI刷题
``` #include using namespace std; int solution(vector values) { if(values.size() == 1)...
0
评论
分享
神明佑我
1年前
关注
小F的永久代币卡回本计划 | 豆包MarsCode AI刷题
``` #include using namespace std; int solution(int a, int b) { return (a / b) + (a % b...
0
评论
分享
神明佑我
1年前
关注
构造特定数组的逆序拼接 | 豆包MarsCode AI刷题
``` def solution(n: int) -> list: result = [] for i in range(1, n + 1): # 生成从 n 到 i 的逆...
0
评论
分享
神明佑我
1年前
关注
超市里的货物架调整 | 豆包MarsCode AI刷题
``` #include using namespace std; int solution(int n, int m, string s, string c) { map...
0
评论
分享
神明佑我
1年前
关注
寻找最大葫芦 | 豆包MarsCode AI刷题
``` #include using namespace std; vector solution(int n, int max, const vector& array)...
0
评论
分享
下一页
个人成就
文章被点赞
1
文章被阅读
1,344
掘力值
273
关注了
0
关注者
0
收藏集
0
关注标签
0
加入于
2024-10-15