题解列表

筛选

3082: 奇怪的电梯(lift)

摘要:```cpp #include using namespace std; int i,n,a,b,head,tail=1,p[210],s[210][2],f[210]; int main()……

dfedgfggdsgfrgzfvdfvdfwefdsfszf

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<queue>#include<map>#include<algorithm>using namespace std;……

c++

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){    int x,y;    cin>>x;    if (x<1) ……

编写题解 3020: 最大数位置

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){   int n,a[1001],maxx=1;   cin>>n;  ……

图的遍历-DFS

摘要:```cpp #include using namespace std; #define ll long long int n;//节点数 const int N = 55;//最大节点数 ……

计算(a+b)*c的值 (c++)

摘要:解题思路:先设置变量a,b,c,再输入变量,最后输出(a+b)*c的值注意事项:a+b要带括号参考代码:#include<iostream>//导入头文件using namespace std;int……