pythonsfrbtrhtrhhfgbfdbfb 摘要:解题思路:注意事项:参考代码:t = int(input()) ans = 0for i in range(t): s = input() a = s.split() if a[0]=…… 题解列表 2024年03月27日 0 点赞 0 评论 484 浏览 评分:0.0
匹配字符串的个数 摘要: #include #include int main() { char s1[6]; char s2[81]; …… 题解列表 2024年03月27日 0 点赞 0 评论 406 浏览 评分:0.0
结构体输出成绩统计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>struct stu{ char num[50]; char name[50]; …… 题解列表 2024年03月27日 0 点赞 0 评论 443 浏览 评分:0.0
猴子吃桃递归 摘要:话不多说直接进入正题 import java.util.Scanner; public class Main { public static voi…… 题解列表 2024年03月27日 0 点赞 0 评论 427 浏览 评分:0.0
猪鼻巴巴暴力法 摘要:解题思路:定义俩数组,一个是上一天,一个是今天上一天的每个点都判断,有细菌就把变化赋给今天的数组(有细菌就周围全加一倍自己加两倍),意思是只把变化赋给今天,昨天本来位置留着的细菌都四妹了然后把今天的再…… 题解列表 2024年03月27日 0 点赞 0 评论 426 浏览 评分:0.0
编写题解 2825: 计算多项式的值,python超简单 摘要:x,n = input().split() x = float(x) n = int(n) # 初始化result和item变量 result = 1.0 item = 1.0 # 使用…… 题解列表 2024年03月27日 0 点赞 0 评论 474 浏览 评分:0.0
编写题解 2833: 金币,python超简单 摘要:def calculate_coins(days): coins = 0 # 初始化骑士收到的金币总数为0 n = 1 # 初始化每天的金币数量为1 day_coun…… 题解列表 2024年03月27日 0 点赞 0 评论 487 浏览 评分:0.0
python代码解决问题 摘要:解题思路:注意事项:参考代码:x1,y1,x2,y2,x3,y3,x4,y4=map(int,input().split())s1=(x2-x1)*(y2-y1)+(x4-x3)*(y4-y3)x_l…… 题解列表 2024年03月27日 0 点赞 0 评论 414 浏览 评分:0.0
利用重载进行多个数字相加 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int add(int a,int b){ return (a+b);}int add(…… 题解列表 2024年03月27日 0 点赞 0 评论 455 浏览 评分:0.0
判断元音字母出现的位置 摘要: #include #include #include /* run this program using the console pauser or add…… 题解列表 2024年03月28日 0 点赞 0 评论 448 浏览 评分:0.0