数组存储,高精度相乘比较! 摘要: ``` #include #include #include #include #include #include using namespace std; const int I…… 题解列表 2022年05月13日 0 点赞 0 评论 523 浏览 评分:0.0
1093: 字符逆序 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string s;int main(){ getline(cin,s); fo…… 题解列表 2022年05月13日 0 点赞 0 评论 392 浏览 评分:0.0
蓝桥杯2015年第六届真题-切开字符串 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int n,A,B,max_ans=-1;string s,a,b;int chec…… 题解列表 2022年05月13日 0 点赞 0 评论 668 浏览 评分:0.0
前缀和-青蛙过河 摘要:```cpp #include using namespace std; typedef long long ll; const int N=1e5+5; ll n,x; ll sum[N…… 题解列表 2022年05月13日 0 点赞 2 评论 1217 浏览 评分:7.4
数学题-GCD(c++) 摘要:数学题,不是很懂,先放着 ```cpp #include using namespace std; typedef long long ll; int main() { ll a…… 题解列表 2022年05月13日 0 点赞 0 评论 1726 浏览 评分:7.0
动态规划-选数异或 摘要:动态规划求两数异或等于x的区间左端最大值 ```cpp #include #include using namespace std; typedef long long ll; con…… 题解列表 2022年05月13日 0 点赞 3 评论 2172 浏览 评分:6.7
提公因式+前缀和(c++) 摘要:```cpp #include using namespace std; typedef long long ll; const int N=2e5+5; int n; ll a[N],s…… 题解列表 2022年05月13日 0 点赞 2 评论 885 浏览 评分:9.9
震惊,缺少两行代码居然是ac和超时的区别!! 摘要:解题思路:注意事项:A^B=x成立时有A^x=B参考代码:#includeusing namespace std;int n,m,l,r,x;const int maxm=100003;int a[m…… 题解列表 2022年05月13日 0 点赞 1 评论 1573 浏览 评分:5.7
纸张尺寸C++ 摘要:```cpp #include using namespace std; int main() { string s; cin>>s; int sz=s[1]-'0'…… 题解列表 2022年05月13日 0 点赞 0 评论 800 浏览 评分:9.9
用了C++中的vector数组 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<vector>using namespace std;vector<int> arr;bool method1(in…… 题解列表 2022年05月13日 0 点赞 0 评论 352 浏览 评分:0.0