题解 2840: 向量点积计算 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;const int N=1e3+5;ll …… 题解列表 2024年04月13日 0 点赞 0 评论 177 浏览 评分:0.0
1131: C语言训练-斐波纳契数列 摘要:解题思路:注意事项:参考代码#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N=1e7+5;ll …… 题解列表 2024年04月13日 1 点赞 0 评论 199 浏览 评分:10.0
题解 1131: C语言训练-斐波纳契数列 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;ll a[45];int main(){ …… 题解列表 2024年04月13日 1 点赞 0 评论 173 浏览 评分:10.0
一些强迫症的输出 摘要:## 浏览了一些题解,发现输出格式与题目要求不一致,多加了一些代码,调成了与题目要求一致的输出格式//勿喷 ## 代码 #include #include usin…… 题解列表 2024年04月12日 0 点赞 0 评论 203 浏览 评分:0.0
暴力画矩形 【简单易懂】 摘要:#include <iostream> #include <cmath> using namespace std; /* 画矩形 */ int main() { // …… 题解列表 2024年04月12日 1 点赞 0 评论 182 浏览 评分:0.0
最长单词2,简单方法 摘要:解题思路:从找到第一个字母开始计数,并记录位置,直到找到空格或者‘。’,不断更新注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef…… 题解列表 2024年04月12日 1 点赞 0 评论 448 浏览 评分:9.9
字串简写——前缀和+回溯 摘要:#include<bits/stdc++.h>#include<cstdio> #include<cstring>using namespace std;typedef long long LL;LL…… 题解列表 2024年04月12日 2 点赞 0 评论 513 浏览 评分:0.0
简单的暴力解决冶炼金属问题 摘要:解题思路:最大转化率就是min(金属O/金属X),只需遍历求出最大转化率,然后对最大转换率依次做减一操作评判是否满足即可注意事项:参考代码:#include<iostream>#include<vec…… 题解列表 2024年04月12日 1 点赞 0 评论 671 浏览 评分:9.9
数字统计(c++) 摘要:#include <iostream> #include <cmath> using namespace std; /* 统计两个区间内,数字2出现的个数 2 - 22 总共出现了…… 题解列表 2024年04月12日 0 点赞 0 评论 314 浏览 评分:0.0
蓝桥杯历届试题-翻硬币(贪心) 摘要:#include <iostream> #include <cstring> using namespace std; const int N = 110; int n; char …… 题解列表 2024年04月12日 0 点赞 0 评论 221 浏览 评分:0.0