蓝桥杯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 评论 600 浏览 评分:0.0
输出九九乘法表 摘要:解题思路:注意事项:参考代码:for i in range(1,10): for j in range(1,i+1): x=j*i if x<10: …… 题解列表 2022年05月13日 0 点赞 0 评论 364 浏览 评分: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 评论 1158 浏览 评分:7.4
数学题-GCD(c++) 摘要:数学题,不是很懂,先放着 ```cpp #include using namespace std; typedef long long ll; int main() { ll a…… 题解列表 2022年05月13日 0 点赞 0 评论 1667 浏览 评分:7.0
小南解题---矩阵加法 摘要:'''zgn94615:01 2022/5/13'''#输入a,b=map(int,input().strip().split())A=[list(ma…… 题解列表 2022年05月13日 0 点赞 0 评论 436 浏览 评分:0.0
动态规划-选数异或 摘要:动态规划求两数异或等于x的区间左端最大值 ```cpp #include #include using namespace std; typedef long long ll; con…… 题解列表 2022年05月13日 0 点赞 3 评论 2119 浏览 评分:6.7
利用<math.h>,pow()函数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int i; int l,m,n; for(i=100;i<1…… 题解列表 2022年05月13日 0 点赞 0 评论 468 浏览 评分:0.0
提公因式+前缀和(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 评论 846 浏览 评分: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 评论 1523 浏览 评分:5.7
纸张尺寸C++ 摘要:```cpp #include using namespace std; int main() { string s; cin>>s; int sz=s[1]-'0'…… 题解列表 2022年05月13日 0 点赞 0 评论 752 浏览 评分:9.9