自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:def lmjp(a,b): print(a+b)a = input()b = input()lmjp(a,b)…… 题解列表 2024年06月03日 0 点赞 0 评论 195 浏览 评分:0.0
自定义函数之字符提取 摘要:解题思路:注意事项:参考代码:def tiqu(a): for i in a: if i in b: print(i,end='')a = i…… 题解列表 2024年06月03日 0 点赞 0 评论 121 浏览 评分:0.0
自定义函数之数字分离 摘要:解题思路:注意事项:参考代码:def fenli(a): for i in a: print(i,end=' ')a = input()fenli(a)…… 题解列表 2024年06月03日 0 点赞 0 评论 284 浏览 评分: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 评论 1356 浏览 评分:0.0
1102明明的随机数(冒泡排序解决) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin >> n; int a[105]; for (i…… 题解列表 2024年06月04日 0 点赞 0 评论 229 浏览 评分:0.0
1103开心的金明(dp动态规划) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;const int S = 28;int M;//拥有的钱int N;//需要买的物品数int…… 题解列表 2024年06月04日 0 点赞 0 评论 245 浏览 评分: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 评论 203 浏览 评分:0.0
C语言—小白易懂版本 摘要:解题思路:看代码即可注意事项:参考代码:#include<stdio.h> int fun(int n) { if (n <= 3)return n; else re…… 题解列表 2024年06月05日 0 点赞 0 评论 149 浏览 评分: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 评论 426 浏览 评分:0.0
C语言--小白必懂 摘要:解题思路:后一项是的分子是后一项减去前一项分母的差即可解题注意事项:注意两两关系即可参考代码:#include <stdio.h> int main() { int n, i = 1; …… 题解列表 2024年06月05日 0 点赞 0 评论 170 浏览 评分:0.0