题解列表

筛选

绝对值排序

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<math.h>#include<string.h>#include<ctype.h……

三种解法——1020猴子吃桃的问题

摘要:解题思路:找到关系求出通项;递归思路; 常规思路注意事项:参考代码:eg:1#include<stdio.h>int hz_taozi(int n) {         if(n==1)     ……

ip判断记录副本

摘要:解题思路:注意事项:参考代码#include<stdio.h>#include<string.h>int main(){ int n,a,b,c,d; char ch[20]; while(1) { ……

网络寻路-dfs

摘要:注意事项:保存前继结点的状态。参考代码:#include<iostream>#include<cstdio>#include<algorithm>#include<cmath>#include<cst……

用for循环遍历数据panduan

摘要:解题思路:注意事项:这个代码能在vs上运行但答案错误不知道为啥参考代码:#include<iostream>using namespace std;int main(){    int a, b, c……

C语言考试练习题_排列

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,k,n,e; int a[4]; scanf("%d %d %d %d",&a[0],&a[1]……