for 循环,多次记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,j,s; scanf("%d",&n); for(i=1;i<=n;i++) { s=0; …… 题解列表 2022年03月31日 0 点赞 0 评论 264 浏览 评分:9.9
2576: 蓝桥杯2020年第十一届省赛真题-解码(python) 摘要:解题思路:注意事项:参考代码:st=input() for i in range(len(st)): if st[i].isdigit(): print(st[i-1]*…… 题解列表 2022年03月31日 0 点赞 0 评论 546 浏览 评分:2.0
whlie循环解决数列求和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double a=2.0,b=1.0,c,sum=0.0; int n; scanf("%d",&n); whi…… 题解列表 2022年03月31日 0 点赞 0 评论 413 浏览 评分:9.9
我不理解!!为什么不对!! 摘要: #include int main() { int a; scanf("%d",&a); int arr[1000]={0}; …… 题解列表 2022年03月31日 0 点赞 0 评论 410 浏览 评分:0.0
一行导包,两行代码 摘要:解题思路:from datetime import date year,month,day=map(int,input().strip().split()) print(date(year,mon…… 题解列表 2022年03月31日 0 点赞 0 评论 401 浏览 评分:9.9
[AC代码] 自适应辛普森求积分 摘要:解题思路:用自适应辛普森求多个圆在矩形ab内的并面积注意事项:参考:www.luogu.com.cn/problem/P4525www.luogu.com.cn/problem/SP8073将超出矩形…… 题解列表 2022年03月31日 0 点赞 0 评论 921 浏览 评分:8.2
题解 1020: [编程入门]猴子吃桃的问题 摘要:解题思路:从最后一天倒推结果注意事项:1 第10天没有吃 只计算9天2 设每一天的总数为a总数a=吃掉(a/2+1)+剩余aa存在迭代关系 总数a=(剩余aa+1)*2剩余aa是第二天的总数a3 …… 题解列表 2022年03月31日 0 点赞 0 评论 480 浏览 评分:6.0
编写题解 1206: 字符串问题 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){ string str; c…… 题解列表 2022年03月31日 0 点赞 0 评论 313 浏览 评分:0.0
个人理解,希望能提供个思路 摘要:解题思路:①输入的整数值表示,从 1970 年 1 月 1 日 00:00:00 到当前时刻经过的毫秒数。这个数一般比较大,用long long;②不显示出年月日,只需要显示出时分秒即可,需要毫秒数转…… 题解列表 2022年03月31日 0 点赞 0 评论 367 浏览 评分:0.0
编写题解 1210: 小明A+B 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){ int a,b; …… 题解列表 2022年03月31日 0 点赞 0 评论 323 浏览 评分:0.0