快速幂方法(需掌握) 摘要:参考代码:#include<bits/stdc++.h> using namespace std; #define int long long int fastPow(int a,int n,i…… 题解列表 2024年10月20日 1 点赞 0 评论 362 浏览 评分:0.0
2881: 图像相似度 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N=2e3;ll a…… 题解列表 2024年10月20日 1 点赞 0 评论 267 浏览 评分:0.0
2878: 计算矩阵边缘元素之和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N=2e3;ll a…… 题解列表 2024年10月20日 0 点赞 0 评论 751 浏览 评分:0.0
1177: 三角形 摘要:解题思路:注意事项:参考代码:t = int(input())for x in range(t): n = int(input()) l = [] l = [ list(map(in…… 题解列表 2024年10月21日 1 点赞 0 评论 196 浏览 评分: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 评论 215 浏览 评分:0.0
小白,看看就行,不动脑袋 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;double fact(int k){ double m =…… 题解列表 2024年10月23日 0 点赞 0 评论 372 浏览 评分: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 评论 159 浏览 评分:0.0
利用TreeSet特点解决 摘要:解题思路:利用TreeSet的可排序、不重复的特点进行去重、排序注意事项:参考代码:import java.util.Scanner; import java.util.TreeSet; pu…… 题解列表 2024年10月23日 0 点赞 0 评论 167 浏览 评分:0.0
金明的预算方案(DP) 摘要:解题思路:注意事项:参考代码:#include<iostream>usingnamespacestd;constintN…… 题解列表 2024年10月23日 0 点赞 0 评论 150 浏览 评分:0.0
1033: [编程入门]自定义函数之字符提取(python) 摘要:#### 1033: [编程入门]自定义函数之字符提取 可以采用关键字`in`来查询指定字符是否存在于指定字符串中,如果字符串中存在指定字符则返回True,如果不存在则返回False。 …… 题解列表 2024年10月24日 0 点赞 0 评论 202 浏览 评分:0.0