2839: 石头剪刀布 只要有耐心,总能做对 摘要:解题思路:注意事项:参考代码:#include <iostream> using namespace std; int main(){ //比赛n轮,输入n ,小A的周期长度na,小B的周期长…… 题解列表 2023年04月15日 0 点赞 0 评论 398 浏览 评分:9.9
编写题解 1490: 蓝桥杯算法提高VIP-五次方数 摘要:解题思路:在2~999999中这个数的每一位的五次方相加最终结果是否等于数本身,是则输出。注意事项:参考代码:#include<iostream> #include<cmath> using na…… 题解列表 2023年04月15日 0 点赞 0 评论 251 浏览 评分:0.0
3034: 自然数的拆分 摘要:```cpp #include using namespace std; int a[1001]={1},f,b[1001],k,n; void out(int t){//输出函数 …… 题解列表 2023年04月15日 0 点赞 0 评论 563 浏览 评分:6.7
1716: 数据结构-快速排序 摘要:```cpp #include using namespace std; int get_mid(int arr[],int left,int right) { int pivot=…… 题解列表 2023年04月15日 0 点赞 0 评论 503 浏览 评分:9.9
1296: 牛棚回声 摘要:```cpp #include using namespace std; int max_match(string s1, string s2) { int len1=s1.leng…… 题解列表 2023年04月15日 0 点赞 0 评论 442 浏览 评分:9.9
1294: 木瓜地 摘要:```cpp #include using namespace std; int main() { int m,n,a[41][41],i,j,k,l; while(sca…… 题解列表 2023年04月15日 0 点赞 0 评论 397 浏览 评分:9.9
1291: 外星人的密码数字 摘要:```cpp #include #include using namespace std; int main() { string rule,str; cin>>rule…… 题解列表 2023年04月15日 0 点赞 0 评论 456 浏览 评分:9.9
1290: 奶牛的锻炼 摘要:```cpp #include #include using namespace std; const int N=10500,M=550; int dp[N][M],d[N],n,m; …… 题解列表 2023年04月15日 0 点赞 0 评论 566 浏览 评分:8.7
1289: N的-2进制表示 摘要:```cpp #include using namespace std; int main() { int i=0,num; char str[128]={'\0',}; …… 题解列表 2023年04月15日 0 点赞 0 评论 328 浏览 评分:9.9
1288: 线段的总长 摘要:```cpp #include using namespace std; int main() { int n; cin>>n; long long s[n],…… 题解列表 2023年04月15日 0 点赞 0 评论 391 浏览 评分:9.9