1102明明的随机数(冒泡排序解决) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin >> n; int a[105]; for (i…… 题解列表 2024年06月04日 0 点赞 0 评论 221 浏览 评分:0.0
1103开心的金明(dp动态规划) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;const int S = 28;int M;//拥有的钱int N;//需要买的物品数int…… 题解列表 2024年06月04日 0 点赞 0 评论 237 浏览 评分:0.0
自定义函数之字符类型统计 摘要:解题思路:注意事项:参考代码:def tongji(m): a,b,c,d = 0,0,0,0 for i in m: if i.isalpha(): …… 题解列表 2024年06月04日 0 点赞 0 评论 193 浏览 评分:0.0
C语言—小白易懂版本 摘要:解题思路:看代码即可注意事项:参考代码:#include<stdio.h> int fun(int n) { if (n <= 3)return n; else re…… 题解列表 2024年06月05日 0 点赞 0 评论 145 浏览 评分:0.0
编写题解 3013: 求小数的某一位 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int a,b,n,m;cin>>a>>b>>n;m=a*1.…… 题解列表 2024年06月05日 0 点赞 0 评论 417 浏览 评分:0.0
C语言--小白必懂 摘要:解题思路:后一项是的分子是后一项减去前一项分母的差即可解题注意事项:注意两两关系即可参考代码:#include <stdio.h> int main() { int n, i = 1; …… 题解列表 2024年06月05日 0 点赞 0 评论 165 浏览 评分:0.0
编写题解 3015: 幂的末尾 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int a,b,c=1;cin>>a>>b;for(int i…… 题解列表 2024年06月05日 0 点赞 0 评论 151 浏览 评分:0.0
自定义函数之数字后移 摘要:解题思路:注意事项:参考代码:def houyi(my_list,m,n): list1=[]+my_list for i in range(n): list1[i] = m…… 题解列表 2024年06月05日 0 点赞 0 评论 140 浏览 评分:0.0
编写题解 3018: 末两位数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int a,b,c=1;cin>>a;for(int i=1;…… 题解列表 2024年06月06日 0 点赞 0 评论 200 浏览 评分:0.0
1106奖学金(sort排序) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;//这里注意一下书写的顺序,不然也会出现调用上的错误st…… 题解列表 2024年06月07日 0 点赞 0 评论 376 浏览 评分:0.0