自定义函数之字符串拷贝 摘要:解题思路:用切片很简单注意事项:参考代码:n = int(input())L = str(input())m = int(input())print(L[m-1:n])…… 题解列表 2023年01月04日 0 点赞 0 评论 259 浏览 评分: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 评论 252 浏览 评分:9.9
c++定义宏简单求余 摘要:解题思路:通过定义宏:#define quiYu(a,b) c=a%b //我英语不好,求余(quiYu)注意事项: 求余数:% 求除数:/参考代码:#include<i…… 题解列表 2023年01月04日 0 点赞 0 评论 216 浏览 评分:0.0
2152: 信息学奥赛一本通T1324-整数区间 摘要:解题思路:爱要不要,满星好评注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int n; struct hd{ int ks,j…… 题解列表 2023年01月04日 0 点赞 0 评论 265 浏览 评分:8.0
JAVA——二分算法求零点 摘要:参考代码:import static java.lang.Math.pow;public class dotcpp { public static double f(double x) { …… 题解列表 2023年01月04日 0 点赞 0 评论 230 浏览 评分:0.0
[编程入门]有规律的数列求和题解 摘要:解题思路:由观察可知分子为斐波那契数列,用数组表示斐波那契数列的公式为a[n+1]=a[n]+a[n-1],基于此可以计算出斐波那契额数列的每一项注意事项:注意n的取值所对应的是斐波那契数列的第几项参…… 题解列表 2023年01月04日 0 点赞 0 评论 397 浏览 评分:0.0
2151: 信息学奥赛一本通T1323-活动选择 摘要:解题思路:贪心注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int n,x,z; struct huodong { int …… 题解列表 2023年01月04日 1 点赞 0 评论 261 浏览 评分:9.9
易理解的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N; scanf("%d",&N); float i,m=2.0,n=1.0,sum=…… 题解列表 2023年01月04日 0 点赞 0 评论 204 浏览 评分:0.0
C语言——题解 2906: 笨小猴 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[101]; int b[26]={0},i,j; scanf("%s",a); …… 题解列表 2023年01月04日 0 点赞 0 评论 320 浏览 评分:9.9
编写题解 1040: [编程入门]实数的打印 摘要:解题思路:注意事项:参考代码://请设计输出实数的格式,包括:⑴一行输出一个实数;⑵一行内输出两个实数;⑶一行内输出三个实数。实数用"6.2f"格式输出。 #include <stdio.h> i…… 题解列表 2023年01月04日 0 点赞 0 评论 216 浏览 评分:0.0