python 1621字符串编辑 带解析 摘要:def de(): #删除 for i in range(len(s)): #找到要替换的 直接改为空字符 然后跳出 if E[1]==s[i]: s[i]=…… 题解列表 2023年03月01日 0 点赞 0 评论 286 浏览 评分:0.0
只想说明一个小的细节问题 摘要:解题思路:很简单注意事项:注意数学小问题,分母不为0!!!!!!参考代码:#include<stdio.h>int main(){ int a,b,c; float i; double s1=0.0,…… 题解列表 2023年03月01日 0 点赞 0 评论 265 浏览 评分:0.0
2820: 含k个3的数 摘要:解题思路:注意事项:参考代码:m,k = map(int,input().split()) # 定义计数器 count = 0; n = m # 遍历 for i in range(1,n…… 题解列表 2023年03月01日 0 点赞 0 评论 319 浏览 评分:0.0
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 评论 301 浏览 评分: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 评论 397 浏览 评分:0.0
呢个大神看看为啥我这个有一个案例过不去 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double n,m; long long l; doubl…… 题解列表 2023年03月01日 0 点赞 0 评论 333 浏览 评分: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 评论 261 浏览 评分:0.0
题解 2773: 计算线段长度 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double xa = 0; double ya = 0; double xb …… 题解列表 2023年03月01日 0 点赞 0 评论 361 浏览 评分: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 评论 383 浏览 评分: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 评论 308 浏览 评分:0.0