#不固定行数的读入,使用栈 python 摘要:#不固定行数的读入# s=input()ss=[]# while s!='':# ss.append(s)# s=input()#不固定行数的读入import sysI…… 题解列表 2023年10月15日 0 点赞 0 评论 221 浏览 评分:0.0
数学计算问题 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int n; int h,m,s; scanf("%d…… 题解列表 2023年10月15日 0 点赞 0 评论 213 浏览 评分:0.0
1031: [编程入门]自定义函数之字符串反转 摘要:解题思路:运用for循环从后往前遍历即可注意事项:参考代码:#include<stdio.h>#include<string.h>void f(char a[100]){ for(int i=s…… 题解列表 2023年10月15日 0 点赞 0 评论 169 浏览 评分:0.0
关键点 不能重复计算 摘要:n=int(input())def rec(cur,n): global res for x in range(cur,n): if n%x==0 and n//x>=x: …… 题解列表 2023年10月15日 0 点赞 0 评论 792 浏览 评分:7.3
水无月C语言版本 摘要:**代码:** ```C #include int main() { unsigned long int i,a,n,sum=0,t; scanf("%d%d",&a,&n); …… 题解列表 2023年10月15日 0 点赞 0 评论 218 浏览 评分:0.0
简单写一下 摘要:解题思路:注意事项:参考代码:ls=list(map(int,input().split()))n=int(input())suoyin=0for i in ls: if n>=i: …… 题解列表 2023年10月15日 0 点赞 0 评论 210 浏览 评分:0.0
石头剪刀布python程序写法 摘要:解题思路:a,b=map(int,input().split())if a==b: print("0")elif a>b: if a==2 and b==0: print("…… 题解列表 2023年10月15日 0 点赞 0 评论 437 浏览 评分:9.9
优质题解 N以内累加求和(c++代码) 摘要:这道题是我们在学习for循环(**1**),while循环(**2**),包括函数(**3**)的学习过程中都会遇到的一道经典题目,所以我们介绍下面的**五**种方法。至于第四,五种方法我们卖个关子,…… 题解列表 2023年10月15日 1 点赞 1 评论 1032 浏览 评分:9.9
优质题解 求1+2+3+...+n的值(C++代码) 摘要:这道题是我们在学习for循环(**1**),while循环(**2**),包括函数(**3**)的学习过程中都会遇到的一道经典题目,所以我们介绍下面的**五**种方法。至于第四,五种方法我们卖个关子,…… 题解列表 2023年10月15日 0 点赞 0 评论 508 浏览 评分:9.9
1933: 蓝桥杯算法提高VIP-约数个数 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> #include<bits/stdc++.h> using namespace std;…… 题解列表 2023年10月15日 1 点赞 0 评论 203 浏览 评分:0.0