python 比较字符串 带解析 摘要:S=input().split() #输入字符 分割s1=S[0]s2=S[1]if s1==s2: print(0)elif s1>s2: for i in range(min(len(…… 题解列表 2023年03月01日 0 点赞 0 评论 356 浏览 评分:0.0
2836: 数组逆序重放 摘要:#include<stdio.h>#include<math.h>int main(){ int n; scanf("%d",&n); int a[n]; for(int i …… 题解列表 2023年03月01日 0 点赞 0 评论 464 浏览 评分:0.0
呢个大神看看为啥我这个有一个案例过不去 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double n,m; long long l; doubl…… 题解列表 2023年03月01日 0 点赞 0 评论 400 浏览 评分:0.0
2839: 石头剪刀布 摘要:#include<stdio.h> #include<math.h> int main() { int n,na,nb; scanf("%d %d %d",&n,&na,…… 题解列表 2023年03月01日 0 点赞 0 评论 329 浏览 评分:0.0
题解 2773: 计算线段长度 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double xa = 0; double ya = 0; double xb …… 题解列表 2023年03月01日 0 点赞 0 评论 425 浏览 评分:0.0
2023-3仅供自己回忆使用 摘要:#include<stdio.h>#include<math.h>int main(){ int i=2,n=2,Num=0,control=0; int th; scanf("%d…… 题解列表 2023年03月01日 0 点赞 0 评论 442 浏览 评分:0.0
题解 2772: 苹果和虫子 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, x, y; int a = 0; scanf("%d %d %d", &n, &x, &y); i…… 题解列表 2023年03月01日 0 点赞 0 评论 368 浏览 评分:0.0
题解 2766: 甲流疫情死亡率 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a = 0; int b = 0; double c = 0; scanf("%d %d", &a, …… 题解列表 2023年03月01日 0 点赞 0 评论 492 浏览 评分:0.0
题解 2767: 计算多项式的值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double a, b, c, d,x; scanf("%lf %lf %lf %lf %lf", &x, &a…… 题解列表 2023年03月01日 0 点赞 0 评论 375 浏览 评分:0.0
编写题解 1014: [编程入门]阶乘求和 摘要:因为这是阶乘求和,一般的int 类型可能就不够,因此我们利用long long int 类型(不用unsigned long 因为当n为20时,Sn =2561327494111820313) ``…… 题解列表 2023年03月01日 0 点赞 0 评论 349 浏览 评分:0.0