怎么没人??那我来吧!!!! 摘要:```cpp #include using namespace std; char s1[101],s2[101],x[101],t[101]; int l,l1; int main() …… 题解列表 2023年02月22日 0 点赞 0 评论 645 浏览 评分:8.0
@更向天涯 小李子不行啊!!! 摘要:解题思路:注意事项:cin、cout一定要改成scanf和printf不然会超时!!!!参考代码:#include<bits/stdc++.h>using namespace std;int a[10…… 题解列表 2023年02月22日 0 点赞 6 评论 321 浏览 评分:9.9
1045: [编程入门]自定义函数之整数处理 摘要:```cpp #include using namespace std; /* 题目描述 输入10个整数,将其中最小的数与第一个数对换,把最大的数与最后一个数对换。 写三个函数; ①输入…… 题解列表 2023年02月22日 0 点赞 1 评论 289 浏览 评分:9.9
666666666666666666 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int n;double x,xn=1,sum=1;int main(){ scan…… 题解列表 2023年02月22日 0 点赞 0 评论 465 浏览 评分:7.3
蓝桥杯2018年第九届真题-次数差-C++ 摘要:解题思路: 双指针法注意事项: 注意我在字符串末尾加了个‘A’,可以减少判断逻辑参考代码:#include<iostream> #include<algorithm> using na…… 题解列表 2023年02月22日 0 点赞 0 评论 264 浏览 评分:0.0
求和很简单,只要掌握方法就可以 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,m,s=0;//s要赋初值!!! cin>>n>…… 题解列表 2023年02月22日 0 点赞 0 评论 526 浏览 评分:9.9
两种方法,简单易懂!!!! 摘要:解题思路:注意事项:数组可以不开那么大。参考代码:#include<bits/stdc++.h>using namespace std;//int a,b,c;int n,a[101][101],s,…… 题解列表 2023年02月22日 0 点赞 0 评论 467 浏览 评分:9.9
编写题解 1102: 明明的随机数 摘要:解题思路:注意事项:参考代码:input()lst=list(set(int(i) for i in input().split()))lst.sort()lst=list(map(str,lst))…… 题解列表 2023年02月22日 0 点赞 0 评论 449 浏览 评分:0.0
高斯求和 (c++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int n;int main(){ cin>>n; int s=(1+n)*n/2;…… 题解列表 2023年02月22日 0 点赞 0 评论 429 浏览 评分:9.9
c++----map的统计功能 摘要: #include using namespace std; int main() { int n; cin>>n; int a…… 题解列表 2023年02月22日 0 点赞 0 评论 498 浏览 评分:0.0