自定义函数之字符类型统计 摘要:解题思路:注意事项:参考代码:def tongji(m): a,b,c,d = 0,0,0,0 for i in m: if i.isalpha(): …… 题解列表 2024年06月04日 0 点赞 0 评论 237 浏览 评分:0.0
1103开心的金明(dp动态规划) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;const int S = 28;int M;//拥有的钱int N;//需要买的物品数int…… 题解列表 2024年06月04日 0 点赞 0 评论 277 浏览 评分:0.0
1102明明的随机数(冒泡排序解决) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin >> n; int a[105]; for (i…… 题解列表 2024年06月04日 0 点赞 0 评论 264 浏览 评分:0.0
编写题解 2810: 鸡尾酒疗法 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,a,b; cin>>n; float x,y;…… 题解列表 2024年06月04日 0 点赞 0 评论 1382 浏览 评分:0.0
编写题解 2059: [STL训练]sort练习 摘要:```c #include int main() { int num,n,i,j,temp,nums[10000000]; scanf("%d %d",&num,&n); fo…… 题解列表 2024年06月04日 0 点赞 0 评论 275 浏览 评分:9.9
编写题解 1022: [编程入门]筛选N以内的素数 摘要:```c #include int main() { int num,i,j,n; scanf("%d",&num); for(n=2;n…… 题解列表 2024年06月04日 0 点赞 0 评论 255 浏览 评分:9.9
编写题解 1037: [编程入门]宏定义的练习 摘要:```c #include #define compute(a,b) result=a%b; int main() { int a,b,result; scanf("%d %d",&a…… 题解列表 2024年06月04日 0 点赞 0 评论 567 浏览 评分:9.9
编写题解 1036: [编程入门]带参数宏定义练习 摘要:```c #include #define change(a,b) temp=a,a=b,b=temp; int main() { int a,b,temp; scanf("%d %d…… 题解列表 2024年06月04日 2 点赞 0 评论 494 浏览 评分:9.9
自定义函数之数字分离 摘要:解题思路:注意事项:参考代码:def fenli(a): for i in a: print(i,end=' ')a = input()fenli(a)…… 题解列表 2024年06月03日 0 点赞 0 评论 323 浏览 评分:0.0
自定义函数之字符提取 摘要:解题思路:注意事项:参考代码:def tiqu(a): for i in a: if i in b: print(i,end='')a = i…… 题解列表 2024年06月03日 0 点赞 0 评论 154 浏览 评分:0.0