2878: 计算矩阵边缘元素之和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N=2e3;ll a…… 题解列表 2024年10月20日 0 点赞 0 评论 755 浏览 评分:0.0
1177: 三角形 摘要:解题思路:注意事项:参考代码:t = int(input())for x in range(t): n = int(input()) l = [] l = [ list(map(in…… 题解列表 2024年10月21日 1 点赞 0 评论 200 浏览 评分:0.0
2824: 求出e的值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>double abb(int a){ if(a==1||a==0) return 1; else return …… 题解列表 2024年10月22日 0 点赞 0 评论 217 浏览 评分:0.0
小白,看看就行,不动脑袋 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;double fact(int k){ double m =…… 题解列表 2024年10月23日 0 点赞 0 评论 375 浏览 评分:0.0
编写题解 1282: 公交汽车 摘要:解题思路:注意事项:参考代码:l = list(map(int,input().strip().split()))n = int(input())dp = [0 for i in range(n)]d…… 题解列表 2024年10月23日 0 点赞 0 评论 161 浏览 评分:0.0
利用TreeSet特点解决 摘要:解题思路:利用TreeSet的可排序、不重复的特点进行去重、排序注意事项:参考代码:import java.util.Scanner; import java.util.TreeSet; pu…… 题解列表 2024年10月23日 0 点赞 0 评论 170 浏览 评分:0.0
金明的预算方案(DP) 摘要:解题思路:注意事项:参考代码:#include<iostream>usingnamespacestd;constintN…… 题解列表 2024年10月23日 0 点赞 0 评论 151 浏览 评分:0.0
1033: [编程入门]自定义函数之字符提取(python) 摘要:#### 1033: [编程入门]自定义函数之字符提取 可以采用关键字`in`来查询指定字符是否存在于指定字符串中,如果字符串中存在指定字符则返回True,如果不存在则返回False。 …… 题解列表 2024年10月24日 0 点赞 0 评论 204 浏览 评分:0.0
1048: [编程入门]自定义函数之字符串拷贝(python) 摘要:1048: [编程入门]自定义函数之字符串拷贝 从索引`m-1`开始切片即可 ~~~pythjon input() s = input() m = int(input()) print…… 题解列表 2024年10月24日 0 点赞 0 评论 175 浏览 评分:0.0
1049: [编程入门]结构体之时间设计(python) 摘要: ~~~python def is_lun(y): if y%100 == 0: if y%400 == 0: return True …… 题解列表 2024年10月24日 0 点赞 0 评论 154 浏览 评分:0.0