与指定数字相同的数的个数 摘要:解题思路:使用for循环遍历列表注意事项:参考代码:n = int(input())c=0ls = list(map(int,input().split()))m = int(input())for …… 题解列表 2023年11月26日 0 点赞 0 评论 553 浏览 评分:0.0
陶陶摘苹果 摘要:解题思路:注意事项:参考代码:ls = list(map(int,input().split()))h = int(input())c = 0for i in range(0,len(ls)): …… 题解列表 2023年11月26日 0 点赞 0 评论 315 浏览 评分: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 评论 166 浏览 评分:0.0
鸡兔同笼(注意全为兔,或全为鸡的情况,用循环遍历出结果) 摘要:参考代码: ```c #include #define sum 80 int main() { int s; scanf("%d",&s); int x,y;//y是鸡,x是兔…… 题解列表 2023年11月26日 0 点赞 0 评论 165 浏览 评分:0.0
编写题解 2749: Hello, World! 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ cout<<"Hello, World!";}…… 题解列表 2023年11月26日 0 点赞 0 评论 126 浏览 评分:0.0
字符串的修改(python) 摘要:解题思路:注意事项:参考代码:def min_edit_distance(A, B): m, n = len(A), len(B) # 创建一个二维数组来记录状态 dp = …… 题解列表 2023年11月26日 0 点赞 0 评论 212 浏览 评分:0.0
字符类型统计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100]={0}; int zimu=0,shuz…… 题解列表 2023年11月26日 0 点赞 0 评论 146 浏览 评分: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 评论 156 浏览 评分:0.0
输入当月利润I,求应发奖金总数 摘要:解题思路:/*企业发放的奖金根据利润I提成。利润I低于或等于100000元的,奖金可提10%;利润高于100000元,低于或等于200000元(100000<I≤200000)时,低于等于100000…… 题解列表 2023年11月26日 0 点赞 0 评论 331 浏览 评分:0.0
#第一次写题解 摘要:解题思路:前面刚好有一个与这个类似的题目,那个题目相当是这个题目的正数部分一步一步移位就好了注意事项:看到很多人不知道0x80000000= 0b 1000 0000 0000 0000 0000 0…… 题解列表 2023年11月26日 0 点赞 0 评论 418 浏览 评分:0.0