题解列表

筛选

迷宫问题-题解(C++代码)

摘要:大神快来看看错哪了50% ```cpp #include using namespace std; const int maxn = 100+10; struct node{ int x……

最多的水-题解(C语言代码)

摘要:只是参考别人的方法写了个C语言版本的而已,仅供参考 #include int a[100000]; int max(int a,int b){ return a>=b?a:b; // 返……

3sum-题解(C语言代码)

摘要:算法思路没有啥,就是暴力查找吧,要记得排序,便于跳过重复的数字。 #include #include int comp(const void*a,const void*b)//用来做比较……