1200: 回文串C++ 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N=10200;char s[N];int main(){ ci…… 题解列表 2023年12月15日 0 点赞 0 评论 411 浏览 评分:0.0
题解 1200: 回文串 摘要: #include using namespace std; char s[100000]; int main(){ cin>>s; int…… 题解列表 2023年12月15日 0 点赞 0 评论 353 浏览 评分:0.0
2786: 判断能否被3、5、7整除 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int n, count = 0; cin >> n; …… 题解列表 2023年12月14日 1 点赞 0 评论 459 浏览 评分:0.0
优先队列 + map 摘要:解题思路:数据为10e5 暴力n^2 肯定会超时可以利用小根堆来做注意事项:由于value不断的加可能超过INT_MAX,所以value类型为long long参考代码:#include<iostr…… 题解列表 2023年12月14日 0 点赞 2 评论 1259 浏览 评分:9.5
c++指针法(指针练习) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ char arr[100]; cin.getline(arr,100…… 题解列表 2023年12月14日 0 点赞 0 评论 439 浏览 评分:0.0
C++二维数组装置,可不限与3*3大小 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int arr[3][3]; int i,j; for (i=0;i…… 题解列表 2023年12月14日 0 点赞 0 评论 361 浏览 评分:0.0
编写题解 2784: 收集瓶盖赢大奖 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a,b; cin>>a>>b; if(10…… 题解列表 2023年12月14日 0 点赞 0 评论 359 浏览 评分:0.0
1043: [编程入门]三个数字的排序(插入排序思想) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a[3] = {0}; for (int…… 题解列表 2023年12月14日 0 点赞 0 评论 327 浏览 评分:0.0
蓝桥杯2022年第十三届省赛真题-刷题统计(循环的简单解法) 摘要:解题思路: 要首先算出n有多少个7天,然后就有剩下的小于7天的了。注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ l…… 题解列表 2023年12月14日 0 点赞 0 评论 618 浏览 评分:9.9
题解 2912: 最长平台 摘要: #include using namespace std; int a[20000],c,d,n; int main() { cin>>n; …… 题解列表 2023年12月13日 0 点赞 0 评论 388 浏览 评分:0.0