首页
沸点
课程
数据标注
HOT
AI Coding
更多
直播
活动
APP
插件
直播
活动
APP
插件
搜索历史
清空
创作者中心
写文章
发沸点
写笔记
写代码
草稿箱
创作灵感
查看更多
登录
注册
用户50699092305
掘友等级
获得徽章 0
动态
文章
专栏
沸点
收藏集
关注
作品
赞
0
文章 0
沸点 0
赞
0
返回
|
搜索文章
用户50699092305
1年前
关注
小U的加法魔法
def solution(n: int, a: list) -> int: # 计算初始总和 original_sum = sum(a) max_sum = origina...
0
评论
分享
用户50699092305
1年前
关注
完美整数
public class Main { public static int solution(int x, int y) { // Edit your code here ...
0
评论
分享
用户50699092305
1年前
关注
子数组和的最大问题
def solution(n, k, nums): if n == k : return sum(nums) nums = [0]+nums print(nums) pre...
0
评论
分享
用户50699092305
1年前
关注
小U的最大连续次数问题
public class Main { public static int[][] dir ={{0,1},{1,0},{-1,0},{0,-1}}; public sta...
0
评论
分享
用户50699092305
1年前
关注
环形数组的最大贡献值
def solution(n, a): prefix = [0] * n suffix = [0] * n for i in range(n): prefix[i] = s...
0
评论
分享
用户50699092305
1年前
关注
卡牌翻面求和问题
def solution(n: int, a: list, b: list) -> int: MOD = 10**9 + 7 # 初始化动态规划数组 dp = [0, 0,...
0
评论
分享
用户50699092305
1年前
关注
小M的数组变化
from math import gcd from functools import reduce def solution(n: int, a: list) -> str...
0
评论
分享
用户50699092305
1年前
关注
小C的逆序对挑战
def solution(n: int, x: int, y: int, a: list) -> int: # 检查是否已经有逆序对 has_inversion = Fal...
0
评论
分享
用户50699092305
1年前
关注
奇妙货币交易问题
#include #include #include #include using namespace std; std::string solution(int V, i...
0
评论
分享
用户50699092305
1年前
关注
二进制反码转换问题
#include #include #include int solution(int N) { std::string binary_representation = s...
0
评论
分享
用户50699092305
1年前
关注
数值操作的期望计算问题
#include #include #include // 用于格式化输出 using namespace std; string solution(int a, int ...
0
评论
分享
用户50699092305
1年前
关注
小C的类二进制拼图
#include #include using namespace std; int solution(string n) { int max_digit = 0; // ...
0
评论
分享
用户50699092305
1年前
关注
小C的外卖超时判断
#include #include using namespace std; std::string solution(const std::string& t1, con...
0
评论
分享
用户50699092305
1年前
关注
SQL代码补全功能
def solution(num, data, input): res = set() # 使用集合来去重 for s in data: if s.startswith(i...
0
评论
分享
用户50699092305
1年前
关注
统计班级中的说谎者
#include #include #include int solution(std::vector A) { int N = A.size(); std::vector...
0
评论
分享
用户50699092305
1年前
关注
数字翻译成字符串的可能性
def solution(num): str_num = str(num) # 将数字转成字符串 n = len(str_num) if n == 0: return 0 ...
0
评论
分享
用户50699092305
1年前
关注
二叉树供暖问题
from bisect import bisect_right from typing import Literal def solution(nodes: list[in...
0
评论
分享
用户50699092305
1年前
关注
最少步数归零问题
def min_steps_for_number(num: int) -> int: if num == 0: return 0 if num < 10: return 1...
0
评论
分享
用户50699092305
1年前
关注
删除路径后的最短路问题
import math from heapq import heappush, heappop def solution(n: int, s: int, t: int, x...
0
评论
分享
用户50699092305
1年前
关注
二分数组组合问题
给定一个数组array_a,数组中的每个元素都可以被规范化到[0,9]的范围内,目标是判断是否存在一个子集,使得该子集内元素之和的个位数等于A或B,或者该子集内元素之和的个...
0
评论
分享
下一页
个人成就
文章被阅读
1,448
掘力值
212
关注了
0
关注者
0
收藏集
0
关注标签
0
加入于
2024-10-22