编写题解 2788: 晶晶赴约会 摘要:解题思路:用if语句借此题注意事项:只是1,3,5输出No,6,7也输出yes参考代码:#include<iostream>using namespace std;int main(){ int…… 题解列表 2023年02月23日 0 点赞 0 评论 308 浏览 评分:9.9
自由下落的距离计算 好理解的思路(C语言) 摘要:解题思路:由题目知,该题要运用等比数列,an=a1*q^(n-1),Sn=a1(1-q^n)/(1-q),先假设高度为1米,a1=1,q=0.5,要求第n次下落后再弹起的高度,也就是第a(n+1)项,…… 题解列表 2023年02月23日 0 点赞 1 评论 335 浏览 评分:9.9
简单点有规律的数列求和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float n=2.0,z=1.0; float s=0; int N; scanf("…… 题解列表 2023年02月23日 0 点赞 0 评论 257 浏览 评分:9.9
c++ 详细题解 摘要:解题思路:假设每一组输入分别为ai1 ,ai2 ,bi , Ai=ai1+ai2(每一组的时间总和减去离开教室的时间) , Ki=Ai+bi=ai1+ai2+bi(每一组的时间总和) …… 题解列表 2023年02月23日 0 点赞 1 评论 614 浏览 评分:9.9
1007: [编程入门]分段函数求值 摘要:解题思路:注意事项:参考代码: #include<stdio.h>int main(){ int x,y; scanf("%d",&x); if(x<1) { …… 题解列表 2023年02月23日 0 点赞 0 评论 284 浏览 评分:9.9
【Python题解】蓝桥杯2013年第四届真题-带分数 摘要:解题思路:思路是参照另一位佬,对代码进行了注释和部分修改。从整数->分母->分子,逐个进行判断,具体见代码。参考代码:n = int(input()) # L = ['1', …… 题解列表 2023年02月23日 0 点赞 0 评论 356 浏览 评分:9.9
2857: 加密的病历单(python) 摘要:解题思路:注意事项:参考代码:s = input() s1 = "" for i in s: if (i >= 'x' and i <= 'z') or …… 题解列表 2023年02月23日 0 点赞 0 评论 381 浏览 评分:9.9
1049: [编程入门]结构体之时间设计 摘要:```cpp #include using namespace std; struct Date { int year,mouth,day; }; int IsLeapY…… 题解列表 2023年02月24日 0 点赞 1 评论 1278 浏览 评分:9.9
1050: [编程入门]结构体之成绩记录 摘要:```cpp #include using namespace std; struct Student { string num,name; int Math,Engl…… 题解列表 2023年02月24日 0 点赞 1 评论 240 浏览 评分:9.9
2858: 整理药名(python) 摘要:解题思路:注意事项:参考代码:n = int(input()) while True: try: s = input() s1 = "" for i in s: …… 题解列表 2023年02月24日 0 点赞 0 评论 447 浏览 评分:9.9