题解列表

筛选

大小写转换 (C语言代码)

摘要:解题思路: 一边输入一边输出,输出时注意将小写变为大写即可,英文字母小写变为大写只需要减32即可注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int m……
优质题解

Manchester-水陆距离 (朴素方法)

摘要:解题思路:①:若某陆地上下左右其中有一个是水域,则该陆地到水域的最短距离一定为1②:两个点的距离为x坐标相减的差得绝对值与y坐标相减差的绝对值之和③:把所有水域的坐标保存起来,用②距离公式求出距离选最……

链表实现 ( 可AC )

摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> #include<stdlib.h> int num = 0; typedef struct stu ……

汽水瓶 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>#include<iostream>int fin(int k){ int y; y = k / 2; ……