求具有abcd=(ab+cd)2性质的四位数 摘要:解题思路: 根据题目要求,答案肯定是平方数,那我们直接先把1000到10000的平方数取出来再判断,比暴力枚举更快. ```cpp #include #include #include u…… 题解列表 2023年02月12日 0 点赞 0 评论 348 浏览 评分:9.9
两种解法哪种更优?还是? 摘要:直接for循环求解 ```cpp #include #include using namespace std; int main() { int a,b; for(int i=10…… 题解列表 2023年02月11日 0 点赞 0 评论 287 浏览 评分:0.0
菲波那契数列(c++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int k,sum; int f1 = 1, f2 = 1; cin …… 题解列表 2023年02月11日 0 点赞 0 评论 521 浏览 评分:9.9
2770: 计算浮点数相除的余数 摘要:```cpp #include using namespace std; int main() { double a,b; int k; cin>>a>>b; …… 题解列表 2023年02月11日 0 点赞 0 评论 794 浏览 评分:9.9
3082: 奇怪的电梯(lift) 摘要:```cpp #include using namespace std; int i,n,a,b,head,tail=1,p[210],s[210][2],f[210]; int main()…… 题解列表 2023年02月11日 0 点赞 0 评论 487 浏览 评分:10.0
dfedgfggdsgfrgzfvdfvdfwefdsfszf 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<queue>#include<map>#include<algorithm>using namespace std;…… 题解列表 2023年02月11日 0 点赞 0 评论 404 浏览 评分:4.7
c++ 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int x,y; cin>>x; if (x<1) …… 题解列表 2023年02月11日 0 点赞 0 评论 601 浏览 评分:9.9
编写题解 3020: 最大数位置 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,a[1001],maxx=1; cin>>n; …… 题解列表 2023年02月11日 0 点赞 0 评论 461 浏览 评分:9.9
2124: 信息学奥赛一本通T1259-求最长不下降序列 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> #include<cmath> #include<algorithm> #include…… 题解列表 2023年02月11日 0 点赞 0 评论 391 浏览 评分:0.0
优质题解 蓝桥杯2022年第十三届省赛真题-李白打酒加强版(基于记忆数组的动态规划) 摘要:首先构建DFS搜索的函数:long long DFS(long long n, long long m, long long liquor)。这里n代表已经遇到店的次数,m代表已经遇到花的次数,liq…… 题解列表 2023年02月10日 0 点赞 0 评论 2380 浏览 评分:8.4