题解列表

筛选

简单点自由下落问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>float geat(int k){   float s=1.0;   float a=1/2.0;   for(int i=0;i<k……

c++ 详细题解

摘要:解题思路:假设每一组输入分别为ai1 ,ai2 ,bi ,     Ai=ai1+ai2(每一组的时间总和减去离开教室的时间) ,     Ki=Ai+bi=ai1+ai2+bi(每一组的时间总和) ……

自守数问题

摘要:解题思路:注意事项:用long型,不然会超出范围参考代码:public class Main {    public static void main(String[] args) {        ……

2857: 加密的病历单(python)

摘要:解题思路:注意事项:参考代码:s = input() s1 = "" for i in s:     if (i >= &#39;x&#39; and i <= &#39;z&#39;) or ……

2858: 整理药名(python)

摘要:解题思路:注意事项:参考代码:n = int(input()) while True: try: s = input() s1 = "" for i in s:   ……

c语言,思路 易懂

摘要:解题思路:                1.先排序                2.比较相邻的元素是否相等,以下两种情况