]自定义函数之字符类型统计 摘要:解题思路:注意事项:参考代码#include<stdio.h>void jisu(char a[]){ int i,zimu=0,shuzi=0,kongge=0,qita=0; for(…… 题解列表 2023年11月26日 0 点赞 0 评论 192 浏览 评分:0.0
与指定数字相同的数的个数 摘要:解题思路:使用for循环遍历列表注意事项:参考代码:n = int(input())c=0ls = list(map(int,input().split()))m = int(input())for …… 题解列表 2023年11月26日 0 点赞 0 评论 609 浏览 评分:0.0
陶陶摘苹果 摘要:解题思路:注意事项:参考代码:ls = list(map(int,input().split()))h = int(input())c = 0for i in range(0,len(ls)): …… 题解列表 2023年11月26日 0 点赞 0 评论 351 浏览 评分:0.0
自定义函数之数字后移 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void yd(int a[],int m,int n){ int i,b[n]; for(i=0;i<n;i++) …… 题解列表 2023年11月26日 0 点赞 0 评论 205 浏览 评分:0.0
鸡兔同笼(注意全为兔,或全为鸡的情况,用循环遍历出结果) 摘要:参考代码: ```c #include #define sum 80 int main() { int s; scanf("%d",&s); int x,y;//y是鸡,x是兔…… 题解列表 2023年11月26日 0 点赞 0 评论 235 浏览 评分:0.0
编写题解 2749: Hello, World! 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ cout<<"Hello, World!";}…… 题解列表 2023年11月26日 0 点赞 0 评论 175 浏览 评分:0.0
字符串的修改(python) 摘要:解题思路:注意事项:参考代码:def min_edit_distance(A, B): m, n = len(A), len(B) # 创建一个二维数组来记录状态 dp = …… 题解列表 2023年11月26日 0 点赞 0 评论 290 浏览 评分:0.0
字符类型统计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100]={0}; int zimu=0,shuz…… 题解列表 2023年11月26日 0 点赞 0 评论 191 浏览 评分:0.0
C语言--for循环 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i,j,a[3][3],b=0,c=0; for(i=0;i<3;i++) { …… 题解列表 2023年11月26日 0 点赞 0 评论 210 浏览 评分:0.0
输入当月利润I,求应发奖金总数 摘要:解题思路:/*企业发放的奖金根据利润I提成。利润I低于或等于100000元的,奖金可提10%;利润高于100000元,低于或等于200000元(100000<I≤200000)时,低于等于100000…… 题解列表 2023年11月26日 0 点赞 0 评论 399 浏览 评分:0.0