C++容器(深度优先遍历算法)解题 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <vector>#include <set>#include <algorithm>using namespace…… 题解列表 2024年09月06日 0 点赞 0 评论 317 浏览 评分:0.0
python与指定数字相同的数的个数 摘要:**主要是用了count方法来查找列表中指定元素的个数** ```python a = list(map(int,input().strip().split())) while len(a) <…… 题解列表 2024年09月06日 0 点赞 0 评论 445 浏览 评分:0.0
python 1098: 陶陶摘苹果 摘要:**没什么好注意的,按题目要求来** ```python a = list(map(int,input().strip().split())) b = int(input().strip()…… 题解列表 2024年09月06日 0 点赞 0 评论 412 浏览 评分:0.0
python 2835: 计算书费 摘要:```python prices = [28.9,32.7,45.6,78,35,86.2,27.8,43,56,65] num = list(map(int,input().strip().sp…… 题解列表 2024年09月06日 0 点赞 0 评论 319 浏览 评分:0.0
对题2815:求特殊自然数的题解分析 摘要:解题思路:先写出将一个整数转换为七进制数和九进制数的函数,分别逢九进一,逢七进一,思路为先找出不超过n的最大的最大幂,然后分别向下求对应的余数,并记录下来,对于的余数乘对于的十的幂,从而表示出对应的数…… 题解列表 2024年09月06日 0 点赞 0 评论 271 浏览 评分:9.9
编写题解 1097: 蛇行矩阵 摘要:```java import java.util.Scanner; public class Main { public static void main(String[] args) {…… 题解列表 2024年09月06日 0 点赞 0 评论 388 浏览 评分:9.9
编写题解 1009: [编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include<string.h>int main(){ int x,count; …… 题解列表 2024年09月06日 0 点赞 0 评论 161 浏览 评分:0.0
编写题解 1012: [编程入门]字符串分类统计 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>int main(){ char str[100];…… 题解列表 2024年09月06日 1 点赞 0 评论 302 浏览 评分:0.0
编写题解 1013: [编程入门]Sn的公式求和 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>int everyresult(int n);int ma…… 题解列表 2024年09月06日 0 点赞 0 评论 152 浏览 评分:0.0
编写题解 1014: [编程入门]阶乘求和 摘要:解题思路:注意事项:注意结果范围,防止溢出参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>long long everyres…… 题解列表 2024年09月06日 0 点赞 0 评论 483 浏览 评分:0.0