3040: An Easy Problem 摘要:解题思路:定义一个计数函数,从n+1开始循环,用计数函数扫描到的第一个数就是最小的。 要就复制吧,爱就点赞吧! *加五星好评*注意事项:从n+1开始循环!参考代码:#include<bits/st…… 题解列表 2023年01月04日 0 点赞 0 评论 559 浏览 评分:9.5
题解 2749: Hello, World! 解题思路:一条输出语句即可注意事项:注意逗号后面要打上一个空格参考代码:print("Hello,World!") 题解列表 2023年01月04日 0 点赞 0 评论 688 浏览 评分:0.0
A+B Problem(python) 解题思路:怎么同时输入多个数字用map注意事项:参考代码:a,b=map(int,input().split())print(a+b) 题解列表 2023年01月04日 0 点赞 1 评论 1192 浏览 评分:8.4
阶乘公式求职 摘要:解题思路:注意事项:参考代码:def fact(n): s = 1 for i in range(1,n+1): s*=i return(s)n = int(input…… 题解列表 2023年01月04日 0 点赞 0 评论 513 浏览 评分:0.0
1765: 循环入门练习2 摘要:解题思路:直接算注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main(){ int s=0; for(int i=…… 题解列表 2023年01月04日 0 点赞 0 评论 536 浏览 评分:9.9
通过坐标转换计算两点之间的距离 摘要:解题思路:通过坐标转换进行求解注意事项:参考代码:import math ver = list(map(int,input().split())) def x_y_transform(ver):#…… 题解列表 2023年01月04日 0 点赞 4 评论 1171 浏览 评分:9.0
自定义函数之字符串拷贝 解题思路:用切片很简单注意事项:参考代码:n=int(input())L=str(input())m=int(input())print(L[m-1:n]) 题解列表 2023年01月04日 0 点赞 0 评论 577 浏览 评分:9.9
2833: 金币(先5星再复制) 摘要:解题思路:一天一天for注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { int i,n,a,sum,d…… 题解列表 2023年01月04日 0 点赞 0 评论 571 浏览 评分:9.9
c++定义宏简单求余 摘要:解题思路:通过定义宏:#define quiYu(a,b) c=a%b //我英语不好,求余(quiYu)注意事项: 求余数:% 求除数:/参考代码:#include<i…… 题解列表 2023年01月04日 0 点赞 0 评论 531 浏览 评分:0.0
2152: 信息学奥赛一本通T1324-整数区间 摘要:解题思路:爱要不要,满星好评注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int n; struct hd{ int ks,j…… 题解列表 2023年01月04日 0 点赞 0 评论 687 浏览 评分:8.0