题解列表

筛选

python-日期问题

摘要:```python date=input().split("/") numlist=[] year=date[0] month=date[1] day=date[2] def func……

题解 2021: 坐标排序

摘要:解题思路:注意事项:参考代码:#include<stdio.h> void swap(int a[], int b[])    //交换 {     int i,k=0;     for(……

最大公约数与最小公倍数(简化)

摘要:解题思路:辗转相除法求得最大公约数,再求得最小公倍数。注意事项:参考代码:#include <stdio.h>int main(){ int a,b; int t;  scanf("%d %d", &……

新手,感兴趣来看看

摘要:解题思路:注意事项:参考代码:#include<stdio.h>void link(char a[],char b[]);int main(){   char a[100];    char b[10……

移动距离(C代码)

摘要:解题思路:观察矩阵**找规律**,找到楼号与其矩阵下标之间的规律 那么最短路径answer=abs(xm-xn)+abs(ym-yn); ``` #include #include int ……